Cisco Nexus 7000 Series Configuration Manual page 90

Nx-os quality of service configuration guide
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring Color-Aware Policing
Value
cs7
default
ef
After you apply color-aware policing, all matching packets in the device are policed according to the
specifications of the color-aware policer.
To configure color-aware policing:
1. Create the class map. For information about configuring class maps, see "Configuring Classification."
2. Create a policy map. For information about policy maps, see this chapter and "Using Modular QoS CLI."
3. Configure the color-aware class map as described in this section.
4. Apply the service policy to the interfaces. For information about attaching policies to interfaces, see
"Using Modular QoS CLI."
Note
The rates specified in the shared policer are shared by the number of interfaces to which you apply the service
policy. Each interface does not have its own dedicated rate as specified in the shared policer.
Procedure
Step 1
Step 2
Step 3
Step 4
Cisco Nexus 7000 Series NX-OS Quality of Service Configuration Guide
74
Command or Action
switch# configure terminal
switch(config)# class-map {conform-color-in
| conform-color-out | exceed-color-in |
exceed-color-out}
switch(config-color-map)# match dscp
dscp-value
switch(config-color-map)# policy-map [type
qos] [match-first] {qos-policy-map-name |
qos-dynamic}
List of DSCP Values
CS7 (precedence 7) dscp (111000)—decimal value
56
Default dscp (000000)—decimal value 0
EF dscp (101110)—decimal value 46
Purpose
Enters global configuration mode.
Accesses the color-aware class map, and enters
color-map mode. When you enter this
command, the system returns the following
message:
Warning: Configuring match for any DSCP
values in this class-map will make
ALL policers in the system color-aware
for those DSCP values.
Specifies the DSCP value to match for
color-aware policers. See the table above for a
list of valid values.
Creates or accesses the policy map named
qos-policy-map-name, and then enters
policy-map mode. The policy-map name can
contain alphabetic, hyphen, or underscore
characters, is case sensitive, and can be up to
40 characters.
Configuring Policing

Advertisement

Table of Contents
loading

Table of Contents