3.1.6.10. Tags
In this section, we can manage all the TAGs that are associated with user devices and network devices. Tags are useful to get more information about the different devices, apply filters, et.
There are two types of TAGS that can be used:
Tags of Network Devices: Tags that are associated to Network devices.
Tags of User Devices: Tags that are associated to User Devices.

3.1.6.10.1. Tags of Network Devices

As we have described, Tags are one of the key OpenNAC Enterprise components that allow us to enrich product capabilities and provide more flexibility.
To create a new network device tag, click on the Add new button.
The tags includes parts that must be filled up:

Name: Assign a name for the Tags. Remember that there is a recommended prefix standard for naming. Consult the Tags table for reference.
Description: Define a description to easily identify the Tags.
TTL: This parameter enables the definition of a Time to Live. Each tag has a TTL that specifies the number of minutes it remains valid, as tags can be dynamic. Setting the TTL to 0 means the tags never expire or refresh their values. The default TTL is 43200 minutes (30 days).
Example
For instance, if you have to create a group of authorized MAC Addresses for MAB connections it is mandatory to assign a tag to each MAC Address with the TTL set to 0 (TTL=0). This ensures that the tags are permanently assigned to the devices using those MAC addresses for authentication, and they will never be deleted.
3.1.6.10.2. Tags of User Devices
In this section, we find the tags related to user devices.

To create a new network device tag, click on the Add new button.
The window displays the following fields that must be filled up:

Name: Assign a name for the Tags. Remember that there is a recommended prefix standard for naming. Consult the Tags table for reference.
Description: Define a description to easily identify the Tags.
TTL: This parameter enables the definition of a Time to Live. Each tag has a TTL that specifies the number of minutes it remains valid, as tags can be dynamic. Setting the TTL to 0 means the tags never expire or refresh their values. The default TTL is 43200 minutes (30 days).
You can obtain a Tag report of User Devices/Network Devices by right-clicking on any tag in the ON CMDB > User devices/Network Devices view and selecting “Create tag report”:

To view the report, navigate to Status > CMDB Exports. You can download the tag report in JSON or CSV format. The report lists the devices associated with the selected tag.
3.1.6.10.3. Tags Configuration
The Tag feature is a key capability because it is widely applied throughout several sections of the Administration Portal.
You can define different Tag families by configuring a prefix and associating it with the device to which it will be applied (user or network device).

To add a new family, click on the Add new button. A pop-up window will be displayed where you can choose a new name (tag prefix), the type (to apply it to user or network devices) and define the TTL.

You can also redefine Tags’ default TTL. The default value is set to 43200 minutes (30 days). This value defines the lifetime associated with the tags. If the tag includes a TTL of 0, this means the tag will never go out of date or refresh its values.

For information about OpenNAC Enterprise Tags prefixes and their meaning, refer to the Tags Table section.