Do I Know This Already Quiz

1. In which of the following modes of the CLI could you configure the duplex setting for interface fastethernet 0/5?

Answer: E. The duplex command is an interface subcommand.

Q&A

2. In which of the following modes of the CLI could you issue a command to erase the initial configuration of the switch?

Answer: B. The erase command is an exec command, so it cannot be issued from any configuration mode. User mode does not allow the use of the erase command.

3. What type of switch memory is used to store the configuration used by the switch when the switch first comes up?

Answer: D. IOS loads the config from NVRAM into RAM during the boot sequence.

4. What command copies the configuration from RAM into NVRAM?

Answer: F. The first parameter identifies the source of the config, and the last parameter identifies the destination.

5. What mode prompts the user for basic configuration information? Answer: D

6. Imagine that you had configured the enable secret command, followed by the enable password command, from the console. You log out of the switch and log back in at the console. Which command defined the password that you had to type to access privileged mode again from the console?

Answer: B. When both are configured, the enable secret password takes precedence over the enable password.

7. In what LED mode does the switch use the per-port LEDs to show information about the current load on the switch?

Answer: B

8. Which of the following is not true of both a 2950 switch and Cisco routers? Answer: A. 2950 switches do not have auxiliary ports.

1. What are the two names for the switch's mode of operation that, when accessed, enables you to issue commands that could be disruptive to switch operations?

Answer: Enable mode and privileged mode. Both names are commonly used and found in Cisco documentation.

2. What are two methods of logging on to a switch?

Answer: Console and Telnet. Both cause the user to enter user exec mode.

3. What is the name of the user interface mode of operation used when you cannot issue disruptive commands?

Answer: User exec mode.

4. What command would you use to receive command help if you knew that a show command option begins with a c but you cannot recall the option?

Answer: show c?. Help would appear immediately after you typed the ? symbol. You would not need to press Enter after the ?. If you did so, the switch would try to execute the command with only the parameters that you had typed after the ?.

5. While you are logged in to a switch, you issue the command copy ? and get a response of "Unknown command, computer name, or host." Offer an explanation for why this error message appears.

Answer: You were in user mode. You must be in enable/privileged mode to use the copy command. When in user mode, the switch does not provide help for privileged commands, and it treats the request for help as if there is no such command.

6. How can you retrieve a previously used command? (Name two ways.)

Answer: Use Ctrl-p and the up arrow (literally the up arrow key on the keyboard). Not all terminal emulators support Ctrl-p or the up arrow, so recalling both methods is useful.

7. What configuration command causes the switch to require a password from a user at the console? What configuration mode context must you be in? (That is, what command[s] must be typed before this command after entering configuration mode?) List the commands in the order in which they must be typed while in config mode.

line console 0 login

Answer: The line console 0 command is a context-setting command; it adds no information to the configuration. The command can be typed from any part of configuration mode. The login command, which follows the line console 0 command, tells IOS that a password prompt is desired at the console.

8. What configuration command is used to tell the switch the password that is required at the console? What configuration mode context must you be in? (That is, what command[s] must you type before this command after entering configuration mode?) List the commands in the order in which they must be typed while in config mode.

line console 0 password xxxxxxx

Answer: The password command tells IOS the value that should be typed when a user wants access from the console. This value is requested by IOS because of the login command. The password xxxxxxx must be typed while in console configuration mode, which is reached by typing line console 0.

9. What are the primary purposes of Flash memory in a Cisco switch?

Answer: To store IOS and microcode files. In most switches, only IOS is stored in flash. If microcode is upgraded, the files also reside in Flash memory.

10. What is the intended purpose of NVRAM memory in a Cisco 2950 switch?

Answer: To store a single configuration file, used at switch load time. NVRAM does not support multiple files.

11. What does the "NV" stand for in NVRAM?

Answer: Nonvolatile. NVRAM is battery powered if it is really RAM. In some switches, Cisco has (sneakily) used a small portion of Flash memory for the purpose of NVRAM, but Cisco would not ask such trivia on the test.

12. What is the intended purpose of RAM in a Cisco 2950 switch?

Answer: RAM is used as IOS working memory (storing such things as MAC address tables and frames) and for IOS code storage.

13. What command sets the password that would be required after typing the enable command? Is that password encrypted by default?

Answer: enable password or enable secret. The password in the enable command is not encrypted, by default. The enable secret password is encrypted using MD5.

14. Is the password required at the console the same one that is required when Telnet is used to access a switch?

Answer: No. The Telnet ("virtual terminal") password is not the same password, although many installations use the same value.

15. Name two commands used to view the configuration to be used at the next reload of a 2950 switch. Which one is a more recent addition to IOS?

Answer: show config and show startup-config. show startup-config is the newer one and, hopefully, is easier to remember.

16. Name two commands used to view the configuration that is currently used in a 2950 switch. Which one is a more recent addition to IOS?

Answer: write terminal and show running-config. show running-config is the newer command and, hopefully, is easier to remember.

Was this article helpful?

0 0

Post a comment