Related Documentation
- EX Series
- Understanding Storm Control
- MX Series
- Understanding Storm Control
- QFabric System
- Understanding Storm Control
- Configuring Autorecovery for MAC Limited or Storm Control Interfaces (CLI Procedure)
- QFX Series standalone switches
- Understanding Storm Control
Example: Configuring Storm Control to Prevent Network Outages
Storm control enables you to prevent network outages caused by broadcast storms on the LAN. You can configure storm control on to rate-limit broadcast traffic, multicast traffic, and unknown unicast traffic at a specified level and to have packets dropped when the specified traffic level is exceeded, thereby preventing packets from proliferating and degrading the LAN.
![]() | Note: This example uses a Junos OS release that supports the Enhanced Layer 2 Software (ELS) configuration style. If your switch runs software that does not support ELS, see Example: Configuring Storm Control to Prevent Network Outages. . |
Requirements
This example uses the following hardware and software components:
- One QFX Series switch running Junos OS with ELS
- Junos OS Release 13.2 or later
Overview and Topology
A storm is generated when messages are broadcast on a network and each message prompts a receiving node to respond by broadcasting its own messages on the network. This, in turn, prompts further responses, creating a snowball effect and resulting in a broadcast storm that can cause network outages.
You can use storm control to prevent broadcast storms by specifying the amount, also known as the storm control level, of broadcast traffic, multicast traffic, and unknown unicast traffic to be allowed on an interface. You specify the storm control level as the traffic rate in kilobits per second (Kbps) of the combined applicable traffic streams or as the percentage of available bandwidth used by the combined applicable traffic streams. On ELS systems, storm control is enabled by default on all interfaces at a level of 80 percent of the available bandwidth.
Storm control monitors the level of applicable incoming traffic and compares it with the level that you specify. If the combined level of the applicable traffic exceeds the specified level, the switch drops packets for the controlled traffic types. As an alternative to having the switch drop packets, you can configure storm control to shut down interfaces or temporarily disable interfaces (see the action-shutdown statement or the recovery-timeout statement) when the storm control level is exceeded.
![]() | Note: If you configure storm control on an aggregated Ethernet interface, the storm-control level is applies to each member interface individually. For example, if the aggregated interface has two members and you configure a storm-control level of 20 kbps, Junos will not detect a storm if one or both of the member interfaces receives traffic at 15 kbps because in neither of these cases does an individual member receive traffic at a rate greater than the configured storm-control level. In this example, Junos detects a storm only if at least one member interface receives traffic at greater than 20 Kbps. |
The topology used in this example consists of one switch connected to various network devices. This example shows how to configure the storm control level on interface xe-0/0/0 by setting the level to a traffic rate of 15,000 Kbps, based on the traffic rate of the combined applicable traffic streams. If the combined traffic exceeds this level, the switch drops packets for the controlled traffic types to prevent a network outage.
Configuration
CLI Quick Configuration
To quickly configure storm control based on the traffic rate in kilobits per second of the combined traffic streams, copy the following command and paste it into the switch terminal window:
[edit]
set forwarding-options storm-control-profiles sc-profile all
bandwidth-level 15000set interfaces xe-0/0/0 unit 0 family ethernet-switching
storm-control sc-profileStep-by-Step Procedure
To configure storm control:
- Configure a storm control profile, sc-profile, and specify the traffic rate in kilobits per second of the combined
traffic streams:
[edit]
user@switch> set forwarding-options storm-control-profiles sc-profile all bandwidth-level 15000 - Bind the storm control profile, sc, to a logical
interface:
[edit]
user@switch> set interfaces xe-0/0/0 unit 0 family ethernet-switching storm-control sc-profile
Results
Display the results of the configuration:
Related Documentation
- EX Series
- Understanding Storm Control
- MX Series
- Understanding Storm Control
- QFabric System
- Understanding Storm Control
- Configuring Autorecovery for MAC Limited or Storm Control Interfaces (CLI Procedure)
- QFX Series standalone switches
- Understanding Storm Control
