User Tools

Site Tools


virtualization:vmware:67:netw_cli_01

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
virtualization:vmware:67:netw_cli_01 [2019/10/25 05:14] rpleckovirtualization:vmware:67:netw_cli_01 [2019/10/25 05:14] (current) rplecko
Line 1: Line 1:
 === Managing Networking from ESXi CLI === === Managing Networking from ESXi CLI ===
  
-Vmkernel IP interfaces+==Vmkernel IP interfaces==
 <code>esxcli network ip interface list</code> <code>esxcli network ip interface list</code>
-Remove /add vmk0 interface+==Remove /add vmk0 interface==
 <code>esxcli network ip interface remove --interface-name=vmk0</code> <code>esxcli network ip interface remove --interface-name=vmk0</code>
 <code>esxcli network ip interface add --interface-name=vmk0 --dvs-name=DVSWITCHNAME --dvport-id=PORT_ID</code> <code>esxcli network ip interface add --interface-name=vmk0 --dvs-name=DVSWITCHNAME --dvport-id=PORT_ID</code>
  
-Switches+==Switches==
 <code>esxcli network vswitch standard list</code> <code>esxcli network vswitch standard list</code>
-Switch remove / add+==Switch remove / add==
 <code>esxcli network vswitch standard remove --vswitch-name=vSwitch0</code> <code>esxcli network vswitch standard remove --vswitch-name=vSwitch0</code>
 <code>esxcli network vswitch standard add --vswitch-name=sw0</code> <code>esxcli network vswitch standard add --vswitch-name=sw0</code>
  
-Portgroups+==Portgroups==
 <code>esxcli network vswitch standard portgroup list</code> <code>esxcli network vswitch standard portgroup list</code>
      
-Portgroup remove / add+==Portgroup remove / add==
 <code>esxcli network vswitch standard portgroup add --portgroup-name=vmn_10 -v=sw0</code> <code>esxcli network vswitch standard portgroup add --portgroup-name=vmn_10 -v=sw0</code>
 <code>esxcli network vswitch standard portgroup remove --portgroup-name=vmn_10 -v=sw0</code> <code>esxcli network vswitch standard portgroup remove --portgroup-name=vmn_10 -v=sw0</code>
  
-Network Adapters+==Network Adapters==
 <code>esxcli network nic list</code> <code>esxcli network nic list</code>
  
virtualization/vmware/67/netw_cli_01.1571980450.txt.gz · Last modified: 2019/10/25 05:14 by rplecko