39
Default
An interface sends out storm control threshold event traps 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 send traps when it detects storm control threshold events.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-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 interval
undo storm-constrain interval
Default
The storm control module polls traffic statistics every 10 seconds.
Views
System view
Predefined user roles
network-admin
Parameters
interval: Sets the traffic polling interval of the storm control module. The value range is 1 to 300
seconds. To ensure network stability, as a best practice, do not use a traffic polling interval shorter
than 10 seconds.
Usage guidelines
The traffic polling interval set by using 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
Related commands
storm-constrain
storm-constrain control