Chapter 2
Command-Line Interface
This chapter provides information about the E Series router command-line interface
(CLI).
This chapter contains the following sections:
â– Overview on page 29
â– Platform Considerations on page 48
â– Accessing the CLI on page 48
â– CLI Command Privileges on page 52
â– Using Help on page 63
â– Using Command-Line Editing on page 67
â– Accessing Command Modes on page 69
Overview
The CLI is the interface to the software that you use whenever you access the
router—whether from the console or through a remote network connection. The CLI,
which automatically starts after the router finishes booting, provides commands that
you use to perform various tasks, including configuring the JUNOSe software and
monitoring and troubleshooting the software, network connectivity, and the router
hardware.
Managing your router using the CLI gives you access to thousands of commands.
The router’s CLI uses an industry de facto standard look and feel, which might be
familiar to you. If you are new to this CLI, it is helpful to read this entire chapter,
where you can learn about CLI shortcuts and other helpful information.
Command Modes
Command modes set a context for the CLI. Each command in the CLI is available
from one or more command modes. From some command modes you can only
view router information; from others you can perform configuration tasks. For
example, you can access User Exec mode to display information and then access
Global Configuration mode to set parameters or enable a particular feature. By
recognizing the command-line prompt, you can identify where you are in the CLI at
any given point. When you can easily identify where you are, it is easy to get to
where you want to be.
Overview â– 29