5 Replies Latest reply on Apr 6, 2017 6:33 AM by DaleCoghlan

    Ho to get Transport Zone UUID?

    alexnowe Lurker

      Hi,

       

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

       

      Regards

        • 1. Re: Ho to get Transport Zone UUID?
          AnthonyM 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.

          • 2. Re: Ho to get Transport Zone UUID?
            SpasKaloferov Enthusiast
            vExpertVMware Employees

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

             

            BR,

            Spas Kaloferov

            • 3. Re: Ho to get Transport Zone UUID?
              hutchxx Lurker

              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?

              • 4. Re: Ho to get Transport Zone UUID?
                Bayu Wibowo Master
                User ModeratorsCommunity Warriors

                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

                 

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

                Working with Logical Switches

                Bayu Wibowo | vExpert NSX, VCIX6-DCV/NV, Cisco Champion, AWS-SAA
                Author of VMware NSX Cookbook http://bit.ly/NSXCookbook
                https://nz.linkedin.com/in/bayupw | twitter @bayupw
                • 5. Re: Ho to get Transport Zone UUID?
                  DaleCoghlan Enthusiast
                  VMware Employees

                  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/