The storm-control action sets the storm control action to error-down or block.
The undo storm-control action command cancels the configuration.
By default, no storm control action is configured.
storm-control action { block | error-down }
undo storm-control action
S2720-EI, S5720I-SI, S5720-LI, S5720S-LI, S5720S-SI, S5720-SI, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720S-SI, and S6720-SI do not support error-down parameter.
Parameter |
Description |
Value |
---|---|---|
block |
Blocks packets. |
- |
error-down |
Shuts down an interface. |
- |
Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, MultiGE interface view, 40GE interface view, 100GE interface view, port group view
You can control data packets and prevent flooding by running the storm-control action command to configure a storm control action and the storm-control command to set the upper and lower thresholds.
In a storm detection interval, when the average rate of receiving broadcast packets, unknown multicast packets, and unknown unicast packets is greater than the value of the specified upper threshold, packets are blocked or the interface is shut down.
If the storm control action on an interface is block, the interface is restored when the traffic falls below the lower threshold.
Manual recovery (after an Error-Down event occurs):
If a few interfaces need to be recovered, run the shutdown and undo shutdown commands in the interface view. Alternatively, run the restart command in the interface view to restart the interfaces.
Automatic recovery (before an Error-Down event occurs):
If a large number of interfaces need to be recovered, manual recovery is time consuming and some interfaces may be omitted. To avoid this problem, run the error-down auto-recovery cause storm-control interval interval-value command in the system view to enable automatic interface recovery and set the recovery delay time. Run the display error-down recovery command to view information about automatic interface recovery.
This method does not take effect on interfaces that are already in Error-Down state. It is effective only on interfaces that enter the Error-Down state after this configuration is complete.
Precautions
For S2720-EI, S5720I-SI, S5720-LI, S5720S-LI, S5720S-SI, S5720-SI, S5730S-EI, S5730-SI, S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735S-S, S5735-S-I, S6720-LI, S6720S-LI, S6720S-SI, and S6720-SI, when detecting unicast packets, a switch does not distinguish unknown unicast packets from known unicast packets. The packet rate detected is the sum of the rates of unknown and known unicast packets. When the storm control action is block, the switch blocks only the unknown unicast packets. This rule also applies to multicast packets.