Intro_to_CLI
Intro_to_CLI
- A "Command-line Interface"
- Console Port : When you first configure a device, you have to connect via the Console Port.
You can use a "Rollover cable" : DB9 serial connector to RJ45 OR a DB9 Serial to USB

- You need to use a TERMINAL EMULATOR (Example: PuTTy is a popular choice) and connect via "Seria
Stop bits: 1 stop bit (sent after 8 data bits are sent)
Parity: None
Flow Control: None
---
When you first enter the CLI you will DEFAULT be in what is called 'User EXEC' mode.
- User can look at some things but can't make ANY changes to the configuration.
Using the 'enable' command, in User EXEC mode, switches you to 'Privileged EXEC' mode.
---
- Provides complete access to view the device's configuration, restart the device, etc.
- Cannot change the configuration, but can change the time on the device, save the configuration file, etc.
---
USE a Question Mark (?) to view the available commands in ANY mode. Combining ? with a letter or partia

USE the TAB key to complete partially entered commands IF the command exists.
---
To enter Global Configuration Mode, enter the command, within Privileged EXEC mode
Router(config) #
Router(config) # run
Router(config) # no
---
// This command encrypts plain-text passwords, visible in the config files, using simple encryption.
There are TWO separate configuration files kept on the device at once.
Running-config :
- The current, ACTIVE configuration file on the device. As you enter commands in the CLI, you edit the acti
Startup-config :
- The configuration file that will be loaded upon RESTART of the device.
OR
---
Router# write
Building configuration...
[OK]
Router# write memory
Building configuration...
[OK]
Building configuration...
[OK]
---
To encrypt passwords:
Router# conf t

Now you will see that the password is no longer in plaintext.
?7? refers to the type of encryption used to encrypt the password. In this case, ?7? uses Cisco?s proprieta

Once you use ?enable secret? command, this will override ?enable password?
---

---




