Configuring Hierarchical Modular QoS on Cisco ASR 9000 Series Routers
How to Configure Hierarchical QoS
QC-140
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide
OL-23108-02
4. end 
or 
commit 
DETAILED STEPS
Command or Action Purpose
Step 1
configure
Example:
RP/0/RSP0/CPU0:router# configure
Enters global configuration mode.
Step 2
interface 
type interface-path-id 
Example:
RP/0/RSP0/CPU0:router(config)# interface 
pos 0/2/0/0
Specifies the interface to attach the hierarchical 
policy.
Step 3
service-policy {input | output} 
policy-map-name
Example:
RP/0/RSP0/CPU0:router(config-if)# 
service-policy input All_Traffic
Attaches the policy map you specify.
  • input—Apply the QoS policy to inbound 
packets. 
  • output—Apply the QoS policy to outbound 
packets. 
  • policy-map-name—Name of a previously 
configured top-level policy map
Step 4
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-pmap-c)# end
or
RP/0/RSP0/CPU0:router(config-pmap-c)# 
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.