1833053 Members
2404 Online
110049 Solutions
New Discussion

Re: delete a vswitch

 
David Willams
Super Advisor

delete a vswitch

vswitch lan vs1 1 0 0 0
vswitch lan vs2 1 0 2 0
vswitch lan vs2 2 0 4 0

How do i delete the vswitch with port number 2(vs2)
11 REPLIES 11
melvyn burnard
Honored Contributor

Re: delete a vswitch

man hpvmnet
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
David Willams
Super Advisor

Re: delete a vswitch

hpvmnet â P vs2 â d vswitch01 â n 4

but it did not delete it...
Rita C Workman
Honored Contributor

Re: delete a vswitch

Your characters came out garbled...

Did you remember to stop/start your VMguest to have the changes take affect?

Just a thought,
Rita
David Willams
Super Advisor

Re: delete a vswitch

I have assigned a duplicate vswitch to a vmguest & need to delete it

[Network Interface Details]
Interface Adaptor Name/Num PortNum Bus Dev Ftn Mac Address
========= ========== ========== ======= === === === =================
vswitch lan vs1 1 0 0 0 e6-57-91-ea-11-7d
vswitch lan vs2 1 0 2 0 76-ge-f9-ca-e4-a7
vswitch lan vs3 2 0 4 0 3e-bc-5c-66-56-e1

I need to delete the following fropm the above

vswitch lan vs3 2 0 4 0 3e-bc-5c-66-56-e1
David Willams
Super Advisor

Re: delete a vswitch

Can I delete the switch with mac ID 3e-bc-5c-66-56-e1 or with Port number 2
Torsten.
Acclaimed Contributor

Re: delete a vswitch

Delete a vNIC from a guest:

hpvmmodify -P vm-name -d network:adapter-type:[hardware-address]:vswitch:vswitch-name

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
David Willams
Super Advisor

Re: delete a vswitch

# hpvmmodify -P hb1tap02 -d network:adapter-type:[3e-ac-5c-66-56-e1]:vswitch:vs_bk
hpvmmodify: Invalid adapter type 'adapter-type'.
hpvmmodify: Invalid PCI_bus argument '[3e-ac-5c-66-56-e1]'.
hpvmmodify: Incompatible adapter type 'adapter-type'.
hpvmmodify: Invalid value specified with the -d option (network:adapter-type:[3e-ac-5c-66-56-e1]:vswitch:vs_bk).
usage: hpvmmodify {-P vm_name | -p vm_number} [-F | -s] [-N new_vm_name]
[-l vm_label] [-B start_attr] [-O os_type[:version]]
[-c number_vcpus] [-e percent[:max percent] | -E cycles[:max cycles]]



# hpvmmodify -P hb1tap02 -d network:lan::vswitch:vs_bk
hpvmmodify: More than one device match network:lan::vswitch:vs_bk.
hpvmmodify: Unable to modify the guest.
# hpvmmodify -P hb1tap02 -d network:lan:2:vswitch:vs_bk
hpvmmodify: More than one device match network:lan:2:vswitch:vs_bk.
hpvmmodify: Unable to modify the guest.
# hpvmmodify -P hb1tap02 -d network:lan:4:vswitch:vs_bk
hpvmmodify: More than one device match network:lan:4:vswitch:vs_bk.
hpvmmodify: Unable to modify the guest.




Interface Adaptor Name/Num PortNum Bus Dev Ftn Mac Address
========= ========== ========== ======= === === === =================
vswitch lan vs_fe1 1 0 0 0 e6-17-91-ea-11-7d
vswitch lan vs_bk 1 0 2 0 76-fe-f9-ca-e4-a7
vswitch lan vs_bk 2 0 4 0 3e-ac-5c-66-56-e1-----> I want to delete this.

Torsten.
Acclaimed Contributor

Re: delete a vswitch

I think you don't want to delete the whole vswitch, but only the assignment from one guest, right?

So please post the config details of this guest (hpvmdisplay ...).

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
David Willams
Super Advisor

Re: delete a vswitch

[Network Interface Details]
Interface Adaptor Name/Num PortNum Bus Dev Ftn Mac Address
========= ========== ========== ======= === === === =================
vswitch lan vs_fe1 1 0 0 0 e6-17-91-ea-11-7d
vswitch lan vs_bk 1 0 2 0 76-fe-f9-ca-e4-a7
vswitch lan vs_bk 2 0 4 0 3e-ac-5c-66-56-e1

Torsten.
Acclaimed Contributor

Re: delete a vswitch

Try

# hpvmmodify -P hb1tap02 -d network:lan:0,4,0:vswitch:vs_bk

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
David Willams
Super Advisor

Re: delete a vswitch

Thanks everyone... I have removed the VM and recreated it