qos shape

Syntax

qos shape <RATE> [burst <SIZE>]

no qos shape

Description

Limits the egress bandwidth on an interface to a value that is lower than its line rate. An optional 'burst' value may also be specified.

The no form of this command removes shaping from an interface.

Command context

config-if

Parameters

<RATE>

Specifies the maximum traffic rate in kbps. Range: 468 to100000000.

<SIZE>

Specifies the maximum burst size in kilobytes. Range: 0 to 127.

Authority

Administrators or local user group members with execution rights for this command.

Examples

Configuring an egress port shaping rate of 400 Mbps on interface 1/1/1 with a burst size of 50 KB:

switch(config)# interface 1/1/1
switch(config-if)# qos shape 400000 burst 50

Deleting egress port shaping on interface 1/1/1:

switch(config)# interface 1/1/1
switch(config-if)# no qos shape