2-237
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
78-16201-01
Chapter2Cisco IOS Commands for the Catalyst 4500 Series Switches
shape
shape
To specify traffic shaping on an interface, use the shape command. Use the no form of this command to
remove traffic shaping.
shape [rate] [percent]
no shape [rate] [percent]
Syntax Description
Defaults Default is no traffic shaping.
Command Modes Interface transmit queue configuration mode
Command History
Usage Guidelines Traffic shaping is available on all the port, and it sets an upper limit on the bandwidth.
When high shape rates are configured on the Catalyst 4500 Supervisor Engine V (WS-X4516), the
shaped traffic rate may not be achieved in situations that involve contention and unusual packet size
distributions. On ports that are multiplexed through a Stub ASIC and connected to the backplane
gigaports, shape rates above 7 megabits per second may not be achieved under worst-case conditions.
On ports that are connected directly to the backplane gigaports, or the supervisor engine gigaports, shape
rates above 50 megabits per second may not be achieved under worst-case conditions.
Some examples of ports connected directly to the backplane are as follows:
• Uplink ports on Supervisor Engine II+, III, IV, and V
• Ports on the WS-X4306-GB module
• The two 1000BASE-X ports on the WS-X4232-GB-RJ module
• The first two ports on the WS-X4418-GB module
• The two 1000BASE-X ports on the WS-X4412-2GB-TX module
All ports on 24-port modules and 48-port modules are multiplexed through a Stub ASIC. Some examples
of ports multiplexed through a Stub ASIC are:
• 10/100 ports on the WS-X4148-RJ45 module
• 10/100/1000 ports on the WS-X4124-GB-RJ45 module
• 10/100/1000 ports on the WS-X4448-GB-RJ45 module
rate (Optional) Specifies an average rate for traffic shaping. The range is 16000 to
1000000000. Postfix notation (k, m, and g) is optional and a decimal point is
allowed.
percent (Optional) Specifies a percent of bandwidth for traffic shaping.
Release Modification
12.2(18)EW Support for this command was introduced on the Catalyst 4500 series switch.