HowTo Configure Storm Control Policers for BUM traffic on MLNX-OS

Version 1

    Storm Control is a feature which can be enabled on L2 Ethernet ports to monitor inbound traffic to prevent disruptions caused by a broadcast, unregistered-multicast, or unknown-unicast (BUM) traffic storm.

    Storm Control utilizes a bandwidth-based method to measure traffic where the user must allocate a percentage (0-100%) of the total available bandwidth to be utilized by the controlled traffic.

    There are two ways to enable Storm Control on BUM traffic.

    • Users are able to monitor BUM traffic while supporting different thresholds for each traffic type (broadcast, unknown-unicast, unregistered-multicast)
    • Monitor a sum of all the BUM traffic with one threshold.

     

    The configuration is per port.

     

    This feature is available starting with MLNX-OS version 3.6.4006

     

    References

     

     

    Configuration

    1. Get the current configuration of Storm Control per interface.

    # show storm-control interface ethernet 1/7

    Interface Eth1/7

    Storm Control is not configured on interface Eth1/7

     

    2. Option 1: Set different thresholds per broadcast, unknown-unicast, unregistered-multicast

     

    switch (config) # interface ethernet 1/7 storm-control broadcast level 20 force 

    switch (config) # interface ethernet 1/7 storm-control unknown-unicast  level 30 force 

    switch (config) # interface ethernet 1/7 storm-control unreg-multicast  level 40 force 

     

    switch (config) # show storm-control interface ethernet 1/7

    Interface Eth1/7

      Broadcast level: 20%

      Broadcast packets dropped: 0

      Multicast level: 40%

      Multicast packets dropped: 0

      Unicast level: 30%

      Unicast packets dropped: 0

      All traffic types level: 100%

      All traffic types packets dropped: 0

     

    3. Option 2: Set one thresholds for all BUM traffic.

    switch  (config) # interface ethernet 1/7 storm-control all level 50 force 

     

    switch (config) # show storm-control interface ethernet 1/7

    Interface Eth1/7

      Broadcast level: 100%

      Broadcast packets dropped: 0

      Multicast level: 100%

      Multicast packets dropped: 0

      Unicast level: 100%

      Unicast packets dropped: 0

      All traffic types level: 50%

      All traffic types packets dropped: 0