Storm-Control Commands

This section describes commands you use to configure storm-control and view storm-control configuration information.

A traffic storm is a condition that occurs when incoming packets flood the LAN, which creates performance degradation in the network. The Storm-Control feature protects against this condition.

The switch provides broadcast, multicast, and unicast storm recovery for individual interfaces. Unicast Storm-Control protects against traffic whose MAC addresses are not known by the system. For broadcast, multicast, and unicast storm-control, if the rate of traffic entering an interface increases beyond the configured threshold for that type, the traffic is dropped.

To configure storm-control, you will enable the feature for all interfaces or for individual interfaces, and you will set the threshold (storm-control level) beyond which the broadcast, multicast, or unicast traffic will be dropped. The Storm-Control feature allows you to limit the rate of specific types of packets through the switch on a per-port, per-type basis.

Configuring a storm-control level also enables that form of storm-control. Disabling a storm-control level (using the no version of the command) sets the storm-control level back to the default value and disables that form of storm-control. Using the no version of a storm-control command (not stating a level) disables that form of storm-control but maintains the configured level (to be active the next time that form of storm-control is enabled.)

Note: The actual rate of ingress traffic required to activate storm-control is based on the size of incoming packets and the hard-coded average packet size of 512 bytes - used to calculate a packet-per-second (pps) rate - as the forwarding-plane requires pps versus an absolute rate kbps. For example, if the configured limit is 10 percent, this is converted to ~25000 pps, and this pps limit is set in forwarding plane (hardware). You get the approximate desired output when 512 bytes packets are used.

storm-control broadcast

M4250

M4350

Use this command to enable broadcast storm recovery mode for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode). If the mode is enabled, broadcast storm recovery is active and, if the rate of L2 broadcast traffic entering an interface increases beyond the configured threshold, the traffic will be dropped. Therefore, the rate of broadcast traffic will be limited to the configured threshold.

Default Enabled
Format storm-control broadcast
Mode

Global Config

Interface Config

no storm-control broadcast

Use this command to disable broadcast storm recovery mode for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode).

Format no storm-control broadcast
Mode

Global Config

Interface Config

storm-control broadcast action

M4250

M4350

This command configures the broadcast storm recovery action to either shut down or send traps for one, several, or all interfaces. If you enter the command in Global Config mode, the action applies to all interfaces. If you enter the command in Interface Config mode, the action applies to one or more interfaces.

If you specify the shutdown keyword, the interface that receives the broadcast packets at a rate above the threshold is diagnostically disabled. If you specify the trap keyword, the interface sends trap messages approximately every 30 seconds until broadcast storm control recovers.

Format storm-control broadcast action {shutdown | trap}
Mode

Global Config

Interface Config

no storm-control broadcast action

This command sets the broadcast storm recovery action to the default value for one, several, or all interfaces. If you enter the command in Global Config mode, the action applies to all interfaces. If you enter the command in Interface Config mode, the action applies to one or more interfaces.

Format no storm-control broadcast action
Mode

Global Config

Interface Config

storm-control broadcast level

M4250

M4350

Use this command to configure the broadcast storm recovery threshold for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode) as a percentage of link speed and enable broadcast storm recovery. If the mode is enabled, broadcast storm recovery is active, and if the rate of L2 broadcast traffic entering an interface increases beyond the configured threshold, the traffic is dropped. Therefore, the rate of broadcast traffic is limited to the configured threshold. The threshold level can be in the range from 0–100. The default is 5.

Default 5
Format storm-control broadcast level threshold
Mode

Global Config

Interface Config

no storm-control broadcast level

This command sets the broadcast storm recovery threshold to the default value for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode) and disables broadcast storm recovery.

Format no storm-control broadcast level
Mode

Global Config

Interface Config

storm-control broadcast rate

M4250

M4350

Use this command to configure the broadcast storm recovery threshold for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode) in packets per second. If the mode is enabled, broadcast storm recovery is active, and if the rate of L2 broadcast traffic entering an interface increases beyond the configured threshold, the traffic is dropped. Therefore, the rate of broadcast traffic is limited to the configured threshold. The threshold rate can be in the range from 0–14880000. The default is 0.

Default 0
Format storm-control broadcast rate threshold
Mode

Global Config

Interface Config

no storm-control broadcast rate

This command sets the broadcast storm recovery threshold to the default value for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode) and disables broadcast storm recovery.

