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
Script to download TL and SP for AIX using NIM and SUMA
Viewed 10504 times since Thu, Feb 21, 2019
Create jfs2 logical volume on AIX
Viewed 6481 times since Thu, Feb 21, 2019
Part 2, Monitoring memory usage (ps, sar, svmon, vmstat) and analyzing the results AIX7
Viewed 14852 times since Wed, Jun 19, 2019
AIX: How to determine which application created the OS core file
Viewed 3451 times since Mon, Jun 11, 2018
AIX: Script to check if all paths are consistent and available
Viewed 4325 times since Tue, Jun 12, 2018
Remove disk from volumegroup in AIX
Viewed 8604 times since Tue, Apr 16, 2019
How To Mirror VG and Root VG
Viewed 4926 times since Mon, May 21, 2018
Setup private yum repository for AIX clients
Viewed 12598 times since Thu, Feb 21, 2019
Create volume groups on AIX - Normal Big Scalable
Viewed 8505 times since Thu, Feb 21, 2019
AIX NTP Client configuration
Viewed 14019 times since Tue, Jul 17, 2018