Configuring Local Parameters with the SRC CLI
You create local parameters within a policy group. Use the following configuration statements to configure local parameters.
policies groupnamelocal-parameters parametername{descriptiondescription; default-valuedefault-value; typetype;}To configure local parameters:
- From configuration mode, enter the local parameter configuration. For example, to configure a local parameter called bandwidthFactor:
user@host#edit policies group policer local-parameters parameter bandwidthFactor- (Optional) Enter a description for the parameter. You can provide extra information and examples of how the parameter is used.
[edit policies group policer local-parameters parameter bandwidthFactor]user@host#set descriptiondescription- (Optional) Configure a default value that the policy engine uses if no other values are provided during the parameter value acquisition process.
See Table 23 for valid values of each parameter type.
[edit policies group policer local-parameters parameter bandwidthFactor]user@host#set default-valuedefault-value
- (Optional) Set the type of attribute for which you can use the parameter.
[edit policies group policer local-parameters parameter bandwidthFactor]user@host#settypetype- (Optional) Verify your configuration.
[edit policies group policer local-parameters parameter bandwidthFactor]user@host#showdefault-value 1024*1024;type rate;