Format no storm-control broadcast rate
Mode

Global Config

Interface Config

storm-control multicast

M4250

M4350

This command enables multicast storm recovery mode for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode). If the mode is enabled, multicast storm recovery is active, and if the rate of L2 multicast traffic entering an interface increases beyond the configured threshold, the traffic will be dropped. Therefore, the rate of multicast traffic will be limited to the configured threshold.

Default Disabled
Format storm-control multicast
Mode

Global Config

Interface Config

no storm-control multicast

This command disables multicast storm recovery mode for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode).

Format no storm-control multicast
Mode

Global Config

Interface Config

storm-control multicast action

M4250

M4350

This command configures the multicast storm recovery action to either shut down or send traps for one, several, or all interfaces. If you enter the command in Global Config mode, the action applies to all interfaces. If you enter the command in Interface Config mode, the action applies to one or more interfaces.

If you specify the shutdown keyword, the interface that receives the multicast packets at a rate above the threshold is diagnostically disabled. If you specify the trap keyword, the interface sends trap messages approximately every 30 seconds until multicast storm control recovers.

Format storm-control multicast action {shutdown | trap}
Mode

Global Config

Interface Config

no storm-control multicast action

This command sets the multicast storm recovery action to the default value for one, several, or all interfaces. If you enter the command in Global Config mode, the action applies to all interfaces. If you enter the command in Interface Config mode, the action applies to one or more interfaces.

Format no storm-control multicast action
Mode

Global Config

Interface Config

storm-control multicast level

M4250

M4350

This command configures the multicast storm recovery threshold for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode) as a percentage of link speed and enables multicast storm recovery mode. If the mode is enabled, multicast storm recovery is active, and if the rate of L2 multicast traffic entering an interface increases beyond the configured threshold, the traffic will be dropped. Therefore, the rate of multicast traffic will be limited to the configured threshold. The threshold level can be in the range from 0–100. The default is 5.

Default 5
Format storm-control multicast level 0-100
Mode

Global Config

Interface Config

no storm-control multicast level

This command sets the multicast storm recovery threshold to the default value for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode) and disables multicast storm recovery.

Format no storm-control multicast level
Mode

Global Config

Interface Config

storm-control multicast rate

M4250

M4350

Use this command to configure the multicast storm recovery threshold for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode) in packets per second. If the mode is enabled, multicast storm recovery is active, and if the rate of L2 broadcast traffic entering an interface increases beyond the configured threshold, the traffic is dropped. Therefore, the rate of multicast traffic is limited to the configured threshold. The threshold rate can be in the range from 0–14880000. The default is 0.

Default 0
Format storm-control multicast rate threshold
Mode

Global Config

Interface Config

no storm-control multicast rate

This command sets the multicast storm recovery threshold to the default value for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode) and disables multicast storm recovery.

Format no storm-control multicast rate
Mode

Global Config

Interface Config

storm-control unicast

M4250

M4350

This command enables unicast storm recovery mode for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode). If the mode is enabled, unicast storm recovery is active, and if the rate of unknown L2 unicast (destination lookup failure) traffic entering an interface increases beyond the configured threshold, the traffic will be dropped. Therefore, the rate of unknown unicast traffic will be limited to the configured threshold.

Default Disabled
Format storm-control unicast
Mode

Global Config

Interface Config

no storm-control unicast

This command disables unicast storm recovery mode for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode).

Format no storm-control unicast
Mode

Global Config

Interface Config

storm-control unicast action

M4250

M4350

This command configures the unicast storm recovery action to either shut down or send traps for one, several, or all interfaces. If you enter the command in Global Config mode, the action applies to all interfaces. If you enter the command in Interface Config mode, the action applies to one or more interfaces.

If you specify the shutdown keyword, the interface that receives the unicast packets at a rate above the threshold is diagnostically disabled. If you specify the trap keyword, the interface sends trap messages approximately every 30 seconds until unicast storm control recovers.

Format storm-control unicast action {shutdown | trap}
Mode

Global Config

Interface Config

no storm-control unicast action

This command sets the unicast storm recovery action to the default value for one, several, or all interfaces. If you enter the command in Global Config mode, the action applies to all interfaces. If you enter the command in Interface Config mode, the action applies to one or more interfaces.

Format no storm-control unicast action
Mode

Global Config

Interface Config

storm-control unicast level

M4250

