HP-UX vPars and Integrity VM V6.3 Administrator Guide

Table 15 Options to the hpvmnet command (continued)
DescriptionOption
Enables verbose mode, displaying detailed information about one or all
vswitches.
-V
Displays the version number of the hpvmnet command in addition to the
vswitch information.
-v
Changes the specified vswitch. If used with the -N option, the changes
are made to the cloned vswitch. You must include either the -S or -s
option.
-C
Creates a new vswitch based on the existing vswitch. For
new_vswitch_name, specify the unique name of the new virtual switch.
The name of the vswitch can be up to 64 characters. You must include
either the -S or -s option.
-N new-vswitch-name
NOTE: When working with vPars, you can also use the vparnet command. For more information
about using the vparnet command, see the vparnet(1M).
The following command creates a virtual switch called clan1 that is associated with lan1. The
second hpvmnet command displays information about all the vswitches.
# hpvmnet -c -S clan1 -n 1
# hpvmnet
Name Number State Mode PPA MAC Address IP Address
======== ====== ======= ========= ====== ============== ===============
localnet 1 Up Shared N/A N/A
myswitch 2 Up Shared N/A N/A
clan1 5 Down Shared lan1
The physical point of attachment (PPA) for clan1 is 1. Two vswitches (localnet and lan0)
communicate over the localnet.
To boot a vswitch, enter the hpvmnet command with the -b option. For example, to boot the
vswitch named clan1, enter the following command:
# hpvmnet -S clan1 -b
# hpvmnet -v
Name Number State Mode PPA MAC Address IP Address
======== ====== ======= ========= ====== ============== ===============
localnet 1 Up Shared N/A N/A
myswitch 2 Up Shared N/A N/A
clan1 5 Up Shared lan1 0x00306e3977ab
NOTE: The clan1 command is associated with the network interface on the VSP that has MAC
address 0x00306e3977ab (this is not the MAC address of any VM connected to this vswitch).
For more information about connecting vswitches to guests, see Chapter 9 (page 133). For more
information about modifying virtual networks, see Section 8.3.1 (page 119).
You can create multiple vswitches associated with the same host physical NIC. However, you
cannot boot (hpvmnet b) more than one of them at the same time.
114 Creating virtual and direct I/O networks