Verifying The Policing Configuration - Cisco Nexus 7000 Series Configuration Manual

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

Advertisement

Verifying the Policing Configuration

Step 3
Step 4
Step 5
Step 6
Step 7
Step 8
Step 9
Example
This example shows how to display the test1 shared-policer configurations:
switch# show qos shared-policer test1
Verifying the Policing Configuration
To display the policing configuration information, perform one of these tasks:
Cisco Nexus 7000 Series NX-OS Quality of Service Configuration Guide
78
Command or Action
[exceed {drop | set dscp dscp table
cir-markdown-map} [violate {drop | set dscp
dscp table pir-markdown-map}]]}}
switch(config)# policy-map [type qos]
[match-first] {qos-policy-map-name |
qos-dynamic}
switch(config-pmap-qos)# class [type qos]
{class-map-name | qos-dynamic |
class-default} [insert-before
before-class-map-name]
switch(config-pmap-c-qos)# police aggregate
shared-policer-name
switch(config-pmap-c-qos)# exit
switch(config-pmap-qos)# exit
(Optional) switch(config)# show policy-map
[type qos] [policy-map-name | qos-dynamic]
(Optional) switch(config)# copy
running-config startup-config
Purpose
traffic takes the violate action. If be or violate
are specified, the exceed action is taken if the
data rate ≤ pir, and the violate action is taken
otherwise. The actions, data rates, and link
speeds are described in
Configuring 1-Rate and
2-Rate, 2-Color and 3-Color Policing, on page
68
above.
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.
Creates a reference to class-map-name, and
enters policy-map class configuration mode.
The class is added to the end of the policy map
unless insert-before is used to specify the class
to insert before. Use the class-default keyword
to select all traffic that is not currently matched
by classes in the policy map.
Creates a reference in the policy map to
shared-policer-name.
Exits policy-map class configuration mode and
enters policy-map mode.
Exits policy-map mode and enters global
configuration mode.
Displays information about all configured
policy maps or a selected policy map of type
qos.
Saves the running configuration to the startup
configuration.
Configuring Policing

Advertisement

Table of Contents
loading

Table of Contents