
40
Parameters
all
: Disables storm control for all types of packets: broadcast, multicast, and unknown unicast.
broadcast
: Enables or disables broadcast storm control.
multicast
: Enables or disables multicast storm control.
unicast
: Enables or disables unknown unicast storm control.
pps
: Sets storm control thresholds in pps.
kbps
: Sets storm control thresholds in kbps.
ratio
: Sets storm control thresholds as a percentage of the transmission capacity of the interface.
max-values
: Sets the upper threshold, in pps, kbps, or percentage. The value range for this argument
varies with device models.
min-values
: Sets the lower threshold. The value range for this argument is 1 to
max-values
. Avoid setting
the lower threshold to be the same as the upper threshold.
Description
Use the
storm-constrain
command to enable broadcast, multicast, or unknown unicast storm control on
an Ethernet port.
Use the
undo storm-constrain
command to disable storm control.
By default, traffic storm control is disabled.
NOTE:
•
To achieve desirable storm protection effect, avoid configuring both the
storm-constrain
command and
any storm suppression command (
unicast-suppression
,
multicast-suppression
, and
broadcast-suppression
) on a port.
•
An upper threshold must be greater than or equal to the corresponding lower threshold. H3C does not
recommend you to configure the same value for the two thresholds.
Examples
# Enable unknown unicast storm control on interface GigabitEthernet 1/0/1, setting the upper and lower
thresholds to 200 pps and 150 pps.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] storm-constrain unicast pps 200 150
# Enable broadcast storm control on interface GigabitEthernet 1/0/1, setting the upper and lower
thresholds to 2000 kbps and 1500 kbps.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] storm-constrain broadcast kbps 2000 1500
# Enable multicast storm control on port GigabitEthernet 1/0/1, setting the upper and lower thresholds
to 80% and 15%.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] storm-constrain multicast ratio 80 15