Specifications
2-347
Cisco ME 3400 Ethernet Access Switch Command Reference
OL-9640-07
Chapter 2 Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
shape average
shape average
Use the shape average policy-map class configuration command to configure class-based or port
shaping by specifying the average traffic shaping rate. Use the command with the class class-default to
set port shaping. Use the no form of this command to remove traffic shaping.
shape average target bps
no shape average target bps
Syntax Description
Defaults No traffic shaping is defined.
Command Modes Policy-map class configuration
Command History
Usage Guidelines You use the shape average policy-map class command to control output traffic. Shaping is not supported
in input policy maps.
Traffic shaping limits the rate of transmission of data. Configuring traffic shaping for a user-defined
class or class-default for class-based shaping sets the peak information rate (PIR) for that class.
Configuring traffic shaping for the class class-default when it is the only class in the policy map that is
attached to an interface sets the PIR for the interface (port shaping).
You cannot configure shape average in a class that includes priority queueing (configured with the
priority policy-map class configuration command).
The shape average command uses a default queue limit for the class. You can change the queue limit by
using the queue-limit policy-map class command, overriding the default that is set by the shape average
command.
You cannot use the bandwidth policy-map class configuration command to configure class-based
weighted fair queuing (CBWFQ) and the shape average command to configure traffic shaping for the
same class.
You can configure hierarchical policy maps by attaching the service-policy policy-map class command
to the class class-default only when shape average is also configured on the class class-default.
To return to policy-map configuration mode, use the exit command. To return to privileged EXEC mode,
use the end command.
target bps Target average bit rate in bits per second (bps). The range is from
64000 to 1000000000 for class-based shaping and 4000000 to
1000000000 for port shaping.
Release Modification
12.2(25)EX This command was introduced.
12.2(25)SEG Support was added to configure traffic shaping in the class-default of an
output policy map.