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.
Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.