Configuring Shared Policers - Cisco Nexus 9000 Series Configuration Manual

Nx-os quality of service configuration, release 7.x
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring Policing

Configuring Shared Policers

The shared policer feature allows you to apply the same policing parameters to several interfaces simultaneously.
You create a shared policer by assigning a name to a policer, and then applying that policer to a policy map
that you attach to the specified interfaces. The shared policer is also referred to as the named aggregate policer
in other Cisco documentation.
Note
The shared policer feature is only supported on the Cisco Nexus 9508 switch (NX-OS 7.0(3)F3(3) and later).
Note
When the shared policer is applied on interfaces or VLANs with member ports that are across different cores
or instances, the rate becomes two times the configured cir rate.
To configure a shared policer:
1. Create the class map.
2. Create a policy map.
3. Reference the shared policer to the policy map as described in this section.
4. Apply the service policy to the interfaces.
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.
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# qos shared-policer [type qos] shared-policer-name [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 conform-action [exceed {drop | set dscp
dscp table cir-markdown-map} [violate {drop | set dscp dscp table pir-markdown-map}]]}}
3. switch(config)# policy-map [type qos] [match-first] {qos-policy-map-name | qos-dynamic}
4. switch(config-pmap-qos)# class [type qos] {class-map-name | qos-dynamic | class-default} [insert-before
before-class-map-name]
5. switch(config-pmap-c-qos)# police aggregate shared-policer-name
6. switch(config-pmap-c-qos)# exit
7. switch(config-pmap-qos)# exit
8. (Optional) switch(config)# show policy-map [type qos] [policy-map-name | qos-dynamic]
9. (Optional) switch(config)# copy running-config startup-config
Cisco Nexus 9000 Series NX-OS Quality of Service Configuration Guide, Release 7.x
Configuring Shared Policers
97

Advertisement

Table of Contents
loading

Table of Contents