Configuring Ingress and Egress Policing
Command or Action
Step 8
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
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 the input keyword or the output
keyword in the service-policy command.
For more information about attaching and detaching a QoS policy action from an interface, see the
Modular QoS CLI
For more information about carving TCAM regions for egress QoS, see the
on page 49
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 the
Policer Actions for Exceed or Violate table and the Policer Actions for Conform table.
You must specify the identical value for pir and cir to configure 1-rate 3-color policing.
Note
SUMMARY STEPS
1. configure terminal
2. policy-map [type qos] [match-first] [policy-map-name]
3. class [type qos] {class-name | class-default} [insert-before before-class-name]
4. police [cir] {committed-rate [data-rate] | percent cir-link-percent} [[bc | burst] burst-rate [link-speed]]
[[be | peak-burst] peak-burst-rate [link-speed]] [conform conform-action [exceed [violate drop set dscp
dscp table pir-markdown-map]]}
5. exit
6. exit
7. show policy-map [type qos] [policy-map-name]
8. copy running-config startup-config
Cisco Nexus 9000 Series NX-OS Quality of Service Configuration Guide, Release 7.x
90
section.
section.
Purpose
(Optional) Saves the running configuration to the startup
configuration.
Configuring Policing
Using
Enabling Egress QoS (IPv4),