The configuration management server must log in to each routing running the JUNOS software when establishing a NETCONF session. Thus, each configuration management server needs a user account on each router where it will establish a NETCONF session. The following instructions explain how to create a JUNOS login account for the configuration management server. Alternatively, you can skip this section and enable authentication through RADIUS or TACACS+; for instructions, see the chapter about system authentication in the JUNOS System Basics Configuration Guide.
To determine if a JUNOS login account exists, enter JUNOS command-line interface (CLI) configuration mode on the router you wish to check, and issue the following commands:
- [edit]
- user@host# edit system login
-
- [edit system login]
- user@host# show user account-name
If the appropriate account does not exist, perform the following steps:
- [edit system login]
- user@host# set user account-name class class-name
- [edit system login]
- user@host# commit