Storm Control

Storm Control Configuration and Show 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.

Example model & SONiC version:

  • Netberg SONiC: sonic-broadcom-202311-n0
  • Aurora 830, Aurora 721, Aurora 621, Aurora 221

Storm Control Configuration Commands

This command adds a threshold rate and burst size for BUM (broadcast/unknown-multicast/ unknown-unicast) traffic or deletes the previous setting on a physical interface.

All types of storm traffic can be configured independently and simultaneously on an interface.

config interface storm-control <add | del> <port_name> <storm_type> <kbps_value>

Parameter Description

add: Add a threshold rate and burst size.
del: Delete a threshold rate and burst size.
port_name: A port name.
storm_type: Choose from broadcast, unknown-unicast, unknown-multicast.
kbps_value: A threshold rate in kbps.

Example

sudo config interface storm-control add Ethernet0 broadcast 100000
sudo config interface storm-control add Ethernet0 unknown-unicast 100000
sudo config interface storm-control add Ethernet0 unknown-multicast 100000

Storm Control Show Commands

This command shows the storm control configuration on all interfaces or a specific interface.

show storm-control <interface> [ARGS]

Parameter Description

interface: An optional interface name.

Example

admin@sonic:~$ show storm-control
+------------------+-------------------+---------------+
| Interface Name   | Storm Type        |   Rate (kbps) |
+==================+===================+===============+
| Ethernet0        | broadcast         |        100000 |
+------------------+-------------------+---------------+
| Ethernet0        | unknown-multicast |        100000 |
+------------------+-------------------+---------------+
| Ethernet0        | unknown-unicast   |        100000 |
+------------------+-------------------+---------------+
| Ethernet2        | unknown-unicast   |        100000 |
+------------------+-------------------+---------------+
admin@sonic:~$ show storm-control interface Ethernet2
+------------------+-----------------+---------------+
| Interface Name   | Storm Type      |   Rate (kbps) |
+==================+=================+===============+
| Ethernet2        | unknown-unicast |        100000 |
+------------------+-----------------+---------------+
NEWS

Latest news