4. CLI Flashcards

1
Q

In what modes can you type the command show mac address-table and expect to get
a response with MAC table entries? (Choose two answers.)
a. User mode
b. Enable mode
c. Global configuration mode
d. Interface configuration mode

A

a. User mode

b. Enable mode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
In which of the following modes of the CLI could you type the command reload and
expect the switch to reboot?
a. User mode
b. Enable mode
c. Global configuration mode
d. Interface configuration mode
A

b. Enable mode

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

Which of the following is a difference between Telnet and SSH as supported by a
Cisco switch?
a. SSH encrypts the passwords used at login, but not other traffic; Telnet encrypts
nothing.
b. SSH encrypts all data exchange, including login passwords; Telnet encrypts
nothing.
c. Telnet is used from Microsoft operating systems, and SSH is used from UNIX and
Linux operating systems.
d. Telnet encrypts only password exchanges; SSH encrypts all data exchanges.

A

b. SSH encrypts all data exchange, including login passwords; Telnet encrypts
nothing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
What type of switch memory is used to store the configuration used by the switch
when it is up and working?
a. RAM
b. ROM
c. Flash
d. NVRAM
e. Bubble
A

a. RAM

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

What command copies the configuration from RAM into NVRAM?

a. copy running-config tftp
b. copy tftp running-config
c. copy running-config start-up-config
d. copy start-up-config running-config
e. copy startup-config running-config
f. copy running-config startup-config

A

f. copy running-config startup-config

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

A switch user is currently in console line configuration mode. Which of the following
would place the user in enable mode? (Choose two answers.)
a. Using the exit command once
b. Using the end command once
c. Pressing the Ctrl+Z key sequence once
d. Using the quit command

A

b. Using the end command once

c. Pressing the Ctrl+Z key sequence once

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

What are the different ways to access the CLI

A

console
telnet
SSH

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

What are the different ways to connect through the console port

A

Serial to RJ-45 with rollover cable
USB to RJ-45 wiyth USB to rollover converter
USB to USB console on switch

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

What is the pinouts for a rollover cable

A

1-8 2-7 3-6 4-5 5-4 6-3 7-2 8-1

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

What type of USB port is typically on a catalyst switch

A

Mini-B

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

What are the default console port settings

A
Baud Rate: 9600 bps
No hardware flow control
Data Bits: 8
No Parity bits
1 Stop bit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the advantage of SSH over Telnet

A

SSH encrypts all messages including passwords. Telnet encrypts nothing

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

How do you get in and out of Enable mode

A

Enable / Disable

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

What is enable mode also called

A

Privileged Exec Mode

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

What command reloads the switch

A

reload

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

What are commands called that can be used in either user or enable mode

A

EXEC commands

17
Q

Does console access need password by default

A

No

18
Q

How do you set a password ‘faith’ for console access

A

Line console 0
login
password faith

19
Q

What is the default number of commands stored in the history buffer

A

10

20
Q

What are the different ways to go back to enable mode from config or sub modes

A

end

CTRL+Z

21
Q

What are the four types of memory found in switches

A

RAM
Flash
ROM
NVRAM

22
Q

What does the RAM store

A

working memory and running-config

23
Q

What does Flash memory store

A

Cisco IOS image

Can also be used to store any other files including backup copies of the config

24
Q

What does ROM store

A

Bootstrap

25
Q

What does NVRAM store

A

startup config

26
Q

What does the bootstrap on a switch do

A

loaded when switch is first powered on

finds IOS and loads it into RAM

27
Q

What is the startup-config

A

Stores initial config used anytime switch reloads IOS

28
Q

What is the running-config

A

Stores currently used config commands

Changes dynamically when someone enters commands in config mode

29
Q

How do you back up running config to the startup config

A

copy running-config startup-config

30
Q

How can you erase startup-config

A

write erase
erase startup-config
erase nvram:

31
Q

How do you turn off debug if you have it on

A

no debug all

undebug all

32
Q

How do you merge the startup-config to the currently active config file in the RAM

A

copy startup-config running-config

33
Q

Which command to disconnect user from the session

A

quit