Configuring Markdown Policing - 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

Configuring Markdown Policing

Configuring Markdown Policing
Markdown policing is the setting of a QoS field in a packet when traffic exceeds or violates the policed data
rates. You can configure markdown policing by using the set commands for policing action described in
Configuring 1-Rate and 2-Rate, 2-Color and 3-Color Policing, on page
The example in this section shows you how to use a table map to perform a markdown.
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
Step 8
Cisco Nexus 7000 Series NX-OS Quality of Service Configuration Guide
76
Command or Action
switch# configure terminal
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 [cir]
{committed-rate [data-rate] | percent
cir-link-percent} [bc committed-burst-rate
[link-speed]] [pir] {peak-rate [data-rate] |
percent cir-link-percent} [be peak-burst-rate
[link-speed]] {conform {transmit |
set-prec-transmit | set-dscp-transmit |
set-cos-transmit | set-qos-transmit |
set-discard-class-transmit} [exceed {drop |
set dscp dscp table {cir-markdown-map}}
[violate {drop | set dscp dscp table
{pir-markdown-map}}]]}
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
68.
Purpose
Enters global configuration mode.
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.
Polices cir in bits or as a percentage of the link
rate. The conform action is taken if the data
rate is ≤ cir. If be and pir are not specified, all
other 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.
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