Ch6-Using the Command-Line Interface Flashcards

1
Q

The standard terminal-emulation application layer protocol in the TCP/IP protocol stack. Used for remote terminal connection, enabling users to log in to remote systems and use resources as if they were connected to a local system. Defined in RFC 854.

A

Telnet

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

A TCP/IP application layer protocol that supports terminal emulation between a client and server, using dynamic key exchange and encryption to keep the communications private.

A

Secure Shell (SSH)

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

A part of the Cisco CLI in which the user can use the most powerful and potentially disruptive commands on a router or switch, including the ability to then reach configuration mode and reconfigure the device

A

enable mode

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

A mode of the user interface to a router or switch in which the user can enter only non-disruptive EXEC commands, generally just to look at the current status, but not to change any operational settings

A

user mode

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

A part of the Cisco IOS software CLI in which the user can enter configuration commands that are then added to the device’s current operational configuration

A

configuration mode

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

In Cisco IOS switches and routers, the name of the file that resides in NVRAM, holding the device’s configuration that will be loaded into RAM as the running-config file when the device is next reloaded or powered on

A

startup-config

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

In Cisco IOS switches and routers, the name of the file that resides in RAM, holding the device’s currently used configuration

A

running-config

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

Command reference:

What global command changes the context to console configuration mode?

A

line console 0

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

Command reference:

Which command, used in line (console and vty) configuration mode, tells IOS to prompt the user for a password (no username)?

A

login

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

Command reference:

Which command, used in line (console and vty) configuration mode, sets the password required on the line for login if the <b>login</b> command (with no other parameters) is also configured

A

password <i>pass-value</i>

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

Command reference:

Which command, used in global configuration mode, changes the context to interface mode?

A

interface <i>type port-number<i></i></i>

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

Command reference:

Which command, used in global configuration mode, sets the device’s hostname?

A

hostname <i>name</i>

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

Command reference:

Moves back one mode (the next higher mode) in configuration mode

A

exit

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

Command reference:

Exits configuration mode and goes back to enable mode from any of the configuration submodes

A

end

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

Command reference:

Enable mode EXEC command to disable all currently enabled debugs

A

Any of:

no debug all
undebug all

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

Command reference:

Enable mode EXEC command that reboots the switch or router

A

reload

17
Q

Command reference:

Enable mode EXEC command that saves the active config, replacing the startup-config file used when the device initializes

A

Any of:

copy running-config startup-config
copy run start

18
Q

Command reference:

Enable mode EXEC command that merges the startup-config file with the contents of the currently active config file in RAM

A

Any of:

copy startup-config running config
copy run start

19
Q

This command lists the contents of the running-config file

A

Any of:

show running-config
sh run

20
Q

These enable mode EXEC commands erase the startup-config file

A

Any of:

erase startup-config
write erase
erase nvram:

21
Q

EXEC command that disconnects the user from the CLI session

A

quit

22
Q

Command that moves the user from user mode to enable (privileged) mode and prompts for a password if one is configured

A

enable

23
Q

This command moves the user from enable mode to user mode

A

disable

24
Q

Enable mode command that moves the user into configuration mode

A

Any of:

configure terminal
conf t