OptimalDesign
Enthusiast
Enthusiast

How to check which adapter is an active?

Hi, All

I configured it as below; vmnic1 is an active and vmnic0 is an standby.

# esxcli network vswitch standard policy failover get -v vSwitch0

   Load Balancing: srcport

   Network Failure Detection: link

   Notify Switches: true

   Failback: true

   Active Adapters: vmnic1

   Standby Adapters: vmnic0

   Unused Adapters:

When the vmnic1(active adapter) down, the vmnic0 live up and acts as an active.

That can be found via #esxtop + n

~ # esxtop

2:16:58am up 35 min, 396 worlds, 1 VMs, 1 vCPUs; CPU load average: 0.01, 0.01, 0.01

   PORT-ID              USED-BY  TEAM-PNIC DNAME              PKTTX/s  MbTX/s    PKTRX/s  MbRX/s %DRPTX %DRPRX

  33554433           Management        n/a vSwitch0              0.00    0.00       0.00    0.00   0.00   0.00

  33554434               vmnic1          - vSwitch0              2.37    0.03      10.88    0.01   0.00   0.00

  33554436                 vmk0     vmnic0 vSwitch0              1.38    0.00       0.40    0.00   0.00   0.00

  33554437                 vmk1     vmnic0 vSwitch0              1.19    0.03       1.58    0.00   0.00   0.00

  33554438                 vmk2     vmnic0 vSwitch0              0.00    0.00       0.00    0.00   0.00   0.00

  33554439               vmnic0          - vSwitch0              0.00    0.00      15.23    0.04   0.00   0.00

  33554441     39308:web-sv-02a     vmnic0 vSwitch0              0.00    0.00       0.00    0.00   0.00   0.00

Question)

Beside GUI/ esxtop(+ n) command, is there any way to check current active adapter under A/S mode in vSwitch?

command(s) or specific logs ?

Thank you

0 Kudos
2 Replies
yezdi
Virtuoso
Virtuoso

Hi,

PowerCLI and vSphere APIs will help to get the same info remotely.

0 Kudos
hypervisorboy
Enthusiast
Enthusiast

Hi ,

I believe you can see active adapter in vmkernel logs

Location :- /var/log/vmkernel.log

Thank you Karanveer [VCP6,CCNA,NPP,NSS} if you find this or any other answer useful please mark the answer as correct or helpful.
0 Kudos