Configure port-based shaping to rate-limit all outgoing traffic to a specific rate.
default qos if-shaper
default qos if-shaper port {slot/port[/sub-port][-slot/port[/sub-port]][,...]}
no qos if-shaper
no qos if-shaper port {slot/port[/sub-port][-slot/port[/sub-port]][,...]}
qos if-shaper port {slot/port[/sub-port][-slot/port[/sub-port]][,...]} shape-rate WORD<1000-100000000>
qos if-shaper shape-rate WORD<1000-100000000>
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.
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 capabilityThe default is 0, which means shaping is disabled on the port.
The default is disabled.
GigabitEthernet Interface Configuration