Overview of Junos CLI Operational Mode Commands

When you log in to a device running Junos OS and the CLI starts, there are several broad groups of CLI commands:

• Commands for controlling the CLI environment—Some set commands in the set hierarchy configure the CLI display screen.

• Commands for monitoring and troubleshooting—The following commands display information and statistics about the software and test network connectivity. Detailed command descriptions are provided in the Junos OS Interfaces Command Reference.

• clear—Clear statistics and protocol database information.

• mtrace—Trace mtrace packets from source to receiver.

• 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 current configuration and information about interfaces, routing protocols, routing tables, routing policy filters, system alarms, and the chassis.

• test—Test the configuration and application of policy filters and autonomous system (AS) path regular expressions.

• Traceroute—Trace the route to a remote network host.

Commands for connecting to other network systems—The ssh command opens Secure Shell connections, and the telnet command opens telnet sessions to other hosts on the network. For information about these commands, see the Junos OS System Basics and Services Command Reference.

• Commands for copying files—The copy command copies files from one location on the router or switch to another, from the router or switch to a remote system, or from a remote system to the router or switch. For information about these commands, see the Junos OS System Basics and Services Command Reference.

• Commands for restarting software processes—The commands in the restart hierarchy restart the various Junos OS processes, including the routing protocol, interface, and SNMP. For information about these commands, see the Junos OS System Basics and
Services Command Reference.

• A command—request—for performing system-level operations, including stopping and rebooting the router or switch and loading Junos OS images. For information about this command, see the Junos OS System Basics and Services Command Reference.

• A command—start—to exit the CLI and start a UNIX shell. For information about this command, see the Junos OS System Basics and Services Command Reference.

• A command—configure—for entering configuration mode, which provides a series of commands that configure Junos OS, including the routing protocols, interfaces, network management, and user access.

• A command—quit—to exit the CLI. For information about this command, see the Junos OS System Basics and Services Command.