qos if-shaper

Configure port-based shaping to rate-limit all outgoing traffic to a specific rate.

Syntax

Command Parameters

port {slot/port[/sub-port] [-slot/port[/sub-port]] [,...]}

Identifies the slot and port in one of the following formats: a single slot and port (slot/port), a range of slots and ports (slot/port-slot/port), or a series of slots and ports (slot/port,slot/port,slot/port). If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

shape-rate WORD<1000-100000000>

Specifies the shaping rate in Kb/s. If you try to configure a limit that is too high for the port speed, the switch displays the following message:

Error: port slot/port, The QOS Egress shaper rate can not exceed the port capability

The default is 0, which means shaping is disabled on the port.

Default

The default is disabled.

Command Mode

GigabitEthernet Interface Configuration