#6 - questions - Ciscos Internetworking Operating System (IOS)
10. Which of the following prompts indicates that the switch is currently in privileged mode? a. switch(config)# b. switch> c. switch# d. swtich(config-if)
10. Which of the following prompts indicates that the switch is currently in privileged mode? switch(config)# - is a global config mode switch> - is user mode switch# - is privileged mode switch(config-if) - is interface configuration mode
11. Which command do you type to save the configuration stored in RAM to NVRAM? a. switch(config)#copy current to starting b. switch#copy starting to running c. switch(config)#copy running-config startup-config d. switch#copy run start
11. Which command do you type to save the configuration stored in RAM to NVRAM? d. switch#copy run start D. To copy the running-config to NVRAM so that it will be used if the router is restarted, use the copy running-config startup-config command in privileged mode (copy run start for short)
12. You try to telnet into SF from router Corp and receive this message: corp#telnet SF trying SF (10.0.0.1)...open Password required, but none set [connection to SF closed by foreign host] #Corp Which of the following sequences will address this problem correctly? a. corp(config)#line console 0 corp (config-line)#password password corp(config-line)#login b. SF(config)#line console 0 SF(config-line)#enable secret password SF(config-line)#login c. Corp(config)#line vty 0 4 corp(config-line)#password password corp(config-line)#login d. SF(config)#line vty 0 4 SF(config-line)#password password SF(config-line)#login
12. You try to telnet into SF from router Corp and receive this message: corp#telnet SF trying SF (10.0.0.1)...open Password required, but none set [connection to SF closed by foreign host] #Corp d. SF(config)#line vty 0 4 SF(config-line)#password password SF(config-line)#login D. To allow a vty (telnet) session into your router, you must set the VTY password. Option C is wrong because it is setting the password on the wrong router. Notice that you have to set the password before you set the login command.
13. Which command will delete the contents of NVRAM on a switch? a. delete NVRAM b. delete startup-config c. erase flash d. erase startup-config e. erase start
13. Which command will delete the contents of NVRAM on a switch? c. erase flash C. Wireless APs are very popular today and will be going away about the same time that rock n' roll does. The idea behind these devices (which are layer 2 bridge devices) is to connect wireless products to the wired Ethernet network. The wireless AP will create a single collision domain and is typically its own dedicated broadcast domain as well.
14. What is the problem with an interface if you temp show interface g0/1 and receive the following message? gigabit 0/1 is administratively down, line protocol is down a. the keep alives are different times. b. the administrator has the interface shut down c. the administrator is pinging from the interface d. no cable is attached
14. What is the problem with an interface if you temp show interface g0/1 and receive the following message? gigabit 0/1 is administratively down, line protocol is down b. the administrator has the interface shut down B. If an interface is shut down, the show interface command will show the interface as administratively down. (It is possible that no cable is attached, but you can't tell that from this message).
15. Which of the following commands displays the configurable parameters and statistics of all interfaces on a switch? a. show running-config b. show startup-config c. show interfaces d. show versions
15. Which of the following commands displays the configurable parameters and statistics of all interfaces on a switch? c. show interfaces C. With the show interfaces command, you can view the configurable parameters, get statistics for the interfaces on the switch, check for input and CRC errors, and verify if the interfaces are shut down.
16. If you delete the contents of NVRAM and reboot the switch, what mode will you be in? a. privileged mode b. global mode c. setup mode d. NVRAM loaded mode
16. If you delete the contents of NVRAM and reboot the switch, what mode will you be in? c. setup mode C. If you delete the startup-config and reload the switch, the device will automatically enter setup mode. You can also type setup from privileged mode at any time.
17. You type the following command into the switch and receive the following output: switch#show fastethernet 0/1 ^ % invalid input detected at '^' marker. Why was this error message displayed? a. you need to be in privileged mode. b. you cannot have a space between fastethernet and 0/1 c. the switch does not have a fastethernet and 0/1 d. part of the command is missing
17. You type the following command into the switch and receive the following output: switch#show fastethernet 0/1 ^ % invalid input detected at '^' marker. Why was this error message displayed? d. part of the command is missing D. You can view the interface statistics from user mode, but the command is show interface fastethernet 0/0.
18. You type Switch#sh r and receive a % ambiguous command error. Why did you receive this message? a. the command requires additional options or parameters b. there is more than one show command that starts with the letter r c. there is no show command that starts up r d. the command is being executed from the wrong mode
18. You type Switch#sh r and receive a % ambiguous command error. Why did you receive this message? b. there is more than one show command that starts with the letter r B. The % ambiguous command eeor means that there is more than one possible show command that starts with r. Use a question mark to find the correct command.
19. Which of the following commands will display the current IP addressing and the layer 1 and 2 status of an interface? (close two) a. show version b. show interfaces c. show controllers d. show ip interface e. show running-config
19. Which of the following commands will display the current IP addressing and the layer 1 and 2 status of an interface? (close two) b. show interfaces d. show ip interface B,D. The command show interfaces and show ip interface will show you the layer 1 and 2 status and the ip addresses of your router's interfaces.
2. The output of the show running-config command comes from ___? a. nvram b. flash c. ram d. firmware
2. The output of the show running-config command comes from ___? c. ram c. Once the IOS is load and up and running, the startup-config will be copied from NVRAM into RAM and from then on, referred to as the running-config.
20. At which layer of the OSI model would you assume the problem is if you type show interface serial 1 and receive the following message? serial1 is down, line protocol is down a. physical layer b. network layer c. network layer d. none; it is a router problem
20. At which layer of the OSI model would you assume the problem is if you type show interface serial 1 and receive the following message? serial1 is down, line protocol is down a. physical layer A. If you see that a serial interface and the protocol are both down, then you have a physical layer problem. if you see serial1 is up, line protocol is down, then you are not receiving (Data link) keepalives from the remote end.
3. Which two of the following commands are required when configuring SSH on your router? (choose two) a. enable secret password b. exec-timeout 0 0 c. ip domain-name name d. username name password password e. ip ssh version 2
3. Which two of the following commands are required when configuring SSH on your router? (choose two) c. ip domain-name name d. username name password password C,D, To configure SSH on your router, you need to set the username command, the ip domain-name, login local and the transport input ssh under the VTY lines and the crypto key command. However, SSH version 2 is suggested but not required.
4. Which command will show you whether a DTE or a DCE cable is plugged into serial 0/0 on your router's WAN port? a. sh int s0/0 b. sh int serial0/0 c. show controllers s0/0 d. show serial0/0 controllers
4. Which command will show you whether a DTE or a DCE cable is plugged into serial 0/0 on your router's WAN port? c. show controllers s0/0 C. The show controllers serial 0/0 command will show you whether either a DTE or DCE cable is connected to the interface. If it is a DCE connection, you need to add clocking with the clock rate command.
7. Which of the following commands will configure all the default VTY ports on a switch? a. switch#line vty 0 4 b. switch(config)#line vty 0 4 c. switch(config-if)#line console 0 d. switch(config)#line vty all
7. Which of the following commands will configure all the default VTY ports on a switch? b. switch(config)#line vty 0 4 B. From global configuration mode, use the line vty 0 4 command to set all five default VTYlines. However, you would typically always set all Ines, not just the defaults.
8. Which of the following commands sets the privileged mode password to Cisco and encrypts the password? a. enable secrete password Cisco b. enable secret cisco c. enable secret Cisco d. enable password Cisco
8. Which of the following commands sets the privileged mode password to Cisco and encrypts the password? c. enable secret Cisco C. The enable secret password is case sensitive, so the second option is wrong. To set the enable secret password, use the enable secret password command from global configuration mode. The password is automatically encrypted.
9. If you wanted administrators to see a message when logging into the switch, which command would you use? a. message banner motd b. banner message motd c. banner motd d. messgae motd
9. If you wanted administrators to see a message when logging into the switch, which command would you use? c. banner motd C. The banner motd sets a message sets a message of the day for administrators when they login to a switch or router.