Classifying, Policing, And Marking Traffic By Using Policy Maps - Cisco WS-C3750-48PS-S Software Configuration Manual

Network switch
Table of Contents

Advertisement

Configuring Standard QoS

Classifying, Policing, and Marking Traffic by Using Policy Maps

A policy map specifies which traffic class to act on. Actions can include trusting the CoS, DSCP, or IP
precedence values in the traffic class; setting a specific DSCP or IP precedence value in the traffic class;
and specifying the traffic bandwidth limitations for each matched traffic class (policer) and the action to
take when the traffic is out of profile (marking).
A policy map also has these characteristics:
You can attach only one policy map per ingress port.
The 10-Gigabit interfaces do not support policing by using a policy map.
Note
Beginning in privileged EXEC mode, follow these steps to create a policy map:
Command
Step 1
configure terminal
Step 2
class-map [match-all | match-any]
class-map-name
Step 3
policy-map policy-map-name
Catalyst 3750 Switch Software Configuration Guide
32-44
A policy map can contain multiple class statements, each with different match criteria and policers.
A separate policy-map class can exist for each type of traffic received through a port.
A policy-map trust state and a port trust state are mutually exclusive, and whichever is configured
last takes affect.
Purpose
Enter global configuration mode.
Create a class map, and enter class-map configuration mode.
By default, no class maps are defined.
(Optional) Use the match-all keyword to perform a logical-AND
of all matching statements under this class map. All match criteria
in the class map must be matched.
(Optional) Use the match-any keyword to perform a logical-OR of
all matching statements under this class map. One or more match
criteria must be matched.
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.
Because only one match command per class map is supported,
Note
the match-all and match-any keywords function the same.
Create a policy map by entering the policy map name, and enter
policy-map configuration mode.
By default, no policy maps are defined.
The default behavior of a policy map is to set the DSCP to 0 if the
packet is an IP packet and to set the CoS to 0 if the packet is tagged. No
policing is performed.
Chapter 32
Configuring QoS
78-16180-02

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3750

Table of Contents