How to find VIOS SEA is PRIMARY or BACKUP ?

Answer :

To find VIOS SEA is serving as PRIMARY or BACKUP we need to execute "entstat -d entX and grep for state" as given below

vios1 :

# lsdev | grep -i shared
ent6         Available             Shared Ethernet Adapter
# entstat -d ent6 | grep -i state


    State: PRIMARY
LAN State: Operational
LAN State: Operational
#

vios2 :
# lsdev | grep -i shared
ent6         Available             Shared Ethernet Adapter
# entstat -d ent6  | grep -i state


    State: BACKUP
LAN State: Operational
LAN State: Operational

vios1 is PRIMARY SEA and vios2 is BACKUP SEA.




Post a Comment

0 Comments