As part of the workflow, the vSphere UI references the Tier-0 gateway name, but NSX-T only modifies the display name when renaming the Tier-0 gateway from the NSX Manager. vCenter is not aware of this change which leads to the display inconsistency.
There are workarounds available for vCenter 7.x and vCenter 8.x as follows.
Workaround 1: Using Developer Tools in a Web Browser
nsx_t0_gateways.tier0gateway and displayName to identify the correct T0 gateway.
Workaround 2: Using dcli Command
dcli com vmware vcenter namespacemanagement networks nsx distributedswitches list
Username: [email protected]
Password: <Enter the password>
|---------|-----------------------------------------------||name |distributed_switch ||---------|-----------------------------------------------||<name> |50 ## 44 ## 19 ## e4 ##-b8 ## a0 ## 74 ## ac ##||---------|-----------------------------------------------|
dcli com vmware vcenter namespacemanagement nsxtier0gateway list --distributed-switch "50 ## 44 ## 19 ## e4 ##-b8 ## a0 ## 74 ## ac ##"
Username: [email protected]Password: **********
|----------------------|--------------------|-----------|-------------|------------|
|path |parent_tier0_gateway|description|tier0_gateway|display_name|
|----------------------|--------------------|-----------|-------------|------------|
|/infra/tier-0s/<Name> | | |<Name> |<Name> |
|----------------------|--------------------|-----------|-------------|------------|