-->
🏠 🔍
SHAREOLITE

VMware NIC port View Down Up command line - How to - SOLVED

In this post , we cover a practically working command line option in VMware esxi on how to View VM host server NIC port status , enable or disable it.


Command to view the network NIC ports list

/bin # esxcli network  nic list
Name    PCI Device     Driver     Link  Speed  Duplex  MAC Address         MTU  Description
------  -------------  ---------  ----  -----  ------  -----------------  ----  -------------------------------------------------
vmnic0  0000:006:00.0  igb        Up     1000  Full    1c:a1:82:18:7c:31  1500  Intel Corporation I350 Gigabit Network Connection
vmnic1  0000:006:00.1  igb        Up     1000  Full    1c:a1:82:18:7c:12  1500  Intel Corporation I350 Gigabit Network Connection
vmnic2  0000:006:00.2  igb        Down      0  Half    1c:a1:82:18:7c:22  1500  Intel Corporation I350 Gigabit Network Connection
vmnic3  0000:006:00.3  igb        Down      0  Half    1c:a1:82:18:7c:75  1500  Intel Corporation I350 Gigabit Network Connection
vusb0   Pseudo         cdc_ether  Up       10  Half    1e:a1:81:31:1c:71  1500  Unknown Unknown


Command to view the details of a specific port

/bin # esxcli network  nic get -n vmnic0
   Advertised Auto Negotiation: true
   Advertised Link Modes: 10baseT/Half, 10baseT/Full, 100baseT/Half, 100baseT/Full, 1000baseT/Full
   Auto Negotiation: true
   Cable Type: Twisted Pair
   Current Message Level: 7
   Driver Info:
         Bus Info: 0000:06:00.0
         Driver: igb
         Firmware Version: 1.61, 0x8000090e
         Version: 5.0.5.1
   Link Detected: true
   Link Status: Up
   Name: vmnic0
   PHYAddress: 1
   Pause Autonegotiate: true
   Pause RX: false
   Pause TX: false
   Supported Ports: TP
   Supports Auto Negotiation: true
   Supports Pause: true
   Supports Wakeon: true
   Transceiver: internal
   Wakeon: MagicPacket(tm)

Command to bring down a specific network interface

/bin # esxcli network  nic  down  -n vmnic3

Command to bring back a specific network interface

/bin # esxcli network  nic  up -n vmnic3

Hope this is useful to some VMware command geeks.
 

Comments

–>