1,001 CCNA Questions Chapter 5: Basic Router Configuration

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

170. Which of the following are additional commands needed to configure a serial interface over what is needed when configuring an Ethernet interface? You are configuring the DCE device on a serial link. (Select all that apply.) (A) clock rate 64000 (B) description WAN link (C) encapsulation hdlc (D) ip address dhcp

A. clock rate 64000 C. encapsulation hdlc When configuring a serial interface that acts as the DCE device, you need to provide the encapsulation protocol and the clock rate.

182. You would like the console to time out after a minute and 45 seconds of inactivity. What command would you use? (A) exec-timeout 1 45 (B) exec-timeout 1:45 (C) no exec-timeout 1 45 (D) no exec-timeout 1:45

A. exec-timeout 1 45 You can use the exec-timeout command on the console port to specify a timeout value for the console. When you do this, you specify the duration of inactivity in the format of minutes (space) seconds.

177. You are looking to create a username for Tom to log on to the router. What command would you use? (A) r1(config)# username tom password P@ssw0rd (B) r1# username tom password P@ssw0rd (C) r1> username tom password P@ssw0rd (D) r1(config-if)# username tom password P@ssw0rd

A. r1(config)# username tom password P@ssw0rd To configure a username and password on your Cisco device, you must be in global configuration and use the username command.

162. You wish to disable the Fast Ethernet interface on your router. What command would you use? (A) router(config-if)#shutdown (B) router(config-if)#disable (C) router(config)#shutdown interface F0/0 (D) router(config)#disable interface F0/0

A. router(config-if)#shutdown In order to disable an interface on a router, you must use the shutdown command at the interface prompt.

178. You wish to view a list of commands recently used on the router, what command would you use? (A) show history (B) show commands (C) show all (D) show my commands

A. show history The show history command is used to display a list of recently used commands on the router.

188. You would like to verify the status of one of your interfaces. What command would you use? (A) show interfaces (B) show ip route (C) show router (D) show f0/0 status

A. show interfaces The show interfaces command is used to view all interfaces and their status. You can also use the show interface <interface ID> command to view the status of a particular interface.

191. Which of the following commands display information on the IOS version? (Select three.) (A) show version (B) show IOS (C) show hardware (D) show flash (E) show running-config

A. show version D. show flash E. show running-config To view information on the IOS version that is running on your Cisco device, you can use the show version command, the show flash command, or the show running-config command.

168. When looking at the interface fastethernet 0/1 command, what is the port number for the interface? (A) 0 (B) 1 (C) 2 (D) 3

B. 1 The syntax to reference an interface is first the type of interface, followed by the slot/ port. In this example, the FastEthernet 0/1 is referencing slot 0, but the interface is 1.

195. Sue, a network administrator in your office, has configured the router with the commands shown below. What is the order of the passwords that would need to be supplied if she connects to the console port on the router to make changes? (A) P@ssw0rd (B) cisco (C) telnetpass / Cisco (D) telnetpass / P@ssw0rd (E) telnetpass / Cisco / P@ssw0rd

A. P@ssw0rd Because the enable password and enable secret are used, this means that the secret password of P@ssw0rd would be required because the secret takes precedence over enable password. Because there is no additional password on the console port, no other password is required.

197. Jeff configures the router with the commands shown below. What is the order of the passwords that he would need to use when connecting to the console port of the router to make changes? (A) P@ssw0rd (B) cisco (C) conpass / Cisco (D) conpass / P@ssw0rd (E) conpass / Cisco / P@ssw0rd

A. P@ssw0rd The only password required is the secret password (because it takes precedence over the enable password). You are not required to enter the console password, although one is set, because the administrator forgot to use the login command to force authentication on that port! Very important to remember for the exams and the real world!

166. Which of the following layer-2 protocols are supported encapsulation protocols on the serial link of a Cisco device? (Select two.) (A) PPP (B) RIP (C) OSPF (D) HDLC

A. PPP D.HDLC PPP and HDLC are layer-2 protocols used on a serial link. PPP is an industry-standard protocol and should be used when connecting heterogeneous environments, whereas HDLC is used only when connecting Cisco devices together.

