For a 10-Gigabit port, the value range is 1 to 14881000.
When the threshold is set in kbps:
For a Gigabit port, the value range is 1 to 1000000.
For a 10-Gigabit port, the value range is 1 to 10000000.
When the threshold is set in percentages, that is, keyword ratio is used, the value range is 1 to 100.
min-values: Lower threshold to be set, in pps, kbps, or percentages.
For lower threshold to be set, in pps, this value ranges from 1 to max-values.
For lower threshold to be set, in kbps, this value ranges from 1 to max-values.
For lower threshold to be set, in percentages, this value ranges from 1 to max-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 unicast-suppression command, 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 broadcast packets on
upper and lower threshold 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 the storm constrain function for multicast packets on GigabitEthernet1/0/3 in terms of
percentages of the received multicast packets to the port's total transmission capacity, setting the
upper and lower threshold to 80% and 15%.
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/3
[Sysname-GigabitEthernet1/0/3] storm-constrain multicast ratio 80 15
storm-constrain control
Syntax
storm-constrain control { block | shutdown }
GigabitEthernet
1-32
1/0/1, setting the