Description
Use storm-constrain enable trap to enable an Ethernet interface to send storm control threshold event
traps. Triggering events include traffic exceeding the upper threshold and traffic falling below the lower
threshold from the upper threshold.
Use undo storm-constrain enable trap to disable trap message sending.
By default, a storm control-enabled interface sends traps when monitored traffic exceeds the upper
threshold or falls below the lower threshold from the upper threshold.
Examples
# Disable Ethernet 1/0/1 from sending out storm control threshold event traps.
<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] undo storm-constrain enable trap
storm-constrain interval
Syntax
storm-constrain interval seconds
undo storm-constrain interval
View
System view
Default level
2: System level
Parameters
seconds: Sets the traffic polling interval of the storm control module, ranging from 1 to 300 seconds.
Description
Use storm-constrain interval to set the traffic polling interval of the storm control module.
Use undo storm-constrain interval to restore the default.
By default, the storm control module polls traffic statistics every 10 seconds.
For network stability, use the default or a higher polling interval.
NOTE:
The interval set by the storm-constrain interval command is specific to storm control. To set the statistics
polling interval of an interface, use the flow-interval command.
Examples
# Set the traffic statistics polling interval of the storm control module to 60 seconds.
<Sysname> system-view
[Sysname] storm-constrain interval 60
45