Cli Command Modes - Juniper JUNOS OS 10.4 - FOR EX REV 1 Manual

For ex series ethernet switches
Table of Contents

Advertisement

Complete Software Guide for Junos
150
®
OS for EX Series Ethernet Switches, Release 10.4
To complete a command, statement, or option that you have partially typed, press the
Tab key or the Spacebar. If the partially typed letters uniquely identify a command, the
complete command name appears. Otherwise, a beep indicates that you have entered
an ambiguous command and the possible completions are displayed. This completion
feature also applies to other strings, such as filenames, interface names, usernames, and
configuration statements.

CLI Command Modes

The CLI has two modes, operational mode and configuration mode.
In operational mode, you enter commands to monitor and troubleshoot switch hardware
and software and network connectivity. Operational mode is indicated by the
prompt—for example,
user@switch>
In configuration mode, you can define all properties of the Juniper Networks Junos
operating system (Junos OS), including interfaces, VLANs, Virtual Chassis information,
routing protocols, user access, and several system hardware properties.
To enter configuration mode, enter the
user@switch> configure
Configuration mode is indicated by the
the configuration hierarchy—for example:
[edit interfaces ge-0/0/12]
user@switch#
In configuration mode, you are actually viewing and changing the candidate configuration
file. The candidate configuration allows you to make configuration changes without
causing operational changes to the current operating configuration, called the active
configuration. When you commit the changes you added to the candidate configuration,
the system updates the active configuration. Candidate configurations enable you to
alter your configuration without causing potential damage to your current network
operations.
To activate your configuration changes, enter the
To return to operational mode, go to the top of the configuration hierarchy and then
quit—for example:
[edit interfaces ge-0/0/12]
user@switch# top
[edit]
user@switch# exit
You can also activate your configuration changes and exit configuration mode with a
single command,
commit and-quit
or syntax errors in the configuration.
TIP: When you commit the candidate configuration, you can require an explicit
confirmation for the commit to become permanent by using the
.
configure
command: .
prompt, and includes the current location in
#
commit
command.
. This command succeeds only if there are no mistakes
Copyright © 2010, Juniper Networks, Inc.
>
commit

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os 10.4

Table of Contents