HP-UX Virtual Partitions 6.0 Administrator Guide
Table 13 Options with the vparnet command. (continued)
DescriptionOption
Displays the version number of the hpvmnet output format. The version number
is displayed first, followed by the display specified by the other options. In
addition, it also displays VLAN information.
-v
Displays information about vswitches in verbose mode.-V
Displays statistics for the avio_lan virtual network interfaces.-A
Displays verbose resource information in a machine-readable format.-M
Displays verbose resource information in the XML format.-X
Clears statistics after retrieving them. This option is used with the -A option.-Z
Omits the confirmation dialog before halting, deleting, or rebooting the
vswitch. This option is intended for use by scripts and other non-interactive
applications (Force mode).
-F
Quietly performs the command. The default is to prompt for confirmation of
the command before performing it.
-Q
Creates a new vswitch.-c
Deletes an existing vswitch.-d
Starts an existing vswitch. vswitches must be started before they accept vPars
communication traffic.
-b
Stops a vswitch.-h
Enables the list of VLAN ids on the list of ports. Specifying all allows you
to enable all VLANs at once.
-i
Designates the network interface on the VSP that this vswitch uses.-n nic-id
Disables the list of VLAN ids on the list of ports. Specifying all allows you
to disable all VLANs at once.
-o
Stops and restarts a vswitch.-r
Specifies the VLAN identifier for the specific vswitch and port. Configure
VLANs by specifying the number of the port on the vswitch (portnum) to
-u
portid:portnum:vlanid:{vlanid
| none}
use for VLAN communication, and the VLAN identifier (vlanid). Virtual
partitions that are configured to use the VLAN can communicate with one
another. To disable a VLAN, specify none for the VLAN identifier.
Specifies the port number on the vswitch. To specify all the ports on the
vswitch, enter all.
-p {all | portid}
Changes the specified vswitch. If used with the -N option, the changes take
effect on the cloned vswitch. You must include either the -S or the -s option.
Only those ports with tagged VLAN are cloned.
-C
Creates a new vswitch based on the existing vswitch. For
new-vswitch-name, specify the unique name of the new virtual switch.
You must include either the -S or the -s option.
-N new-vswitch-name
Example 19 Create a vswitch
# vparnet -c -S sitelan -n 0
For more examples, see the vparnet3(1) manpage.
30 vPars v6.0 commands