Shape (Class-Based Queueing) - Cisco Catalyst 4500 Series Command Reference Manual

Cisco ios command reference release ios xe 3.4.0sg and ios 15.1(2)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches

shape (class-based queueing)

To enable traffic shaping a class of traffic in a policy map attached to a physical port, use the shape
average policy-map class command. Traffic shaping limits the data transmission rate. To return to the
default setting, use the no form of this command.
Syntax Description
rate
bps
kbps
mbps
gbps
percent
percent_value
Defaults
Average-rate traffic shaping is disabled.
Command Modes
Policy-map class configuration mode
Command History
Release
12.2(40)SG
Usage Guidelines
Use the shape command only in a policy map attached to a physical 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 cannot use the bandwidth, dbl, 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.
OL-27596 -01
shape average {rate} [bps | kbps | mbps | gbps]
shape average percent {percent_value}
no shape average
Specifies an average rate for traffic shaping; the range is 16000 to 10000000000.
Post-fix notation (k, m, and g) is optional and a decimal point is allowed.
(Optional) Specifies a rate in bits per seconds.
(Optional) Specifies a rate in kilobytes per seconds.
(Optional) Specifies a rate in megabits per seconds.
(Optional) Specifies a rate in gigabits per seconds.
Specifies a percentage of bandwidth for traffic shaping.
(Optional) Specifies a percentage of the bandwidth used for traffic shaping; valid
values are from 1 to 100 percent.
Modification
This command was introduced on the Catalyst 4500 series switch using a
Supervisor Engine 6E.
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
shape (class-based queueing)
2-633

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents