Module 18 – The Cisco IOS Command Line Quiz Answers

18.4.2 Module 18 – The Cisco IOS Command Line Quiz Answes

1. Which Cisco IOS mode displays a prompt of Router#?

  • setup mode
  • user EXEC mode
  • privileged EXEC mode
  • global configuration mode

Explanation: Cisco IOS uses different command modes for operational needs. The privileged EXEC mode is identified by a prompt that ends with the # symbol after the device name. The user EXEC mode is identified by a prompt that ends with the > symbol after the device name. The global configuration mode is identified by a prompt that ends with (config)# after the device name.

2. While troubleshooting a network problem, a network administrator issues the show version command on a router. What information can be found by using this command?

  • the amount of NVRAM, DRAM, and flash memory installed on the router
  • the bandwidth, encapsulation, and I/O statistics on the interfaces
  • differences between the backup configuration and the current running configuration
  • the version of the routing protocol that is running on the router

Explanation: The show version command displays much information about the device, including the amount of memory (flash, NVRAM, and DRAM) that is installed on the device.

3. What is the difference between the terms keyword and argument in the IOS command structure?

  • A keyword is entered with a predefined length. An argument can be any length.
  • A keyword always appears directly after a command. An argument does not.
  • A keyword is a specific parameter. An argument is not a predefined variable.
  • A keyword is required to complete a command. An argument is not.

Explanation: Keywords are specific parameters that are defined in IOS. Arguments are not predefined; they are the variables defined by the user when completing a command. Although most keywords appear directly after commands, they can appear in other locations, depending on a command structure. A keyword can be entered in its whole length or in a shortened format.

4. Which command or key combination allows a user to return to the previous level in the command hierarchy?

  • end
  • Ctrl-C
  • Ctrl-Z
  • exit

Explanation: End and CTRL-Z return the user to the privileged EXEC mode. Ctrl-C ends a command in process. The exit command returns the user to the previous level.

5. An administrator uses the Ctrl-Shift-6 key combination on a switch after issuing the ping command. What is the purpose of using these keystrokes?

  • to restart the ping process
  • to interrupt the ping process
  • to exit to a different configuration mode
  • to allow the user to complete the command

Explanation: To interrupt an IOS process such as ping or traceroute, a user enters the Ctrl-Shift-6 key combination. Tab completes the remainder of parameters or arguments within a command. To exit from configuration mode to privileged mode use the Ctrl-Z keystroke. CTRL-R will redisplay the line just typed, thus making it easier for the user to press Enter and reissue the ping command.

6. Refer to the exhibit. An administrator is trying to configure the switch but receives the error message that is displayed in the exhibit. What is the problem?

Module 18 - The Cisco IOS Command Line Quiz Answers 1

  • The entire command, configure terminal, must be used.
  • The administrator must connect via the console port to access global configuration mode.
  • The administrator is already in global configuration mode.
  • The administrator must first enter privileged EXEC mode before issuing the command.

Explanation: In order to enter global configuration mode, the command configure terminal, or a shortened version such as config t, must be entered from privileged EXEC mode. In this scenario the administrator is in user EXEC mode, as indicated by the > symbol after the hostname. The administrator would need to use the enable command to move into privileged EXEC mode before entering the configure terminal command.

7. What function does pressing the Tab key have when an IOS command is entered?

  • It aborts the current command and returns to configuration mode.
  • It completes the remainder of a partially typed word in a command.
  • It exits configuration mode and returns to user EXEC mode.
  • It moves the cursor to the beginning of the next line.

Explanation: Pressing the Tab key after a command has been partially typed will cause the IOS to complete the rest of the command.

8. In the show running-config command, which part of the syntax is represented by running-config?

  • the command
  • a variable
  • a prompt
  • a keyword

Explanation: The first part of the syntax, show, is the command, and the second part of the syntax, running-config, is the keyword. The keyword specifies what should be displayed as the output of the show command.

9. Which two statements are true about the user EXEC mode? (Choose two.)

  • Global configuration mode can be accessed by entering the enable command.
  • The device prompt for this mode ends with the “>” symbol.
  • All router commands are available.
  • Interfaces and routing protocols can be configured.
  • Only some aspects of the router configuration can be viewed.

Explanation: User EXEC mode limits access to some show and debug commands. It is the first level of user interface encountered when configuring a router and is intended for investigation of certain functions of the device. The User EXEC prompt is identified with the “>” symbol.

10. Immediately after a router completes its boot sequence, the network administrator wants to check the configuration of the router. From privileged EXEC mode, which of the following commands can the administrator use for this purpose? (Choose two.)

  • show flash
  • show running-config
  • show nvram
  • show version
  • show startup-config

Explanation: The show startup-config command can be used to display the Cisco device configuration stored in NVRAM. The show running-config command can be used to display the currently active configuration that is stored in RAM. The show flash command displays the files (not file content) stored in the flash memory.

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x