32
Default level
2: System level
Parameters
None
Description
Use the
storm-constrain enable trap
command 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 the
undo storm-constrain enable trap
command to disable trap message sending.
By default, a storm control-enabled interface sends out traps when monitored traffic exceeds the upper
threshold or falls below the lower threshold from the upper threshold.
Examples
# Disable interface GigabitEthernet 1/0/1 from sending out storm control threshold event traps.
<Sysname> system-view
[Sysname] interface gigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/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
: Traffic polling interval (in seconds) of the storm control module. The value range is 1 to 300.
Description
Use the
storm-constrain interval
command to set the traffic polling interval of the storm control module.
Use the
undo storm-constrain interval
command 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