R211x-HP Flexfabric 11900 Layer 2 - LAN Switching Command Reference

42
particular type of traffic exceeds its upper threshold, the interface takes a certain action, which can be
configured by using the storm-constrain control command.
Either of the storm-constrain, broadcast-suppression, multicast-suppression, and unicast-suppression
commands can suppress storm on a port. The storm-constrain command uses software to suppress traffic,
and affects the device performance to a certain extent. The broadcast-suppression,
multicast-suppression, and unicast-suppression commands use the chip to physically suppress traffic,
and have less influence on the device performance compared with the storm-constrain command. On
the same type of traffic, do not configure the storm constrain command and either of the
broadcast-suppression, multicast-suppression, and unicast-suppression commands at the same time.
Otherwise, the traffic suppression result is not determined.
When configuring this command, make sure upperlimit is greater than lowerlimit.
Examples
# Enable unknown unicast storm control on Ten-GigabitEthernet 1/0/1, setting the upper and lower
thresholds to 200 pps and 150 pps.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] storm-constrain unicast pps 200 150
# Enable broadcast storm control on Ten-GigabitEthernet 1/0/2, setting the upper and lower thresholds
to 2000 kbps and 1500 kbps.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/2
[Sysname-Ten-GigabitEthernet1/0/2] storm-constrain broadcast kbps 2000 1500
# Enable multicast storm control on Ten-GigabitEthernet 1/0/3, setting the upper and lower thresholds
to 80% and 15%.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/3
[Sysname-Ten-GigabitEthernet1/0/3] storm-constrain multicast ratio 80 15
Related commands
storm-constrain control
storm-constrain interval
storm-constrain control
Use storm-constrain control to set the protective action to take on an Ethernet interface when a type of
traffic (unknown unicast, multicast, or broadcast) exceeds the upper storm control threshold.
Use undo storm-constrain control to restore the default.
Syntax
storm-constrain control { block | shutdown }
undo storm-constrain control
Default
No action is taken on an Ethernet interface when a type of traffic exceeds the upper storm control
threshold.