For a freshly deployed NSX-T environment, you will find 2 default transport zones created:
- nsx-overlay-transportzone
- nsx-vlan-transportzone
These are system created TZ’s and thus they are marked as default.
You can consume these TZ’s or can create a new one as per your infrastructure. Default TZ’s can’t be deleted.
Any newly created transport zone doesn’t shows up as default. Also when creating a new TZ via UI, we don’t get any option to enable this flag. As of now this is possible only via API.
Creating a new Transport Zone with the “is_default” flag to true will work as intended, and the “is_default” flag will be removed from the system created TZ and the newly created TZ will be marked as the default one.
Note: We can modify a TZ and mark it as default post creation as well.
Let’s have a look at properties of system created transport zone.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
Method: GET URL: https://{{nsxmgr}}/api/v1/transport-zones Authorization: Basic admin/<NSX-T Password> Content-Type: application/json Response Output: { "transport_type":"OVERLAY", "host_switch_name":"nsxHostSwitch", "host_switch_id":"bf441324-356a-4d5c-9740-cd1baefced05", "host_switch_mode":"STANDARD", "nested_nsx":false, "is_default":true, "resource_type":"TransportZone", "id":"1b3a2f36-bfd1-443e-a0f6-4de01abc963e", "display_name":"nsx-overlay-transportzone" } |
To set a manually created TZ as default, we have to remove “is_default” flag from the system created TZ and then create a new TZ or modify existing TZ with this flag.… Read More