NOTE: You can find detailed information about command syntax, with parameter
values defined, in the JUNOSe Command Reference Guide.
Using CLI Commands
This section introduces some useful shortcuts and command-related highlights. These
include:
■ Abbreviated Commands on page 33
■ The ? Key on page 33
■ Backspace or Delete on page 34
■ Enter on page 34
■ Tab on page 34
■ Arrow Keys on page 34
■ The no Version on page 35
■ run and do Commands on page 35
■ show Commands on page 37
■ Redirection of show Command Output on page 40
■ Regular Expressions on page 41
■ The - -More- - Prompt on page 43
■ Responding to Prompts on page 46
Abbreviated Commands
Remember, you can abbreviate keywords to save time if you enter at least enough
leading characters to uniquely identify the desired keyword. For example:
host1(config-if)#ip re
This abbreviation is for the command ip redirects. The string ip re is enough
information for the CLI to identify the command you are using. See the section “Using
Help” on page 63 for additional information.
The ? Key
Use the ? key at any time to see all the choices you can enter next. For example:
host1(config)#router ?
bgpConfigure the Border-Gateway Protocol (BGP)
isisConfigure ISO IS-IS
ospfConfigure the Open Shortest Path First protocol (OSPF)
ripConfigure the Routing Information Protocol
host1(config)#router
Overview ■ 33
Chapter 2: Command-Line Interface