esxcfg-vmknic
Section: Maintenance Commands (8)
Index
Return to Main Contents
BSD mandoc
VMware ESX 4.0
NAME
esxcfg-vmknic
- VMware ESX VMkernel NIC configuration Tool
SYNOPSIS
esxcfg-vmknic OPTIONS [PORTGROUP]
DESCRIPTION
esxcfg-vmknic provides an interface to configure VMkernel NIC. if no arguments are given, esxcfg-vmknic displays the help message. The Portgroup option specifies the portgroup to which the VMkernel NIC is associated.
OPTIONS
- -a -add
-
Add a VMkernel NIC to the system. This requires IP parameters and portgroup/(dvs-name & dvport-id). The newly added VMkernel NIC is enabled upon successful completion of the command.
- -d -del
-
Delete the VMkernel NIC on the given portgroup/(dvs-name & dvport-id).
- -e -enable
-
Enable the VMkernel NIC on the given portgroup/(dvs-name & dvport-id) if disabled.
- -D -disable
-
Disable the VMkernel NIC on the given portgroup/(dvs-name & dvport-id) if enabled.
- -p -portgroup
-
Specify the portgroup name.
- -s -dvs-name
-
Specify the DVSwitch name, requires --dvport-id to be given in the same command.
- -v -dvport-id
-
Specify the DVPort ID, requires --dvs-name to be given in the same command.
- -l -list
-
List VMkernel NICs on the system. The list contains the network information, portgroup, MTU, and current state for each of the VMkernel NIC in the system.
- -i -ip ipv4address/DHCP/ipv6address/DHCPV6/AUTOCONF
-
The IP address(X.X.X.X) to be used for the VMkernel 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.
Use IPv6 address in the form X:X:X::X/X to set IPv6 address.
Use DHCPV6 to set IPv6 DHCP address.
Use AUTOCONF to set IPv6 router advertised address.
- -U -unset-ip V4/DHCP/ipv6address/DHCPV6/AUTOCONF
-
The IP address to be removed from the Service Console NIC. Use V4 to remove IPv4 address.
Use IPv6 address in the form X:X:X::X/X to remove IPv6 address.
Use DHCPV6 to remove IPv6 DHCP address.
Use AUTOCONF to remove IPv6 router advertised flag from VMkernel, it won't remove the router advertised address.
- -n -netmask netmask
-
The IP netmask(X.X.X.X) to be used for the VMkernel NIC. Setting an IP netmask requires that the --ip option be given in same command.
- -P -peerdns
-
Set peer dns. If set, the system will use the Hostname, IP Address and Domain returned by DHCP. Valid only for DHCP
- -t -tso
-
Disable TSO for the vmknic being created.
- m --mtu MTU
-
MTU for the interface being created.
- 6 -enable-ipv6 true/false
-
Enable or disable IPv6 for next boot.
- -r -restore
-
Restore VMkernel 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-vmknic \fIOPTIONS [PORTGROUP]\fR
--add --ip=x.x.x.x --netmask=x.x.x.x portgroup
esxcfg-vmknic \fIOPTIONS [PORTGROUP]\fR
--enable portgroup
COPYRIGHT
VMware ESX is Copyright 1998-2009 VMware, Inc. All rights reserved.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- EXAMPLES
-
- COPYRIGHT
-
This document was created by
man2html,
using the manual pages. Brought to you by Bouke Groenescheij, www.jume.nl
Time: 15:25:08 GMT, May 26, 2009