Professional Documents
Culture Documents
Junos CLI Quick Command
Junos CLI Quick Command
Action
Command
Terminal type
Screen length
Set the screen length. Setting the screen length to 0 lines disables
the display of output one screen at a time.
Screen width
CLI prompt
show cli
Idle timeout
Command history
Configuration
Lines in output
| count
Help
Action
Keyboard Sequence
Ctrl-b
Esc-b or Alt-b
Ctrl-f
Esc-f or Alt-f
Ctrl-a
Ctrl-e
Ctrl-d
Delete all characters from the cursor to the end of the command line.
Ctrl-k
Ctrl-u or Ctrl-x
Ctrl-w, Esc-Backspace,
or Alt-Backspace
Delete characters
Esc-d or Alt-d
Ctrl-y
Ctrl-l
Display previous
command lines
Ctrl-p
Ctrl-n
Ctrl-r
Search the CLI history for words for which the current word is a prefix.
Esc-/ or Alt-/
Insert recently
deleted text
Repeat keyboard
sequences
CLI
Action
Keyboard Sequence
Scroll Down
Scroll Up
Search
Match
Interrupt Output
Space or Ctrl-f
Ctrl-e or G
N (or | no-more)
u or Ctrl-u
b or Ctrl-b
Ctrl-a or g
/string
?string
Find a text string. You are prompted for the string to match.
Find, ignoring a text string. You are prompted for the string to not match.
Ctrl-C, q, Q, or Ctrl-k
Hold the CLI at the More prompt after displaying all output.
c or C
Ctrl-l
Save the command output to a file. You are prompted for a filename.
Command Completion
Command completion for command names (keywords) and for command options is available at each level of
the hierarchy. If you type a partial command name followed immediately by a question mark (with no
intervening space), you see a list of commands that match the partial name you typed. To complete a
command or option, type a partial command, then press Tab or the spacebar.
Software version
show version
Router up time
Current time and how long the router has been operational.
Configuration
show configuration
test configuration
Command
show log
monitor
Statistics about amount of free disk space in the routers file systems.
show task
show host
ARP table
show arp
clear arp
System software
Command
restart
file copy
file list
file show
file rename
file delete
Create a shell
start
Systemwide messages
request message
Manipulate files
show interfaces
Hardware inventory.
show route
IS-IS
Adjacent routers.
OSPF
Adjacent routers.
BGP
MPLS
w w w. j u n i p e r. n e t
For support issues, contact the Juniper Networks Technical Assistance Center (JTAC) at 1-888-314-JTAC
(within the United States) or 408-745-2121 (from outside the United States). For other contact
information, refer to www.juniper.net/contactus.html.
Chassis
RSVP
Juniper Networks is a registered trademark of Juniper Networks, Inc. Internet Processor, Internet Processor II, JUNOS, JUNOScript, M5, M10, M20, M40, and
M160 are trademarks of Juniper Networks, Inc. All other trademarks, service marks, registered trademarks, or registered service marks may be the property of
their respective owners. All specifications are subject to change without notice. Copyright 2001, Juniper Networks, Inc. All rights reserved. Printed in USA.