HP Integrity Virtual Machines Installation, Configuration, and Administration Version A.03.50

up VLAN rules on the virtual switch and later create virtual
machines referencing the specific port numbers.
-p {all | portid}
Specifies the port number on the vswitch. To specify all
the ports on the vswitch, enter all. This command displays
information about VLAN ports configured for the specified
vswitch. Do not use the -p option with the -V option.
-C 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. Note, only those ports
with tagged VLAN are cloned.
-N new-vswitch-name
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 is limited to eight
characters. You must include either the -S or --s option.
RETURN VALUES
The hpvmnet command exits with one of the following values:
0: Successful completion.
1: One or more error conditions
occurred.
DIAGNOSTICS
The hpvmnet command displays error messages for any of the following conditions:
An invalid option is specified.
An invalid value is specified for an option.
vswitch-name or vswitch-number does not exist, cannot be accessed, is not a vswitch,
or is corrupt.
A value was omitted for an argument that requires one, or a value was supplied for an
argument that does not take one.
The hpvmnet command and Integrity Virtual Machines are at different revision levels.
EXAMPLES
Create the vswitch switch2 on lan0:
# hpvmnet -c -S switch2 -n 0
Display all the vswitches on this VM Host:
# hpvmnet
Name Number State Mode NamePPA MAC Address IP Address
======== ====== ======= ========= ======== ============== ===============
localnet 1 Up Shared N/A N/A
hostnet 296 Up Shared lan1 0x00306e4a92ef 16.116.8.99
vmvlan 13 Up Shared lan900 0x00306e4bc7bf
myswitch 241 Up Shared lan0 0x00306e4a93e6
Display the verbose attributes of vswitch hostnet:
# hpvmnet -S hostnet -V
Name : hostnet
number : 296
PID : 1672
State : Up
Mode : Shared
NamePPA : lan1
Host MAC Address : 0x00306e4a92ef
Host IP Address : 16.116.8.99
Number of guests : 6
Guest's Name : armyvm1
227