30
pps
: Sets storm control thresholds in pps.
max-values
: Sets the upper threshold, in pps. The value range is 1 to 1488100.
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 at least equal to the corresponding lower threshold. You are
recommended not to configure the same value for the two thresholds.
Examples
# Enable 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
storm-constrain control
Syntax
storm-constrain control
{
block
|
shutdown
}
undo storm-constrain control
View
Ethernet interface view
Default level
2: System level
Parameters
block
: Blocks the traffic detected crossing the upper storm control threshold. This action does not affect
the forwarding of other types of traffic.
shutdown
: Shuts down the interface when a type of traffic exceeds the upper storm control threshold. An
interface shut down by the storm control function stops forwarding all types of packets.
Description
Use the
storm-constrain control
command to set the protective action to take on an Ethernet interface
when a type of traffic exceeds the upper storm control threshold.
Use the
undo storm-constrain control
command to restore the default.