![Cisco Catalyst Blade 3032 Software Configuration Manual Download Page 877](http://html.mh-extra.com/html/cisco/catalyst-blade-3032/catalyst-blade-3032_software-configuration-manual_67665877.webp)
37-57
Cisco Catalyst Blade Switch 3130 and 3032 for Dell Software Configuration Guide
OL-13270-06
Chapter 37 Configuring QoS
Configuring Standard QoS
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 class2
Switch(config-cmap)#
match ip dscp 10 11 12
Switch(config-cmap)#
end
Switch#
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 class3
Switch(config-cmap)#
match ip precedence 5 6 7
Switch(config-cmap)#
end
Switch#
Classifying Traffic by Using Class Maps and Filtering IPv6 Traffic
In Cisco IOS Release 12.2(52)SE and later, the switch supports both IPv4 and IPv6 QoS when the dual
IPv4 and IPv6 SDM template is configured. When the dual IP SDM template is configured, the
match
ip dscp
and
match ip precedence
classifications match both IPv4 and IPv6 traffic. The
match protocol
command allows you to create a secondary match classification that filters traffic by IP version (IPv4 or
IPv6).
To apply the primary match criteria to only IPv4 traffic, use the
match protoco
l command with the
ip
keyword. To apply the primary match criteria to only IPv6 traffic, use the
match protocol
command with
the
ipv6
keyword. For more information about the
match protocol
command, see the
Cisco IOS Quality
of Service Solutions Command Reference
.
Beginning in privileged EXEC mode, follow these steps to create a class map, define the match criterion
to classify traffic, and filter IPv6 traffic:
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
.