VMware Networking Community
alexnowe
Contributor
Contributor

Ho to get Transport Zone UUID?

Hi,

could you advice me pls how to find Transport Zone UUID in NSX 6.1?

Regards

5 Replies
AnthonyM
Enthusiast
Enthusiast

This http://kaloferov.com/blog/how-to-use-the-nsx-create-logical-switch-vro-workflow/ may help. Iyt's not my blog, I was reading it this morn and it talks through getting the UUID.

SpasKaloferov
VMware Employee
VMware Employee

It's my blog. Smiley Happy
If you have any questions let me know.

BR,

Spas Kaloferov

hutchxx
Contributor
Contributor

hi, i followed your blog but tried to run it using chrome rest api client but i get this error:

Install self signed certificate in Chrome

The app can't work if the self-signed certificate is not installed in Chrome.

TELL ME MORE

net::ERR_CERT_AUTHORITY_INVALID

If i view the NSX manager website, it shows a Not Secured warning on the website URL, any ideas or can i get the trasnport zone ID with other alternative like powershell?

Reply
0 Kudos
bayupw
Leadership
Leadership

Hi Jorge,

You can get Transport Zone ID of NSX from NSX Manager from ssh console and use command show logical-switch list all

In below example, the ID is vdnscope-1

pastedImage_0.png

If you would like to use PowerShell, you can use PowerCLI+PowerNSX and use cmdlet Get-NsxTransportZone

Working with Logical Switches

Bayu Wibowo | VCIX6-DCV/NV
Author of VMware NSX Cookbook http://bit.ly/NSXCookbook
https://github.com/bayupw/PowerNSX-Scripts
https://nz.linkedin.com/in/bayupw | twitter @bayupw
Reply
0 Kudos
DaleCoghlan
VMware Employee
VMware Employee

You can use PowerNSX to retrieve the transport zone details

PS /Users/dcoghlan/Documents/05-Code-Dev/Github/dcoghlan_powernsx> get-nsxtransportzone                                                                                                             

objectId           : universalvdnscope

objectTypeName     : VdnScope

vsmUuid            : 4201C1AD-CA8C-4D82-4555-3E453879580B

nodeId             : 241c0db4-1141-443b-90b8-dbb6a06f0b76

revision           : 0

type               : type

name               : UniversalTZ

description        :

clientHandle       :

extendedAttributes :

isUniversal        : true

universalRevision  : 0

id                 : universalvdnscope

clusters           : clusters

virtualWireCount   : 11

controlPlaneMode   : UNICAST_MODE

objectId           : vdnscope-1

objectTypeName     : VdnScope

vsmUuid            : 4201C1AD-CA8C-4D82-4555-3E453879580B

nodeId             : 241c0db4-1141-443b-90b8-dbb6a06f0b76

revision           : 0

type               : type

name               : LocalTZ1_a

clientHandle       :

extendedAttributes :

isUniversal        : false

universalRevision  : 0

id                 : vdnscope-1

clusters           : clusters

virtualWireCount   : 4

controlPlaneMode   : UNICAST_MODE

PowerNSX can be found on GitHub

https://github.com/vmware/powernsx/

Reply
0 Kudos