7000 Series L3 Managed Switch Reference Manual for Software v2.0
CLI Commands: Differentiated Services 9-5
config diffserv class rename
This command changes the name of a DiffServ class. The <classname> is the name of an existing
DiffServ class. The
<newclassname> parameter is a case-sensitive alphanumeric string from 1 to
31 characters uniquely identifying the class (Note: the class name ‘default’ is reserved and must
not be used here).
Default none
Format config diffserv class rename <classname> <newclass-
name>
config diffserv class match cos
This command adds to the specified class definition a match condition based on the class of
service of a packet, which is defined as the three bit priority field in the 802.1p header. The
<classname> is the name of an existing DiffServ class. The CoS value is an integer from 0 to 7.
The optional
[exclude] parameter has the effect of negating this match condition for the class
(i.e., match all class of service values except for what is specified here).
Default none
Format config diffserv class match cos <classname> <0-7>
[exclude]
config diffserv class match dstip
This command adds to the specified class definition a match condition based on the destination IP
address of a packet. The
<classname> is the name of an existing DiffServ class. The <ipaddr>
parameter specifies an IP address. The
<ipmask> parameter specifies an IP address bit mask; note
that although similar to a standard subnet mask, this bit mask need not be contiguous. The optional
[exclude] parameter has the effect of negating this match condition for the class (i.e., match all
destination IP addresses except for what is specified here).
Default none
Format config diffserv class match dstip <classname> <ipaddr>
<ipmask> [exclude]