Tags help you to label NSX objects so that you can quickly search or filter objects, troubleshoot and trace, and do other related tasks.
- Tag (refers to the tag name. It is required, must be unique and case-sensitive.)
- Scope (optional)
After you save a tag, you cannot update the name and scope. However, you can unassign or remove tags from objects.
For information about the maximum number of tags supported in NSX objects, see the VMware Configuration Maximums tool at https://configmax.vmware.com/home.
- Assign or unassign tags to an object.
- Assign or unassign a single tag to multiple objects simultaneously (supported only for VMs).
- View a list of all tags in the inventory.
- Filter the list of tags by tag name, tag source, and tag scope.
- View a list of objects that are assigned a specific tag.
Use Cases of Tags
Use Case | Description |
---|---|
Manageability |
|
Third-party sharing and context sharing |
|
Security |
|
Troubleshooting (Traceability) |
|
System Tags
System tags are tags that are system-defined, and you cannot add, edit, or delete them.
Objects | System Tags |
---|---|
Logical Switch Node Logical Router Logical Router Uplink Port Static Route DHCP Profile Firewall Section Rule List |
|
NAT Rule |
|
Objects | System Tags |
---|---|
BFD Health Monitoring Profile Transport Zone Uplink Host Switch Profile Transport Node Edge Cluster |
|
Tag Source | System Tags |
---|---|
Amazon |
|
Microsoft Azure |
|
Objects | System Tags |
---|---|
Group |
|
Segment |
|
IP Address Pool IP Address Block |
|
Discovered Tags
NSX can discover and synchronize tags from the following:
- Amazon Web Services
- Microsoft Azure
- Kubernetes container clusters with NSX Container Plugin (NCP)
- Kubernetes container clusters with Antrea network plug-in
- OpenShift container clusters with NCP
Discovered tags are displayed for workload VMs and container cluster objects. You cannot edit discovered tags in the NSX UI.
- Tags that are added to VMs in the public cloud and are automatically discovered by NSX Cloud. When you make changes to the tags in the public cloud, the changes are reflected in NSX. By default, this feature is enabled.
- Tags that are added to container cluster objects in the Kubernetes container clusters with NCP CNI or Antrea CNI, and OpenShift container clusters with NCP CNI.
Tag Prefix | Meaning |
---|---|
dis:aws | Tags discovered from Amazon Web Services (AWS). |
dis:azure | Tags discovered from Microsoft Azure. |
dis:k8s | Tags discovered from Kubernetes container clusters with NCP CNI, Antrea CNI, and OpenShift container clusters with NCP CNI. |
You can enable or disable the discovery of AWS tags at the time of adding the AWS account. Similarly, you can enable or disable Microsoft Azure tags at the time of adding the Microsoft Azure subscription.