HP Integrity Virtual Machines 4.2: Installation, Configuration, and Administration

# hpvmnet -b -S switch1
Stop the vswitch named switch1:
# hpvmnet -h -S switch1
hpvmnet: Halt the vswitch 'switch1'? [n/y]: y
Configure port 2 on vswitch switch1 with VLAN identifier 100:
# hpvmnet -S switch1 -u portid:2:vlanid:100
Display information about VLAN ports configured for the vswitch named myswitch:
# hpvmnet -S myswitch
Name Number State Mode NumberPPA MAC Address IPv4 Address
======== ====== ======= ========= ====== ============== ===============
myswitch 2 Up Shared lan1 0x00306ef3120c 1.2.3.4
[Port Configuration Details]
Port Port Port Untagged Number of Active VM Tagged
Number state Adaptor VLANID Reserved VMs VLANIDs
======= ============ ======== ======== ============ ============ ============
1 Reserved lan none 1
2 Active lan none 1 config2
3 Reserved avio_lan none 1
4 Active lan none 1 winguest2
[Configured IP Address(es)]
106.16.4.12
fe80::230:6eff:fe4a:92ef
# hpvmnet -S myswitch2 -p 2
Vswitch Name : vswitch2
Max Number of Ports : 100
Port Number : 2
Port State : Active
Active VM : guest31
Untagged VlanId : none
Reserved VMs : guest31
Adaptor : avio_lan
Tagged VLANs : 20, 30, 40
To switch over the lan1 from lan0:
# hpvmnet -C -S vswitch2 -n 0
# hpvmnet -S vswitch2
Name Number State Mode NamePPA MAC Address IPv4 Address
======== ====== ======= ========= ======== ============== ===============
vswitch2 4 Up Shared lan2 0x001a4bf3021e
[Port Configuration Details]
Port Port Port Untagged Number of Active VM Tagged
Number State Adaptor VLANID Reserved VMs VLANIDs
======= ============ ======== ======== ============ ============ =============
1 Active avio_lan none 1 vm206_5_31 1
3 Reserved avio_lan none 1 1,10,30,55
4 Available unknown 30 0 none
10 Available unknown none 0 11,21,31,41...
To clone the vswitch, enter the following command:
# hpvmnet -C -n 1 -S vmvlan -N clone
# hpvmnet -S clone
Name Number State Mode NamePPA MAC Address IPv4 Address
======== ====== ======= ========= ======== ============== ===============
clone 297 Down Shared lan1
[Port Configuration Details]
Port Port Port Untagged Number of Active VM Tagged
Number state Adaptor VLANID Reserved VMs VLANIDs
======= ============ ======== ======== ============ ============ ============
2 Available avio_lan 20 0
AUTHORS
The hpvmnet command was developed by HP.
286