Configuring A Policy Map - Cisco 4500M Software Manual

Software guide
Table of Contents

Advertisement

Configuring QoS
Any Input or Output policy that uses a class map with the match ip precedence or match ip dscp
Note
class-map commands, requires that the port on which the packet is received, be configured to trust dscp.
If the incoming port trust state is not set to trust dscp, the IP packet DSCP/IP-precedence is not used
for matching the traffic; instead the receiving port's default DSCP is used.
The interfaces on the Catalyst 4000 family switch do not support the match classmap, match
Note
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:
Command
Step 1
Switch (config-cmap)# end
Step 2
Switch# show class-map class_name
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#

Configuring a Policy Map

You can attach only one policy map to an interface. Policy maps can contain one or more policy-map
classes, each with different match criteria and policers.
Configure a separate policy-map class in the policy map for each type of traffic that an interface receives.
Put all commands for each type of traffic in the same policy-map class. QoS does not attempt to apply
commands from more than one policy-map class to matched traffic.
The following sections describe policy-map configuration:
Software Configuration Guide—Release 12.2(25)EW
29-30
Creating a Policy Map, page 29-31
Configuring Policy-Map Class Actions, page 29-31
Purpose
Exits configuration mode.
Verifies the configuration.
Chapter 29
Configuring QoS
OL-6696-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 series

Table of Contents