Configuring Ingress And Egress 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 Policing
Step 5
Step 6
Step 7
Step 8
Step 9
Example
This example shows how to display the policy1 policy-map configuration:
switch# show policy-map policy1

Configuring Ingress and Egress Policing

You can apply the policing instructions in a QoS policy map to ingress or egress packets by attaching that
QoS policy map to an interface. To select ingress or egress, you specify either the input or output keyword
in the service-policy command. For more information on attaching and detaching a QoS policy action from
an interface, see "Using Modular QoS CLI."
Command or Action
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-color-map)# exit
(Optional) switch(config)# show policy-map
[type qos] [policy-map-name | qos-dynamic]
(Optional) switch(config)# copy
running-config startup-config
Cisco Nexus 7000 Series NX-OS Quality of Service Configuration Guide
Configuring Ingress and Egress Policing
Purpose
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 color-map mode and then 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.
75

Advertisement

Table of Contents
loading

Table of Contents