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]][,...][slot/all][all]}
no qos if-shaper
no qos if-shaper port {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}
qos if-shaper port {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]} 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)
a series of slots and ports (slot/port,slot/port,slot/port)
all ports on the same slot (slot/all)
all ports on the switch (all)
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