3. Start the CLI.
root@% cli
4. Enter conguraon mode.
root> configure
5. Add a password to the root administraon user account.
[edit]
root@# set system root-authentication plain-text-password
New password:
password
Retype new password:
password
6. (Oponal) Congure the name of the switch. If the name includes spaces, enclose the name in
quotaon marks (“ ”).
[edit]
root@# set system host-name
host-name
7. Congure the default gateway.
• For standard Junos OS systems:
[edit]
root@# set routing-options static route default next-hop
address
• For Junos OS Evolved systems:
[edit]
root@# set system management-instance
root@# set routing-instances mgmt_junos routing-options static route
prefix/prefix-
length
next-hop
default-gateway-ip-address
8. Congure the IP address and prex length for the switch management interface.
123