2-426
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
shape
shape
Use the
shape
policy-map class configuration command to enable traffic shaping in a hierarchical policy
map attached to an enhanced-services (ES) port. Traffic shaping limits the data transmission rate. Use
the
no
form of this command to return to the default setting.
shape average
cir-bps
no shape average
Syntax Description
Defaults
Average-rate traffic shaping is disabled.
Command Modes
Policy-map class configuration
Command History
Usage Guidelines
Use the
shape
command only in a hierarchical policy map attached to an ES port. This command is valid
in policy maps at any level of the hierarchy.
Shaping is the process of delaying out-of-profile packets in queues so that they conform to a specified
profile. Shaping is distinct from policing. Policing drops packets that exceed a configured threshold, but
shaping buffers packets so that traffic remains within the threshold. Shaping offers greater smoothness
in handling traffic than policing.
You must configure the
bandwidth
or the
shape
policy-map class configuration command before you
configure either the
queue-limit
or the
random-detect
policy-map class configuration command in a
class policy.
You cannot use the
bandwidth
,
queue-limit
,
random-detect
, and the
shape
policy-map class
configuration commands with the
priority
policy-map class configuration command in the same class
within the same policy map. However, you can use these commands in the same policy map.
To return to policy-map configuration mode, use the
exit
command. To return to privileged EXEC mode,
use the
end
command.
The switch follows these rules when allocating bandwidth for VLAN-level and class-level classes:
average
Enable average-rate traffic shaping.
cir-bps
Committed information rate, the bit rate that traffic is shaped to, in bps. This is the
access bit rate that you contract with your service provider or the service levels that
you intend to maintain. The range is 64000 to 2000000000 bps.
Allocate the shaped rate in 100-kbps increments; otherwise, the software rounds down
the rate to the nearest 100-kbps increment.
Release
Modification
12.1(14)AX
This command was introduced.
12.2(25)EY
Hierarchical service policies can be attached to inbound traffic received on
an ES port.