I have recently come across the situation where I needed to verify port utilization on some uplinks. Since the uplinks utilize port-channel aggregation (EtherChannel/LACP) I have issued show port-channel traffic command on my N5Ks.
From the output you can see the interface is barely used so why is it showing 100% on port-channel traffic command?
It is because show port-channel traffic is very misleading command which doesn’t provide load/bandwidth utilization but just statistics for its members. Since this port-channel is part of vPC (virtual port-channel) the server connects to two different switches. From the server side point of view it seems like the northbound uplink is going to one switch where in reality server is dual homed as shown in Fig.1.
So, what the statistics tells us is correct. Since the server is dual homed on the switch side you’ll have only one interface part of the port-channel (vPC). Statistically it needs to be 100% because there is no other interface part of the same port-channel. Port-channel in question is Po10 which only holds one member (eth1/41).
N5K1# sh port-channel summary Flags: D – Down P – Up in port-channel (members) I – Individual H – Hot-standby (LACP only) s – Suspended r – Module-removed S – Switched R – Routed U – Up (port-channel) M – Not in use. Min-links not met ——————————————————————————– Group Port-Channel Type Protocol Member Ports ——————————————————————————– 1 Po1(SU) Eth LACP Eth1/47(P) Eth1/48(P) 10 Po10(SU) Eth LACP Eth1/41(P)
To compare that vPC port-channel with i.e. Po1 that contains more members results for port-channel traffic will be different:
That proves that port-channel traffic for single member will always show 100% because there is no other interface on the same switch to balance the traffic. vPC peer-link doesn’t share this information between the other peer so the traffic information will be misleading. Always check statistics on the interface level to verify your throughput and potential bottlenecks.
Bart is passionate about new technologies and their impact on our lives. He does not believe in titles or amount of certifications but positive attitude and motivation. Simply the guy that make things happen. You can reach him via Linkedin or meet him on CSGO. Currently focusing on architecting and designing custom-build hybrid cloud solutions around IaaS, DRaaS, BaaS realm.