How to view and clear MLAG statistics?


After MLAG is successfully deployed, you can run the MLAG statistics command to check packet statistics about MLAG. The command output helps you to determine whether data is normal or not and to locate faults.

 View MLAG packet statistics of COPP:

admin@Xorplus# run show copp statistics forwarding-class mlag-class mlag-class Traffic statistics: forwarding-class state: active Input rate 0 bits/sec, 0 packets/sec Input Packets...........................1 Input Octets.............................153 Drop rate 0 bits/sec, 0 packets/sec Drop Packets.............................0 Drop Octets..............................0
admin@Xorplus# run show copp statistics forwarding-class mlag-mac-sync-class mlag-mac-sync-class Traffic statistics: forwarding-class state: active Input rate 0 bits/sec, 0 packets/sec Input Packets............................9 Input Octets.............................1511 Drop rate 0 bits/sec, 0 packets/sec Drop Packets.............................0 Drop Octets..............................0

 View the MLAG control plane packets statistics:

admin@Xorplus# run show mlag statistics Receive: Transmit: Total Packets: 0 Total Packets: 0 MLAG Control: 0 MLAG Control: 0 MAC Sync: 0 MAC Sync: 0 STP Sync: 0 STP Sync: 0 VXLAN Sync: 0 VXLAN Sync: 0 Multicast Control Sync: 0 Multicast Control Sync: 0 Configuration Consistency: 0 Configuration Consistency: 0 # of input DHCP Sync: 0 # of Output DHCP Sync: 0

To collect statistics about MLAG traffic generated over a certain period, first reset the original statistics.

Clear MLAG control plane packet statistics:

admin@Xorplus# run clear mlag statistics

 

Copyright © 2024 Pica8 Inc. All Rights Reserved.