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
0 (0)
Article Rating (No Votes)
Rate this article
There are no attachments for this article.
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
Part 3, Monitoring your network packets and tuning the network
Viewed 889 times since Mon, Jun 4, 2018
Rootvg Mirroring in AIX
Viewed 984 times since Mon, May 21, 2018
Installing a Interim Fix (APAR IV16587)
Viewed 523 times since Tue, Jul 17, 2018
How to Investigate a System Reboot
Viewed 1877 times since Mon, Jul 16, 2018
List STALE partitions across Volume Groups for each Logical Volume in AIX
Viewed 566 times since Tue, Jul 17, 2018
Tuning AIX Network Performance
Viewed 960 times since Tue, May 22, 2018
How to check dual path in AIX
Viewed 652 times since Fri, Jun 8, 2018
Reconfigure RSCT ID to fix DLPAR issues on cloned AIX systems
Viewed 1566 times since Thu, Feb 21, 2019
List of 10 Must Know Oracle Database Parameters for Database Administrator
Viewed 6042 times since Thu, Jun 21, 2018
Backup and Restore With AIX
Viewed 1178 times since Sat, May 19, 2018