Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[Junos Space] How to create a user on a Junos device using device templates

0

0

Article ID: KB28988 KB Last Updated: 23 Apr 2014Version: 1.0
Summary:

This article provides a procedure for creating a user on a Junos device using device templates on Junos Space.

Symptoms:

A template push with a new user configuration does not work when the class attribute or any other attribute is already defined on a managed device.

Cause:

When Junos Space tries to push a class configuration that is already defined on a device, a template push fails.

Solution:

To create a user on a Junos device, you must define a device-specific value for class on Junos Space.

The procedure below guides you through the steps required to define a device-specific value for class on Junos Space:

  1. Create a comma-separated value (CSV) file.
  2. Create a template definition.
  3. Create a template.
  4. Deploy the template.


1. Create a comma-separated value (CSV) file in the format below. Note that you must include all the attributes already defined on the device.

device,class
< device-1 hostname>,<class to be assigned>
< device-2 hostname>,<class to be assigned>
< device-3 hostname>,<class to be assigned>

A sample CSV can be downloaded from here: Class.csv

2. Create a template definition as outlined below. For more information, see Creating a Template Definition in the Tech Doc.

  • Ensure that the Device Specific field is checked for Class. Click Next.


  • In the Class field, click Device Specific Value. Click Finish.


  • Click Please Select a CSV File.
  • In the Column field, select class.
  • In the Key column field, select device.
  • Click Save.


  • Upload the CSV file that was created: Click Upload.


3. Create a template using this definition. For more information, see Creating a Device Template in the Tech Doc.

4. Deploy the template. For more information, see Deploying a Template in the Tech Doc.

For more information, see Specifying Device-Specific Values in Definitions in the Tech Doc.

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search