How to perform SEA Etherchannel fail over and recover using VIOS command ?

Answer : 

To failover etherchannel when SEA is configured we need to run "ethchan_config -f ethZ" directly on the SEA(ethZ) backed by real adapter of ether channel. 

As given below with the example eth220 and eth221 are physical adapters. Etherchannel eth223 is configured primary adapter as eth220 backup adapter as eth221. SEA is configured as bridge between eth223 (etherchannel) and eth222 (virtual network adapter).



When we run ethchan_config fail over on eth224 the etherchannel fail over occurs and when we issue the same command again the etherchannel gets recovered.


# lsdev | grep ent
ent220       Available 00-00       PCIe4 2-port 100GbE RoCE Adapter x16 
ent221       Available 00-01       PCIe4 2-port 100GbE RoCE Adapter x16 
ent222       Available             Virtual I/O Ethernet Adapter (l-lan)
ent223       Available             EtherChannel / IEEE 802.3ad Link Aggregation
ent224       Available             Shared Ethernet Adapter

# lsattr -El ent223 | grep adapter 
adapter_names   ent220           EtherChannel Adapters                                          
backup_adapter  ent221           Adapters to use when the primary channel fails

# lsattr -El ent224 | grep -i real
real_adapter    ent223     Physical adapter associated with the SEA 

# entstat -d ent224 | grep -i active
Active channel: primary channel

# ethchan_config -f ent224
#
# entstat -d ent224 | grep -i active
Active channel: backup channel
#
# ethchan_config -f ent224
#
# entstat -d ent224 | grep -i active
Active channel: primary channel

Post a Comment

0 Comments