Commandline migration of vmk0 from NVDS to vSS in an NSX-T environment
search cancel

Commandline migration of vmk0 from NVDS to vSS in an NSX-T environment

book

Article ID: 314010

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • This article provides step to migrate the VMkernel interface that is used for management traffic from NVDS to vSS in an NSX-T environment.
  • This procedure is intended for a scenario where the ESXI host has lost management network connectivity and command line recovery to vSS is required.

    Note: In VSAN environments extra care should be taken to ensure that there is no additional disruption to the VSAN vmkernel network. If in doubt please open a Support Request with Broadcom Support to get assistance with this activity.

Environment

VMware NSX-T Data Center

Resolution


Create a vSS
# esxcfg-vswitch -a vSwitch0

Create a Management portgroup
# esxcfg-vswitch -A "Management Network" vSwitch0

Migrate vmkernel and vmnic from NVDS to vSS
#/usr/lib64/vmware/nsx-opsagent/bin/nsxcfg-vswitch -m -p "Management Network" -I vmk0 -P vmnic0

At this point the ESXi host should have management connectivity restored and should reconnect back to vCenter.
Further configuration changes can then be made via the vSphere Client.