36-53
Cisco Catalyst Blade Switch 3130 and 3032 for Dell Software Configuration Guide
OL-12247-04
Chapter 36 Configuring QoS
Configuring Standard QoS
Beginning in privileged EXEC mode, follow these steps to create a class map, define the match criterion
to classify traffic, and filter IPv6 traffic:
To delete an existing policy map, use the no policy-map policy-map-name global configuration
command. To delete an existing class map, use the no class-map [match-all | match-any]
class-map-name global configuration command. To remove a match criterion, use the no match
{access-group acl-index-or-name | ip dscp | ip precedence} class-map configuration command.
This example shows how to configure a class map to match IP DSCP and IPv6:
Switch(config)# Class-map cm-1
Switch(config-cmap)# match ip dscp 10
Switch(config-cmap)# match protocol ipv6
Switch(config-cmap)# exit
Switch(config)# Class-map cm-2
Switch(config-cmap)# match ip dscp 20
Switch(config-cmap)# match protocol ip
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
class-map {match-all} class-map-name Create a class map, and enter class-map configuration mode.
By default, no class maps are defined.
When you use the match protocol command, only the match-all
keyword is supported.
• For class-map-name, specify the name of the class map.
If neither the match-all or match-any keyword is specified, the default
is match-all.
Step 3
match protocol [ip | ipv6] (Optional) Specify the IP protocol to which the class map applies:
• Use the argument ip to specify IPv4 traffic and ipv6 to specify IPv6
traffic.
• When you use the match protocol command, only the match-all
keyword is supported for the class-map command.
Note This command is available only when the dual IPv4 and IPv6
SDM template is configured.
For more information about the match protocol command, see the
Cisco IOS Quality of Service Solutions Command Reference.
Step 4
match {ip dscp dscp-list | ip precedence
ip-precedence-list}
Define the match criterion to classify traffic.
By default, no match criterion is defined.
• For ip dscp dscp-list, enter a list of up to eight IP DSCP values to
match against incoming packets. Separate each value with a space.
The range is 0 to 63.
• For ip precedence ip-precedence-list, enter a list of up to eight
IP-precedence values to match against incoming packets. Separate
each value with a space. The range is 0 to 7.
Step 5
end Return to privileged EXEC mode.
Step 6
show class-map Verify your entries.
Step 7
copy running-config startup-config (Optional) Save your entries in the configuration file.