CLI Operational Commands
When you first log into the router and the CLI starts, you are in CLI operational mode. At this level, there are several broad groups of CLI commands:
- Commands for controlling the CLI environment—The commands in the
sethierarchy configure the CLI display screen. For information about these commands, see Control the CLI Environment.- Monitoring and troubleshooting commands—The following commands let you display information and statistics about the software running on the router, such as routing table entries, and test network connectivity. Using these commands is discussed in various places in this manual.
clear—Clear protocol database information.monitor—Perform real-time debugging of various software components, including the routing protocols and interfaces.ping—Determine the reachability of a remote network host.show—Display the configuration currently running on the router, and display information about the system, including interfaces, routing protocols, routing tables, routing policy filters, and the chassis.test—Test the configuration and application of policy filters and AS path regular expressions.traceroute—Trace the route to a remote network host.
- Commands for connecting to other network systems—The
sshcommand allows you to open secure shell connections and thetelnetcommand allows you to open telnet sessions to other hosts on the network. For information about these commands, see Monitor and Perform System Management Functions.- Commands for copying files—The
fileandcopycommands allow you to copy files from one location on the router to another, from the router to a remote system, or from a remote system to the router. For information about these commands, see Monitor and Perform System Management Functions.- Commands for restarting software processes—The commands in the
restarthierarchy allow you to restart the various JUNOS software processes, including the routing protocol, interface, SNMP, and SNMP MIB II processes. For information about these commands, see the JUNOS Internet Software Configuration Guide: Getting Started and the JUNOS Internet Software Configuration Guide: Network Management.- A command—
request—for performing system-level operations, including stopping and rebooting the router and loading JUNOS software images. For information about this command, see Monitor and Perform System Management Functions.- A command—
start—to exit from the CLI and start a UNIX shell. For information about this command, see Monitor and Perform System Management Functions.- A command—
configure—for entering configuration mode, which provides a series of commands that let you configure the JUNOS software, including the routing protocols, interfaces, network management, and user access. For information about the CLI configuration commands, see the JUNOS Internet Software Configuration Guide: Getting Started.- A command—
quit—for exiting from the CLI. For information about this command, see Monitor and Perform System Management Functions.