PurposeCommand or Action
Example:
Device(config-pmap-c)# priority <1-10000000>
Kilo Bits per second
level is the level of priority assigned to the priority
class. Valid values are 1 (high priority) and 2 (low
priority). The default value is 1. Do not specify the
same priority level for two different classes in the
same policy map.
Note
Device(config-pmap-c)# priority Percent <1-100>
Device(config-pmap-c)# priority level <1-2>
<1-10000000> Kilo Bits per second
Device(config-pmap-c)# priority level <1-2>
percent <1-100>
Specifies the port to attach to the policy map and allows to
enter the interface configuration mode. Valid interfaces are
physical ports.
interface interface-type interface-number
Example:
Device(config)# interface gigabitethernet 0/0/1
Step 8
Applies output policy to the interface.
You can also attach the service policy over the
service instance.
Note
service-policy output policy-map-name
Example:
Device(config-if)# service instance 1 ethernet
Device(config-if-srv)# service-policy output
shape_priority
Step 9
Returns to privileged EXEC mode.end
Example:
Device(config)#end
Step 10
Configuration Examples for Priority Shaper
This section shows sample configurations for Priority Shaper.
Example: Configuring Priority Shaper
The following is a sample configuration for ECMP load balancing.
Device(config)#class-map match-any class_level1
Device(config-cmap)#match cos 1
Device(config-cmap)#match cos 2
Device(config-cmap)#class-map match-any class_level2
Device(config-cmap)#match cos 3
Device(config-cmap)#match cos 4
Device(config-cmap)#class-map match-any class_bw
Device(config-cmap)#match cos 5
Device(config-cmap)#end
.
Device(config)#policy-map shape_priority
Device(config-pmap)#class class_level1
Device(config-pmap-c)#priority level 1 per 10
Device(config-pmap-c)#class class_level2
Device(config-pmap-c)#priority level 2 per 20
Device(config-pmap-c)#class class_bw
Device(config-pmap-c)#bandwidth remaining percent 70
Device(config-pmap-c)#end
QoS: Policing and Shaping Configuration Guide (Cisco ASR 920 Series)
47
Priority Shaper
Configuration Examples for Priority Shaper