1-123
Cisco ASR 901 Aggregation Services Router Command Reference Guide
OL-26031-07
Chapter 1 CLI Command Reference
service-policy (policy-map class)
Examples
The following example creates a hierarchical service policy in the service policy called parent:
Router(config)#
policy-map child
Router(config-pmap)#
class voice
Router(config-pmap-c)#
priority 500
Router(config-pmap-c)#
exit
Router(config-pmap)#
exit
Router(config)#
policy-map parent
Router(config-pmap)#
class class-default
Router(config-pmap-c)#
shape average 10000000
Router(config-pmap-c)#
service-policy child
Related Commands
Command
Description
bandwidth (policy-map class)
Specifies or modifies the bandwidth allocated for a class
belonging to a policy map.
fair-queue
Specifies the number of queues to be reserved for use by a
traffic class.
policy-map
Specifies the name of the service policy to configure.
priority
Gives priority to a class of traffic belonging to a policy
map.
service-policy
Specifies the name of the service policy to be attached to
the interface.
shape
Specifies average or peak rate traffic shaping.
show policy-map
Displays the configuration of all classes for a specified
service policy map or all classes for all existing policy
maps.
show policy-map interface
Displays the configuration of all classes configured for all
service policies on the specified interface or displays the
classes for the service policy for a specific PVC on the
interface.