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
AIX, Installation, NIM↑ Creating an LPP source and SPOT in NIM
Viewed 16448 times since Fri, Apr 19, 2019
Monitor logfiles and command output on AIX using multitail.
Viewed 3250 times since Thu, Feb 21, 2019
AIX - How to extend JFS filesystem
Viewed 21861 times since Fri, Jun 8, 2018
Mirroring the rootvg Volume Group for AIX 4.1/4.2
Viewed 4067 times since Mon, May 21, 2018
SNAP in AIX
Viewed 12988 times since Mon, Sep 17, 2018
Using expect to automate mundane tasks
Viewed 2778 times since Mon, Jun 3, 2019
AIX Resolving "missing" or "removed" disks in AIX LVM
Viewed 6690 times since Tue, Aug 6, 2019
How to Analyze or Read OS Watcher Output in three easy steps -- With Example ?
Viewed 44453 times since Thu, Jun 21, 2018
Part 1, The basics of network troubleshooting
Viewed 7246 times since Tue, May 22, 2018
A Change to the SMT Mode Default in POWER9
Viewed 6867 times since Fri, Jan 18, 2019