hit counter script

Cisco Catalyst 2960 Software Configuration Manual page 793

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

Chapter 33
Configuring QoS
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
The switch supports both IPv4 and IPv6 QoS on Catalyst 2960-S switches when a lanbase-routing 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 protocol 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
Step 1
configure terminal
Step 2
class-map {match-all} class-map-name
Step 3
match protocol [ip | ipv6]
OL-26520-01
Purpose
Enter global configuration mode.
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.
(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.
This command is available only when the dual IPv4
and IPv6 SDM template is configured - does it apply to
2960-S?
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
Configuring Standard QoS
33-55

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2960-s

Table of Contents