Cisco Systems 4500 Switch User Manual


  Open as PDF
of 1504
 
37-30
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 37 Configuring Quality of Service
Configuring QoS on Supervisor Engines II-Plus, II+10GE, IV, V, V-10GE, 4924, 4948, and 4948-10GE
Note Any Input or Output policy that uses a class map with the match ip precedence or match ip dscp
class-map commands, requires that you configure the port on which the packet is received to trust dscp.
If not, the IP packet DSCP/IP-precedence is not used for matching the traffic; instead, the receiving
port’s default DSCP is used. Starting with Cisco IOS Release 12.2(31)SG, the Supervisor Engine
V-10GE allows you to classify traffic based on packet’s IP DSCP value irrespective of port trust state.
Note With Cisco IOS Release 12.2(31), the Catalyst 4500 series switch supports Match CoS.
Note The interfaces on the Catalyst 4500 family switch do not support the match classmap, match
destination-address, match input-interface, match mpls, match not, match protocol, match
qos-group, and match source-address keywords.
Verifying Class-Map Configuration
To verify class-map configuration, perform this task:
This example shows how to create a class map named ipp5 and how to configure filtering to match traffic
with IP precedence 5:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# class-map ipp5
Switch(config-cmap)# match ip precedence 5
Switch(config-cmap)# end
Switch#
This example shows how to verify the configuration:
Switch# show class-map ipp5
Class Map match-all ipp5 (id 1)
Match ip precedence 5
Switch#
Switch (config-cmap)# [no] match cos value1 [value2]
[value3} [value4}
(Optional—for non-IPv4 traffic only) Specifies up to eight
CoS values used as match criteria. Use the no keyword to
remove the statement from a class map.
For information on non-IPv4 traffic, see “Configuration
Guidelines” section on page 37-58.
Switch (config-cmap)# [no] match any
(Optional) Matches any IP traffic or non-IP traffic.
Switch (config-cmap)# match flow ip {source-address
| destination-address
(Optional) Treats each flow with a unique IP source address
or destination address as a new flow.
Command Purpose
Command Purpose
Step 1
Switch (config-cmap)# end
Exits configuration mode.
Step 2
Switch# show class-map class_name
Verifies the configuration.