Week 6: Cisco IOS using CLI Flashcards
(18 cards)
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
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.
Which interface does Cisco IOS primarily use for configuration?
A. GUI
B. Web Interface
C. Command-Line Interface (CLI)
D. Touchscreen
C. Command-Line Interface (CLI)
Explanation: Cisco IOS uses a CLI for configuration and management, allowing precise control over network devices.
Which CLI mode allows you to configure device settings?
A. User EXEC
B. Privileged EXEC
C. Global Configuration
D. Interface Mode
C. Global Configuration
Explanation: Global Configuration mode (Router(config)#) is used to make configuration changes to the device.
Which command is used in User EXEC mode to test connectivity?
A. show version
B. ping
C. reload
D. copy running-config startup-config
B. ping
Explanation: The ping command is used to test connectivity to another device from User EXEC mode.
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
B. Saves the configuration to NVRAM
Explanation: This command saves the current configuration from RAM to NVRAM so it persists after a reboot.
Which command sets the device’s hostname?
A. hostname [name]
B. ip address [IP] [Subnet]
C. enable password [password]
D. banner motd #[message]#
A. hostname [name]
Explanation: The hostname command is used in Global Configuration mode to set the device’s name.
Which command sets a password for console access?
A. enable password
B. line con 0
C. password [password]
D. login
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.
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
C (followed by B and D)
Explanation: You enter the interface, assign the IP address, and activate it using no shutdown.
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. Encrypts all passwords in the configuration
Explanation: This command encrypts all plaintext passwords in the configuration file.
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. show ip interface brief
Explanation: show ip interface brief gives a quick overview of all interfaces and their up/down status.
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
B. To test the path packets take to a destination
Explanation: traceroute helps identify the path and delays packets experience across the network.
Which command transitions the user from User EXEC mode to Privileged EXEC mode?
A. login
B. enable
C. configure terminal
D. exit
B. enable
Explanation: The enable command is used to enter Privileged EXEC mode from User EXEC mode.
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
B. Shows the current configuration in RAM
Explanation: show running-config displays the current active configuration stored in RAM.
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. erase startup-config
Explanation: erase startup-config removes the saved configuration, effectively resetting the device.
Which command is used to enter Global Configuration mode?
A. enable
B. configure terminal
C. show version
D. exit
B. configure terminal
Explanation: configure terminal is used in Privileged EXEC mode to enter Global Configuration mode.
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
C. Enters interface configuration mode for that port
Explanation: This command allows you to configure settings specific to the GigabitEthernet0/1 interface.
Which command sets a login banner?
A. enable password
B. banner motd #Message#
C. login
D. hostname
B. banner motd #Message#
Explanation: banner motd #Message# sets a message displayed to users before login.
What is the purpose of the no shutdown command?
A. Disables the interface
B. Saves the configuration
C. Activates the interface
D. Encrypts passwords
C. Activates the interface
Explanation: Interfaces are administratively down by default; no shutdown brings them up.