AIX, Networking Etherchannel failover testing

When an Etherchannel has been configured on AIX, using a primary and a backup adapter for failover purposes, it is possible to force a failover between these adapters.

To do this, first check what the currently active adapter is within the Etherchannel. For example, if the Etherchannel is called ent4, run:

# entstat -d ent4 | grep "Active channel"
Active channel: backup adapter

As you can see, the Etherchannel is currently active on the backup adapter. To see the defined adapters for both primary and backup, run:

# lsattr -El ent4

Now, force it to fail over to the primary adapter:

# /usr/lib/methods/ethchan_config -f ent4

Please note that it is best to run this command from the console, as you may temporarily lose network connectivity when the Etherhannel is failing over. You may also notice messages being logged in the error report by running the errpt command in the form of "ETHERCHANNEL FAILOVER".

Now run the entstat command again to determine the active channel:

# entstat -d ent4 | grep "Active channel"
Active channel: primary channel
5 (1)
Article Rating (1 Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
Setting new device attributes with chdef
Viewed 2189 times since Mon, Jun 3, 2019
AIX 6.1: Extend VG 0516-1714 extendvg 0516-1254 extendvg
Viewed 4470 times since Fri, Jul 6, 2018
AIX↑ AIX www links
Viewed 3709 times since Sat, Apr 20, 2019
Rootvg Mirroring in AIX
Viewed 2681 times since Mon, May 21, 2018
Creating Normal,Big,Scalable VG on AIX
Viewed 14961 times since Fri, Feb 1, 2019
AIX - How to extend JFS filesystem
Viewed 18749 times since Fri, Jun 8, 2018
AIX NTP Client configuration
Viewed 11950 times since Tue, Jul 17, 2018
Trick to Purge/Clean Swap Usage on AIX
Viewed 7873 times since Thu, Nov 29, 2018
AIX, Red Hat, Security, System Admin↑ System-wide separated shell history files for each user and session
Viewed 2213 times since Fri, Apr 19, 2019
AIX Errpt - Diag - Alog
Viewed 3596 times since Wed, Mar 20, 2019