Chapter 6: Cisco IOS
1. Router(config)# clock rate 1000000
1. What command is used to set a serial interface to provide clocking to another router at 1000 Kb?
d
1. You type show interfaces fa0/1 and get this output: 275496 packets input, 35226811 bytes, 0 no buffer Received 69748 broadcasts (58822 multicasts) 0 runts, 0 giants, 0 throttles 111395 input errors, 511987 CRC, 0 frame, 0 overrun, 0 ignored 0 watchdog, 58822 multicast, 0 pause input 0 input packets with dribble condition detected 2392529 packets output, 337933522 bytes, 0 underruns 0 output errors, 0 collisions, 1 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier, 0 PAUSE output 0 output buffer failures, 0 output buffers swapped out What could the problem possibly be with this interface? A. Speed mismatch on directly connected interfaces B. Collisions causing CRC errors C. Frames received are too large D. Interference on the Ethernet cable
10. Switch# config t Switch(config)# hostname Sales
10. How would you set the name of a switch to Sales?
c
10. Which of the following prompts indicates that the switch is currently in privileged mode? A. Switch(config)# B. Switch> C. Switch# D. Switch(config-if)
d
11. What 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
d
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
c
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
b
14. What is the problem with an interface if you type show interface g0/1 and receive the following message? Gigabit 0/1 is administratively down, line protocol is down A. The keepalives are different times. B. The administrator has the interface shut down. C. The administrator is pinging from the interface. D. No cable is attached.
c
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
c
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
d
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 0/1 interface. D. Part of the command is missing.
b
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 with r. D. The command is being executed from the wrong mode.
b
19. Which of the following commands will display the current IP addressing and the layer 1 and 2 status of an interface? (Choose two.) A. show version B. show interfaces C. show controllers D. show ip interface E. show running-config
2. Switch# config t switch config)# line vty 0 15 switch(config-line)# no login
2. If you telnet into a switch and get the response connection refused, password not set, what commands would you execute on the destination device to stop receiving this message and not be prompted for a password?
c
2. The output of the show running-config command comes from _________. A. NVRAM B. Flash C. RAM D. Firmware
a
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. Data Link layer C. Network layer D. None; it is a router problem.
3. Switch# config t Switch(config)# int f0/1 Switch(config-if)# no shutdown
3. If you type show int fastethernet 0/1 and notice the port is administratively down, what commands would you execute to enable the interface?
c, d
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
4. Switch# erase startup-config
4. If you wanted to delete the configuration stored in NVRAM, what command(s) would you type?
c
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
5. Switch# config t Switch(config)# line console 0 Switch(config-line)# password todd Switch(config-line)# login
5. If you wanted to set the user-mode password to todd for the console port, what command(s) would you type?
6. Switch# config t Switch(config)# enable secret cisco
6. If you wanted to set the enable secret password to cisco, what command(s) would you type?
b
6. Using the given output, what type of interface is shown? [output cut] Hardware is MV96340 Ethernet, address is 001a.2f55.c9e8 (bia 001a.2f55.c9e8) Internet address is 192.168.1.33/27 MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255 A. 10 Mb B. 100 Mb C. 1000 Mb D. 1000 MB
7. Router# show controllers serial 0/2
7. If you wanted to determine if serial interface 0/2 on your router should provide clocking, what command would you use?
b
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
8. Switch# show terminal
8. What command would you use to see the terminal history size?
c
8. Which of the following commands sets the privileged mode password to Cisco and encrypts the password? A. enable secret password Cisco B. enable secret cisco C. enable secret Cisco D. enable password Cisco
c
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. message motd
9. Switch# reload
9. You want to reinitialize the switch and totally replace the running-config with the current startup-config. What command will you use?
Specific configuration modes
Commands that affect interfaces/processes only
Global configuration mode
Commands that affect the entire system
Setup mode
Interactive configuration dialog
User exec mode
Limited to basic monitoring commands
Privileged exec mode
Provides access to all other router commands
Logging synchronous
___ ___ is such a cool command that it should be a default, but it's not. It's great because it's the antidote for those annoying console messages that disrupt the input you're trying to type.
exec-timeout 0 0
the ___ command sets the time-out for the console EXEC session to zero, ensuring that it never times out