Classifying Ingress Traffic By Using Acls; Classifying Ingress Traffic By Using Class Maps; Classifying, Policing, And Marking Ingress Traffic By Using Policy Maps - Cisco Catalyst 3750 Software Configuration Manual

Metro switch
Hide thumbs Also See for Catalyst 3750:
Table of Contents

Advertisement

Configuring Standard QoS
This example shows how to create a class map called class3, which matches inbound 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)# exit

Classifying, Policing, and Marking Ingress Traffic by Using Policy Maps

A policy map specifies which inbound traffic class to act on. You can specify which CoS, DSCP, or IP
precedence values in the traffic class to trust. You can specify which DSCP or IP precedence values in
the traffic class to set. You can specify 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 ingress policy-map per port.
Before beginning this procedure, make sure that you have created the class map to isolate traffic. For
more information, see the
"Classifying Ingress Traffic by Using Class Maps" section on page
For information about configuring an egress policy-map for an ES port, see the
Two-Rate Traffic Policer" section on page 26-80
an Egress Traffic Policy" section on page
Beginning in privileged EXEC mode, follow these steps to create an ingress policy-map:
Command
Step 1
configure terminal
Step 2
policy-map policy-map-name
Step 3
class class-name
Catalyst 3750 Metro Switch Software Configuration Guide
26-54
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. The last one configured takes
affect.
"Classifying Ingress Traffic by Using ACLs" section on page 26-49
and the
"Configuring Class-Based Packet Marking in
26-84.
Purpose
Enter global configuration mode.
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.
Specify the name of the class whose traffic policy you want to create or
change, and enter policy-map class configuration mode.
By default, no traffic classes are defined.
Chapter 26
Configuring QoS
26-52.
"Configuring an Egress
78-15870-01
and the

Advertisement

Table of Contents
loading

Table of Contents