Intro to the CLI Flashcards
How to connect to a cisco device for configuration?
Connection the USB mini-B console port
or
Connection the an RJ45 port with a rollover cable
Rollover cable pin configuration
1 to 8
2 to 7
3 to 6
etc.
How to access CLI to config net device after connection is made?
Terminal emulator must be used (such a PuTTY)
PuTTY config for cisco devices
9600 bog rate
8 data bits
1 stop bit
No flow control/parity
user EXEC mode
User mode by default
Syntax: “hostname”>
Very limited - not many changes can be made
Priveleged EXEC mode
Accesed by running “enable” in user mode
Host name followed by #
Provides access to view configs and change time, etc.
No config changes can be made in this mode
Global configuration mode
Changes to config are made in this mode
Accesed by running “configure terminal”
“(config)” is inserted after the host name
Setting a password for priveleged EXEC mode
Done from Global Config Mode
Run the comand ‘enable password’ followed by the desired password
Prevents everyone from viewing configs
Which two config files are kept on the network device?
Running-config
Startup-config
Running-config
The active configuration file
As commands are entered, this file is edited
Startup-config
The configuration file loaded upon device restart
Edited when Runnin-config is saved, otherwise a default version is used
‘show running/startup-config’
Ran in global config mode to view files
Can also be run in priv EXEC mode
How to save running-config to startup-config?
‘write’ is executed in priveleged EXEC mode
service password-encryption command
‘service password-encryption’ is run in Global Config Mode
The password is turned into a jumble of numbers and letters
A number is shown before the hashed passwd identifying the algorithm used for encryption
Not strong (easily cracked)
If enabled, it encrypts current passwords and future ones (has no effect on ‘enable secret’)
enable secret
More secure alternative to ‘enable password’
Encrypts the password using MD5
Identical syntax to enable password