Configuring Modular QoS Congestion Management on Cisco ASR 9000 Series Routers
How to Configure QoS Congestion Management on Cisco ASR 9000 Series Routers
QC-62
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide
OL-23108-02
Configuring Traffic Policing
Traffic policing allows you to control the maximum rate of traffic sent or received on an interface.
SUMMARY STEPS
1. configure
2. policy-map policy-name
3. class class-name
4. police rate {value [units] | percent percentage} [burst burst-size [burst-units]] [peak-burst
peak-burst [burst-units]] [peak-rate value [units]]
5. conform-action action
6. exceed-action action
7. exit
8. exit
Step 8
service-policy {input | output}
policy-map
Example:
RP/0/RSP0/CPU0:router(config-if)#
service-policy output policy1
Attaches a policy map to an input or output interface to be
used as the service policy for that interface.
• In this example, the traffic policy evaluates all traffic
leaving that interface.
Step 9
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-if)# end
or
RP/0/RSP0/CPU0:router(config-if)# commit
Saves configuration changes.
• When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting(yes/no/cancel)?
[cancel]:
–
Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
–
Entering no exits the configuration session and
returns the router to EXEC mode without
committing the configuration changes.
–
Entering cancel leaves the router in the current
configuration session without exiting or
committing the configuration changes.
• Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Step 10
show policy-map interface
type
interface-path-id
[input | output]
Example:
RP/0/RSP0/CPU0:router# show policy-map
interface gigabitethernet 0/2/0/0
(Optional) Displays policy configuration information for all
classes configured for all service policies on the specified
interface.
Command or Action Purpose