Module 1 - JUNOS Software CLI Review
Module 1 - JUNOS Software CLI Review
route
version
Copyright © 2006, Juniper Networks, Inc.
Editing Command Lines
EMACS-style editing sequences are supported
Keyboard Ctrl-b
sequence lab@omaha> show interfaces
Ctrl-a
lab@omaha> show interfaces
Cursor position
Ctrl-f
lab@omaha> show interfaces
Ctrl-e
lab@omaha> show interfaces
Configuration mode
– Configure the router, including interfaces, general routing
information, routing protocols, user access, and system
hardware properties
[edit]
lab@host# The # character identifies
configuration mode
You can use wildcards to identify names and allow one statement to provide
data for a variety of statements. For example, grouping the configuration
of the sonet-options statement over all SONET/SDH interfaces or the dead
interval for Open Shortest Path First (OSPF) over all Asynchronous
. . .
Syntax
apply-groups [ group-names ];
Hierarchy Level
Release Information
Description
You can specify more than one group name. You must list them in order of
inheritance priority. The configuration data in the first group takes
. . .
– Use quotes and the pipe (|) character to evoke a logical OR:
show log messages | match "fpc | sfm | kernel | panic”
show log messages | match "-0|-1|-2|-3|-4"
top
Less Specific
chassis firewall interfaces protocols system etc.
[edit]
user@host# edit chassis alarm ethernet
[edit chassis alarm ethernet]
user@host#
top
top
top
chassis firewall interfaces protocols system etc.
up
atm e3 ethernet sonet t3
[edit chassis alarm sonet] Note that the final argument (red) is
lab@host# show not specified in the delete statement
los red;
commit
Candidate Active
Configuration Configuration
0
rollback n
1 2 ... 49
[edit]
user@host# commit at 20:01:00
configuration check succeeds
commit at will be executed at 2003-08-08 20:01:00 UTC
The configuration has been changed but not committed
– Comments can be added
Exiting configuration modeto the commits log with the comment
switch (Release 6.1)
exit configuration-mode
Operational exit
Mode
top
exit/up
edit/configure [edit]
exit/up
[edit chassis]
edit chassis
Lab Objective: