Cnap - 2 - 05 - Routers and Routing Basics
Cnap - 2 - 05 - Routers and Routing Basics
Table of Content
ROM monitor
initializes
yes Boot no
commands
in NVRAM ?
Executes boot Router’s
commands Fallback sequence
5
6
Executes boot commands in NVRAM Boot system commands
(config)#
Customize
• boot system flash <IOS_filename>
Fallback • boot system tftp <IOS_filename > <TFTP_addr >
sources
• boot system rom
#
Default • copy running-config startup-config
Fallback
sequence
7
16-bit register 0x 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0x 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Bit: 16 3 2 1 0
Boot field
Bit: 16 6 3 2 1 0
0x - - - 0 0 0 0 0
• 0 – 3: Boot field
• 6: Ignore NVRAM contents 1 0 0 0 1
• 8: Break disabled
• 11-12: Console line speed 2 0 0 1 0
• 13: Boot ROM if network boot fails
• 15: Diagnostic and ignore NVRAM F 1 1 1 1
10
9
0xnnn1 Automatically boot from ROM 0x2101 : Boot system from ROM
Examine NVRAM for boot
0xnnn2 – 0xnnnF
system commands 0x 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1
12
Troubleshooting IOS Boot Failure
14
Prefix Description
Flash: Flash memory; Platforms that do not
have a device named flash is aliases
to slot0
Flh: Flash load helper log files
ftp: File transfer protocol
Nvram: NVRAM
Rcp: Remote copy protocol network server
Tftp: Tftp network server
System: Contains the system memory
15
16
Managing configuration files using TFTP Managing Configuration Files Using Copy
• Select Transfer
Router# copy running-config tftp • Select Capture Text
Address or name of remote host[]? 10.10.10.10
Destination filename [Router-config]?
• Specify the name for the text file to capture the
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! configuration
624 bytes copied in 7.05 secs • Select Start to start capturing text
Router#
• Display the configuration to the screen by entering show
Router# copy tftp running-config running-config
Address or name of remote host[]? 10.10.10.10 • Press the space bar when each "-More -" prompt appears
Source filename[] ?router-config
Destination filename [running-config]?
• When the complete configuration has been displayed, stop
Accessing tftp://10.10.10.10/router-config
the capture by:
Loading router-config from 10.10.10.10 (via ethernet 0/0) • Select Transfer
!!!!!!!!!!!!!!!!!!!!!!!!!
• Select Capture Text
[OK-642 bytes]
• Select Stop
17
18
Managing IOS images using TFTP Managing IOS images using Xmodem
20
• IP_SUBNET_MASK: 255.255.255.0 • cisco 2500 (68030) processor (revision N) with 2048K/2048K bytes of memory.
• DEFAULT_GATEWAY: 133.33.7.5 • Processor board ID 23101339, with hardware revision 00000000
• Bridging software.
• TFTP_SERVER: 10.10.10.11 • X.25 software, Version 3.0.0.
• TFTP_FILE: C2600-IS-MZ.120-7.T.BIN • 1 Ethernet/IEEE 802.3 interface(s)
• Invoke this command for disaster recovery only. • 2 Serial network interface(s)
• 32K bytes of non-volatile configuration memory.
• WARNING: all existing data in all partitions on flash will be lost! • 8192K bytes of processor board System flash (Read ONLY)
• Do you wish to continue? y/n: [n]: y
• Configuration register is 0x2102
21
22
Summary