VPC Networking with VCF NSX » vrealize.it -…

VPC Networking with VCF NSX » vrealize.it -…

The introduction of VPCs (Virtual Private Cloud) at the network level provides a “self-service” for network, security and other network services in an isolated environment. Those responsible for the VPC can create networks and security rules (within their limits), thus relieving the burden […]


Broadcom Social Media Advocacy

How to Quickly Disable a vmnic on ESXi – No Switch Changes or Cable Pulling Needed!

In VMware ESXi, managing physical network interfaces (vmnics) is essential for troubleshooting, maintenance, or reconfiguration. There are times when you need to disable or re-enable a network interface without relying on the network team to shut down a switch port or physically unplugging the cable in the server room. Fortunately, this can be done quickly using the esxcli command-line tool.

Checking Available Network Interfaces

First login via SSH or directly on server console.

Before shutting down a vmnic, it’s good practice to list all available interfaces and check their status:

esxcli network nic list
esxcli network nic list

This command will display a list of vmnics along with their link state, driver, and speed.

Shutting Down a vmnic Interface

To disable a specific vmnic, use the following command:

esxcli network nic down -n vmnicX
esxcli network nic down -n vmnic

Replace vmnicX with the actual interface name (e.g., vmnic5).

Bringing a vmnic Interface Back Up

If you need to enable the interface again, run:

esxcli network nic up -n vmnicX

This will bring the network interface back online.

esxcli network nic up -n vmnic

Use Cases

  • Test network failover scenarios.
  • Identify and isolate network issues by disabling a suspected faulty NIC.
  • Temporarily disable a NIC to measure the impact on network performance and verify load balancing efficiency.
  • Test how virtual machines respond when a specific network path goes down.
  • Shut down a vmnic that is connected to an untrusted VLAN or an incorrectly configured network.
  • Test different network configurations without permanently altering physical connections.

By using esxcli, you can manage network interfaces efficiently.


Let me know if you need any tweaks! 🚀

Expand a cluster across racks in VMware Cloud…

Expand a cluster across racks in VMware Cloud…

Use VCF API for expanding a cluster between racks without extending Layer 2 in the physical network. Overview Expanding a cluster across racks serves two key purposes: increasing capacity and enhancing resiliency for workloads. Servers within a single rack often share power and network infrastructur


Broadcom Social Media Advocacy

VMUG Advantage: Don’t just keep up…stay ahead!

VMUG Advantage: Don’t just keep up…stay ahead! #BreakItDown #VMware #Broadcom

VMUG Advantage: Don’t just keep up…stay ahead!

IT professionals thrive when they’re supported by the right tools, knowledge, and community. That’s exactly what the VMware User Group—or #VMUG—Advantage membership delivers. 🚀 Stay on the cutting edge 🚀 Build your confidence with tailored technical content 🚀 Join a global network of […]


Broadcom Social Media Advocacy