9
For management purposes, you can configure the interface to send threshold event traps and log
messages when monitored traffic exceeds the upper threshold or falls below the lower threshold from the
upper threshold.
When the traffic exceeds its higher threshold, the interface does either of the following, depending on
your configuration:
Blocks the particular type of traffic, while forwarding other types of traffic. Even though the interface
does not forward the blocked traffic, it still counts the traffic. When the blocked traffic drops below
the threshold, the interface begins to forward the traffic.
Shuts down automatically. The interface shuts down automatically and stops forwarding any traffic.
To bring up the interface, use the undo shutdown command or disable the storm control function.
Follow these steps to configure the storm control function on an Ethernet interface:
Set the traffic polling interval of
the storm control module
storm-constrain interval seconds
Optional
10 seconds by default.
Enter Ethernet interface view
interface interface-type interface-
number
Enable storm control, and set the
lower and upper thresholds for
broadcast, multicast, or unknown
unicast traffic
storm-constrain { broadcast |
multicast | unicast } { pps | kbps |
ratio } max-pps-values min-pps-
values
Required
Disabled by default.
Set the control action to take
when monitored traffic exceeds
the upper threshold
storm-constrain control { block |
shutdown }
Optional
Disabled by default.
Enable the interface to send storm
control threshold event traps.
storm-constrain enable trap
Optional
By default, the interface sends
traps when monitored traffic
exceeds the upper threshold or
drops below the lower threshold
from the upper threshold.
Enable the interface to log storm
control threshold events.
storm-constrain enable log
Optional
By default, the interface outputs
log messages when monitored
traffic exceeds the upper
threshold or falls below the lower
threshold from the upper
threshold.
NOTE:
For network stability, use the default or set a higher traffic polling interval.
Storm control uses a complete polling cycle to collect traffic data, and analyzes the data in the next cycle. An
interface takes one to two polling intervals to take a storm control action.
Setting the statistics polling interval
Follow these steps to set the statistics polling interval on an Ethernet interface: