Storm control

Use these M4500 CLI commands to configure broadcast, multicast, and unicast storm control levels, rates, and actions, and display storm control settings.

This section describes the commands you use to configure storm control or display storm control 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.

show storm-control

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

Use the all keyword to display the per-port configuration parameters for all interfaces, or specify the slot/port to display information about a specific interface.

Format show storm-control [{ <slot/port> | all | port-channel <id> }]
Mode Privileged EXEC, Global Config, Interface Config
Parameter Definition
<slot/port> Specifies a valid slot number and port number for the system.
all Indicates to display the configuration parameters for all ports.
id Specifies the port channel ID

The following is the display format for the command without any optional parameter.

Display Message

Fields Definition
Broadcast Storm Control Mode The storm-control configuration mode for broadcast traffic.
Broadcast Storm Control Level The storm-control speed threshold for broadcast traffic.
Broadcast Storm Control Action The storm-control action for broadcast traffic.
Multicast Storm Control Mode The storm-control configuration mode for multicast traffic.
Multicast Storm Control Level The storm-control speed threshold for multicast traffic.
Multicast Storm Control Action The storm-control action for multicast traffic.
Unicast Storm Control Mode The storm-control configuration mode for unicast traffic.
Unicast Storm Control Level The storm-control speed threshold for unicast traffic.
Unicast Storm Control Action The storm-control action for unicast traffic.

The following is the display format for the command with a specific parameter.

Display Message

Fields Definition
Intf The interface number.
Bcast Mode The storm-control configuration mode for broadcast traffic.
Bcast Level The storm-control speed threshold for broadcast traffic.
Bcast Action The storm-control action for broadcast traffic.
Mcast Mode The storm-control configuration mode for multicast traffic.
Mcast Level The storm-control speed threshold for multicast traffic.
Mcast Action The storm-control action for multicast traffic.
Ucast Mode The storm-control configuration mode for unicast traffic.
Ucast Level The storm-control speed threshold for unicast traffic.
Ucast Action The storm-control action for unicast traffic.
Flow Mode The storm-control speed threshold for unicast traffic.

storm-control Configuration

Use this command to enable storm control on each port or all ports.

Default disabled
Format storm-control {broadcast | multicast | unicast} [ {action { shutdown| trap} | level <0-100>| rate <0-14880000>}]
Mode

Global Config

Interface Config

Parameter Definition
broadcast | multicast | unicast Specifies to enable one of storm control modes for an interface or all interfaces.
action shutdown | trap Indicates the action to be taken if the storm occurs. Shutdown is to disable the interface. Trap is to send SNMP trap.
level <0-100> Specifies a threshold level (a percentage of link speed) for all interfaces or one interface. The default is 5.
rate <0-14880000> Specifies a threshold rate( in packets per second) for all interfaces or one interface. The default is 0.

storm-control broadcast

Use this command to enable broadcast storm control 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 ingressing on 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 disabled
Format storm-control broadcast
Mode

Global Config

Interface Config

no storm-control broadcast

This command disables broadcast storm control 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

This command configures the broadcast storm recovery action to either shutdown or trap for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode).

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

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

Global Config

Interface Config

no storm-control broadcast action

This command configures the broadcast storm recovery action option to the default value for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode).

Format no storm-control broadcast action
Mode

Global Config

Interface Config

storm-control broadcast rate

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 ingressing on an interface increases beyond the configured threshold, the traffic is dropped. Therefore, the rate of broadcast traffic is limited to the configured threshold.

Default 0
Format storm-control broadcast rate <0-14880000>
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 broadcast level

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 ingressing on an interface increases beyond the configured threshold, the traffic is dropped. Therefore, the rate of broadcast traffic is limited to the configured threshold.

Default 5
Format storm-control broadcast level <0-100>
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 multicast

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 ingressing on 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

This command configures the multicast storm recovery action to either shutdown or trap for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode).

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

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

Global Config

Interface Config

no storm-control multicast action

This command returns the multicast storm recovery action option to the default value for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode).

Format no storm-control multicast action
Mode

Global Config

Interface Config

storm-control multicast level

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 ingressing on 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 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

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 ingressing on an interface increases beyond the configured threshold, the traffic is dropped. Therefore, the rate of multicast traffic is limited to the configured threshold.

Default 0
Format storm-control multicast rate <0-14880000>
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

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 ingressing on 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

This command configures the unicast storm recovery action to either shutdown or trap for all interfaces (Global Config mode) or one or more interfaces (Interface Config mode).

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

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

Global Config

Interface Config

no storm-control unicast action

This command returns the unicast storm recovery action option to the default value for all interfaces (GlobalConfig mode) or one or more interfaces (Interface Config mode).

Format no storm-control unicast action
Mode

Global Config

Interface Config

storm-control unicast level

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 ingressing on 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.

Default 5
Format storm-control unicast level <0-100>
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 multicast level
Mode

Global Config

Interface Config

storm-control unicast rate

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 ingressing on an interface increases beyond the configured threshold, the traffic is dropped.

Therefore, the rate of unicast traffic is limited to the configured threshold.

Default 0
Format storm-control unicast rate <0-14880000>
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