background image
66 Chapter 2: Cisco Internetwork Operating System (IOS) Fundamentals
Answers to Scenarios
Scenario 2-1 Answers
In Scenario 2-1, the following commands were added to the configuration:
·
enable secret as a global command.
·
prompt as a global command.
·
no cdp enable as an Ethernet0 subcommand.
·
The hostname command also was changed.
The scenario questions' answers are as follows:
1
If the host name was changed to SouthSiberia first and the prompt command was added
next, the prompt would have temporarily been SouthSiberia. Configuration commands are
added to the RAM configuration file immediately and are used. In this case, when the
prompt command was added, it caused the router to use "Gorno," not the then-current
host name "SouthernSiberia," as the prompt.
2
No practical effect takes place. Because no other Cisco CDP-enabled devices are on that
Ethernet, CDP messages from Gorno are useless. So, the only effect is to lessen the
overhead on that Ethernet in a very small way.
3
No effect takes place other than cleaning up the configuration file. The enable password
is not used if an enable secret is configured.
Scenario 2-2 Answers
The answers to the questions in Scenario 2-2 are as follows:
1
The first boot system statement would be used: boot system tftp c2500-js-113.bin
134.141.88.3
.
2
The boot system flash command would be used. The TFTP boot would presumably fail
because there is not currently a route to the subnet of which the TFTP server is a part. It
is reasonable to assume that a route would not be learned 2 minutes later when the router
had reloaded. So, the next boot system command (flash) would be used.
3
The boot system ROM command would be used. Because there is no file in Flash called
c2500-j-l.111-9.bin, the boot from Flash memory would fail as well, leaving only one
boot command.
4
The IOS from ROM would be loaded due to the configuration register. If the configuration
register boot field is set to 0x1, boot system commands are ignored. So, having a route to
the 134.141.88.0/24 subnet and having c2500-j-l.111-9.bin in Flash memory does not
help.
ch02.fm Page 66 Monday, March 20, 2000 4:57 PM