NOTE: Within any configuration mode, the commands that are available to the user
include the commands defined for that configuration mode and all commands defined
for Global Configuration mode. See Figure 21 on page 30. For example, from Router
Configuration mode, you could use the interface Global Configuration mode command
without first explicitly going back to Global Configuration mode.
host1(router-config)# interface atm 4/0.3
host1(config-if)#
Exec Modes
There are two Exec modes: User Exec and Privileged Exec.
After you log in to the system, the CLI is in User Exec mode. By default, the commands
you can execute from User Exec mode provide only user-level access; however, you
should password protect it to prevent unauthorized use. The User Exec commands
allow you to perform such functions as:
■ Change terminal settings on a temporary basis.
■ Perform ping and trace commands.
■ Display system information.
host1>?
clear Clear system information
default Set a command to its default(s)
dir Display a list of local files
disable Reduce the command privilege level
enable Enable access to privileged commands
erase Erase configuration settings
exit Exit from the current command mode
flash-disk Perform flash disk operations
help Describe the interactive help system
ip Configure IP attributes on an interface
ipv6 Configure IPv6 attributes
l2tp L2TP operations
macro Run a CLI macro
mpls Execute MPLS commands
mtrace Trace the path that packets will traverse from source to
destination for a given group
no Negate a command or set its default(s)
ping Send echo request to remote host
show Display system information
sleep Make the Command Interface pause for a specified duration
terminal Configure the terminal line settings
test Test the outcome of a command
traceroute Trace the path that packets traverse to their destination
Privileged Exec mode provides privileged-level access and therefore should also be
password protected to prevent unauthorized use. Privileged Exec commands allow
you to perform such functions as:
■ Display system information.
86 ■ Accessing Command Modes
JUNOSe 11.1.x System Basics Configuration Guide