<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/2
[Sysname-GigabitEthernet1/0/2] storm-constrain broadcast kbps 2000 1500
# Enable multicast storm control on GigabitEthernet 1/0/3, setting the upper and lower thresholds 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 }
undo storm-constrain control
View
Ethernet interface view
Default level
2: System level
Parameters
block: Blocks this type of traffic, while forwarding other types of traffic. Even though the interface does
not forward the blocked traffic, it still counts the traffic. When the blocked traffic is detected dropping
below the lower threshold, the port begins to forward the traffic.
shutdown: Shuts down automatically. The interface shuts down automatically and stops forwarding any
traffic. When the blocked traffic is detected dropping below the lower threshold, the port does not
forward the traffic. To bring up the interface, perform the undo shutdown command or disable the storm
control function.
Description
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.
By default, no action is taken on an Ethernet interface when a type of traffic exceeds the upper storm
control threshold.
Examples
# Configure GigabitEthernet 1/0/1 to block the traffic detected crossing the upper storm control
threshold.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] storm-constrain control block
storm-constrain enable log
Syntax
storm-constrain enable log
34