Q: How can we view active port channels on the controller?
A: We can see the active port channels on a controller with the command below:
(Aruba7210) #show datapath lag
Datapath Trunk (Port-Channel) Table
-----------------------------------
Port-Channel Ports Hash Distribution
------------ ------ -----------------
2 0/0/0 0, 2, 4, 6
0/0/1 1, 3, 5, 7
We can further view the details as per the command below:
(Aruba7210) (config) #show interface port-channel 2
Port-Channel 2 is administratively up
Hardware is Port-Channel, address is 00:1A:1E:00:44:F0 (bia 00:1A:1E:00:44:F0)
Description: Link Aggregate (LACP)
Spanning Tree is Forwarding
Switchport priority: 0
Member port:
GE 0/0/0, Admin is up, line protocol is up
GE 0/0/1, Admin is up, line protocol is up
Last clearing of "show interface" counters 0 day 2 hr 34 min 1 sec
link status last changed 0 day 0 hr 6 min 15 sec
45498 packets input, 9527940 bytes
Received 28429 broadcasts, 0 runts, 0 giants, 0 throttles
0 input error bytes, 0 CRC, 0 frame
15948 multicast, 17069 unicast
23766 packets output, 4752071 bytes
0 output errors bytes, 0 deferred
0 collisions, 0 late collisions, 0 throttles
Port-Channel 2 is NOT TRUSTED
We can see that this port channel is LACP based and it has two interfaces up right now, Ge 0/0/0, GE 0/0/1.
a. If the port channel is LACP based and iit hasn't yet negotiated LACP parameters with the neighbors, it will not be shown above.
b. If the port channel is static and the ports are down, it will not be shown with the command above.