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

[Port Configuration Details]
Port Port Untagged Number of Active VM
Number state VLANID Reserved VMs
======= ============ ======== ============ ============
1 Reserved none 1
2 Reserved 20 1
3 Reserved none 1
# hpvmnet -C -S vmvlan -n 1 -N clnvlan
# hpvmnet -S clnvlan
Name Number State Mode NamePPA MAC Address IP Address
======== ====== ======= ========= ======== ============== ===============
clnvlan 320 Down Shared lan1
[Port Configuration Details]
Port Port Untagged Number of Active VM
Number state VLANID Reserved VMs
======= ============ ======== ============ ============
2 Available 20 0
Note that only the configured VLAN port identification data is copied to the new vswitch. Use
this hpvmnet command option when you have a vswitch with numerous VLAN ports. This
process makes it unnecessary to reenter all the port data for each new vswitch.
8.2.4 Deleting vswitches
To delete a vswitch, first stop the vswitch using the -h option to the hpvmnet command. Then
delete the vswitch using the -d option to the hpvmnet command. For example, the following
command shows the error that prevents you from deleting an active vswitch (clan1):
# hpvmnet -S clan1 -d
hpvmnet: The vswitch is currently active
hpvmnet: Unable to continue
The following example uses the hpvmnet command to halt the vswitch and then to delete it.
Both commands require you to confirm the action. The third command displays the current
vswitches (without clan1).
# hpvmnet -S clan1 -h
hpvmnet: Halt the vswitch 'clan1'? [n/y]: y
# hpvmnet -S clan1 -d
hpvmnet: Remove the vswitch 'clan1'? [n/y] y
The default command function (if you press Enter) is to not perform the function of the command.
To perform the command function, enter y.
In the case of commands where a confirmation is required, such as the hpvmnet -h command,
you can include the Q option to override the confirmation process. This is useful in scripts and
processes that are not interactive. For example, to stop a vswitch (clan1) without requiring
confirmation from the user, enter the following commands:
# hpvmnet
Name Number State Mode NamePPA MAC Address IP Address
======== ====== ======= ========= ======== ============== ===============
localnet 1 Up Shared N/A N/A
clan1 2 Up Shared lan0 0x00306e39f70b
# hpvmnet -S clan1 -h -Q
# hpvmnet
Name Number State Mode NamePPA MAC Address IP Address
======== ====== ======= ========= ======== ============== ===============
localnet 1 Up Shared N/A N/A
clan1 2 Down Shared lan0
8.2 Creating and Managing vswitches 131