Search the VMware Knowledge Base (KB)
View by Article ID

Forcing a link state up or down for a vmnic interface on ESXi 5.x (2006074)

  • 31 Ratings

Purpose

When troubleshooting network connectivity, most commonly when working with improperly configured port channels, on a vSwitch, VMware vDS, or Cisco Nexus 1000v vDS, you have to shut down the uplink ports on the upstream physical switches for testing.
 
This article provides commands to change the link state of the physical interface from the Management Network vmkernel in ESXi 5.x.

Resolution

To change the link state of the physical interface from the Management Network vmkernel:
 
Note: Only cards running auto-negotiation/10Mb/100Mb/1000Mb/10000Mb speeds are supported.
  1. Log in to the ESXi 5.0 host using Tech Support Mode with root account privilege. For more information, see Using Tech Support Mode in ESXi 4.1 and ESXi 5.x (1017910).
  2. Change the link status of the uplink vmnic with one of these commands:

    esxcli network nic down -n vmnicX

    esxcli network nic up -n vmnicX

    Where X is the vmnic number (for example,vmnic0)

See Also

Update History

8/2/2012- Added a note on cards supported.

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 31 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 31 Ratings
Actions
KB: