How to Configure Modular QoS Congestion Avoidance on Cisco IOS XR Software
Command or Action
Step 6
bandwidth remaining percent percentage-value
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# bandwidth
remaining percent 20
Step 7
shape average {percent percentage | value
[ units ]}
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# shape
average percent 50
Step 8
exit
Example:
RP/0/RSP0/CPU0:router(config-pmap)# exit
Step 9
interface type instance
Example:
RP/0/RSP0/CPU0:router(config)# interface
gigabitethernet 0/2/0/0
Step 10
service-policy {input | output} policy-map
Example:
RP/0/RSP0/CPU0:router(config-if)#
service-policy output policy1
Step 11
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-cmap)# end
or
RP/0/RSP0/CPU0:router(config-cmap)# commit
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide
QC-72
Configuring Modular QoS Congestion Avoidance on Cisco ASR 9000 Series Routers
D r a f t — C i s c o C o n f i d e n t i a l
Purpose
(Optional) Specifies how to allocate leftover bandwidth to
various classes.
•
The remaining bandwidth of 70 percent is shared by all
configured classes.
•
In this example, class class1 receives 20 percent of the
70 percent.
(Optional) Shapes traffic to the specified bit rate or a
percentage of the available bandwidth.
Returns the router to global configuration mode.
Enters configuration mode and configures an interface.
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.
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.
OL-17239-01