pps: Specifies that the thresholds to be configured.
max-pps-values: Upper threshold to be set, in pps.
For a 100-Mbps port, this value ranges from 1 to 148810.
For a 1-Gbps port, this value ranges from 1 to 1488100.
For a 10-Gbps port, this value ranges from 1 to 14881000.
min-pps-values: Lower threshold to be set, in pps. The range of this argument is 1 to max-pps-values.
Description
Use the storm-constrain command to enable the storm constrain function for specific type of packets
and set the upper and lower thresholds.
Use the undo storm-constrain command to disable the storm constrain function for specific type of
packets.
By default, the storm constrain function is not enabled.
Do not use the storm-constrain command along with the multicast-suppression command or
the broadcast-suppression command. Otherwise, traffics may be suppressed in an
unpredictable way.
An upper threshold cannot be less than the corresponding lower threshold. Besides, do not
configure the two thresholds as the same value.
Examples
# Enable the storm constrain function for unicast packets on Ethernet 2/0/1, setting the upper and lower
threshold to 200 pps and 150 pps.
<Sysname> system-view
[Sysname] interface ethernet 2/0/1
[Sysname-Ethernet2/0/1] storm-constrain unicast pps 200 150
storm-constrain control
Syntax
storm-constrain control { block | shutdown }
undo storm-constrain control
View
Layer 2 Ethernet interface view
Default Level
2: System level
1-30