C
HAPTER
38
| Quality of Service Commands
– 1186 –
match This command defines the criteria used to classify traffic. Use the no form
to delete the matching criteria.
SYNTAX
[no] match {access-list acl-name | cos cos | ip dscp dscp |
ip precedence ip-precedence | ipv6 dscp dscp |
source-port interface | vlan vlan}
acl-name - Name of the access control list. Any type of ACL can be
specified, including standard or extended IPv4/IPv6 ACLs and MAC
ACLs. (Range: 1-16 characters)
cos - A Class of Service value. (Range: 0-7)
dscp - A Differentiated Service Code Point value. (Range: 0-63)
ip-precedence - An IP Precedence value. (Range: 0-7)
interface
unit/port
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-28)
vlan - A VLAN. (Range:1-4094)
DEFAULT SETTING
None
COMMAND MODE
Class Map Configuration
COMMAND USAGE
â—† First enter the class-map command to designate a class map and enter
the Class Map configuration mode. Then use match commands to
specify the fields within ingress packets that must match to qualify for
this class map.
â—† If an ingress packet matches an ACL specified by this command, any
deny rules included in the ACL will be ignored.
â—† If match criteria includes an IP ACL or IP priority rule, then a VLAN rule
cannot be included in the same class map.
â—† If match criteria includes a MAC ACL or VLAN rule, then neither an IP
ACL nor IP priority rule can be included in the same class map.
â—† Up to 16 match entries can be included in a class map.