esxcfg-vswif
- VMware ESX Server Service Console NIC configuration Tool
esxcfg-vswif
NAME
esxcfg-vswif - VMware ESX Server Service Console NIC configuration
Tool
COPYRIGHT
VMware ESX Server is Copyright 2006 VMware, Inc. All rights
reserved.
SYNOPSIS
esxcfg-vswif OPTIONS [VSWIF]
DESCRIPTION
esxcfg-vswif provides an interface to configure Service Console
NIC. if no arguments are given, esxcfg-vswif displays the help
message. VSWIF is the name of the interface. This should begin
with 'vswif' followed by a unit number, for example 'vswif0'
for the first Service Console interface.
OPTIONS
-a -add
Add a Service Console NIC to the system. This requires IP
parameters and portgroup name. The newly added Service Console
NIC is enabled upon successful completion of the command.
-d -del
Delete the Service Console NIC. WARNING: This may result in
a loss of network connectivity to the Service Console.
-l -list
List Service Console NICs in the system. The list contains
network information, portgroup, and current state for each
of the Service Console NIC in the system.
-e -enable
Enable the Service Console NIC on the system, if disabled.
-D -disable
Disable the Service Console NIC on the system, if enabled
WARNING: This may result in a loss of network connectivity
to the Service Console.
-p -portgroup
Set the portgroup name of the Service Console NIC. This option
has to be used while adding a new Service Console NIC to the
system or to change the portgroup of an existing Service Console
NIC.
-i -ip ipaddress/DHCP
The IP address(X.X.X.X) to be used for the Service Console
NIC. Setting an IP address requires that the --netmask option
be given in same command. If you want to use DHCP for address,
pass in DHCP as the value. This does not require --netmask
option to be specified.
-n -netmask netmask
The IP netmask(X.X.X.X) to be used for the Service Console
NIC. Setting an IP netmask requires that the --ip option be
given in same command.
-b -broadcast broadcast
The broadcast address(X.X.X.X) to be used for the Service
Console NIC. This option is not required if netmask and IP
address are set.
-c -check
Check to see if the specified Service Console NIC exists.
Program outputs a 1 if the given Service Console NIC exists.
It is 0 otherwise.
-D -disable-all
Disable all Service Console NICs on the system that are currently
enabled. WARNING: This may result in a loss of network connectivity
to the Service Console.
-E -enable-all
Enable all Service Console NICs on the system that are currently
disabled.
-r -restore
Restore Service Console NIC settings from persistent storage.
This should be used only on system startup and should not
be used by users.
-h -help
Print a help message for this command.
EXAMPLES
esxcfg-vswif -add --i x.x.x.x -n x.x.x.x vswif_name
esxcfg-vswif -a -i DHCP vswif_name
|