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

SRX Getting Started - Login



Article ID: KB16580 KB Last Updated: 23 Mar 2020Version: 5.0

This article describes login scenarios for root and non-root users.

For other topics, go to the SRX Getting Started main page.

  • Logging in for the first time

  • Logging in as non-root users

  • Logging in as root users


Logging In for the First Time

After installing the SRX Series device, log in as the root user. There is initially no password for the root user. After you initially log in as root, the shell prompt (%) appears. Enter cli at the prompt to start the CLI and enter operational mode. The operational mode prompt is the right angle bracket (>).

To log in for the first time:
Amnesiac (ttyd0)

login: root
  1. At the login prompt, log in as root.
  2. At the shell prompt, enter cli.

root@% cli

The CLI is started in operational mode.


There is initially no password for the root user, it is required that you set a password for the root user so that you can log in as superuser and gain root-level access to the device and commit the configuration changes that you make.  If the root password is not set, you will not be able to commit any configurations.  For more information, see Configuring the Root Password.

Logging In as Non-Root Users

Non-root users automatically enter the CLI operational mode after logging in to the SRX Series device.

At the login prompt, enter the username (in this example, user) and the password (does not appear when typing).

Amnesiac (ttyu0)

login: user

--- JUNOS 17.3R1.10 built 2017-08-23 06:40:27 UTC

The prompt changes to username@host>, where username is the name of the user logged in, and host is the hostname for the device.

Logging in as the Root User

After logging in, the root user must start the CLI from the shell.

To log in as root user:
  1. At the login prompt, enter root.

  2. Amnesiac (ttyu0)

    login: root

    --- JUNOS 17.3R1.10 built 2017-08-23 06:40:27 UTC
  3. At the prompt, enter cli.

root% cli

The CLI is started in operational mode.


Note: After logging out of the CLI, be sure to exit the shell so that no unauthorized users can access the device.


Modification History:

2020-03-20: Article reviewed for accuracy; no changes required.

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