Chapter 20
| Quality of Service Commands
– 485 –
Example
This example creates a class map call “rd-class,” and sets it to match packets
marked for DSCP service value 3:
Console(config)#class-map rd-class
Console(config-cmap)#match cos 3
Console(config-cmap)#
Related Commands
description
This command specifies the description of a class map or policy map.
Syntax
description
string
string
- Description of the class map or policy map. (Range: 1-
64 characters)
Command Mode
Class Map Configuration
Policy Map Configuration
Example
Console(config)#class-map rd-class#1
Console(config-cmap)#description “matches packets marked for DSCP service
value 3”
Console(config-cmap)#
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
|
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)
vlan
- A VLAN. (Range:1-4094)