The no form of the command removes the dynamic services policy from the configuration. This is only allowed when there are no active dynamic data services referencing this policy.
The no form of the command removes the radius server policy from the configuration. This is only allowed when there are no active dynamic data services referencing this policy.
The no form of the command disables the sending of Accounting Interim-Update messages.
The no form of the command sets the default to 10% of the configured update-interval.
The no form of the command sets the CLI user to an internal user with all configuration rights.
The no form of this command removes the string from the configuration.
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.
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 will fail.
The no form of this command resets the timeout to 2 seconds.
NOTE: See also the description for the enable-dynamic-services-config command.
The no form of the command removes the dynsvc password from the configuration
[no
] enable-dynamic-services-config
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.
# show service dynamic-services dynamic-services-policy "dynsvc-policy-1"
===============================================================================
Dynamic Service Policies
===============================================================================
Dynamic Service Policy : dynsvc-policy-1
-------------------------------------------------------------------------------
cli-user : (Not Specified)
description : Dynamic Services Policy 1
script-policy : script-policy-5
sap-limit : 2000
Accounting instance 1
Stats type : volume-time
server policy : aaa-server-policy-1
Update interval (minutes) : 30
Update interval jitter : 180s
Accounting instance 2
Stats type : time
server policy : aaa-server-policy-2
Update interval (minutes) : 0
Update interval jitter : 10%
-------------------------------------------------------------------------------
No. of Services-policies: 1
===============================================================================
# show service dynamic-services root-objects
===============================================================================
Dynamic Service Root Objects
===============================================================================
OID prefix : svcRowStatus
OID index : .100000
Snippet name : vprn
Snippet instance : VRF-1
Orphan time : N/A
-------------------------------------------------------------------------------
No. of Root Objects: 1
===============================================================================
saps [control-session
acct-session-id] [port
port-id] [dynsvc-policy
policy-name] [summary
] [orphaned
] [sap
sap-id] [svc-id
service-id]
# show service dynamic-services saps
===============================================================================
Dynamic Services SAP's
===============================================================================
SAP : 1/1/1:1.901
-------------------------------------------------------------------------------
Acct session-ID : 242FFF000001AE512CE4B6
Acct session-ID control : 242FFF000001AB512CE4B6
Service : [100000]
Orphaned : no
Dynamic Services policy : dynsvc-policy-1
Number of scripts executed : 1
Number of scripts w success : 1
Last script action : setup
Time of last script action : 2013/02/26 16:37:10
Parameters of last action : vprn_1={'t':('VRF-1',65000,1000,'cpe-int-1','192.
: 168.20.1/24','2001:db8:cafe::1/64',901,901,910,92
: 0,'192.168.20.0/24','192.168.20.2')}
Accounting instance 1
Status : enabled
Stats type : volume-time
Update interval (minutes) : 30
Accounting instance 2
Status : enabled
Stats type : time
Update interval (minutes) : 0
-------------------------------------------------------------------------------
No. of SAP's: 1
===============================================================================
# show service dynamic-services saps summary
===============================================================================
Dynamic Services SAP's summary
===============================================================================
SAP Acct-Session-ID Acct-Session-ID-Ctrl
-------------------------------------------------------------------------------
1/1/1:1.901 242FFF000001AE512CE4B6 242FFF000001AB512CE4B6
-------------------------------------------------------------------------------
No. of SAP's: 1
===============================================================================
Specifies the snippet instance.
# show service dynamic-services script snippets
===============================================================================
Dynamic Services Snippets
===============================================================================
Name Instance Ref-count Dict-len
-------------------------------------------------------------------------------
vprn VRF-1 1 75
vprn_1 1/1/1:1.901 0 190
-------------------------------------------------------------------------------
No. of Snippets: 2
===============================================================================
# show service dynamic-services script snippets detail
===============================================================================
Dynamic Service Snippets
===============================================================================
Snippet : vprn:VRF-1
-------------------------------------------------------------------------------
reference-count : 1
dictionary-length : 75
Root-object
-----------
oid : svcRowStatus.100000
Reserved-id
-----------
id : service-id:100000
-------------------------------------------------------------------------------
Snippet : vprn_1:1/1/1:1.901
-------------------------------------------------------------------------------
reference-count : 0
dictionary-length : 190
Referenced-snippet
------------------
snippet : vprn:VRF-1
-------------------------------------------------------------------------------
No. of Snippets: 2
===============================================================================
# show service dynamic-services script statistics
===============================================================================
Dynamic Services Script Statistics
===============================================================================
Description Counter
-------------------------------------------------------------------------------
python scripts with 0 retries due to timeout 46
setup - jobs launched 16
setup - jobs handled 16
setup - success 13
setup - syntax error 1
setup - execution failed 2
teardown - jobs launched 15
teardown - jobs handled 15
teardown - success 14
teardown - syntax error 1
-------------------------------------------------------------------------------
No. of Script Statistics: 10
-------------------------------------------------------------------------------
Last Cleared Time: 02/26/2013 09:59:07
===============================================================================
# show service dynamic-services summary
===============================================================================
Dynamic Services Summary
===============================================================================
range start : 100000
range end : 200001
setup timeout Access Accept : 30
===============================================================================
# show service sap-using dyn-script
===============================================================================
Service Access Points
===============================================================================
PortId SvcId Ing. Ing. Egr. Egr. Adm Opr
QoS Fltr QoS Fltr
-------------------------------------------------------------------------------
[1/1/1:1.901] [100000] 901 ip4 901 ip4 Up Up
-------------------------------------------------------------------------------
Number of SAPs : 1
-------------------------------------------------------------------------------
Number of Dynamic Service SAPs : 1, indicated by [<sap-id>] [<svc-id>]
-------------------------------------------------------------------------------
===============================================================================
# show service sap-using dyn-script description
===============================================================================
Service Access Points
===============================================================================
PortId SvcId Adm Opr Description
-------------------------------------------------------------------------------
[1/1/1:1.901] [100000] Up Up This is a dynamic
service SAP
-------------------------------------------------------------------------------
Number of SAPs : 1
-------------------------------------------------------------------------------
Number of Dynamic Service SAPs : 1, indicated by [<sap-id>] [<svc-id>]
-------------------------------------------------------------------------------
===============================================================================
evaluate-script sap sap-id control-session
acct-session-id action
script-action [dynsvc-policy
name] [param-string
string]