Ch. 4: Using the Command-Line Interface Flashcards

1
Q

Command-line interface

A

An interface that enables the user to interact with the operating system by entering commands and optional arguments.

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

Telnet

A

The standard terminal-emulation application layer protocol in the TCP/IP protocol stack. Telnet is 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. Telnet is defined in RFC 854.

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

Secure Shell (SSH)

A

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.

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

enable mode

A

A part of the Cisco IOS 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 router.

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

user mode

A

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

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

configuration mode

A

A part of the Cisco IOS Software CLI in which the user can type configuration commands that are then added to the device’s currently used configuration file (running-config).

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

startup-config file

A

In Cisco IOS switches and routers, the name of the file that resides in NVRAM memory, 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.

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

running-config file

A

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

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

line console 0

A

Global command that changes the context to console configuration mode.

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

login

A

Line (console and vty) configuration mode. Tells IOS to prompt for a password (no username).

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

password (pass-value)

A

Line (console and vty) configuration mode. Sets the password required on that line for login if the login command (with no other parameters) is also configured.

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

interface (type port-number)

A

Global command that changes the context to interface mode—for example, interface FastEthernet 0/1.

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

hostname (name)

A

Global command that sets this switch’s hostname, which is also used as the first part of the switch’s command prompt.

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

exit

A

Moves back to the next higher mode in configuration mode.

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

end

A

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

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

Ctrl+Z

A

This is not a command, but rather a two-key combination that together do the same thing as the end command.

17
Q

no debug all / undebug all

A

Enable mode EXEC command to disable all currently enabled debugs.

18
Q

reload

A

Enable mode EXEC command that reboots the switch or router.

19
Q

copy running-config startup-config

A

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

20
Q

copy startup-config running-config

A

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

21
Q

show running-config

A

Lists the contents of the running-config file.

22
Q

write erase

erase startup-config

erase nvram:

A

These enable mode EXEC commands erase the startup-config file.

23
Q

quit

A

EXEC command that disconnects the user from the CLI session.

24
Q

show startup-config

A

Lists the contents of the startup-config (initial config) file.

25
Q

enable

A

Moves the user from user mode to enable (privileged) mode and prompts for a password if one is configured.

26
Q

disable

A

Moves the user from enable mode to user mode.

27
Q

configure terminal

A

Enable mode command that moves the user into configuration mode.