Users Guide

Table Of Contents
CLI Basics
The OS10 CLI is the software interface you use to access a device running the software — from the console or through a network
connection. The CLI is an OS10-specic command shell that runs on top of a Linux-based OS kernel. By leveraging industry-standard tools
and utilities, the CLI provides a powerful set of commands that you can use to monitor and congure devices running OS10.
User accounts
OS10 denes two categories of user accounts:
To log in to the CLI, use admin for the user name and password.
To log in to the Linux shell, use linuxadmin for the user name and password.
NOTE: You cannot delete the default linuxadmin user name. You can delete the default admin user name only if at least one
OS10 user with the sysadmin role is congured.
For example, to access the OS10 CLI using an SSH connection:
1 Open an SSH session using the IP address of the device. You can also use PuTTY or a similar tool to access the device remotely.
ssh admin@ip-address
password: admin
2 Enter admin for both the default user name and password to log into OS10. You are automatically placed in EXEC mode.
OS10#
For example, to access the Linux shell using an SSH connection, enter linuxadmin as the user name and password:
ssh linuxadmin@management-ip-address
password: linuxadmin
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, click the Tab key or the Spacebar. If
the partially entered letters are 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 interface names and conguration statements.
CLI command modes
The OS10 CLI has two top-level modes:
EXEC mode — Monitor, troubleshoot, check status, and network connectivity.
CONFIGURATION mode — Congure network devices.
When you enter CONFIGURATION mode, you are changing the current operating conguration, called the running conguration. By
default, all conguration changes are automatically saved to the running conguration.
3
52 CLI Basics