For feedback and comments: |
documentation.feedback@alcatel-lucent.com |
description description-stringThe description command associates a text string with a configuration context to help identify the context in the configuration file.The no form of this command removes any description string from the context.[no] shutdownno python-policy nameThe no form of the command removes the Python policy.[no] cacheentry-size sizeThe no form of the command reverts to the default value.
Values max-entries count
Values When adding data to the Python cache the lifetime of the given object must always be specified. If the specified lifetime is bigger than the configured value, then the value of the max-entry-lifetime will be used instead of the lifetime that was specified.The no form of the command reverts to the default.days days
Values
Default hrs hours
Values min minutes
Values sec seconds
Values high-availability seconds
Values multi-chassis-redundancy seconds
Values persistence seconds
Values [no] persistenceMultiple dhcp command configurations are allowed in the same Python policy.The no form of the command reverts to the default.script scriptMultiple dhcps command configurations are allowed in the same Python policy.script scriptscript scriptMultiple radius command configurations are allowed in the same Python policy.script scriptno python-script nameThe no form of the command removes the Python script name from the configuration.The no form of the command reverts to the default.primary-url urlThe no form of the command removes the URL.key keysecondary-url urlThe no form of the command removes the URL.tertiary-url urlThe no form of the command removes the URL.dhcp-python-policy policy-namedhcp6-python-policy policy-namepython-policy nameThe no form of the command removes the policy name from the configuration.python-policy nameThe no form of the command removes the policy name from the configuration.python-policy name[no] persistenceUse the mcs-peer command in the python-policy to enable syncing for a specific python-policy.location cflash-idThe no form of this command returns the system to the default. If there is a change in file location while persistence is running, a new file will be written on the new flash, and then the old file will be removed.python-policy name cacheNote that the DDP Key in the output could be used for the tools>dump>persistence>python command.hex-key hex-stringinput file-urlkey secret-keyoutput file-urlpython-script reload nameshow python python-policy "dhcp"===============================================================================Python policy "dhcp"===============================================================================Description : (Not Specified)-------------------------------------------------------------------------------Messages-------------------------------------------------------------------------------Type Dir Script-------------------------------------------------------------------------------dhcpDiscover egress dhcpv4dhcpRequest egress dhcpv4dhcpAck ingress dtc-------------------------------------------------------------------------------No. of Messages: 3-------------------------------------------------------------------------------===============================================================================show python python-policy "dhcp" association===============================================================================Python Policy Association===============================================================================Location-------------------------------------------------------------------------------Service: 500, GrpIf g1, dhcp-------------------------------------------------------------------------------No. of Python policy association: 1===============================================================================show python python-script "dhcpv4"===============================================================================Python script "dhcpv4"===============================================================================Description : (Not Specified)Admin state : inServiceOper state : inServiceAction on fail: dropProtection : nonePrimary URL : cf1:/dhcpv4.pySecondary URL : (Not Specified)Tertiary URL : (Not Specified)Active URL : primaryLast changed : 01/26/2014 05:02:10===============================================================================show python python-script "dhcpv4" association===============================================================================Python Script Association===============================================================================Policy Type Dir-------------------------------------------------------------------------------dhcp dhcpDiscover egressdhcp dhcpRequest egress-------------------------------------------------------------------------------No. of Python script association: 2===============================================================================python-script script-name[no] script-compile-error[no] script-export-variables[no] script-output[no] script-output-on-error[no] script-outputpython-policy name cache