183. What command can be used to modify the history size on the Cisco router? (A) R1#terminal history size 30 (B) R1(config)#terminal history size 30 (C) R1(config)#history size 30 (D) R1#history size 30

A. R1#terminal history size 30 The command to increase the number of commands that are stored in the history buffer is the terminal history size command, which is executed from priv exec mode.

164. You would like to configure the Fast Ethernet port on your router for full duplex. What commands would you use? (A) Use the following commands: R1#config term R1(config)#interface f0/0 R1(config-if)#duplex full (B) Use the following commands: R1#config term R1(config)#interface f0/0 R1(config-if)#duplex half (C) Use the following commands: R1#config term R1(config)#interface f0/0 R1(config-if)#set full duplex (D) Use the following commands: R1#config term R1(config)#interface f0/0 R1(config-if)#set half duplex

A. Use the following commands: R1#config term R1(config)#interface f0/0 R1(config-if)#duplex full In order to configure full duplex mode on an interface, you must first navigate to theinterface and then use the duplex command, followed by the word "full" as a parameter.

198. Using the output below from the show interfaces command, what is most likely the problem? Serial0/2/0 is up, line protocol is down (A) There is no physical link. (B) A protocol or clock rate has not been set. (C) You need to configure the router as the DCE device. (D) You need to configure the router as the DTE device.

B. A protocol or clock rate has not been set. If the line protocol is down, there is a problem with the configuration of the serial link protocol or the clock rate. Also note that if the protocol has not been configured properly on the other end, the line protocol still displays as down.

196. You use the show interfaces command and get the status below on your serial port. Which layer of the OSI model has a problem? Serial0/2/0 is up, line protocol is down (A) Layer-1 (B) Layer-2 (C) Layer-3 (D) Layer-4

B. Layer-2 When using the show interfaces command, you see the status of the link shown in the format of Serial0/2/0 is up, line protocol is down. The Serial0/2/0 is up part indicates whether there is a link (layer-1), whereas the line protocol down part indicates whether the layer-2 protocol has been configured properly.

185. Which of the following banner types is the first to be displayed? (A) Login (B) MOTD (C) Exec (D) Logout

B. MOTD The Message Of The Day (MOTD) banner is displayed first. After the MOTD banner, you see the login banner before logging into the device, but after the MOTD banner. Finally, the exec banner displays when the administrator enters user exec mode.

163. Which of the following are encapsulation protocols that can be used on a serial link for a Cisco router? (Select all that apply.) (A) IPX (B) PPP (C) PPTP (D) HDLC (E) RIP

B. PPP D. HDLC You can configure the serial interfaces of a Cisco router for either the HDLC encapsulation protocol or the PPP protocol.

176. Which of the following command-sets would you use to configure a password on the console port of the router? (A) Use the following commands: enable password myConPass login (B) Use the following commands: enable config term line con 0 password myConPass login (C) Use the following commands: enable config term line con 0 password myConPass (D) Use the following commands: enable config term password myConPass login

B. Use the following commands: enable config term line con 0 password myConPass login In order to configure a password for your console port, you must first navigate to priv exec mode with the enable command. You then navigate to global configuration mode with the config term command, and finally navigate to the console port with the line con 0 command. To set the password, use the password command, but then you must use the login command to tell the Cisco device to prompt for login using that password.

175. You are at the following prompt. What command would you type first to change the name of the router? Router (config-if)# (A) hostname (B) exit (C) disable (D) enable

B. exit You would first need to exit from the Interface prompt to go back to global configuration mode and then use the hostname command to change the name of the router.

181. You are administering a Cisco router. When you have a typo in the command name, you have to wait for the router to do a DNS lookup before getting control of the console again — an annoying problem. What command would fix it? (A) disable dns (B) no ip domain lookup (C) ip domain lookup (D) no dns lookup

B. no ip domain lookup The no ip domain lookup command can be used to disable DNS lookups on the Cisco device!

186. You would like to delete the configuration on your router and start with a clean configuration. Which two commands would you use? (Select two.) (A) delete startup-config (B) reload (C) restart (D) erase startup-config (E) format-router