M4350

This command configures the unicast storm recovery threshold for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode) as a percentage of link speed, and enables unicast storm recovery. If the mode is enabled, unicast storm recovery is active, and if the rate of unknown L2 unicast (destination lookup failure) traffic entering an interface increases beyond the configured threshold, the traffic will be dropped. Therefore, the rate of unknown unicast traffic will be limited to the configured threshold. This command also enables unicast storm recovery mode for an interface. The threshold level can be in the range from 0–100. The default is 5.

Default 5
Format storm-control unicast level threshold
Mode

Global Config

Interface Config

no storm-control unicast level

This command sets the unicast storm recovery threshold to the default value for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode) and disables unicast storm recovery.

Format no storm-control unicast level
Mode

Global Config

Interface Config

storm-control unicast rate

M4250

M4350

Use this command to configure the unicast storm recovery threshold for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode) in packets per second. If the mode is enabled, unicast storm recovery is active, and if the rate of L2 broadcast traffic entering an interface increases beyond the configured threshold, the traffic is dropped. Therefore, the rate of unicast traffic is limited to the configured threshold. The threshold rate can be in the range from 0–14880000. The default is 0.

Default 0
Format storm-control unicast rate threshold
Mode

Global Config

Interface Config

no storm-control unicast rate

This command sets the unicast storm recovery threshold to the default value for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode) and disables unicast storm recovery.

Format no storm-control unicast rate
Mode

Global Config

Interface Config

show storm-control

M4250

M4350

This command displays switch configuration information. If you do not use any of the optional parameters, this command displays global storm control configuration parameters:

  • Broadcast Storm Recovery Mode may be enabled or disabled. The factory default is disabled.
  • 802.3x Flow Control Mode may be enabled or disabled. The factory default is disabled.

Use the all keyword to display the per-port configuration parameters for all interfaces. To specify a specific interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format show storm-control [all | unit/slot/port]
Mode Privileged EXEC
Parameter Definition
Bcast Mode Shows whether the broadcast storm control mode is enabled or disabled. The factory default is disabled.
Bcast Level The broadcast storm control level.
Bcast Action The broadcast storm recovery action.
Mcast Mode Shows whether the multicast storm control mode is enabled or disabled.
Mcast Level The multicast storm control level.
Mcast Action The multicast storm recovery action.
Ucast Mode Shows whether the Unknown Unicast or DLF (Destination Lookup Failure) storm control mode is enabled or disabled.
Ucast Level The Unknown Unicast or DLF (Destination Lookup Failure) storm control level.
Ucast Action The unicast storm recovery action.

Command example:

CODE
(NETGEAR Switch) #show storm-control

Broadcast Storm Control Mode................... Enable
Broadcast Storm Control Level.................. 5 percent
Broadcast Storm Control Action................. None
Multicast Storm Control Mode................... Disable
Multicast Storm Control Level.................. 5 percent
Multicast Storm Control Action................. None
Unicast Storm Control Mode..................... Disable
Unicast Storm Control Level.................... 5 percent
Unicast Storm Control Action................... None

Command example:

CODE
(NETGEAR Switch) #show storm-control 1/0/1

Bcast   Bcast   Bcast  Mcast    Mcast    Mcast  Ucast   Ucast    Ucast  Flow    Mode
Intf    Mode    Level  Action   Mode     Level  Action  Mode     Level  Action
-----   ------  -----  ------   -------  -----  ------  -------  -----  ------  -------
1/0/1   Enable  5%     None     Disable  5%     None    Disable  5%     None    Disable

Command example:

CODE
(NETGEAR Switch) #show storm-control all
Bcast   Bcast   Bcast  Mcast    Mcast    Mcast  Ucast   Ucast    Ucast  Flow    Mode
Intf    Mode    Level  Action   Mode     Level  Action  Mode     Level  Action
-----   ------  -----  ------   -------  -----  ------  -------  -----  ------  -------
1/0/1   Enable  5%     None     Disable  5%     None    Disable  5%     None    Disable
1/0/2   Enable  5%     None     Disable  5%     None    Disable  5%     None    Disable
1/0/3   Enable  5%     None     Disable  5%     None    Disable  5%     None    Disable
1/0/4   Enable  5%     None     Disable  5%     None    Disable  5%     None    Disable
1/0/5   Enable  5%     None     Disable  5%     None    Disable  5%     None    Disable