Cisco CCNA Chapter 4

  1. You type show running-config and get this output:

    [output cut]

    Line console 0
               Exec-timeout 1 44
               Password 7098C0BQR

    [output cut]

    What do the two numbers following the exec-timeout command mean?

    A. If no command has been typed in 44 seconds, the console connection will be closed.

    B. If no router activity has been detected in 1 hour and 44 minutes, the console will be locked out.

    C. If no commands have been typed in 1 minute and 44 seconds, the console connection will be closed.

    D. If you're connected to the router by Telnet connection, input must be detected within 1 minute and 44 seconds or the connection will be closed.        
    ( C ) - The exec-timeout command is set in minute and seconds.
  2. You need to find the broadcast address used on a LAN on your router.  What command will you type into the router from user mode to find the broadcast address?

    A. show running-config

    B. show startup-config

    C. show interfaces

    D. show protocols
    ( C ) - The command show ip protocols will actually show you the broadcast address for each interface - too bad it isn't a possible answer.  Your best answer is show interfaces, which wi; provide the IP address and mask fir each interface.  You can then determine the mask from the vast subnetting knowledge you gained in chapter 3.
  3. You want to totally reinitialize the router and replace the current running-config with the current startup-config.  What command will you use?

    A. replace run start

    B. copy run start

    C. copy start run

    D. reload
    ( D ) - You may have picked option C, which isn't a bad answer.  Remember, though, it doesn't replace the configuration, it appends it.  To completely replace the running-config with the startup-config, you must reload the router.
  4. Which command will show you whether a DTE or a DCE cable is plugged into serial 0?

    A. sh int s0

    B. sh int serial 0

    C. show controllers s 0

    D. show serial 0 controllers
    ( C ) - The show controllers serial 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.
  5. What keystroke will terminate setup mode?

    A. Ctrl+Z

    B. Ctrl+^

    C. Ctrl+C

    D. Ctrl+Shift+^
    ( C ) - You can exit setup mode at any time by using the keystroke Crtl+C.
  6. You set the console password, but when you display the configuration, the password doesn't show up; it looks like this:

    [output cut]
    Line console 0
             Exec-timeout 1 44
             Password 7098C0BQR
    [output cut] 

    What caused the password to be stored like this?

    A. encrypt password

    B. service password-encryption

    C. service-password-encryption

    D. exec-timeout 1 44
    ( B ) - The command service password-encryption, from global configuration mode, will encrpt the passwords.
  7. Which of the following commands will configure all the default VTY ports on a router?

    A. Router#line vty 0 4

    B. Router (config)#line vty 0 4

    C. Router (config)# line console 0

    D. Router (config)# line vty all 
    ( B ) - From global configuration mode, use the line vty 0 4 command to set all five default VTY lines.
  8. Which of the following commands sets the secret password to Cisco?

    A. enable secret password Cisco

    B. enable secret cisco

    C. enable secret Cisco

    D. enable password 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.
  9. If you wanted administrators to see a message when logging into the router, which command would you use?

    A. message banner motd

    B. banner message motd

    C. banner motd

    D. message motd
    ( C ) - The typical banner message is a message of the day (MOTD) and is set by using the global configuration mode command banner motd.
  10. How many simultanous Telnet sessions does a Cisco router support by default?

    A. 1

    B. 2

    C. 3

    D. 4

    E. 5

    F. 6
    ( E ) - Cisco routers, if they do not have the Enterprise edition of the IOS, will default to 5 simultanous Telnet sessions.
  11. What command do you type to save the configuration stored in RAM to NVRAM?

    A. Router(config)#copy current to starting

    B. Router#copy starting to running

    C. Router(config)#copy running-config startup-config

    D. Router#copy run start 
    ( D ) - To copy the running-config to NVRAM so that it will be used if the router restarted, use the copy running-config startup-config comand ( copy run start for short).
  12. You try to telnet into SFRouter from router Corp and receive this message:

    Corp#telnet SFRouter
    Trying SFRouter (

    Password required, but none set
    [connection to SFRouter closed by foreign host] 

    Which of the following sequences will address this problem correctly?

    A. Corp(config)#line console 0

    B. SFRouter(config)#line console 0

    C. Corp(config)#line vty 0 4

    D. SFRouter(config)#line vty 0 4
    ( 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 the answers have you set login command before you set the password.  Remember, Cisco may have you set the password before the login command.
  13. Which command will delete the contentsof NVRAM on a router?

    A. delete NVRAM

    B. delete startup-config

    C. erase NVRAM

    D. erase start
    ( D ) - The erase startup-config command erases the contents of NVRAM and will put you in setup mode if the router is restarted.
  14. What is the problem with an interface if you type show interface serial 0 and recieve the following message?

    Serial0 is administrately 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.
    ( 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 the router?

    A. show running-config

    B. show startup-config

    C. show interfaces

    D. show versions
    ( C ) - With the show interfaces command, you can view the configurable parameters, get statistics for the interfaces on the router, verify if the interfaces are shut down, and see the IP address of each interface.
  16. If you delete the contents of NVRAM and reboot the routerm what mode will you be in?

    A. Privledged mode

    B. Global mode

    C. Setup mode

    D. NVRAM loaded mode
    ( C ) - If you delete the startup-config and reload the router, the router will automatically enter setip mode.  You can also type setup from priviledged mode at any time.
  17. You type the following command into the router and recieve the following output:

    Router#show serial 0/0
    % Invalid input detected at '^' marker.

    Why was this error message displayed?

    A. You need to be in privledged mode.

    B. You cannot have a space between serial and 0/0.

    C. The router does not have a serial0/0 interface

    D.  Part of the command is  missing
    ( D ) - You can view the interface statistics from user mode, but the command is show interface serial 0/0.
  18. You type Router#sh ru and recieve an % ambiguous command error.  Why did you recieve this message?

    A. The command requires additional options or parameters.

    B. There is more than one show command that starts wuth the letters ru.

    C. There is no show command that starts with ru.
    ( B ) - The % ambiguous command error means that there is more then one possible command that starts with ru. 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? (Choose three)

    A. show version

    B. show protocols

    C. show interfaces

    D. show controllers

    E. show ip interfaces

    F. show running-config
    ( B, C, & E ) - The commands show interface and the protocols, show interfaces, and show ip interface will show you the layer 1 & 2 status and the IP addresses of your router's interfaces.
  20. What layer of the OSI model would you assume the problem is in if you type show interface serial 1 and recieve the following message?

    Serial1 is down,  line protocol is down

    A. Physical layer

    B. Data Link Layer

    D. None; it is a router problem
    ( A ) - If you see that a serial interface and the protocols are both down, then you are not receiveing (Data Link) keepalives from the remote end.
  21. What command is used to set a serial interface to provide clocking to another router at 64Kb?
    clock rate 64000
  22. If you telnet into a router and get the responce connection refused, password not set, what would you do on the destination router to receiving this message and not be prompted for a password?
    • config t
    • line vty 0 4
    • no login   
  23. If you type show inter et 0 and notice the port is administratively down, what would you do?
    • config t
    • int e0
    • no shut
  24. If you want to delete the configuration stored in NVRAM, what would you type?
    erase startup-config
  25. If you wanted to set a user-mode password for the console port, what would you type?
    • config t
    • line console 0
    • login
    • password todd    
  26. If you wanted to set the enable secret password to cisco, what would you type?
    • config t
    • enable secret cisco 
  27. If you wanted to see if a serial interface needed to provide clocking, what command would you use?
    show controllers int
  28. What command would you use to see the terminal history size?
    show terminal
  29. You want to reinitialize the router and totally replace the running-config with the current startup-config.  What command will you use?
  30. How would you set the name of a router to Chicago?
    • config t
    • hostname Chicago
Card Set
Cisco CCNA Chapter 4
Internetworking Operating System & Security Device Manager