Managing IOS Images Flashcards

Chapter 35

1
Q

Where does IOS store the running-config?

A

NVRAM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the 5 types of file systems on a router?

A

Opaque, Network, Disk, Usbflash and NVRAM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What command displays the contents of a file?

A

more

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Where is the IOS image stored on a router?

A

Permanent flash

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the command ‘show flash’ display?

A

IOS Image, image size, bytes available and bytes used.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does the command ‘dir flash0:’ display?

A

IOS image, image size, bytes total and bytes free.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What command checks the integrity of a downloaded IOS?

A

verify /md5 flash0:

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What file transfer protocols can be used to copy and IOS image to a router?

A

TFTP, FTP, SCP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What commands allow you to store FTP username and password on a router?

A

ip ftp username

ip ftp password

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the command to FTP a file to the router?

A

copy ftp://:@/ flash

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is required to configure a router as an SCP server?

A

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’

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What 4 steps does a router go through when powered on?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does ‘config-register 2100’ do?

A

Loads ROMMON next time router is reloaded.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the default config-register setting and what does it do?

A
  • 2102
  • console speed set to 9600
  • load an IOS image (not rommon)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How does a router decide which IOS to load?

A
  • boot field (last digit in the config register)

* cmd ‘boot system’ in the startup-config

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does ‘config-register 2101’ do?

A

Loads the first IOS image in flash.

17
Q

What does ‘config-register 2102 thru F’ do?

A

Try each ‘boot system’ cmd in startup-config until one works. If none work then load first IOS in flash.

18
Q

What does a router do if no IOS images will load or can be found?

A

Loads rommon.

19
Q

What are the steps for password recovery?

A

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’

20
Q

How do you restore a backup configuration file?

A

copy tftp startup-config

then reload the router.

21
Q

How do you set up a device to archive?

A

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

22
Q

What command is used to restore an archived config?

A

cmd ‘configure replace’

23
Q

What command deletes a configuration file

A

cmd ‘erase nvram:’