B. reload D. erase startup-config In order to delete the configuration off your router you would first erase the startupconfig and then use the reload command to reboot the router. When the router reboots there is no startup-config to apply (so the router will prompt you to enter setup mode).

179. You would like to encrypt all passwords configured on the router. What command would you use? (A) enable password-encryption (B) service password-encryption (C) encrypt-password all (D) encrypt-passwords

B. service password-encryption To encrypt all passwords in the configuration files on the router, you use the service password-encryption command — a great command to be familiar with for exam purposes and the real world!

194. You are troubleshooting communication across a serial port and use the show interfaces command to get the output displayed below. What is the problem? Serial0/2/0 is down, line protocol is down (A) The clock rate is not set. (B) An encapsulation protocol has not been set. (C) Check the physical connection. (D) You are using PPP.

C. Check the physical connection. When looking at the status of an interface, the output first displays physical layer status (serial0/2/0 is down) followed by a comma, then the layer-2 status (line protocol is down). The layer-2 status relates to the protocol being used to carry data across the link (such as HDLC or PPP). If there is a problem with the physical connection, then the interface will appear as down. It is important to note that when the interface is "down," the line protocol will always be "down." In this case, you should be troubleshooting layer 1, the physical connection. If the interface is up and the line protocol is down, then you know there is a physical link, but there is a problem with the protocol or clock rate.

165. You wish to enable the Fast Ethernet port on the router. What command would you use? (A) R1(config-if)#undo shutdown (B) R1(config-if)# enable (C) R1(config-if)#no shutdown (D) R1(config-if)#no disable

C. R1(config-if)#no shutdown In order to enable an interface on a Cisco device, you must use the no shutdown command when at the interface prompt.

192. You are troubleshooting communication issues between router R1 and R2. The physical cabling is connected as shown in the figure below, as well as the IP address range. You use the show command displayed in the figure to identify the problem. Why are the routers not communicating? (A) The IP range for the serial ports is incorrect. (B) The serial interface is using half-duplex. (C) The serial port has the wrong cable connected. (D) The serial interface is using the wrong subnet mask.

C. The serial port has the wrong cable connected. The figure is showing that router R1 has the DTE end of the serial cable, but it appears as if the router is configured as the DCE end of the link when looking at the output of the show controllers command.

187. A network technician is having trouble connecting two routers across the serial ports. One router is a Cisco router, whereas the other router is from a different manufacturer. You have loaded HDLC on both routers. What should you do? (A) Ensure the subnet mask on the serial ports is 255.255.255.252. (B) Change the frame size on the serial interfaces. (C) Use PPP as the serial link protocol. (D) Change the buffer size on the serial interfaces.

C. Use PPP as the serial link protocol. The HDLC protocol on Cisco routers is a proprietary implementation of the protocol and can only be used to communicate with other Cisco routers via serial ports. If you have an environment that uses routers from different manufacturers, you will need to use an industry standard serial link protocol such as PPP.

174. Which of the following password types are encrypted in the configuration by default? (A) enable password (B) enable secure password (C) enable secret (D) enable encrypted password

C. enable secret The enable secret is an encrypted password within the configuration files by default.

184. After creating a user named Bob, you would like to ensure that the console port prompts for username and password. What command would you use? (A) r1(config-line)# login (B) r1(config-line)# enable login (C) r1(config-line)# login local (D) r1(config-line)# logon

C. r1(config-line)# login local To configure the Cisco device to prompt for a username and password when connecting to the console port, you must first navigate to the console port and then use the login local command. This command tells the Cisco device to prompt for a username and password and authenticate against the local list of usernames.

167. Which of the following commands would you use to assign an IP address to the Fast Ethernet interface on the router? (A) router(config-if)#ip address 10.0.0.1 (B) router(config)#ip address 10.0.0.1 255.0.0.0 (C) router(config-if)#ip address 10.0.0.1 255.0.0.0 (D) router(config)#ip address 10.0.0.1

C. router(config-if)#ip address 10.0.0.1 255.0.0.0 In order to assign an IP address to an interface on the router, you must be at the interface prompt for the appropriate interface (using the global configuration interface command). Once at the interface prompt, you can use the IP address command and specify the IP address and subnet mask for the interface.

