38
the traffic. To bring up the interface, use the undo shutdown command or disable storm control on
the interface.
Examples
# Configure GigabitEthernet 1/0/1 to block a specific type of traffic when the type of traffic exceeds
the upper storm control threshold.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] storm-constrain control block
Related commands
storm-constrain
storm-constrain control
storm-constrain enable log
Use storm-constrain enable log to enable an Ethernet interface to output log messages
when it detects storm control threshold events.
Use undo storm-constrain enable log to disable an Ethernet interface from outputting log
messages for storm control threshold events.
Syntax
storm-constrain enable log
undo storm-constrain enable log
Default
An Ethernet interface outputs log messages when monitored traffic exceeds the upper threshold or
drops below the lower threshold.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
Examples
# Enable GigabitEthernet 1/0/1 to output log messages when it detects storm control threshold
events.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] storm-constrain enable log
storm-constrain enable trap
Use storm-constrain enable trap to enable an Ethernet interface to send storm control
threshold event traps.
Use
undo storm-constrain enable trap to disable an Ethernet interface from sending storm
control threshold event traps.
Syntax
storm-constrain enable trap
undo storm-constrain enable trap