When ever this occurs the only way I have found to correct it is by going to the host console, for us this is accomplished via the remote console. When using the remote console I have found the following commands to be a great deal of help.
To view the current configuration you can use
esxcfg-vswitch -l
which will create an output like.
For a virtual switch you can use commands like
esxcfg-vswitch -U {$vmnicid#} {$virtualSwitchName} this will remove or unlink the vmnic from the switch.
To link or add a vmnic to a virtual switch use the command
esxcfg-vswitch -L {$vmnicid#} {$virtualSwitchName}
To link or add a vmnic to a Distributed virtual switch or DVP use the command
esxcfg-vswitch -P {$vmnicid#} -V {$dvportId} {$dvswitchName}
To unlink or remove a vmnic from a Distributed virtual switch or DVP use the command
esxcfg-vswitch -Q {$vmnicid#} -V {$dvportId} {$dvswitchName}
No comments:
Post a Comment