Name
esxcfg-vswif
Synopsis
esxcfg-vswifoptions[interface]
Configure the service console network interface. Don’t use ifconfig or manipulate /etc/sysconfig/network-script files directly; use this command instead. Service console interface names start with vswif followed by a number. For example: vswif0 or vswif1.
Options
- -a, --add
Add a service console interface. Requires the --ip and --portgroup options.
- -b address, --broadcast address
Set the broadcast address.
- -d, --del
Remove a service console interface.
- -D, --disable-all
Disable all service console interfaces.
- -e, --enable
Enable a disabled interface.
- -E, --enable-all
Enable all service console interfaces.
- -i address, --ip address
Set the IP address for the interface. You can also specify DHCP for address.
- -l, --list
List service console interfaces along with current configuration and state.
- -n mask, --netmask mask
Set the netmask.
- -p name, --portgroup name
Set the interface’s portgroup name.
- -s, --disable
Disable an interface.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access