Chapter 4 - CLI Flashcards

1
Q

Command-Line Interface (CLI)

A

Command-line interface. 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

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

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

Mode of the user interface to a router or switch in which the user can type only nondisruptive EXEC commands.

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

Configuration Mode

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

Start-Config File

A

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

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

Configuration Commands

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

Configuration Commands

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

Configuration Commands

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

Configuration Commands

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

Configuration Commands

hostname name

A

Global command that sets this switch’s hostname, which is the 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

Configuration Commands

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

Configuration Commands

end

A

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

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

EXEC Command Reference
no debug all
undebug all

A

Enable mode EXEC command to disable all currently enabled debugs.

17
Q

EXEC Command Reference

reload

A

Enable mode EXEC command that reboots the switch or router

18
Q

EXEC Command Reference

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.

19
Q

EXEC Command Reference

copy startup-config running-config

A

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

20
Q

EXEC Command Reference

show running-config

A

Lists the contents of the running-config file

21
Q

EXEC Command Reference
write erase
erase startup-config
erase nvram

A

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

22
Q

EXEC Command Reference

quit

A

EXEC command that disconnects the user from the CLI session.

23
Q

EXEC Command Reference

show startup-config

A

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

24
Q

EXEC Command Reference

enable

A

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

25
Q

EXEC Command Reference

disable

A

Moves the user from enable mode to user mode.

26
Q

EXEC Command Reference

configure terminal

A

Enable mode command that moves the user into configuration mode