Chapter 35 - Managing IOS Files Flashcards
An engineer needs to put a new IOS image into a router’s flash memory as part of an IOS upgrade. Which of the following could the engineer do to move files into the router?
a. Use the copy ftp flash command to copy files into flash using FTP.
b. Use the copy flash tftp command to copy files using TFTP into flash.
c. Use the copy scp flash command to copy files into flash using SCP.
d. Use the ios restore command to copy files into flash from the file archive.
A.
The copy command lists the from location first and the to location second, making copy flash tftp incorrect because the question states that the file needs to be copied into the router’s flash. Copying files using SCP does not use the copy command. The ios restore command is not a command in IOS. The copy ftp flash command can be used to copy a file from an FTP server into flash memory on a router.
What is the first step a typical Cisco router takes during the boot process when attempting to locate an operating system to load?
a. The router looks for an image on a TFTP server.
b. The router checks its configuration register boot field.
c. The router boots to ROMMON.
d. The router looks in flash memory for a Cisco IOS image file.
B.
The first step in the process of locating a Cisco IOS image is to check the boot field of the configuration register. This value instructs the router whether to load ROMMON or IOS, and if IOS, specifically the steps to take to find the IOS to load. This first step (the boot field) usually instructs the router to use the image file in flash.
After your Cisco router boots, what is a simple way to verify the Cisco IOS image that was loaded and the location from which it was copied into RAM?
a. show running-config
b. show boot
c. show cisco ios
d. show version
D.
The show version command is a simple way to verify the location and image filename of the operating system that your Cisco router is running. Of the other answers, only show running-config is a valid command.
Which value in the configuration register controls how the router boots?
a. The third hexadecimal character
b. The second hexadecimal character
c. The first hexadecimal character
d. The last hexadecimal character
D.
The last hexadecimal character in the configuration register is called the boot field. It controls how the router boots. For example, this character can be set on the router to force the device to boot into ROMMON mode.
You have forgotten your privileged mode password and cannot access global configuration mode. During the password recovery process, how can you change the configuration register if you cannot remember enough passwords to get into configuration mode of the router?
a. Using ROMMON mode
b. Using the Setup Utility
c. Using the GUI for configuring the device
d. Using password reset mode
A.
As part of the password recovery process, you must reset the configuration register to have the router ignore the existing startup configuration. You can accomplish this by entering ROMMON mode.
What type of router memory is used to store the configuration used by the router when it is up and working?
a. RAM
b. ROM
c. Flash
d. NVRAM
A.
IOS uses RAM to store working items, like the running-config file and working memory for IOS. It uses ROM for permanent storage of the POST and bootstrap code, flash for the IOS and other files, and NVRAM for the startup-config file.
An engineer has made dozens of configuration changes to a router’s configuration in the previous hour. The engineer wants to revert back to a configuration that he had previously saved to an external FTP server. Which facilities would allow the engineer to go back to using the exact same running configuration that the router had an hour ago without reloading the router?
a. Use the copy ftp running-config command
b. Use the copy ftp startup-config command
c. Use the archive restore ftp command
d. Use the config replace command
D.
The copy ftp running-config command copies a file into the running-config file, but it does not replace the running config; the running config might not exactly match the source file after using this command. The copy ftp startup-config command does not change the running-config. There is no archive restore ftp command. The config replace command will copy a file from the archive into running-config, replacing the running-config without reloading the router.