This command enables the context to configure dynamic services parameters on a capture SAP.
This command disables or enables data-triggered dynamic services on this capture-sap.
This command enables the context to configure dynamic data services. Only available on systems with multi-core CPM (CPM3 or up).
This command creates a new dynamic services policy that can be used to create dynamic data services.
The no form of this command removes the dynamic services policy from the configuration. This is only allowed when there are no active dynamic data services referencing this policy.
This command enables the context to configure the first RADIUS accounting destination and corresponding RADIUS accounting parameters for dynamic data services.
This command enables the context to configure the second RADIUS accounting destination and corresponding RADIUS accounting parameters for dynamic data services.
This command configures the radius server policy to be used for dynamic data services RADIUS accounting.
The no form of this command removes the radius server policy from the configuration. This is only allowed when there are no active dynamic data services referencing this policy.
This command configures the type of statistics to be reported in dynamic data services RADIUS accounting. A RADIUS specified Stats Type overrides the CLI configured value.
The no form of this command resets the default value.
stats-type volume-time
This command specifies the interval between each RADIUS Accounting Interim-Update message (minimum 5 minutes; maximum 180 days).
The no form of this command disables the sending of Accounting Interim-Update messages.
A RADIUS specified Accounting Interim Interval overrides the CLI configured value.
no update-interval (do not send Accounting Interim-Update messages)
This command specifies the absolute maximum random delay introduced on the update interval between two RADIUS Accounting Interim Update messages. The effective maximum random delay value is the minimum of the configured absolute jitter value and 10% of the configured update-interval.
A value of zero sends the accounting interim update message without introducing an additional random delay.
The no form of this command sets the default to 10% of the configured update-interval.
no update-interval-jitter (10% of the configured update-interval)
This command enables the context to configure authentication parameters for data-triggered dynamic services.
This command configures the local authentication database to be used for local authentication of data-triggered dynamic services.
Local authentication and RADIUS authentication are mutually exclusive.
The no form of this command removes the local authentication database from the configuration and disables local authentication.
This command configures the password to be used for RADIUS authentication of data-triggered dynamic services.The no form of this command removes the password from the configuration.
This command configures the RADIUS server policy to be used for RADIUS authentication of data-triggered dynamic services.
Local authentication and RADIUS authentication are mutually exclusive.
The no form of this command removes the server policy from the configuration and disables RADIUS authentication.
This command creates a local authentication database that can be used for local authentication of data-triggered dynamic services.The no form of this command removes the local authentication database from the configuration.
This command disables or enables the local authentication database. When disabled, the database cannot be used for authentication.
This command creates a user name entry in the local authentication database. The user name entry is used to match with the user name of a local authenticated dynamic service data trigger. The user name of a dynamic service data trigger is fixed to the sap-id. When matched, the corresponding authentication data is used to set up the dynamic data services.The no form of this command removes the user name entry from the local authentication database configuration.
This command disables or enables a user name entry in the local authentication database. When disabled, the entry is not matched.
This command creates an index entry containing authentication data for a dynamic service SAP. Up to 32 indexes can be created per user name entry, representing up to 32 dynamic service SAPs that can be instantiated with a single dynamic service data trigger. One of the dynamic service SAPs must be the data trigger SAP.The no form of this command removes the index entry from the user name entry in the local authentication database configuration.
This command creates a context for one of the two accounting destinations specified in the dynamic services policy. In this context, overrides of RADIUS accounting parameters can be specified.The no form of this command removes the RADIUS accounting overrides context from the configuration.
This command specifies whether dynamic service accounting should be enabled or disabled for this destination. RADIUS accounting is enabled by specifying the stats type: volume and time or time only. This command overrides the local configured value in the dynamic services policy.The no form of this command disables RADIUS accounting (stats-type off).
This command specifies the time between each dynamic data service accounting interim update for this accounting destination. This command overrides the local configured value in the dynamic services policy.
The no form of this command disables the generation of interim accounting updates to this destination.
The minimum update interval is 5 minutes.
This command specifies the local configured dynamic data service policy to use for provisioning (local authentication database context) or authentication (capture-sap context) of this dynamic service. If not specified, the dynamic services policy with the name default is used. If the default policy does not exist, then the dynamic data service setup or authentication fails.The no form of this command removes the dynamic services policy from the configuration.
This command selects an existing host lockout policy. The host-lockout-policy policy-name is created in the config>subscr-mgmt context.
The no form of this command removes the policy name from the SAP configuration.
This command specifies the dynamic data service SAP that is created. A dynamic service SAP ID uniquely identifies a dynamic data service instance. For a local authenticated dynamic service data trigger, one of the dynamic service SAP IDs must be the data trigger SAP.The no form of this command removes the sap-id from the configuration.
This command specifies the first part of parameters as input to the dynamic data service Python script. The concatenation of all four script-parameters strings are passed to the Python script and must be formatted as function-key <dictionary>. The function-key specifies which Python functions is called, and <dictionary> contains the actual parameters in a Python dictionary structure format. The no form of this command removes script-parameters-1 from the configuration.
This command specifies the second part of parameters as input to the dynamic data service Python script. The concatenation of all four script-parameters strings are passed to the Python script and must be formatted as function-key <dictionary>. The function-key specifies which Python functions is called, and <dictionary> contains the actual parameters in a Python dictionary structure format. The no form of this command removes the script-parameters-2 from the configuration.
This command specifies the third part of parameters as input to the dynamic data service Python script. The concatenation of all four script-parameters strings are passed to the Python script and must be formatted as function-key <dictionary>. The function-key specifies which Python functions is called, and <dictionary> contains the actual parameters in a Python dictionary structure format. The no form of this command removes the script-parameters-3 from the configuration.
This command specifies the fourth part of parameters as input to the dynamic data service Python script. The concatenation of all four script-parameters strings are passed to the Python script and must be formatted as function-key <dictionary>. The function-key specifies which Python functions is called, and <dictionary> contains the actual parameters in a Python dictionary structure format. The no form of this command removes the script-parameters-4 from the configuration.
This command specifies the CLI user to be used to execute the dynamic data services CLI scripts. With the specified user’s profile, it is possible to further restrict the internal list of allowed commands to be executed via dynamic data service CLI scripts.
The no form of this command sets the CLI user to an internal user with all configuration rights.
This command associates a text string with a configuration context to help identify the content in the configuration file.
The no form of this command removes the string from the configuration.
This command specifies a limit for the number of dynamic data service instances (SAPs) that can be setup simultaneously using a given dynamic services policy.
A value of zero (0) means the policy is drained: existing dynamic data services can be modified and torn down but no new dynamic data services can be setup.
sap-limit 1
This command specifies the radius script policy to be used to setup the dynamic data services. The script-policy configuration cannot be changed when there are active dynamic data services referencing the policy.
The no form of this command removes the script-policy from the configuration. This is only allowed when there are no active dynamic data services referencing this policy.
This command specifies the service ID range that is reserved for dynamic data service creation. The range cannot overlap with existing static configured services. Once configured with active dynamic services in the range, the service range can only be extended at the end.
The no form of this command removes the service-range from the configuration. This is only allowed when there are no active dynamic data services.
When no service-range is specified, the setup of dynamic data services fails.
This command enables the context to configure dynamic data services related timers.
This command specifies the time that dynamic data services setup requests from a RADIUS Access-Accept are hold in an internal work queue waiting to be processed. If after the timeout, the dynamic data service setup request is still in the queue (meaning it is not setup), then the dynamic service setup request is removed from the queue and the setup fails.
The no form of this command reverts to the default value of 30 seconds.
no setup-timeout
| Note: See also the description for the enable-dynamic-services-config command. |
This command allows a user with admin permissions to configure a system wide password which enables a user to enter a special dynamic services configuration mode.
The minimum length of the password is determined by the minimum-length command. The complexity requirements for the password are determined by the complexity command.
The no form of this command removes the dynsvc password from the configuration.
| Note: See also the description for the dynsvc-password command. |
If the dynsvc-password is configured in the config>system>security>password context, then any user can enter a special dynamic services configuration mode by entering the enable-dynamic-services-config command.
The enable-dynamic-services-config command is not in the default profile. To give access to this command, the user must belong to the administrative profile or a new profile should be created.
Once the enable-dynamic-services-config command is entered, the user is prompted for a password. If the password matches, the user is given access to the dynamic services configuration. Access to static configuration is in this case prohibited.
To verify that a user is in the enable-dynamic-services-config mode, use the show users command. Users in the enable-dynamic-services-config mode lists the letter “D” next to the user’s CLI session.
The no form of this command disables the dynamic services configuration mode for this user.
This command displays the running configuration for the configuration context where it is entered and all branches below that context level.
By default, the command only enters the configuration parameters that vary from the default values.
The detail keyword causes all configuration parameters to be displayed. The include-dynamic objective keyword includes configuration parameters from dynamic sources such as VSD or dynamic data services Python scripts. These dynamic configuration parameters are not saved in the configuration file.
This command enables the context to show dynamic services information.
This command displays the active dynamic services data trigger details.
The following output is an example of data trigger information.
Table 180 describes data trigger fields.
Output field | Description |
Acct session-ID | The RADIUS accounting session ID for this dynamic services data trigger. This accounting session ID is used as an accounting multi-session ID in RADIUS accounting for the associated dynamic services. It can also be used as a key in CoA or Disconnect Messages to set up or terminate associated dynamic services. |
MAC | The MAC address learned to set up this dynamic service data trigger. The MAC address is included in the Access-Request message for RADIUS authentication. |
IP | The IPv4 or IPv6 address learned to set up this dynamic service data trigger. If the data trigger packet was not an IP packet, then this field is empty. When available, the IP address is included in the RADIUS authentication and accounting messages. |
State | The current state of the dynamic service data trigger: Pending—(initial state) data trigger received and authentication started Accepted—(transient state) authentication succeeded; dynsvc script started but not yet completed sapCreated—(final state) corresponding dynamic services sap created |
This command displays the dynamic services policy information.
The following output is an example of dynamic service policy information.
Table 181 describes the Dynamic Services policy fields.
Output Field | Description |
dynsrv-policy-name | The unique name of a dynamic services policy, up to 32 characters. |
cli-user | The identifier name of the CLI user associated with this Dynamic Services policy. |
script-policy | The identifier name of the script policy associated with this Dynamic Services policy. |
sap-limit | The limit of the number of SAPs (Service Access Point) that can be created using this Dynamic Services policy. |
Stats type | The value used to identify the type of accounting statistics gathered, either volume-time or time. |
server policy | The identifier name of a RADIUS server policy to be used for accounting. |
update interval (minutes) | The time interval between consecutive accounting updates when using this Dynamic Services policy. |
update interval jitter | The amount of jitter to be applied on the update interval. |
No. of Services-policies | The total number Dynamic Services policies. |
This command displays the status and statistics of a dynamic services capture. Statistics include counters for the number of data triggers received and data trigger drop reasons.
The following output is an example of capture SAP information.
Table 182 describes the Capture SAP policy fields.
Counter | Description |
Data packets received by SAP | The number of dynamic service data triggers received on the capture SAP that reached the CPM. |
No policy configured at capture SAP level | There is no dynamic-services-policy configured at the capture SAP. This is required to determine the authentication destination. |
No authentication configured in policy | The authentication section in the specified in dynamic services policy is missing or incomplete. |
Data-trigger already exists | A new data trigger frame is received for an existing data trigger that is authenticated, but the corresponding dynamic SAP is not yet created. The new data trigger packet is dropped. |
Lockout is active | The data trigger for this managed SAP is currently in a lockout state due to previous authentication failures. |
Reached data-trigger system limit | The maximum number of dynamic service data triggers supported on the system is reached. Additional data triggers are dropped. |
No memory available | There is not enough system memory available to process the data trigger. |
Unsuccessful authentication | The authentication for a data trigger on this capture SAP failed or timed out. |
No data-trigger SAP-id in authentication | The dynamic services data trigger SAP ID is not provided in authentication. This is a mandatory parameter. |
Corresponding dynamic SAP is not created | The data trigger successfully authenticated but the corresponding dynamic SAP was not created. This is typically caused by a dynamic services script error. |
This command displays the root objects created by dynamic data services.
The following output is an example of dynamic services root object information.
Table 183 describes the Root Objects fields.
Output field | Description |
OID prefix | The corresponding SNMP OID prefix for this root object. |
OID index | The corresponding SNMP OID index for this root object. |
Snippet name | The name of the python function that created this root object. The name is set to N/A when the root-object is orphaned. |
Snippet instance | The instance for which the python function with “Snippet name” created this root object. If the snippet is a result from a dynamic reference, then the snippet instance is the reference-id string passed in the dyn.reference(). If the snippet is not the result from a dynamic reference, then the snippet instance is the dynamic data service SAP-ID. The instance is set to N/A when the root object is orphaned. |
Orphan time | The timestamp when the root-object became orphaned (root-object not deleted when corresponding teardown function is called) or N/A if the root-object is not orphaned. |
This command displays Dynamic Services SAPs (instances) details.
The following output is an example of dynamic service SAP information.
Table 184 describes Dynamic Services SAP fields.
Output field | Description |
SAP | The dynamic service SAP ID. |
Acct session-ID | The dynamic service accounting session ID. |
Acct session-ID control | The control channel accounting session ID. |
Service | The dynamic service ID. |
Dynamic Services policy | The policy referenced to setup the dynamic service. |
Number of scripts executed | The number of times the script was executed for this dynamic service (setup, modify, revert or teardown). |
Number of scripts w success | The number of times the script was executed successfully for this dynamic service. |
Last script action | The setup, modify, revert, teardown. |
Time of last script action | The timestamp of the last script action. |
Parameters of last action | The content of the Dynamic Services Script Parameters attribute corresponding with the last action. |
Status | RADIUS accounting is enabled or disabled. |
Stats type | The type of statistics reported in accounting. |
Update interval (minutes) | The time, in minutes, between Accounting Interim Update messages. |
This command enables the context to show dynamic services script information.
This command displays the dynamic services snippets information. A snippet is the name of a set of Python functions to create, modify or destroy configuration; for example: a snippet called 'vprn' to create, modify, or destroy VPRN services.
The CLI output generated by a single dynamic service python function call is a snippet instance.
The following output show examples of dynamic service snippets.
Table 185 describes snippets fields.
Output field | Description |
Name | The snippet name. |
Instance | The snippet instance. |
Ref-count reference-count | The number of times this snippet is referenced by other snippets. |
Dict-len dictionary-length | The length of the python dictionary stored for this snippet. |
Root-object | The object created by a Dynamic Service of which the parent is not created by a Dynamic Service. |
This command displays dynamic service script statistics. Only non-zero values are shown.
The script statistics can be cleared with the “clear service statistics dynamic-services” command.
The following output is an example of Dynamic Services script statistics information.
Table 186 describes Dynamic Services script statistics fields.
Output field | Description |
Description | The name of the script. |
Counter | The number of times the script executed. |
python scripts with 0 retries due to timeout | The number of retries due to timeouts. |
setup | The setup script action. jobs launched — The number of times the setup jobs launched. jobs handled — The number of times the setup jobs were handled. success — The number of times the setup jobs were successful. syntax error — The number of setup syntax errors. execution failed — The number of times the setup failed. |
teardown | The teardown script action. jobs launched — The number of times the teardown jobs launched. jobs handled — The number of times the teardown jobs were handled. success — The number of times the teardown jobs were successful. syntax error — The number of teardown syntax errors. |
This command displays the global configuration summary for dynamic services:
The following output displays dynamic service summary information.
Table 187 describes Dynamic Services summary fields.
Output field | Description |
range start | The start service ID to define the service range for dynamic services. |
range end | The start and end service ID to define the service range for dynamic services. |
setup timeout Access Accept | The timeout, in seconds, after which a script is canceled for setup actions received via RADIUS Access-Accept messages. |
This command displays SAP information.
The following output displays information about SAPs using Dynamic Scripts.
Table 188 describes SAP using Dynamic Scripts fields.
Output field | Description |
PortID | The Ethernet port. |
SvcId | The service ID of the dynamic service. |
Ing QoS | The ingress QoS policy ID. |
Ingr Fltr | The ingress filter ID. |
Egr Qos | The egress QoS policy ID. |
Egr Fltr | The egress filter ID. |
Adm | The administrative state of the SAP. |
Opr | The operational state of the SAP. |
Description | The text string describing the SAP. |
Number of SAPs | The number of SAPs matching in the show criteria. |
Number of Dynamic Services SAPs | The number of Dynamic Service SAPs matching in the show criteria. |
This command resets the dynamic services script statistics. See also show service dynamic-services script statistics.
This command deletes all dynamic services associated with a dynamic services data trigger.
This command enables the context to configure dynamic services debugging.
This command enables the context to configure dynamic services data trigger capture SAP debugging.The no form of this command removes all dynamic services data trigger capture SAP debug configurations.
This command enables or disables the generation of dynamic services data trigger debug events, such as:
Multiple capture SAPs can be specified simultaneously.
Optionally, a single encap-val per capture-sap can be specified to limit the output of the debug events to the data trigger events with the specified encapsulation.
Optionally, the debug output can be restricted to dropped data trigger events only.
This command enables the context to configure dynamic services script debugging.
This command enables/disables the generation of all dynamic data service script debugging events output: cli, errors, executed-cmd, warnings, state-change.
This command enables/disables the generation of a specific dynamic data service script debugging event output: cli.
This command enables/disables the generation of a specific dynamic data service script debugging event output: errors.
This command enables/disables the generation of a specific dynamic data service script debugging event output: executed-cmd.
This command enables/disables the generation of a specific dynamic data service script debugging event output: state-change.
This command enables/disables the generation of a specific dynamic data service script debugging event output: warnings.
This command enables the context to configure dynamic services script debugging for a specific instance.
This command enables the context to configure dynamic services script debugging for a specific script.
This command enables the context to execute dynamic services tools perform commands.
This tools command performs the execution of a dynamic service script action as if the corresponding RADIUS attributes were received from RADIUS. It is possible to setup, modify or teardown a dynamic service associated with the specified control channel.
This command displays the list of supported commands that can be used in dynamic service CLI scripts.
There are two types of CLI nodes in this list: