-24
Cisco ME 3800X and ME 3600X Switch Command Reference
OL-28238-01
Chapter
shape average
shape average
To configure class-based or port shaping by specifying the average traffic shaping rate or percentage, use
the
shape average
command in policy-map class configuration mode. To set port shaping, use the
command with the class
class-default
. To remove traffic shaping, use the
no
form of this command.
shape average
{
target bps |
percent
value
}
no shape average
{
target bps |
percent
value
}
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.
Port shaping is applied to all traffic leaving an interface. It uses a policy map with only class default
when the maximum bandwidth for the port is specified by using the
shape average
command. A child
policy can be attached to the class-default in a hierarchical policy map format to specify class-based and
VLAN-based actions.
To return to policy-map configuration mode, use the
exit
command. To return to privileged EXEC mode,
use the
end
command.
target bps
Sets the target average rate in bits per second (bps). The range is
from 1000 to 1000000000.
percent
value
Sets the percentage of interface bandwidth. The range is 0 to 100
percent. The percentage is calculated based on the peak information
rate (PIR) of the parent class. If there is no configured PIR at any
level, this is the percentage of the interface speed. Setting the
percent to 0 disables shaping.
Release
Modification
12.2(52)EY
This command was introduced.
Содержание ME 3600X
Страница 14: ...Contents xiv Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Страница 534: ... 100 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 Chapter xconnect ...
Страница 625: ...Index IN 15 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Страница 626: ...Index IN 16 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Страница 627: ...Index IN 17 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Страница 628: ...Index IN 18 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...