Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Integrity Virtual Machines: Installation, Configuration, and Administration > Chapter 7 Creating Virtual Networks

Deleting Vswitches

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

To delete a vswitch, first stop the vswitch using the —h option to the hpvmnet command. Then delete the vwitch 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

# hpvmnet -S clan1 -d

hpvmnet: Remove the vswitch 'clan1'? [n] y

# 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

When an active vswitch is deleted, the VM Host automatically determines that the vswitch is gone. When the vswich is re-created, the guest network automatically becomes functional again.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2006 Hewlett-Packard Development Company, L.P.