Labels

Saturday, 16 July 2011

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

8650BE3F 0716102811 I H ent14 ETHERCHANNEL RECOVERY

No comments:

Post a Comment