Monday, July 8, 2013

Check the network link status and adapter model, firmware version in vsphere 5.X ESXI5.x

To trouble Network Link status on esxi 5.0.

Take SSH to ESXI and use following commands to list the available nic cards and link status.

~ # esxcfg-nics -l
Name    PCI           Driver      Link Speed     Duplex MAC Address       MTU    Description
vmnic0  0000:01:00.00 bnx2        Up   1000Mbps  Full   00:1a:64:76:04:10 1500   Broadcom Corporation Broadcom NetXtreme II BCM5709 1000Base-SX
vmnic1  0000:01:00.01 bnx2        Up   1000Mbps  Full   00:1a:64:76:04:11 1500   Broadcom Corporation Broadcom NetXtreme II BCM5709 1000Base-SX
vmnic2  0000:07:00.00 bnx2x       Up   10000Mbps Full   00:1a:64:76:04:14 1500   Broadcom Corporation NetXtreme II 57711 10Gigabit Ethernet
vmnic3  0000:07:00.01 bnx2x       Up   10000Mbps Full   00:1a:64:76:04:16 1500   Broadcom Corporation NetXtreme II 57711 10Gigabit Ethernet

Also you can use this as a alternatetive to get the same output.
~ # esxcli network nic list
Name    PCI Device     Driver  Link  Speed  Duplex  MAC Address         MTU  Description
------  -------------  ------  ----  -----  ------  -----------------  ----  --------------------------------------------------------------
vmnic0  0000:001:00.0  bnx2    Up     1000  Full    00:1a:64:76:04:10  1500  Broadcom Corporation Broadcom NetXtreme II BCM5709 1000Base-SX
vmnic1  0000:001:00.1  bnx2    Up     1000  Full    00:1a:64:76:04:11  1500  Broadcom Corporation Broadcom NetXtreme II BCM5709 1000Base-SX
vmnic2  0000:007:00.0  bnx2x   Up    10000  Full    00:1a:64:76:04:14  1500  Broadcom Corporation NetXtreme II 57711 10Gigabit Ethernet
vmnic3  0000:007:00.1  bnx2x   Up    10000  Full    00:1a:64:76:04:16  1500  Broadcom Corporation NetXtreme II 57711 10Gigabit Ethernet


Use the following command to get the network adapter driver, firmware, linkstatu and network adapter properties informaiton.

~ # esxcli network nic get -n vmnic0
   Advertised Auto Negotiation: true
   Advertised Link Modes: 1000baseT/Full
   Auto Negotiation: true
   Cable Type: FIBRE
   Current Message Level: -1
   Driver Info:
         Bus Info: 0000:01:00.0
         Driver: bnx2
         Firmware Version: bc 6.2.0 NCSI 2.0.11
         Version: 2.0.15g.v50.11-5vmw

   Link Detected: true
   Link Status: Up
   Name: vmnic0
   PHYAddress: 2
   Pause Autonegotiate: true
   Pause RX: false
   Pause TX: false
   Supported Ports: FIBRE
   Supports Auto Negotiation: true
   Supports Pause: true
   Supports Wakeon: true
   Transceiver: internal
   Wakeon: MagicPacket(tm)




 

No comments:

Post a Comment