Chapter 6 - Using the Command-Line Interface 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 and B.

The command in the question is an EXEC command that happens to require only user mode access. As such, you can use this command in both user mode and enable mode. As an EXEC command, you cannot use the command (as shown in the question) in configuration mode.

Note that you can put the word do in front of the EXEC command while in configuration mode (for example, do show mac address-table) to issue the command from inside any configuration 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.

The command referenced in the question, the reload command, is an EXEC command that happens to require privileged mode, also known as enable mode. This command is not available in user mode.

Note that you can put the word do in front of the EXEC command while in configuration mode (for example, do reload) to issue the command from inside any configuration 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 provides a secure remote login option, encrypting all data flows, including password exchanges. Telnet sends all data (including passwords) as clear text.

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.

Switches (and routers) keep the currently used configuration in RAM, using NVRAM to store the configuration file that is loaded when the switch (or router) next loads the IOS.

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.

The startup-config file is in NVRAM, and the running-config file is in RAM.

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 and C.

The exit command moves the user one config mode backward, toward global configuration mode, or if already in global configuration mode, it moves the user back to enable mode. From console mode, it moves the user back to global configuration mode. The end command and the Ctrl+Z key sequence both move the user back to enable mode regardless of the current configuration submode.

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