This Way to the Exit

Most people remember to log out when they complete their work, but even when you walk away from your desk for just a few moments, make it a habit to log out to prevent others from accessing the device.

You can log out with this simple operational mode command:

wiley@netnik> exit

If you're in configuration mode, use the exit or quit commands to return to operational mode first. If you're not at the top level of the configuration, use one of the following command sequences to get there:

[edit protocols bgp group isp-group]
wiley@netnik# top
[edit]
wiley@netnik# exit
Exiting configuration mode
wiley@netnik>

or

[edit protocols bgp group isp-group]
wiley@netnik# exit configuration-mode
Exiting configuration mode
wiley@netnik>

When you're ready to learn more about how to set up the basics of your device, head to Chapter 5 for the next steps.

Power Tools

You find lots of help tools intuitively integrated into the Junos CLI. For example, this chapter introduces help, show | compare, command completion, commit check, and rollback. Other powerful tools that you'll find particularly helpful when setting up your configuration include the following list.

  • Syntax checking: Checks for small errors as you're typing at the command-line. The CLI immediately lets you know if an entered line doesn't conform to valid syntax and offers tips for correcting it.
  • Annotations: Use annotate followed by your notes when you want to leave comments for other team members. ...

Get Junos® OS For Dummies®, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.