Saturday, April 18, 2020

How to get the status and configuration details of the SEA in aix?

How to get the status and configuration details of the SEA in aix?


Using the following commands, we can easily identify the configuration details and status of the SEA (Shared Ethernet Adapter) in aix.

# lsdev -cadapter


# entstat -d ent20 |grep -i state
# entstat -d ent20 |grep -i priority
# entstat -d ent20 |grep -i vlan
# entstat -d ent20 |grep -i pvid
# entstat -d ent20 |grep -i real
# entstat -d ent20 |grep -i link
# entstat -d ent20 |grep -i media
# entstat -d ent20 |grep -i trunk
 (or)
entstat -d ent20|egrep -i 'state|priority|vlan|pvid|real|link|media|trunk'


To Set ha_mode to standby on primary vios:

# chdev -l entX -a ha_mode=standby    (or)     $ chdev -dev entX -attr ha_mode=standby


To Reset it back to auto and the SEA should failback to the primary vios

# chdev -l entX -a ha_mode=auto   (or)    $ chdev -dev entX -attr ha_mode=auto