Device Login and Initial Configuration
This topic provides essential information to help you get started with the SRX400 firewall series. It guides you through the initial setup tasks required to bring the firewall online and ready for configuration using the Junos OS Evolved CLI.
Physical Setup Before Initial Configuration
Getting started with SRX400 firewall series configurations begins with initial setup using Junos OS Evolved CLI, after physical installation.
Before performing initial software configuration:
Unpack and rack-mount the SRX400 firewall series using the provided brackets and rails.
Ground the chassis with a 14 AWG grounding cable to an earth ground point, such as the rack in which you mount the firewall.
Connect power supplies (AC or DC) and cables to external devices, ensuring proper routing to avoid hazards.
Power on the device and verify startup.
Perform Initial Software Configuration
After you've physically installed the SRX400 firewall series, use HPE Networking Security Director Cloud with a valid license (HPE Networking Security Director Cloud Licensing Lifecycle and Software Licenses for Security Director), J-Web, or the Junos OS Evolved CLI to perform the initial software configuration.
Perform the initial software configuration using any of these methods:
-
HPE Networking Security Director Cloud: You can onboard the cloud-ready SRX400 firewall series to HPE Networking Security Director Cloud (SD Cloud) portal by scanning the device QR code with your mobile phone. The device is then automatically provisioned using secure zero-touch provisioning (SZTP). For more information, see Onboard Greenfield SRX Series Firewalls to Juniper Security Director Cloud Using QR Code.
-
J-Web: Connect the management (MGMT) port (re0:mgmt-0) on your device with a management interface IP (typically 192.168.1.1) for initial access. Use the Setup Wizard in standalone mode to configure the key settings like root password, hostname, management interface, zones, DNS, and gateways. Follow the instructions in Access the J-Web User Interface to how to start and access the J-Web user interface to configure your device.
-
Junos OS Evolved CLI: Connect through the console. Log in as
root(default has no password on factory-default devices) and start the CLI with theclicommands.For example:
Exit shell mode: If in shell (
bashor Unix shell), typeclito return to operational CLI mode (prompt:root@srx400>). Enter configuration mode:configure #This enters configuration mode (prompt: root@srx400#) set system root-authentication plain-text-password set interfaces re0:mgmt-0 unit 0 family inet address <Interface address/destination prefix> set routing-options static route 0.0.0.0/0 next-hop <gateway>
Initial Software Configuration Using Junos OS Evolved CLI
To perform initial software configuration on the SRX400 firewall series:
Connect a management device to the serial console port as described in Perform Initial Software Configuration.
Power on the device and wait for it to boot. The software boots automatically. When the boot process is complete, you'll see the login: prompt on the console.
login:Log in as the root user and start the CLI.
login: rootInitially, you won't need a password for the root user account. The device prompt
root@%indicates that you are the root user.root@% cliroot@>configureroot@> configure[edit]root@#Set root password and management interface and commit from the CLI. This secures the root account and enables remote access.
configure set system root-authentication plain-text-password [Enter new password twice] set interfaces re0:mgmt-0 unit 0 family inet address address/prefix-length commit
Learn how to Protect Network Security by Configuring the Root Password.
If you need to revert the device to its original factory‑default state:
load factory-defaultcommitConfigure remote access.
Remote management access to the device and all management access protocols such as Telnet and FTP are disabled by default.
Enable SSH service.
Configure root authentication and optionally enable SSH root login during initial setup.
Note: Factory-default setup allows initial root login through console (no password required)[edit] set system services ssh
Create a new user (for example, admin user with super-user privileges).
In Junos OS Evolved, the root user cannot log in through SSH by default. To explicitly allow it, you must enable root login over SSH using the
set system services ssh root-login allowcommand.After a separate user account has been created, this setting can be safely removed.
set system root-authentication plain-text-password set system login user <username> class super-user authentication plain-text-password set system services ssh root-login allow # Optional: Enable SSH for root commit
Disable root login through SSH. After you confirm, the new admin user can SSH in:
delete system services ssh root-login commit [edit] delete system services ssh root-login [edit system services ssh] show # (root-login statement is now gone)
Configure the IP address and prefix length for the management interface (re0:mgmt-0).
set interfaces re0:mgmt-0 unit 0 family inet address <Interface address/destination prefix>After assigning the address, configure a default route for out‑of‑band management:
[See SRX400 Firewall Hardware Guide and SRX440 Firewall Hardware Guide for instructions on how to connect to the management port.]set routing-options static route 0.0.0.0/0 next-hop <gateway>commit