VMware Cloud Community
harryc
Enthusiast
Enthusiast
Jump to solution

Changes via cli not seen in WebGUI

I have no VC for a remote farm, so I set up the new VLAN through command line, and it shows up with command line, but not in the Web GUI. Am I missing some kind of refresh command ?

Are there any additional steps if I edit the .vmtx file directly ?

ESX 3.0.1

  1. esxcfg-vswitch --add-pg="VLAN_400_LAN" vSwitch2

  2. esxcfg-vswitch -v 400 -p VLAN_400_LAN vSwitch2

  3. esxcfg-vswitch -l

# esxcfg-vswitch -l

Switch Name Num Ports Used Ports Configured Ports Uplinks

vSwitch0 32 3 32 vmnic0

PortGroup Name Internal ID VLAN ID Used Ports Uplinks

Service Console portgroup0 0 1 vmnic0

Switch Name Num Ports Used Ports Configured Ports Uplinks

vSwitch1 64 3 64 vmnic1

PortGroup Name Internal ID VLAN ID Used Ports Uplinks

VMkernel portgroup3 401 1 vmnic1

Switch Name Num Ports Used Ports Configured Ports Uplinks

vSwitch2 64 8 64 vmnic2

PortGroup Name Internal ID VLAN ID Used Ports Uplinks

VLAN_400_LAN portgroup7 400 0 vmnic2

VLAN_500_DMZ portgroup5 500 1 vmnic2

VLAN_401_LAN portgroup6 401 5 vmnic2

#

Reply
0 Kudos
1 Solution

Accepted Solutions
lamw
Community Manager
Community Manager
Jump to solution

You can use vimsh to refresh:

ESX 3.5

vmware-vim-cmd hostsvc/net/refresh

ESX 3.0

vimsh -n -e "hostsvc/net/refresh"

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Comuunity

Twitter: @lamw

If you find this information useful, please award points for "correct" or "helpful".

View solution in original post

Reply
0 Kudos
1 Reply
lamw
Community Manager
Community Manager
Jump to solution

You can use vimsh to refresh:

ESX 3.5

vmware-vim-cmd hostsvc/net/refresh

ESX 3.0

vimsh -n -e "hostsvc/net/refresh"

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Comuunity

Twitter: @lamw

If you find this information useful, please award points for "correct" or "helpful".

Reply
0 Kudos