Seite 1 von 1

Hinzufügen einer neuen Service Consolen NIC

Verfasst: 11.12.2008, 11:00
von ruff
Hi, ich hab meine Service Consolen NIC weggeschmissen um eine neue mit einer neuen IP zu erstellen.
Auf der Kommandozeile gebe ich jetzt folgendes ein:

esxcfg-vswif -a vswif0 -p Service Console -i x.x.x.x -n y.y.y.y

aber das scheint ihm vom Befehl her nicht wirklich zu gefallen.

Was schreibe ich denn da an der Systax falsch?


:(


esxcfg-vswif <options> [<vswif>]
-a|--add Add vswif, requires IP parameters.
Automatically enables interface.
-d|--del Delete vswif.
-l|--list List configured vswifs.
-e|--enable Enable this vswif interface.
-s|--disable Disable this vswif interface.
-p|--portgroup Set the portgroup name of the vswif.
-i|--ip <X.X.X.X> or DHCP The IP address for this vswif or specify
DHCP to use DHCP for address.
-n|--netmask <X.X.X.X> The IP netmask for this vswif.
-b|--broadcast <X.X.X.X> The IP broadcast address for this vswif
(not required if netmask and ip are set).
-c|--check Check to see if a virtual NIC exists.
Program outputs a 1 if the given vswif
exists and is enabled, 0 otherwise.
-D|--disable-all Disable all vswif interfaces.
(WARNING: This may result in a loss of network
connectivity to the Service Console).
-E|--enable-all Enable all vswif interfaces and bring them up.
-A|--autoNet Setup one DHCP vswif per vSwitch.
-r|--restore Restore all vswifs from the configuration.
file (FOR INTERNAL USE ONLY).
-h|--help Show this message.

Verfasst: 11.12.2008, 11:08
von irix
Versuch mal "Service Console" anstelle Service Console. Der Parser weis doch nicht das das Leerzeichen noch zum Wert des Parameters gehoert.

Gruss
Joerg

Verfasst: 11.12.2008, 11:21
von ruff
ich sollte mehr schlafen :-)

danke