Monday, January 4, 2016

AIX: How to failover/failback etherchannel


AIX: How to failover/failback etherchannel

To list the physical NICs of an etherchannel

#lsattr -El ent14|egrep 'adapter_names|backup_adapter'

adapter_names ent5 EtherChannel Adapters True
backup_adapter ent8 Adapter used when whole channel fails True

Check which NIC is active and Force a failover

#entstat -d ent14|grep -i active
Active channel: primary channel
#/usr/lib/methods/ethchan_config -f ent14
#entstat -d ent14|grep -i active
Active channel: backup adapter


and you will see message like this in errpt

59224136 0716102611 P H ent14 ETHERCHANNEL FAILOVER

Force a failback and check which NIC is active,

#/usr/lib/methods/ethchan_config -f ent14
#entstat -d ent14|grep -i active
Active channel: primary channel

and we can see the following message in errpt

Dusman Lam 
Hong Kong
Tel: 852-3666-5274 Cell: 852-9164-3595
dusman.lam@wellsfargo.com

No comments:

Post a Comment