HP Integrity Virtual Machines 4.3: Installation, Configuration, Administration
Table 7-1 Options to the hpvmnet Command (continued)
DescriptionOption
Halts one or all vswitches. You are asked to confirm this
action.
-h
Omits the confirmation dialog before halting, deleting,
or rebooting the vswitch. This option is intended for use
by scripts and other noninteractive applications (Force
mode).
NOTE: The -F option is deprecated in Integrity VM
commands; this option should be used only at the
direction of HP Support.
-F
Deletes a virtual switch. You are asked to confirm this
action.
-d
Specifies the network interface on the VM Host that the
new vswitch will use. For example, to associate a vswitch
to lan0, enter -n 0.
-n nic-id
Specifies the port number. To display information about
all ports, enter —p all.
-p n
Specifies the command function should proceed without
asking for confirmation. By default, the command requires
confirmation, and does not proceed without it.
-Q
Restarts the vswitch information.
-r
Retrieves statistics of the vswitch specified by its number..
-s vswitch_number
Specifies the name of the virtual switch. The vswitch name
is limited to 8 characters and must be unique on the VM
Host.
-S vswitch_name
Configures the port portnum on the virtual switch so that
it is isolated to the VLAN specified by vlanid. See
Section 7.4: “Configuring VLANs” (page 132) for more
information.
-u portid:portnum:vlanid:[vlanid | none]
Enables list of VLAN ids on the list of ports. Specifying
all allows you to enable all VLANs at once.
-i
Displays information about vswitches in verbose mode.
If you specify the vswitch using either the-S or -s
options, network counters are included in the display.
-A
Disables the list of VLAN ids on the list of ports.
Specifying all disables all VLANs at once.
-o
Used with the -A option, clears statistics after retrieving
them.
-Z
Displays verbose resource information in a
machine-readable format.
The -V, -M, and -X options are mutually exclusive.
-M
Displays verbose resource information in XML format.
-X
Enables verbose mode, displaying information detailed
information about one or all vswitches.
The -V, -M, and -X options are mutually exclusive.
-V
Displays the version number of the hpvmnet command
in addition to the vswitch information.
-v
7.2 Creating and Managing vswitches 125