Managing IOS Images Flashcards
Chapter 35
Where does IOS store the running-config?
NVRAM
What are the 5 types of file systems on a router?
Opaque, Network, Disk, Usbflash and NVRAM
What command displays the contents of a file?
more
Where is the IOS image stored on a router?
Permanent flash
What does the command ‘show flash’ display?
IOS Image, image size, bytes available and bytes used.
What does the command ‘dir flash0:’ display?
IOS image, image size, bytes total and bytes free.
What command checks the integrity of a downloaded IOS?
verify /md5 flash0:
What file transfer protocols can be used to copy and IOS image to a router?
TFTP, FTP, SCP
What commands allow you to store FTP username and password on a router?
ip ftp username
ip ftp password
What is the command to FTP a file to the router?
copy ftp://:@/ flash
What is required to configure a router as an SCP server?
configure local authentication including privilege 15
configure a domain name (i.e. domain.com>
cmd ‘crypto key generate rsa’
cmd ‘ip ssh version 2’
cmd ‘ip scp server enable’
What 4 steps does a router go through when powered on?
1.) POST to discover and test hardware
2.) Copies bootstrap program from ROM into RAM and
runs it.
3.) Bootstrap decide which IOS to load, loads it, and
then hands control over to newly loaded OS.
4.) IOS finds startup-config and loads it into RAM.
What does ‘config-register 2100’ do?
Loads ROMMON next time router is reloaded.
What is the default config-register setting and what does it do?
- 2102
- console speed set to 9600
- load an IOS image (not rommon)
How does a router decide which IOS to load?
- boot field (last digit in the config register)
* cmd ‘boot system’ in the startup-config
What does ‘config-register 2101’ do?
Loads the first IOS image in flash.
What does ‘config-register 2102 thru F’ do?
Try each ‘boot system’ cmd in startup-config until one works. If none work then load first IOS in flash.
What does a router do if no IOS images will load or can be found?
Loads rommon.
What are the steps for password recovery?
1.) Reboot the router pressing BREAK during startup to
enter rommon mode.
2.) From rommon mode set config-register using cmd
‘confreg 2142’ to ignore startup-config on next
restart.
3.) Reboot the router again loading normal IOS but
without loading the startup-config file.
4.) Enter ‘enable’ mode.
5.) Enter ‘copy startup-config running-config’
6.) Enter ‘config t’ and change passwords.
7.) Change config-register back to 2102
8.) Enter ‘copy running-config startup-config’
How do you restore a backup configuration file?
copy tftp startup-config
then reload the router.
How do you set up a device to archive?
R1#config t
R1#(config)#archive
R1(config-archive)#path ftp:// wendell:odom@192.168.1.170/
R1(config-archive)#time-period 1440
R1(config-archive)#write-memory (backs up when copy run start)
R1(config-archive)#^ Z
What command is used to restore an archived config?
cmd ‘configure replace’
What command deletes a configuration file
cmd ‘erase nvram:’