Configuring Shared Policers - 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 Policing
Example
This example shows how to display the policy1 policy-map configuration:
switch# show policy-map policy1

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
After you configure the shared policer, you can use the shared-policer name to configure any type of shared
policing, as described in the "Configuring 1-Rate and 2-Rate, 2-Color and 3-Color Policing" section, the
"Configuring Color-Aware Policing" section, the "Configuring Ingress and Egress Policing" section, and the
"Configuring Markdown Policing" section.
To configure shared policing:
1. Configure the shared policer as described in this section.
2. Create the class map. For information about configuring class maps, see "Configuring Classification."
3. Create a policy map. For information about policy maps, see this chapter and "Using Modular QoS CLI."
4. Reference the shared policer to the policy map as described in this section.
5. 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
Command or Action
switch# configure terminal
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
Cisco Nexus 7000 Series NX-OS Quality of Service Configuration Guide
Configuring Shared Policers
Purpose
Enters global configuration mode.
Creates or accesses the shared policer. The
shared-policer-name can contain alphabetic,
hyphen, or underscore characters, is case
sensitive, and can be up to 40 characters. 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
77

Advertisement

Table of Contents
loading

Table of Contents