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 trap sending.
Syntax
storm-constrain enable trap
undo storm-constrain enable trap
Default
An interface sends out traps when monitored traffic exceeds the upper threshold or falls below the lower
threshold.
Views
Ethernet interface view
Predefined user roles
network-admin
Examples
# Enable Ten-GigabitEthernet 1/0/1 to send traps when it detects storm control threshold events.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] storm-constrain enable trap
storm-constrain interval
Use storm-constrain interval to set the traffic polling interval of the storm control module.
Use undo storm-constrain interval to restore the default.
Syntax
storm-constrain interval seconds
undo storm-constrain interval
Default
The storm control module polls traffic statistics every 10 seconds.
Views
System view
Predefined user roles
network-admin
Parameters
seconds: Sets the traffic polling interval of the storm control module, in the range of 1 to 300 seconds.
31