Locating the connection ID for an uplink/vmnic in a vSphere Distributed Switch
book
Article ID: 308566
calendar_today
Updated On:
Products
VMware vSphere ESXi
Show More
Show Less
Issue/Introduction
This article provides steps to locate the connection ID value for an uplink adapter in a vSphere Distributed Switch. The connection ID value can be useful when correlating log entries and for troubleshooting purposes.
Environment
VMware ESXi 4.1.x Installable VMware vSphere ESXi 5.1 VMware vSphere ESXi 5.0
Resolution
To determine the connection ID for an uplink/vmnic:
Connect to the ESXi host using SSH or Local Tech Support Mode. For more information, see Using Tech Support Mode in ESXi 4.1 and ESXi 5.x (1017910) . Run this command to determine the dvport number assigned to the vmnic:# esxcfg-vswitch -l You see output similar to:DVS Name Num Ports Used Ports Configured Ports MTU Uplinks Test 512 20 512 1500 vmnic0,vmnic1 DVPort ID In Use Client 400 1 vmnic0 404 1 vmnic1 Note the DVPort ID associated with the vmnic. In the sample output, vmnic0 has a DVPort ID 400. Run this command to view the detailed information regarding the Distributed Switch:# net-dvs -l |less In the less utility, press / to initiate a search. Type the DVPort ID and press Enter. You see output similar to:port 400: com.vmware.common.port.alias = dvUplink1 , propType = CONFIG ........ propType = CONFIG propType = CONFIG com.vmware.etherswitch.port.txUplink = normal , propType = CONFIG com.vmware.common.port.connectid = connect_ID , propType = CONFIG Where connect_ID is the connection ID for port 400. For example:com.vmware.common.port.connectid = 861310864, propType = CONFIG
Feedback
thumb_up
Yes
thumb_down
No