You can add tags to objects to make searching easier. When you specify a tag, you can also specify a scope.

NSX Cloud Note: If using NSX Cloud, see How to use NSX-T Data Center Features with the Public Cloud for a list of auto-generated logical entities, supported features, and configurations required for NSX Cloud.
Most objects can have a maximum of 30 tags. For the following objects, the maximum is lower because of tags that are created and used internally.
Table 1. Maximum number of tags for objects created using the Advanced Networking & Security tab
Object Maximum Number of Tags
virtual machine 25
Logical Port 29
Table 2. Maximum number of tags for objects created using the Networking, Security, or Inventory tabs
Object Maximum Number of Tags
Group 29
Segment 27
Segment Port 29
Logical Router Port 30 - number of labels
NAT Rule 27
IPSec VPN Session 29
Table 3. Maximum number of tags for Cloud Service Manager objects
Object Maximum Number of Tags
BFD Health Monitoring Profile, Transport Zone, Uplink Host Switch Profile, Transport Node, Edge Cluster 23
Table 4. Maximum number of tags for Public Cloud Manager objects
Object Maximum Number of Tags
BFD Health Monitoring Profile, Transport Zone, Logical Switch, Node, Transport Node, Edge Cluster, Logical Router, Logical Router Uplink Port, Static Route, DHCP Profile, NSGroup, Firewall Section Rule List 23
NAT Rule 20
IP Set, NSGroup 22

Procedure

  1. From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-address>.
  2. Edit an object.
    For example, go to the Segments tab and edit a segment.
  3. Go the Tags field and add tags.
    Each tag has a tag value, which is required, and a scope value, which is optional. The maximum length of a tag is 256 characters. The maximum length of a scope is 128 characters.
  4. Click Save.