Here is a short script to show a "tree" view of Etherchannel devices on AIX. It shows the devices that make up the etherchannel, including the backup device if there is one: Here is the script: #!/usr/bin/ksh for ec in `lsdev | grep ^ent | grep -i etherchannel | awk '{print $1}'`; do echo "$ec - Etherchannel device"; for adapter in `lsattr -El $ec -a adapter_names | awk '{print $2}' | tr "," " "`; do echo " `lscfg -l $adapter`" ...
[More]
Tags: 
script
etherchannel
network
aix