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.
By default, no action is taken on an Ethernet interface when a type of traffic exceeds the upper storm
control threshold.
Examples
# Configure interface 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
undo storm-constrain enable log
View
Ethernet interface view
Default level
2: System level
Parameters
None
41