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
# of input: 72Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â # of Output: 65Â Â Â Â Â Â Â
# of input MLAG Control: 11Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â # of Output MLAG Control: 11Â Â Â Â Â Â Â
# of input MAC Sync: 9Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â # of Output MAC Sync: 12Â Â Â Â Â Â Â
# of input STP Sync: 2Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â # of Output STP Sync: 2Â Â Â Â Â Â Â Â
# of input VXLAN Sync: 23Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â # of Output VXLAN Sync: 19Â Â Â Â Â Â Â
# of input Multicast Control Sync: 2Â Â Â Â Â Â Â Â Â Â Â Â Â # of Output Multicast Control Sync: 1Â Â Â Â Â Â Â Â
# of input Configuration Consistency: 25Â Â Â Â Â Â Â Â Â # of Output Configuration Consistency: 20Â Â
Â
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.