Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Managing Hierarchical Tags

 

Hierarchical tags consist of multiple levels of tags within a single tag. You can use hierarchical tags to classify objects managed by Junos Space Network Management Platform into categories and subcategories. Hierarchical tagging uses other tags to classify a tag. The hierarchy allows you to drill down to the specific objects in Junos Space Network Management Platform very easily.

A hierarchical tag contains parent and child tags. For example, if you have an existing tag named West Coast and you create another tag within this tag named California, then the West Coast tag is the parent tag and the California tag is the child tag.

Note

Only public tags can be hierarchical. That is, you can create a public tag within another public tag.

You can view, create, update, and delete hierarchical tags on the Devices > Device Management inventory page and Jobs > Job Management inventory page. For more information about creating, modifying, and deleting tags, see Using the Shortcut Menu. This topic contains information about working with tags on the Device Management page. You can extend this information to the Job Management page.

The Devices > Device Management inventory page displays all devices on the network that are accessible to you and that are managed by Junos Space Network Management Platform. To filter devices on the basis of tags:

  1. Click the Display Tag View icon on the toolbar.

    The Tag Hierarchy pane appears, which displays a tree view of all tags (public and private tags) that are relevant to the inventory landing page that you are currently on.

    You can view, create, update, and delete tags on this pane.

  2. Mouse over a tag to view the number of objects assigned to a public or private tag.

    The Tag Hierarchy pane also displays the Untagged category, which lists the number of devices that are not tagged.

  3. Select a public or private tag on the tag hierarchy tree to filter devices that are assigned the selected tag. The devices tagged assigned with this specific tag appear in a tabular view (also called Tabular View Pane).

    If you click Untagged, the devices that are untagged are displayed.

Using the Tag Hierarchy Pane

The Tag Hierarchy pane displays all tags organized hierarchically in a tree view. You can view, create, update, and delete tags in this pane.

To display the Tag Hierarchy pane, click the Display Tag View icon on the Devices > Devices Management inventory page.

Using the Tag Action Bar

You can use the Tag Action bar to add a tag or delete an existing tag in the tag hierarchy tree. The Tag Action bar has two buttons—the plus [+] button and the minus [–] button. You can click the plus [+] button to add a child tag and the minus [–] button to delete a tag in the tag hierarchy tree.

Note

Only public tags can be hierarchical. That is, you can create a public tag within another public tag.

To add a public or private tag:

  1. Select the Public or Private category depending on the type of tag that you want to add.
  2. Click the Add Tag (plus [+] button) on the Tag Action bar. This option is disabled if you do not have the necessary permissions.

    The Create Tag dialog box appears.

  3. Type a new tag name in the Tag Name field.

    You can enter an alphanumeric string for the tag name. The tag name can also contain underscores, hyphens, and spaces. However, a tag name should not:

    • Exceed 255 characters

    • Start with a space

    • Contain special characters, such as commas, double quotation marks, and parentheses

    Note

    “Untagged” is a reserved term and hence you cannot create a tag with this name.

  4. Select the Make Public check box.

    If you do not select this check box, then a private tag is created.

  5. Click the Add Tag button.

    A new tag is added to the tag hierarchy.

To delete a tag:

  1. Select the tag you want to delete from the tag hierarchy tree.
  2. Click the Delete Tag (minus [] button) on the Tag Action bar. This option is disabled if you do not have the necessary permissions.

    A confirmation dialog box appears.

    Note

    If you are deleting a child tag and you want to remove the child tag completely from Junos Space Network Management Platform, select the Also delete <tag-name> tags check box on the confirmation dialog box. If this check box is not selected and if the selected tag appears in multiple locations, then it is deleted from the current location only.

    Caution

    If you have assigned this tag to any object, then the object-tag association is lost when you click Yes on the confirmation dialog box.

  3. Click Yes to delete the tag.Note

    The tag is deleted and any object-tag association is lost. However, you can click No on the confirmation dialog box to prevent this and the tag is not deleted.

Using the Shortcut Menu

When you right-click a tag in the tag hierarchy tree, a shortcut menu appears.

This menu displays the Add Tag, Remove Tag, and Modify Tag options. Use the Add Tag option to add a new child tag in case of a public tag or to add a new private tag. Use Modify Tag and Remove Tag options to modify and delete a tag, respectively.

Note

Only public tags can be hierarchical. That is, you can create a public tag within another public tag.

To add a child tag by using the shortcut menu:

  1. Right-click a public tag in the tag hierarchy tree for which you want to add a child tag.

    The shortcut menu appears.

  2. Click the Add Tag option on the shortcut menu. This option is disabled if you do not have the necessary permissions.

    The Create Tag dialog box appears.

  3. Type a new tag name in the field.

    You can enter an alphanumeric string for the tag name. The tag name can also contain underscores, hyphens, and spaces. However, a tag name should not:

    • Exceed 255 characters

    • Start with a space

    • Contain special characters, such as commas, double quotation marks, and parentheses

    Note

    “Untagged” is a reserved term and hence you cannot create a tag with this name.

  4. Click the Add Tag button.

    A new child tag is added to the tag hierarchy.

