13
When a particular type of traffic exceeds its upper threshold, the interface does either of the following,
depending on your configuration:
•
Blocks this 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
lower threshold, the port begins to forward the traffic.
•
Shuts down automatically. The interface shuts down automatically and stops forwarding any
traffic. When the blocked traffic drops below the lower threshold, the port does not forward the
traffic. To bring up the interface, use the
undo shutdown
command or disable the storm control
function.
Alternatively, you can configure the storm suppression function to control a specific type of traffic. Do
not enable them both on an Ethernet interface at the same time because the storm suppression and
storm control functions are mutually exclusive. For example, with an unknown unicast suppression
threshold set on an Ethernet interface, do not enable storm control for unknown unicast traffic on the
interface. For more information about storm suppression, see
"Configuring storm suppression
Configuration restrictions and guidelines
•
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. It takes a port at least one polling interval and at most two polling intervals to take a
storm control action.
•
The storm control function allows you to set the upper and lower thresholds for all three types of
packets respectively on the same interface.
Configuration procedure
To configure storm control on an Ethernet interface:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Set the traffic polling interval
of the storm control module.
storm-constrain interval
seconds
Optional.
10 seconds by default.
3.
Enter Ethernet interface
view.
interface interface-type
interface-number
N/A
4.
Enable storm control, and
set the lower and upper
thresholds for broadcast,
multicast, or unknown
unicast traffic.
storm-constrain
{
broadcast
|
multicast
|
unicast
}
pps
max-pps-values min-pps-values
Disabled by default.
5.
Set the control action to take
when monitored traffic
exceeds the upper
threshold.
storm-constrain control
{
block
|
shutdown
}
Optional.
Disabled by default.
6.
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.