Cisco Nexus 7000 Series Command Reference Manual page 56

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

Advertisement

police (QoS)
S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m .
Examples
This example shows a 1-rate, 2-color policer that transmits if the data rate is within 200 milliseconds of
traffic at 256000 bps and marks the DSCP value based on the system-defined table map
pir-markdown-map if the data rate is violated:
switch(config)# policy-map my_policy1
switch(config-pmap-qos)# class default-class
switch(config-pmap-c-qos)# police cir 256000 conform transmit violate drop
switch(config-pmap-c-qos)#
This example shows a 1-rate, 3-color policer that transmits if the data rate is within 200 milliseconds of
traffic at 256000 bps, marks DSCP based on the system-defined table map cir-markdown-map if the data
rate is within 300 milliseconds of traffic at 256000 bps, and drops packets otherwise (pir must equal cir):
switch(config)# policy-map my_policy1
switch(config-pmap-qos)# class default-class
switch(config-pmap-c-qos)# police cir 256000 pir 256000 conform transmit exceed set dscp
dscp table cir-markdown-map violate drop
switch(config-pmap-c-qos)#
This example shows a 2-rate, 3-color policer that transmits and sets CoS to 5 if the data rate is within
200 milliseconds of traffic at 256000 bps, marks DSCP based on the system-defined table map
cir-markdown-map if the data rate exceeds 200 milliseconds of traffic at 512 bps, and drops packets
otherwise:
switch(config)# policy-map my_policy1
switch(config-pmap-qos)# class default-class
switch(config-pmap-c-qos)# police cir 256000 pir 512000 conform set-cos-transmit 5 exceed
set dscp dscp table cir-markdown-map violate drop
switch(config-pmap-c-qos)#
Related Commands
Command
show policy-map
Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x
QOS-46
Description
Displays policy maps and statistics.
Cisco Nexus 7000 Series NX-OS Quality of Service Commands
OL-23378-01

Advertisement

Table of Contents
loading

Table of Contents