Start the CLI
% cli <- Equivalent to enable command of cisco devices.
Go to configuration mode
Set a new root password
# set system root-authentication plain-text-password
Note: Juniper always require local root authentication.
Save the new configuration
Exit to operational mode
# exit configuration-mode
> request system reboot
IOS vs Junos CLI modes
IOS has three main CLI mode
2. Exec mode
3. Configuration mode and its hierarchy (sub-config, interface, etc)
Junos has unix shell and two main CLI modes.
1. Operation mode
2. Configuration mode
When logging into junos as root, you are placed in the unix shell.
– Denoted as user@host%
– ping cd ping trace netstat
Junos CLI operational mode
Used to monitor and troubleshoot device operation
– Denoted as user@host> (Equivalent to ISO user and execmode)
Common Operational Mode Command
– Show, clear, ping, traceroute (Read only commands)
Note: Amnesiac means no configuration.
password: defined pass
Core is unix shell
Junos CLI Configuration mode
Used to make changes to device configuration
– Denoted as user@host# (Equivalent in global config mode in IOS)
Contain hierarchy of all configuration
– System, Interface, protocols, etc.
 – global config
Common Configuration command
– show, edit, up, top, set, delete, copy, rename, commit, rollback
IOS Startup vs running config
IOS has 2 configration:
1. Start-up config – Backup of configuration in NVRAM
2. Running config – Active configuration in RAM
Junos Active vs Candidate configration
– Junos config structure is similar to IOS XR
Note: there is buildin error checks.
1. Commit database for rollback
2. You can use tab and space
> help apropos route
# help tip cli
# help reference ospf area
# help topic interfaces family