QoS Classification Commands
shape average
To shape traffic to the indicated bit rate according to the algorithm specified, use the shape average command
in policy map class configuration mode. To remove traffic shaping, use the no form of this command.
shape average {percent percentage |rate [units]}
no shape average
Syntax Description
percent percentage
rate
units
units: bps
Command Default
Policy map class configuration
Command Modes
Command History
Release
Release 6.0
The shape average command is supported only in the egress direction.
Usage Guidelines
When you use the shape average command, egress shaping is done at the Layer 1 level and includes the
Layer 1 header in the rate calculation. The minimum shape rate is 469 kbps. If you have both shape and
bandwidth configured for a class, ensure that the shape percent value is always greater than the percent value
for bandwidth. For bundled interfaces, shape average can be configured only as a percentage.
The priority and shape average commands can be configured together in the same class.
Task ID
Task
ID
qos
Examples
This example sets traffic shaping to 50 percent of the parent shaper rate milliseconds:
RP/0/RP0/CPU0:router(config)# policy-map policy1
RP/0/RP0/CPU0:router(config-pmap)# class class1
RP/0/RP0/CPU0:router(config-pmap-c)# shape average percent 50
Specifies the interface bandwidth in percentage. Values can be from 1 to 100.
Average shaping rate in the specified units. Values can be from 1 to 4294967295.
(Optional) Units for the bandwidth. Values can be:
• bps—bits per second (default)
• gbps—gigabits per second
• kbps—kilobits per second
• mbps—megabits per second
Operations
read,
write
Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers
shape average
Modification
This command was introduced.
39