Vol 1 Ch 4 - Using the Command-Line Interface Flashcards

1
Q

Ways to access the CLI

A

There are three ways to access the CLI.

  1. Console - via physical port and terminal emulator software package
  2. a serial port > rollover cable > RJ-45 console port:
  3. b USB port > USB cable > USB converter > rollover cable > Rj-45 console port
  4. c USB port > USB cable > USB console port
  5. Telnet (via IP network and terminal emulator)
  6. Secure Shell (via IP network and terminal emulator, all communications are encrypted)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

CLI modes

A

There are two modes main modes.

 User exec mode
 Enable privileged exec mode

From enable mode you can access

 Global configuration mode (config t)
 Configuration subcommands
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do you enable security to the console?

A

You can password protect the access to the console. This will affect the console physical connection, telnet, and SSH access to the CLI:

enable
conf t
line console 0
password \_\_\_\_\_\_\_\_
login
exit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Switching between CLI modes

A

enable
takes you from user to enable mode

disable
takes you from enable mode to user mode

configure terminal
takes you from enable mode to global configuration mode

end or CTRL-Z
takes you from configuration mode to enable mode
takes you from subcommand mode all the way to enable mode

exit
takes you from a subcommand mode to global configuration mode
if executed again, takes you to enable mode (per packet tracer)

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

Main types of memory in a Cisco switch

A

There are four main type of memory in a Cisco switch.

  1. RAM/DRAM: Working memory. Volatile. Running-Config.
  2. FLASH: Chip or removable. Cisco IOS and backup config files.
  3. ROM: Bootstrap. Finds and loads Cisco IOS.
  4. NVRAM: Startup-Configuration file.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Commands to erase the startup-config file

A

There are three commands that can be used to erase the startup-config file.

write erase
erase startup-config
erase nvram:

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

Command to start over (initialize, reboot) with the startup-config file

A

reload

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

How do you enable security to enable mode?

A

You can password protect enable mode:

enable
conf t
enable secret __________

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