Networking Devices and Initial Configuration Module 10.4.3 The Cisco IOS Command Line Quiz Answers
1. Match the description with the associated IOS mode.
Explanation: Options matched to the correct selection.
|user EXEC mode
||privileged EXEC mode
||global configuration mode
|limited number of basic monitoring commands
||accessed by entering the enable command
||changes made affect the operation of the device as a whole
|the first entrance into the CLI of an IOS device
||identified by a prompt ending with the # character
||accessed by entering the configure terminal command
2. Which command can an administrator execute to determine what interface a router will use to reach remote networks?
- show arp
- show interfaces
- show ip route
- show protocols
Explanation: The show ip route command is used to display the IP routing table of the router. The IP routing table will show a list of known local and remote networks and the interfaces that the router will use to reach those networks.
3. Which command will provide information about the status of all interfaces including the number of giants, runts, and collisions on the interface?
- show interfaces
- show ip interface brief
- show history
- show running-config
Explanation: The show interfaces command is the most comprehensive in providing information about interfaces. The show ip interface brief command does not provide information on giants, runts, or collisions. The show history command provides a history of the commands that are used. The show running-config command will show configuration information, but not status information.
4. Which keys act as a hot key combination that is used to interrupt an IOS process?
Explanation: The Cisco IOS provides both hot keys and shortcuts for configuring routers and switches. The Ctrl-Shift-6 hot key combination is used to interrupt an IOS process, such as a ping or traceroute. Ctrl-Z is used to exit the configuration mode. Ctrl-C aborts the current command. Ctrl-Shift-X has no IOS function.
5. What function does pressing the Tab key have when entering a command in IOS?
- It aborts the current command and returns to configuration mode.
- It exits configuration mode and returns to user EXEC mode.
- It moves the cursor to the beginning of the next line.
- It completes the remainder of a partially typed word in a command.
Explanation: Pressing the Tab key after a command has been partially typed will cause the IOS to complete the rest of the command.
6. Which command or key combination allows a user to return to the previous level in the command hierarchy?
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.
7. Match the definitions to their respective CLI hot keys and shortcuts.
Explanation: Place the options in the following order:
|completes abbreviated commands and parameters
|displays the next screen
|scrolls backwards through previously entered commands
|provides context-sensitive help
|aborts commands such as trace and ping
8. Which two statements are true regarding the user EXEC mode? (Choose two.)
- All router commands are available.
- Global configuration mode can be accessed by entering the enable command.
- The device prompt for this mode ends with the ‘>’ symbol.
- 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..
9. A network administrator is working on a Cisco router. The CLI prompt is Router1(config-if)#. Which operation is the administrator likely to configure next?
- the vty lines
- a LAN interface
- the console port
- the password that is required to access the privileged EXEC mode
Explanation: Cisco IOS uses different prompts to identify the specific configuration modes. The prompt Router1(config-if)# is a subconfiguration mode of Router(config)#. This mode indicates that the configuration commands that follow are applied to a LAN or WAN interface.
10. In the show running-config command, which part of the syntax is represented by running-config?
- the command
- a keyword
- a variable
- a prompt
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.
11. A network administrator issues the Switch(config)# Interface FastEthernet 0/1 command on a Cisco switch. Which term is used to describe the “0/1” part in the command?
- hot key
Explanation: In this command structure, the Interface part is the command, the FastEthernet part is a keyword, and the 0/1 part is an argument.