147
Parameter:<bandwidth>
is the bandwidth limit, which is shown in Mbps ranging
between 1-10000M;
input
refers to the bandwidth limit will only performed when the
switch receives data from out side, while
output
refers to the function will be perform on
sending only.
Command Mode:
Port mode
Default:
Bandwidth limit disabled by default
Usage Guide:
When the bandwidth limit is enabled with a size set, the max bandwidth of
the port is determined by this size other than by 10/100/1000M
Note: The bandwidth limit can not exceed the physic maximum speed possible on the
port. For example, an 10/100M Ethernet port can not be set to a bandwidth limit at 101M
(or higher), but applicable on a 10/100/1000 port working at a speed of 100M.
Example:
Set the bandwidth limit of 1-8 port of the chip on slot 1to 40M
Switch(Config)#interface ethernet 1/1-8
Switch(Config-If-Port-Range)#rate-limit 40 input
Switch(Config-If-Port-Range)#rate-limit 40 output
4.2.1.2.10 rate-suppression
Command:rate-suppression {dlf | broadcast | multicast} <packets>
no rate-suppression {dlf | broadcast | multicast}
Function:
Sets the traffic limit for broadcasts, multicasts and unknown destination
unicasts on all ports in the switch; the “
no rate-suppression
” command disables this
traffic throttle function on all ports in the switch, i.e., enables broadcasts, multicasts and
unknown destination unicasts to pass through the switch at line speed.
Parameters:
use
dlf
to limit unicast traffic for unknown destination;
multicast
to limit
multicast traffic;
broadcast
to limit broadcast traffic.
<packets>
stands for the number of
packets allowed to pass through per second for non-10Gb ports. For 10 Gb ports, the
number of packets allowed to pass through multiplies 1,040. The valid range for both port
types is 1 to 262,143.
Command mode:
Interface Mode
Default:
no limit is set by default. So, broadcasts, multicasts and unknown destination
unicasts are allowed to pass at line speed.
Usage Guide:
All ports in the switch belong to a same broadcast domain if no VLAN has
been set. The switch will send the abovementioned three traffics to all ports in the
broadcast domain, which may result in broadcast storm and so may greatly degrade the
switch performance. Enabling Broadcast Storm Control can better protect the switch from
broadcast storm. Note the difference of this command in 10Gb ports and other ports. If
the allowed traffic is set to 3, this means allow 3,120 packets per second and discard the
rest for 10Gb ports. However, the same setting for non-10Gb ports means to allow 3
broadcast packets per second and discard the rest.