Introduction
The external Virtual Supervisor Module (VSM) manages the Cisco Nexus 1000V Series switch VEMs. The Virtual Ethernet Module (VEM) executes inside the Cisco Nexus 1000V Series switch hypervisor. A set of dual redundant VSMs and managed VEMs form a single Nexus 1000v switch domain.
Virtual Ethernet Port Profiles
A vEth profile is a port profile that can be applied on virtual machines and on VMware virtual interfaces such as the VMware management, VMotion, or VMkernel iSCSI interface. As soon as the network administrator configures a vEth port profile, its configuration is propagated to VMware vCenter and made available as a port group.
A vEthernet port profile can be applied on virtual machine vNIC interfaces and is configured as follows:
port-profile type vethernet VM_Data
vmware port-group
switchport mode access
switchport access vlan 101
no shutdown
state enabled
port-profile type vethernet service-console
vmware port-group
switchport mode access
switchport access vlan 223
no shutdown
system vlan 223
state enabled
port-profile type vethernet NFS
vmware port-group
switchport mode access
switchport access vlan 224
no shutdown
state enabled
port-profile type vethernet Vmotion
vmware port-group
switchport mode access
switchport access vlan 225
no shutdown
state enabled
1. Ensure that CONTROL and PACKET VLAN are properly trunked
Ensure that on each switches lying between the VEM and VSM the Layer 2 Communication VLAN is allowed on the trunk and is configured.
switchport trunk allowed vlan 310
In this example, VLAN 310 is the Control VLAN for L2 Communication, same holds good for the PACKET VLAN as well.
This is one of the major task in troubleshooting the L2 Connectivity issue and resolves the issue 90% of the times if other configuration on Nexus 1000v are good.
2. Check VSM and vCenter Configuration
Following commands help troubleshoot vCenter and VSM Configuration
show vmware vc extension-key
To check VSM to VCENTER Sync status:
show svs domain
show vmware vc extension-key
Checking opaque data in VSM :
show svs domain
Checking Opaque Data in VEM :
vemcmd show card