33-36
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
OL-9639-07
Chapter 33 Configuring QoS
Configuring QoS
Use the
no
form of the appropriate command to delete an existing class map or remove a match criterion.
This example shows how to create access list 103 and configure the class map called
class1
. The
class1
has one match criterion, which is access list 103. It permits traffic from any host to any destination that
matches a DSCP value of 10.
Switch(config)#
access-list 103 permit any any dscp 10
Switch(config)#
class-map class1
Switch(config-cmap)#
match access-group 103
Switch(config-cmap)#
exit
This example shows how to create a class map called
class2
, which matches incoming traffic with DSCP
values of 10, 11, and 12.
Switch(config)#
class-map match-any class2
Switch(config-cmap)#
match ip dscp 10 11 12
Switch(config-cmap)#
exit
This example shows how to create a class map called
class3
, which matches incoming traffic with
IP-precedence values of 5, 6, and 7:
Switch(config)#
class-map match-any class3
Switch(config-cmap)#
match ip precedence 5 6 7
Switch(config-cmap)#
exit
This example shows how to create a parent class-map called
parent-class
, which matches incoming
traffic with VLAN IDs in the range from 30 to 40.
Switch(config)#
class-map match-any parent-class
Switch(config-cmap)#
match vlan 30-40
Switch(config-cmap)#
exit
Configuring Table Maps
You can configure table maps to manage a large number of traffic flows with a single command. You use
table maps to correlate specific DSCP, IP precedence and CoS values to each other, to mark down a
DSCP, IP precedence, or CoS value, or to assign default values. You can specify table maps in
set
commands and use them as mark-down mapping for the policers.
These table maps are supported on the switch:
•
DSCP to CoS, precedence, or DSCP
•
CoS to DSCP, precedence, or CoS
•
Precedence to CoS, DSCP, or precedence
Note these guidelines when configuring table maps:
•
The switch supports a maximum of 256 unique table maps.
•
The maximum number of map statements within a table map is 64.
•
Table maps cannot be used in output policy maps.
Step 5
show class-map
Verify your entries.
Step 6
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Содержание ME 3400 Series
Страница 40: ...Contents xl Cisco ME 3400 Ethernet Access Switch Software Configuration Guide OL 9639 07 ...
Страница 44: ...xliv Cisco ME 3400 Ethernet Access Switch Software Configuration Guide OL 9639 07 Preface ...
Страница 1138: ...Index IN 52 Cisco ME 3400 Ethernet Access Switch Software Configuration Guide OL 9639 07 ...