QoS Counters on Mellanox Spectrum Switches (PFC, PG, TC, Switch-priority)

Version 2

    This post discusses the new Spectrum Switch QoS counters available in MLNX-OS 3.6.3000 and later versions.

     

    References

     

    The following new counters were added in MLNX-OS 3.6.3000 release.

    • PFC pause counters
    • PG (priority group) counters
    • Switch-priority counters
    • TC (traffic class) counters

     

    Example

     

    PFC Counters

    switch (config) # show interfaces ethernet 1/1 counters pfc prio 3

     

    PFC 3

     

    Rx

      0                    pause packets

      0                    pause duration

     

    Tx

      0                    pause packets

      0                    pause duration

     

    PG Counters

    switch (config) # show interfaces ethernet 1/1 counters pg 3

     

    PG 3

      0                    packets

      0                    bytes

      0                    queue depth

      0                    no buffer discard

      0                    shared buffer discard

     

    Switch-priority Counters

    switch (config) # show interfaces ethernet 1/1 counters switch-priority 3

     

    Rx

      0                    bytes

     

    Tx

      0                    bytes

     

    TC Counters

    switch (config) # show interfaces ethernet 1/1 counters tc 3

     

    TC 3

      0                    packets

      0                    bytes

      0                    queue depth

      0                    unicast no buffer discard

      0                    WRED discard