4. CLI Flashcards
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. User mode
b. Enable mode
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
b. Enable mode
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.
b. SSH encrypts all data exchange, including login passwords; Telnet encrypts
nothing
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. RAM
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
f. copy running-config startup-config
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
b. Using the end command once
c. Pressing the Ctrl+Z key sequence once
What are the different ways to access the CLI
console
telnet
SSH
What are the different ways to connect through the console port
Serial to RJ-45 with rollover cable
USB to RJ-45 wiyth USB to rollover converter
USB to USB console on switch
What is the pinouts for a rollover cable
1-8 2-7 3-6 4-5 5-4 6-3 7-2 8-1
What type of USB port is typically on a catalyst switch
Mini-B
What are the default console port settings
Baud Rate: 9600 bps No hardware flow control Data Bits: 8 No Parity bits 1 Stop bit
What is the advantage of SSH over Telnet
SSH encrypts all messages including passwords. Telnet encrypts nothing
How do you get in and out of Enable mode
Enable / Disable
What is enable mode also called
Privileged Exec Mode
What command reloads the switch
reload
What are commands called that can be used in either user or enable mode
EXEC commands
Does console access need password by default
No
How do you set a password ‘faith’ for console access
Line console 0
login
password faith
What is the default number of commands stored in the history buffer
10
What are the different ways to go back to enable mode from config or sub modes
end
CTRL+Z
What are the four types of memory found in switches
RAM
Flash
ROM
NVRAM
What does the RAM store
working memory and running-config
What does Flash memory store
Cisco IOS image
Can also be used to store any other files including backup copies of the config
What does ROM store
Bootstrap
What does NVRAM store
startup config
What does the bootstrap on a switch do
loaded when switch is first powered on
finds IOS and loads it into RAM
What is the startup-config
Stores initial config used anytime switch reloads IOS
What is the running-config
Stores currently used config commands
Changes dynamically when someone enters commands in config mode
How do you back up running config to the startup config
copy running-config startup-config
How can you erase startup-config
write erase
erase startup-config
erase nvram:
How do you turn off debug if you have it on
no debug all
undebug all
How do you merge the startup-config to the currently active config file in the RAM
copy startup-config running-config
Which command to disconnect user from the session
quit