Related Documentation
Uploading Device Tags by Using a CSV File
Device tags help you easily identify managed devices when deploying a device template, upgrading a device image, staging scripts, or applying CLI Configlets to devices. Device tags associate the IP address or hostname of a managed device with a tag.
You upload device tags from the local computer to Junos Space Network Management Platform. You use the Devices workspace to upload device tags by using a CSV file. You can assign the tags created using this task to other Junos Space objects. For more information, refer to Tagging an Object.
![]() | Note: You must create a CSV file with the correct IP address or hostname of a device, tag name, and tag type, which could be private or public. If you do not specify whether the tag is private or public, by default a public tag is created. Tag names must not exceed 255 characters. Tag names must not start with a space, and cannot contain a comma, double quotation marks, and parentheses. Also, you cannot name a tag “Untagged” because it is a reserved term. Entries pertaining to incorrect IP addresses or hostnames are not uploaded to Junos Space Platform. You can view incorrect entries in the job results. |
To upload device tags by using a CSV file:
- On the Junos Space Network Management Platform user interface,
select Devices > Device Management.
The Device Management page that appears displays all devices managed by Junos Space Platform.
- Click the Tag Devices by CSV icon.
The Upload Tags CSV File pop-up window is displayed.
- (Optional) To view a sample CSV file, click the Sample CSV hyperlink.
- Click Browse to select the CSV file from the local computer.
- Click Import.
The details of the devices and tags are uploaded to Junos Space Platform. A Job Information dialog box is displayed.
- Click OK.
You are redirected to the Device Management page.
To view job details:
- Click the job ID in the Job Information dialog box.
You are redirected to the Job Management page with the filtered view of the job.
- Click OK.
When the job is complete, all devices with correct details are assigned the tags you uploaded through the CSV file. To view the tags, go to Administration > Tags.