Intro to the CLI Flashcards

1
Q

How to connect to a cisco device for configuration?

A

Connection the USB mini-B console port
or
Connection the an RJ45 port with a rollover cable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Rollover cable pin configuration

A

1 to 8
2 to 7
3 to 6
etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How to access CLI to config net device after connection is made?

A

Terminal emulator must be used (such a PuTTY)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

PuTTY config for cisco devices

A

9600 bog rate
8 data bits
1 stop bit
No flow control/parity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

user EXEC mode

A

User mode by default
Syntax: “hostname”>
Very limited - not many changes can be made

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Priveleged EXEC mode

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Global configuration mode

A

Changes to config are made in this mode
Accesed by running “configure terminal”
“(config)” is inserted after the host name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Setting a password for priveleged EXEC mode

A

Done from Global Config Mode
Run the comand ‘enable password’ followed by the desired password
Prevents everyone from viewing configs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which two config files are kept on the network device?

A

Running-config
Startup-config

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Running-config

A

The active configuration file
As commands are entered, this file is edited

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Startup-config

A

The configuration file loaded upon device restart
Edited when Runnin-config is saved, otherwise a default version is used

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

‘show running/startup-config’

A

Ran in global config mode to view files
Can also be run in priv EXEC mode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How to save running-config to startup-config?

A

‘write’ is executed in priveleged EXEC mode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

service password-encryption command

A

‘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’)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

enable secret

A

More secure alternative to ‘enable password’
Encrypts the password using MD5
Identical syntax to enable password

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

if both ‘enable secret’ and ‘enable password’ passwords are enabled….?

A

Only the ‘enable secret’ phrase is valid

17
Q

What occures if ‘service password-encryption’ is disabled?

A

Current passwords are kept encrypted
Future passwords are not encrypted

18
Q

how to disable commands?

A

Type ‘no’ before typing the command, then run
The command will not run or perform its task until enabled

19
Q

‘run’ command

A

Used to execute commands from priveleged EXEC mode in global config mode
Syntax: ‘run prive-exec-command’