606
Configuring QoS
Configuring QoS
Using Class Maps to Define a Traffic Class
You use the
class-map
global configuration command to name and to isolate a specific traffic flow (or class) from all
other traffic. A class map defines the criteria to use to match against a specific traffic flow to further classify it. Match
statements can include criteria such as an ACL, CoS value, DSCP value, IP precedence values, QoS group values, or
VLAN IDs. You define match criterion with one or more
match
statements entered in the class-map configuration mode.
Follow these guidelines when configuring class maps:
A
match-all
class map cannot have more than one classification criterion (one match statement), but a
match-any
class map can contain multiple match statements.
The
match cos
and
match vlan
commands are supported only on Layer 2 802.1Q trunk ports.
You use a class map with the
match vlan
command in the parent policy in input hierarchical policy maps for per-port,
per-VLAN QoS on trunk ports. A policy is considered a parent policy map when it has one or more of its classes
associated with a child policy map. Each class within a parent policy map is called a parent class. You can configure
only the
match vlan
command in parent classes. You cannot configure the
match vlan
command in classes within
the child policy map.
For an input policy map, you cannot configure an IP classification (
match ip dscp
,
match ip precedence
,
match
access-group
for an IP ACL) and a non-IP classification (
match cos
or
match access-group
for a MAC ACL) in the
same policy map or class map. For a per-port, per-VLAN hierarchical policy map, this applies to the child policy map.
You cannot configure
match qos-group
for an input policy map.
In an output policy map, no two class maps can have the same classification criteria; that is, the same match
qualifiers and values.
The maximum number of class maps on the switch is 1024.
Beginning in privileged EXEC mode, follow these steps to create a class map and to define the match criterion to classify
traffic:
Содержание IE 4000
Страница 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Страница 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Страница 108: ...104 Configuring Switch Clusters Additional References ...
Страница 128: ...124 Performing Switch Administration Additional References ...
Страница 130: ...126 Configuring PTP ...
Страница 140: ...136 Configuring CIP Additional References ...
Страница 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Страница 192: ...188 Configuring Switch Based Authentication Additional References ...
Страница 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Страница 274: ...270 Configuring SGT Exchange Protocol over TCP SXP and Layer 3 Transport Configuring Cisco TrustSec Caching ...
Страница 298: ...294 Configuring VLANs Additional References ...
Страница 336: ...332 Configuring STP Additional References ...
Страница 408: ...404 Configuring DHCP Additional References ...
Страница 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Страница 490: ...486 Configuring SPAN and RSPAN Additional References ...
Страница 502: ...498 Configuring Layer 2 NAT ...
Страница 559: ...555 Configuring Network Security with ACLs How to Configure Network Security with ACLs Creating a Numbered Extended ACL ...
Страница 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Страница 930: ...926 Configuring IP Unicast Routing Related Documents ...
Страница 956: ...952 Configuring IPv6 Unicast Routing Configuring IPv6 network 2010 AB8 2 48 network 2010 AB8 3 48 exit address family ...
Страница 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Страница 978: ...974 Dying Gasp ...
Страница 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Страница 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Страница 996: ...992 Ethernet CFM ...
Страница 1030: ...1026 Working with the Cisco IOS File System Configuration Files and Software Images Working with Software Images ...
Страница 1066: ...1062 Using an SD Card SD Card Alarms ...