Cisco Cisco ASR 5000
ACS Ruledef Configuration Mode Commands
▀ ip dscp
▄ Command Line Interface Reference, StarOS Release 18
960
ip dscp
This command enables you to configure a ruledef with the DSCP value and match it with the DSCP value in the
incoming IP packets.
incoming IP packets.
Product
ACS
Privilege
Security Administrator, Administrator
Mode
Exec > ACS Configuration > Ruledef Configuration
active-charging service service_name > ruledef ruledef_name
Entering the above command sequence results in the following prompt:
[local]host_name(config-acs-ruledef)#
Syntax
[ no ] ip dscp { operator } ipv4_tos_value | ipv6_tc_value [ mask mask_value ]
no
If previously configured, removes the specified DSCP value and the mask from the configuration.
operator
Specifies how to match.
operator
must be one of the following:
!=
: Does not equal
=
: Equals
ipv4_tos_value | ipv6_tc_value
Specifies the DSCP value to match with the incoming IP packets.
The
The
ipv4_tos_value
or
ipv6_tc_value
must be an integer from 0 through 63.
mask mask_value
Specifies the mask for the number of bits in the DSCP value to be considered for matching.
mask_value
must be an integer from 0 through 63. The default mask value is 63.
Usage
Use this command to check if the DSCP value in the IPv4 ToS or IPv6 TC field of incoming IP packet
matches with configured ToS/TC value.
matches with configured ToS/TC value.
Example
The following command will match all incoming packets which has DSCP value 20:
ip dscp = 20 mask 31