O'Reilly logo

Linux in a Nutshell, 6th Edition by Robert Love, Stephen Figgins, Ellen Siever, Arnold Robbins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

esxcfg-vswif

Synopsis

esxcfg-vswif options [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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required