New Training: Navigate the Junos CLI
In this 7-video skill, CBT Nuggets trainer Knox Hutchinson explains the basics of how to navigate a Junos CLI and configuration hierarchy Watch this new Juniper training.
Learn Juniper with one of these courses:
This training includes:
- 7 videos
- 51 minutes of training
You’ll learn these topics in this skill:
- Navigating the Junos CLI
- Navigating FreeBSD
- Navigating Junos Operational Mode
- Navigating Configuration (or Edit) Mode
- The Help Command
- Filtering and Altering Output with |
- Summarizing How to Navigate the Junos CLI
What is Junos CLI?
Junos CLI is a command-line interface where you can execute Junos OS-specific commands. Running on top of the FreeBSD operating system, Junos CLI allows you to both configure and monitor your Juniper devices.
To run Junos CLI, you must first log into your device as root. On new devices, no password is necessary for the root account. Though, after you have committed a configuration, you must set a password. Also keep in mind that you cannot access root over telnet.
Once you've logged in as root, you can start Junos CLI by entering "cli", and you can get help for it by entering "?". Initially, you will be in operational mode. To switch to configuration mode, enter "configure". In this mode, the prompt will change from a ">" to a "#". You can exit configuration mode by entering "commit and-quit" if you want to commit a configuration, and "exit" to exit without committing.