
7000 Series L3 Managed Switch Reference Manual for Software v2.0
config diffserv class match srcl4port range
This command adds to the specified class definition a match condition based on the source layer 4 port of a packet. The <classname> is the name of an existing DiffServ class. Two layer 4 port numbers are required and together they specify a contiguous port range. Each port number is an integer from 0 to 65535, but with the added requirement that the second number be equal to or greater than the first. The optional [exclude] parameter has the effect of negating this match condition for the class (i.e., match all source layer 4 ports except for those within the range specified here).
Note: The srcl4port keyword, number, and range commands are alternative ways to specify a source layer 4 port range as a match criterion.
Default | none |
Format | config diffserv class match srcl4port range <class- |
| name> |
config diffserv class match srcmac
This command adds to the specified class definition a match condition based on the source MAC address of a packet. The <classname> is the name of an existing DiffServ class. The <macaddr> parameter is any layer 2 MAC address formatted as six,
Default | none |
Format | config diffserv class match srcmac <classname> <mac- |
| addr> <macmask> [exclude] |
config diffserv class match vlan
This command adds to the specified class definition a match condition based on the value of the layer 2 VLAN Identifier field of a packet. The <classname> is the name of an existing DiffServ class. The VLAN ID is an integer from 1 to 4094. The optional [exclude] parameter has the effect of negating this match condition for the class (i.e., match all VLAN Identifier values except for what is specified here).
CLI Commands: Differentiated Services |