171. After disabling the serial interface using the shutdown command, which of the following represents the output displayed on the console as a result of your action? (A) serial0/0 is administratively down, line protocol is administratively down (B) serial0/0 is down, line protocol is down (C) serial0/0 is administratively down, line protocol is down (D) serial0/0 is down, line protocol is administratively down

C. serial0/0 is administratively down, line protocol is down Because the serial port has been shut down by the administrator, the first part of the status will display as serial0/0 is administratively down. The second part, which is associated with the layer 2 protocol on the link, will say line protocol down because if the link is not up, the protocol cannot be up.

190. Which of the following commands is used to display a table (output shown below) indicating the IP assigned to each interface and the status of the interface? (A) show ip interfaces (B) show ip table (C) show ip interface brief (D) show ip table brief

C. show ip interface brief The show ip interface brief command displays a table listing all the interfaces and their settings.

180. You have made changes to your Cisco router and would like to verify the changes before saving them. What command would you use? (A) show startup-config (B) show memory (C) show running-config (D) show flash

C. show running-config The show running-config command displays the configuration in volatile RAM, which must be saved to nonvolatile RAM (startup-config) if you wish to have the changes persist when the power is lost or the system is rebooted.

169. In a point-to-point serial link between two routers, which router sets the clock rate? (A) AUI (B) DTE (C) BNC (D) DCE

D. DCE The router with the data communication equipment (DCE) end of the point-to-point serial link is responsible for setting the clock rate. Note that when connecting your router to the WAN environment, this is usually done at the ISP because the ISP is the host to the DCE and you are the data terminal equipment (DTE) in the ISP scenario.

189. You are having trouble communicating with networks that are connected to your FastEthernet0/0 port. You use the command shown below to view the status of the links. What can you do to solve the problem? (A) Configure an encapsulation protocol. (B) Assign an IP address. (C) Configure it to use DHCP. (D) Enable the interface.

D. Enable the interface. Because the status of the link shows as administratively down, this is an indication that you have disabled the port or have not enabled the port. You need to enable the port with a no shutdown command.

172. What command do you use on the interface to assign an IP address to the interface automatically via DHCP? (A) R1(config)#ip address dhcp (B) R1(config)#ip dhcp address (C) R1(config-if)#ip dhcp address (D) R1(config-if)#ip address dhcp

D. R1(config-if)#ip address dhcp In order to assign an IP address to an interface via DHCP, you use the ip address command but pass in the word dhcp as a parameter instead of an actual IP address.

199. Tom configures the router with the commands shown below. What is the order of the passwords that he would need to enter when connecting to the console port of the router to make changes? (A) P@ssw0rd (B) cisco (C) conpass / Cisco (D) conpass / P@ssw0rd (E) conpass / Cisco / P@ssw0rd

D. conpass / P@ssw0rd Tom would first need to type the console password of conpass and then, when entering priv exec mode, he would need to input the secret password of P@ssw0rd.

173. Which of the following commands would you use to change the hostname on the router? (A) router>hostname R1 (B) router(config-if)#hostname R1 (C) router#hostname R1 (D) router(config)#hostname R1

D. router(config)#hostname R1 In order to change the hostname of the router, you must be in global configuration mode and use the hostname command.

193. You need to find out if the serial port on your router is acting as the DCE device in the point-to-point link with another router. What command do you need to use? (A) show ip interface brief (B) show interfaces (C) show interface serial0/0 (D) show controllers serial0/0

D. show controllers serial0/0 The show controllers command is used on an interface to display the clock rate on the link and to indicate whether the interface acts as the DTE or DCE device.


Set pelajaran terkait

Introduction to Programming (IS111)

View Set

Chapter 50: Assessment and Management of Patients With Biliary Disorders

View Set

Marketing 3150 Chapter 7 (Group Influences on Consumer Behavior)

View Set

EDAPT: Nursing Care - Pediatric Gastrointestinal and Elimination Alterations

View Set

12.1 - Listing Agreement - Part 1

View Set