Quantcast
Channel: VMware Communities : Discussion List - ESXi
Viewing all articles
Browse latest Browse all 8132

ESXi Command line

$
0
0

Hi,

 

I am trying to add a vmkernel adapter to distributed switch by the below command:

 

esxcli network ip interface add --interface-name=vmk1 --dvs-name=DVSWITCHNAME --dvport-id=PORT_ID

 

It is failing every time with error invalid port id. esxcfg-vswitch -l command shows that vmnic1 and vmnic2 of the hosts are connected to 636 and 637 port of this dvswitch.

 

How to determine what port_ID should be used to execute the command successfully.

 

Please help.


Viewing all articles
Browse latest Browse all 8132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>