VMware Cloud Community
PJo201110141
Contributor
Contributor
Jump to solution

dv port groups in vcenter 5.0

Hello,

I would like to get the list of dv-portgroups from vCenter 5.0 which is associated to a particular dv switch. Can anybody guide me how we can get it.

Also is there anyway to get a list of  the vSphere network (portgroups) in vCD's with its external networks or port groups alone.

Let me know is there any possible ways with samples if anybody has.

Thanks

0 Kudos
1 Solution

Accepted Solutions
Virtualinfra
Commander
Commander
Jump to solution

If you have vmware power cli installed try the below command to list the dvport group in dvswitch,

if you have multiple dv switch and pull the portgroup information of particular dv switch try the below.

#connect-viserver (vcservername)

#get-virtualswitch -name (name of dvs switch) | get-virtualportgroup

if you only on dv switch, use the below will list all the available port group.

#get-virtualportgroup

Thanks & Regards Dharshan S VCP 4.0,VTSP 5.0, VCP 5.0

View solution in original post

0 Kudos
3 Replies
orthohin
Enthusiast
Enthusiast
Jump to solution

Please have a look..

http://www.vmware.com/technical-resources/virtualization-topics/virtual-networking/distributed-virtu...

Regards,
Milton

Never trust a computer you can't throw out a window
Virtualinfra
Commander
Commander
Jump to solution

If you have vmware power cli installed try the below command to list the dvport group in dvswitch,

if you have multiple dv switch and pull the portgroup information of particular dv switch try the below.

#connect-viserver (vcservername)

#get-virtualswitch -name (name of dvs switch) | get-virtualportgroup

if you only on dv switch, use the below will list all the available port group.

#get-virtualportgroup

Thanks & Regards Dharshan S VCP 4.0,VTSP 5.0, VCP 5.0
0 Kudos
PJo201110141
Contributor
Contributor
Jump to solution

Thanks!

0 Kudos