不小心把VCMS所在的VM设置了VLAN 105, 马上就不能与其联系了。
方法1:
使用CLI.
[root@BI-ESX1 root]# esxcfg-vswitch -l
Switch Name Num Ports Used Ports Configured Ports Uplinks
vSwitch0 32 4 32 vmnic0
PortGroup Name Internal ID VLAN ID Used Ports Uplinks
Service Console portgroup0 0 1 vmnic0
VMotion portgroup2 111 1 vmnic0
Switch Name Num Ports Used Ports Configured Ports Uplinks
vSwitch1 64 6 64 vmnic2,vmnic1
PortGroup Name Internal ID VLAN ID Used Ports Uplinks
VM Network portgroup13 105 1 vmnic1,vmnic2
Service Console 2 portgroup14 0 1 vmnic1,vmnic2
IP Storage portgroup15 0 1 vmnic1,vmnic2
Switch Name Num Ports Used Ports Configured Ports Uplinks
vSwitch2 64 0 64
PortGroup Name Internal ID VLAN ID Used Ports Uplinks
VM Network Internal portgroup16 0 0
以上的命令显示"VM Network"的VLAN ID为105.使用以下的命令后:
esxcfg-vswitch -p "VM Network" -v 0 vSwitch1
[root@BI-ESX1 root]# esxcfg-vswitch -l
Switch Name Num Ports Used Ports Configured Ports Uplinks
vSwitch0 32 4 32 vmnic0
PortGroup Name Internal ID VLAN ID Used Ports Uplinks
Service Console portgroup0 0 1 vmnic0
VMotion portgroup2 111 1 vmnic0
Switch Name Num Ports Used Ports Configured Ports Uplinks
vSwitch1 64 6 64 vmnic2,vmnic1
PortGroup Name Internal ID VLAN ID Used Ports Uplinks
VM Network portgroup13 0 1 vmnic1,vmnic2
Service Console 2 portgroup14 0 1 vmnic1,vmnic2
IP Storage portgroup15 0 1 vmnic1,vmnic2
Switch Name Num Ports Used Ports Configured Ports Uplinks
vSwitch2 64 0 64
PortGroup Name Internal ID VLAN ID Used Ports Uplinks
VM Network Internal portgroup16 0 0
方法2:
使用VI client直接连接到ESX
阅读(1245) | 评论(0) | 转发(0) |