What is a CLI

Command-line interface.

The interface you use to configure Cisco devices.

How to connect to a Cisco device ?

Via the Console Port.

Rollover cable

A cable RJ-45 to DB9 is used to connect to the console port.

Putty

Is used to connect to the CLI.

Configuration of Serial

  • Speed (baud): 9600

  • Data bits: 8

  • Stop bit: 1

  • Parity: None

  • Flow control: None

Modes

User EXEC

Router>
Router - hostname of the device
> - user EXEC mode

User EXEC mode is very limited.

Users can look at some things, but can't make any changes to the configurations.

Also called 'user mode'

Privileged EXEC

Router> enable
Router#

Router - hostname of the device
# - privileged EXEC mode

A user can enter Privileged EXEC by typing enable.

Provides complete access to view the device's configurations, restart the device, etc.

Cannot change the configurations but can change the time on the device, save the configuration file, etc.

Last updated