Reference Guide

Key CLI features
Consistent
command names
Commands that provide the same type of function have the same name, regardless of the portion of the system
on which they are operating. For example, all show commands display software information and statistics, and all
clear commands erase various types of system information.
Available commands Information about available commands is provided at each level of the CLI command hierarchy. You can enter a
question mark (?) at any level and view a list of the available commands, along with a short description of each
command.
Command
completion
Command completion for command names (keywords) and for command options is available at each level of the
hierarchy. To complete a command or option that you have partially entered, press the Tab key or the Spacebar. If
the partially entered letters being a string that uniquely identies a command, the complete command name
appears. A beep indicates that you have entered an ambiguous command, and the possible completions display.
Completion also applies to other strings, such as lenames, interface names, usernames, and conguration
statements.
CLI command modes
The OS10 CLI has two top-level modes:
EXEC mode — Used to monitor, troubleshoot, check status, and network connectivity.
CONFIGURATION mode — Used to congure network devices.
When you enter CONFIGURATION mode, you are changing the candidate conguration. The candidate conguration enables you to make
conguration changes without causing operational changes to the current operating conguration, called the running conguration.
Changes to the candidate conguration are not added until you commit or save them, which activates the conguration. Candidate
congurations enable you to alter your conguration without causing potential damage to your current network operations.
CLI command hierarchy
CLI commands are organized in a hierarchy. Commands that perform a similar function are grouped together under the same level of
hierarchy. For example, all commands that display information about the system and the system software are grouped under the show
system
command, and all commands that display information about the routing table are grouped under the show route-map
command.
CLI command categories
There are several broad groups of CLI commands available:
set
Controls the CLI environment and congure the CLI screen.
ssh Connects to other network systems or to open secure shell connections.
copy Copies les from one location on a device to another, from a device to a remote system, or from a remote system
to a device.
congure Enters CONFIGURATION mode to congure routing protocols, interfaces, network management, and user access.
exit Moves up one command mode. Use the end command to go directly to EXEC mode.
26 Getting Started