PowerEdge: Adicionando e removendo o uplink VMNic no ESXI

Summary: Adicionando e removendo VMNICS no VSS (Standard Switch) e no VDS (Distributed Switch)

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

  • Exibir a versão atual vSwitch Configuração e vmkernel Configuração da interface usando estes comandos:
    esxcli network vswitch standard list # list current vswitch configuration
    esxcli network vswitch dvs vmware list # list Distributed Switch configuration
    esxcli network ip interface list # list vmkernel interfaces and their configuration
    esxcli network nic list # display listing of physical adapters and their link state
  • Adicione ou remova placas de rede (conhecidas como vmnics) de ou para um vSwitch padrão usando estes comandos:
    esxcli network vswitch standard uplink remove --uplink-name=vmnic --vswitch-name=vSwitch # unlink an uplink
    esxcli network vswitch standard uplink add --uplink-name=vmnic --vswitch-name=vSwitch # add an uplink
  • Adicione ou remova placas de rede (conhecidas como vmnics) de ou para um vNetwork Distributed Switch (vDS) usando estes comandos:
    esxcfg-vswitch -Q vmnic -V dvPort_ID_of_vmnic dvSwitch # unlink/remove a vDS uplink
    esxcfg-vswitch -P vmnic -V unused_dvPort_ID dvSwitch # add a vDS uplink
     
    Nota: Se a conectividade for perdida ao migrar a rede de gerenciamento para um switch distribuído, pode ser necessário remover ou desativar a interface VMkernel de gerenciamento existente e recriá-la em um grupo de portas vSwitch padrão com a mesma configuração de IP.

 

Exemplo: adicionando
vmnci4 a vSwitch (Padrão)

CLI adicionando vSwitch 
Verifique o vswitch agora o vmnic 4 é add to uplink.
Verifique o vswitch agora que a vmnic 4 é adicionada ao uplink 

Como remover a VMNIC do uplink vSwitch
Como remover a VMNIC do uplink vSwitch 0

vswitch0
0 Adicionando   VMNIC4 uplink para VDS (Distributed Switch),

antes de adicionar a porta de uplink, certifique-se de que o nome do DVS e DVPort O ID deve ser uma porta livre. Neste exemplo, a porta nº 11 não estava em uso.

Adicionando VNIC4 
Verifique se a VMNIC é adicionada a DVS Uplink.
Verifique se a VMNIC é adicionada ao uplink DVS 

Remover VMNIC Uplink de VDS,
Remover o uplink VMNIC do VDS,

Affected Products

VMware ESXi 6.7.X, VMware ESXi 6.x, VMware ESXi 7.x
Article Properties
Article Number: 000198710
Article Type: How To
Last Modified: 02 Apr 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.