Week 6: Cisco IOS using CLI Flashcards

(18 cards)

1
Q

What is the primary purpose of Cisco IOS?

A. To provide internet access
B. To manage and operate Cisco networking devices
C. To install third-party software
D. To monitor user activity

A

B. To manage and operate Cisco networking devices

Explanation: Cisco IOS (Internetwork Operating System) is designed to manage and operate Cisco networking devices like routers and switches.

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

Which interface does Cisco IOS primarily use for configuration?

A. GUI
B. Web Interface
C. Command-Line Interface (CLI)
D. Touchscreen

A

C. Command-Line Interface (CLI)

Explanation: Cisco IOS uses a CLI for configuration and management, allowing precise control over network devices.

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

Which CLI mode allows you to configure device settings?

A. User EXEC
B. Privileged EXEC
C. Global Configuration
D. Interface Mode

A

C. Global Configuration

Explanation: Global Configuration mode (Router(config)#) is used to make configuration changes to the device.

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

Which command is used in User EXEC mode to test connectivity?

A. show version
B. ping
C. reload
D. copy running-config startup-config

A

B. ping

Explanation: The ping command is used to test connectivity to another device from User EXEC mode.

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

What does the command copy running-config startup-config do?

A. Deletes the configuration
B. Saves the configuration to NVRAM
C. Displays the configuration
D. Reboots the device

A

B. Saves the configuration to NVRAM

Explanation: This command saves the current configuration from RAM to NVRAM so it persists after a reboot.

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

Which command sets the device’s hostname?

A. hostname [name]
B. ip address [IP] [Subnet]
C. enable password [password]
D. banner motd #[message]#

A

A. hostname [name]

Explanation: The hostname command is used in Global Configuration mode to set the device’s name.

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

Which command sets a password for console access?

A. enable password
B. line con 0
C. password [password]
D. login

A

B (in combination with C and D)

Explanation: To set a console password, you enter line con 0, then set the password and enable login.

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

What is the correct command to assign an IP to a FastEthernet interface?

A. interface vlan 1
B. ip address [IP] [Subnet]
C. interface fastethernet 0/[unit]
D. no shutdown

A

C (followed by B and D)

Explanation: You enter the interface, assign the IP address, and activate it using no shutdown.

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

What does the command service password-encryption do?

A. Encrypts all passwords in the configuration
B. Decrypts passwords
C. Sets a new password
D. Displays encrypted passwords

A

A. Encrypts all passwords in the configuration

Explanation: This command encrypts all plaintext passwords in the configuration file.

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

Which command in User EXEC mode displays a summary of all interfaces and their status?

A. show ip interface brief
B. show running-config
C. interface vlan 1
D. copy running-config startup-config

A

A. show ip interface brief

Explanation: show ip interface brief gives a quick overview of all interfaces and their up/down status.

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

What is the purpose of the traceroute command in User EXEC mode?

A. To reboot the router
B. To test the path packets take to a destination
C. To assign an IP address
D. To encrypt passwords

A

B. To test the path packets take to a destination

Explanation: traceroute helps identify the path and delays packets experience across the network.

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

Which command transitions the user from User EXEC mode to Privileged EXEC mode?

A. login
B. enable
C. configure terminal
D. exit

A

B. enable

Explanation: The enable command is used to enter Privileged EXEC mode from User EXEC mode.

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

What does the command show running-config do?

A. Displays the startup configuration
B. Shows the current configuration in RAM
C. Saves the configuration
D. Erases the configuration

A

B. Shows the current configuration in RAM

Explanation: show running-config displays the current active configuration stored in RAM.

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

Which command erases the saved configuration from NVRAM?

A. erase startup-config
B. reload
C. copy running-config startup-config
D. show startup-config

A

A. erase startup-config

Explanation: erase startup-config removes the saved configuration, effectively resetting the device.

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

Which command is used to enter Global Configuration mode?

A. enable
B. configure terminal
C. show version
D. exit

A

B. configure terminal

Explanation: configure terminal is used in Privileged EXEC mode to enter Global Configuration mode.

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

What does the command interface GigabitEthernet0/1 do?

A. Assigns an IP address
B. Activates the interface
C. Enters interface configuration mode for that port
D. Displays interface status

A

C. Enters interface configuration mode for that port

Explanation: This command allows you to configure settings specific to the GigabitEthernet0/1 interface.

17
Q

Which command sets a login banner?

A. enable password
B. banner motd #Message#
C. login
D. hostname

A

B. banner motd #Message#

Explanation: banner motd #Message# sets a message displayed to users before login.

18
Q

What is the purpose of the no shutdown command?

A. Disables the interface
B. Saves the configuration
C. Activates the interface
D. Encrypts passwords

A

C. Activates the interface

Explanation: Interfaces are administratively down by default; no shutdown brings them up.