HP-UX vPars and Integrity VM V6.1.5 Administrator Guide (5900-2295, April 2013)

Table 21 Options to the hpvmnet Command
DescriptionOption
Boots a vswitch. The vswitch must be booted before it can
accept network traffic. All vswitches are booted
automatically when Integrity VM is started.
-b
Creates a new vswitch.-c
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 VSP 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
can be up to 64 characters and must be unique on the
VSP.
-S vswitch_name
Configures the port portnum on the virtual switch so that
it is isolated to the VLAN specified by vlanid. See
Section 10.4: “Configuring VLANs” (page 154) 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
10.2 Creating and managing vswitches 147