To modify a tag by using the shortcut menu:

  1. Select the tag you want to modify from the tag hierarchy tree.
  2. Click the Modify Tag option on the shortcut menu. This option is disabled if you do not have the necessary permissions.

    The Edit Tag Name or Description dialog box appears.

  3. Edit the tag name or the description, as needed.
  4. Click Modify Tag to modify the tag.Note

    If you have assigned this tag to any object, then those objects are associated with the modified tag.

To delete a tag by using the shortcut menu:

  1. Select the tag you want to delete in the tag hierarchy tree.
  2. Click the Delete Tag option on the shortcut menu. This option is disabled if you do not have the necessary permissions.

    A confirmation dialog box appears.

    Note

    If you are deleting a child tag and you want to remove the child tag completely from Junos Space Network Management Platform, select the Also delete <tag-name> tags check box on the confirmation dialog box. If this check box is not selected and if the selected tag appears in multiple locations, then it is deleted from the current location only.

    Caution

    If you have assigned this tag to any object, then the object-tag association is lost when you click Yes on the confirmation dialog box.

  3. Click Yes to delete the tag.Note

    The tag is deleted and any object-tag association is lost. However, you can click No on the confirmation dialog box to prevent this and the tag is not deleted.

Using Drag-and-Drop

You can drag a public tag from one location and drop it in another location to manipulate the tag hierarchy. When you drag and drop a tag from one location to another, the corresponding tagged objects are not affected. For example, if the tag is associated with five devices, then it remains associated with the same five devices after you drag and drop the tag from one location to another.

When you try to drag a public tag from one location to another, you can either move the tag from the current location to another location or copy the tag. The copy operation is used to make an identical copy of the tag in the new location, whereas the move operation is used to move the tag from the current location to a new location.

Note

You can move tags only within the public tags hierarchy. If you do not have permissions to create or delete tags, you cannot move tags.

Using the Quick Info Tool Tip

The Quick Info tool tip provides quick and immediate statistics about a tag. You can place the cursor over a tag name or a tag icon in the tag hierarchy tree to see a quick summary of its tagged objects.

To view the tool tip for a tag:

  1. Select a particular tag in the tag hierarchy tree.
  2. Place the cursor over the tag icon or the tag name.

    Brief statistics about the tagged objects appear.

Browsing Tagged Objects

When you browse the tag hierarchy tree and select a tag, the corresponding tagged objects appear in the Tabular View pane. When you select the root node in the tag hierarchy tree, all tagged objects appear in the Tabular View pane without any filtering.

You can click the [X] icon in the Tabular View pane to clear tag filtering. When you clear tag filtering, the root node in the tag hierarchy tree is automatically selected and all tagged objects appear in the Tabular View pane.

Viewing All Tags

By default, the tag hierarchy tree displays tags relevant to the Device Management inventory page only. In this mode, only those tags appear that are either empty or a tag that has at least one object on the inventory page. This is because Show Relevant Tags is selected by default on the Tags list located at the top of the Tag Hierarchy pane.

To view all public tags:

  1. Navigate to the Tags toolbar at the top of the Tag Hierarchy pane.
  2. Select the Show All Tags option from the Tags list.

    All public tags appear in the Tabular View pane on the right.

Adding a Child Tag

You can use either the Tag Action bar or the shortcut menu to add a child tag to the tag hierarchy tree. To add a child tag by using the Tag Action bar, see Using the Tag Action Bar. To add a child tag by using the shortcut menu, see Using the Shortcut Menu.

Deleting a Tag

You can use either the Tag Action bar or the shortcut menu to delete a tag from the tag hierarchy tree. To delete a tag by using the Tag Action bar, see Using the Tag Action Bar. To delete a tag by using the shortcut menu, see Using the Shortcut Menu.

Using Notification

When multiple Junos Space Network Management Platform users view the same tag view on the Device Management inventory page, any change a user makes is immediately updated in the other tag views. Changes include creating, updating, and deleting tags in the Tag View pane, and tagging objects in the Tabular View pane.

Using the Tabular View Pane

The Tabular View pane displays all managed objects as rows in a table. When you select a particular tag in the tag hierarchy tree, its corresponding tagged objects are displayed in this pane.

In this view, you can tag objects and also search for objects tagged with a particular tag.

Tagging an object by using a hierarchical tag in the Tabular View pane is similar to tagging an object using a nonhierarchical tag on any application workspace manage inventory page. For information about how to tag an object, see Tagging an Object.

To search for specific tagged objects:

  1. Navigate to the Device Management page.
  2. Select a tag in the search box.

    The tag hierarchy tree navigates to the selected tag, and the Tabular View pane displays the objects that are tagged with that particular tag only.

Related Documentation