Booting XM Images on Non-XM 2600 Series Routers

Booting XM Images on Non-XM 2600 Series Routers

Introduction:

One of the limitations of the older 2600 series routers (2610/2611/2620/2621) is that they lack the memory capacity to run newer IOS images. Within the scope of the CCIE Routing & Switching Lab Exam this translates to the lack of OSPFv3 support for IPv6. Luckily for us however the older 2600 series routers are essentially the same platform as the 2600XM routers, simply with less processing power and memory capacity. What this means is that the 2600 series routers can boot 2600XM images, and therefore run IOS versions that includes OSPFv3 support. In order to accomplish this we will use the "tftpdnld -r" command from rommon to boot an IOS image into RAM. Since the image will be running from RAM a TFTP download will be required every time the router is rebooted.

Configuration:

Below we see a 2610 router running the 12.2(15)T7 IP Plus image. While it does support IPv6 routing it lacks OSPFv3 support.
Router#show version
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-J1S3-M), Version 12.2(15)T7,  RELEASE SOFTWARE (fc2)
TAC Support: http://www.cisco.com/tac
Copyright (c) 1986-2003 by cisco Systems, Inc.
Compiled Sat 09-Aug-03 07:18 by ccai
Image text-base: 0x80008098, data-base: 0x8195144C

ROM: System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)

Router uptime is 10 hours, 58 minutes
System returned to ROM by power-on
System image file is "flash:c2600-j1s3-mz.122-15.T7.bin"

cisco 2610 (MPC860) processor (revision 0x202) with 59392K/6144K bytes of memory.
Processor board ID JAD03337409 (4221326695)
M860 processor: part number 0, mask 49
Bridging software.
X.25 software, Version 3.0.0.
TN3270 Emulation software.
1 Ethernet/IEEE 802.3 interface(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read/Write)

Configuration register is 0x2142 (will be 0x2102 at next reload)
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#ipv6 unicast-routing
Router(config)#ipv6 router ospf 1
Router(config)#interface e0/0
Router(config-if)#ipv6 ospf 1 area 0
^
% Invalid input detected at '^' marker.

Router(config-if)#end
Router#
In order to boot the XM image we first have to boot into rommon. To accomplish this reload the router and then press CTRL-BREAK as the router begins to boot.
Router#reload

System configuration has been modified. Save? [yes/no]: n
Proceed with reload? [confirm]

*Mar  1 10:59:13.751: %SYS-5-RELOAD: Reload requested by console.
System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)
Copyright (c) 1999 by cisco Systems, Inc.
TAC:Home:SW:IOS:Specials for info
PC = 0xfff0a530, Vector = 0x500, SP = 0x680127b0
C2600 platform with 65536 Kbytes of main memory

PC = 0xfff0a530, Vector = 0x500, SP = 0x80004864

monitor: command "boot" aborted due to user interrupt
rommon 1 >
Next set the environment variables for loading an IOS image via tftp.
rommon 1 > IP_ADDRESS=192.10.4.1
rommon 2 > IP_SUBNET_MASK=255.255.255.0
rommon 3 > DEFAULT_GATEWAY=192.10.4.254
rommon 4 > TFTP_SERVER=192.10.4.254
rommon 5 > TFTP_FILE=2600xm.bin
Next issue the "tftpdnld -r" command. Note that the -r switch is required to instruct the router to load the image to RAM instead of writing it to flash.
rommon 6 > tftpdnld -r

IP_ADDRESS: 192.10.4.1
IP_SUBNET_MASK: 255.255.255.0
DEFAULT_GATEWAY: 192.10.4.254
TFTP_SERVER: 192.10.4.254
TFTP_FILE: 2600xm.bin
....
Receiving 2600xm.bin from 192.10.4.254 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!
File reception completed.
program load complete, entry point: 0x80008000, size: 0x1176b34
Self decompressing the image : ###########################################
##########################################################################
##########################################################################
##########################################################################
###################################################################### [OK]

Smart Init is disabled. IOMEM set to: 10

Configured I/O memory percentage was too large. Using 10 percent iomem.
Restricted Rights Legend

Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706



Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-JS-M), Version 12.2(15)T14, RELEASE SOFTWARE (fc4)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Sat 28-Aug-04 06:48 by cmong
Image text-base: 0x80008098, data-base: 0x81D1B400

cisco 2610 (MPC860) processor (revision 0x202) with 59392K/6144K bytes of memory.
Processor board ID JAD03337409 (4221326695)
M860 processor: part number 0, mask 49
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
TN3270 Emulation software.
1 Ethernet/IEEE 802.3 interface(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read/Write)
Warning:  Attempting a memory percentage that does not provide enough Processor
memory for the currently running image.  If you save your running-config now,
this version of software may not be able to run.



Press RETURN to get started!
We can now see that the router has booted and is running IOS 12.2(15)T14 Enterprise Plus, which is only officially supported as a 2600XM image. Most importantly our 2610 router now has OSPFv3 support.
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#ipv6 unicast-routing
Router(config)#ipv6 router ospf 1
Router(config-rtr)#?
area                   OSPF area parameters
auto-cost              Calculate OSPF interface cost according to bandwidth
compatible             OSPF compatibility list
default                Set a command to its defaults
default-information    Distribution of default information
default-metric         Set metric of redistributed routes
discard-route          Enable or disable discard-route installation
distance               Administrative distance
distribute-list        Filter networks in routing updates
exit                   Exit from IPv6 routing protocol configuration mode
ignore                 Do not complain about specific event
log-adjacency-changes  Log changes in adjacency state
maximum-paths          Forward packets over multiple paths
no                     Negate a command or set its defaults
passive-interface      Suppress routing updates on an interface
redistribute           Redistribute IPv6 prefixes from another routing
protocol
router-id              router-id for this OSPF process
summary-prefix         Configure IPv6 summary prefix
timers                 Adjust routing timers

Router(config-rtr)#interface e0/0
Router(config-if)#ipv6 ospf ?
<1-65535>            Process ID
cost                 Interface cost
database-filter      Filter OSPF LSA during synchronization and flooding
dead-interval        Interval after which a neighbor is declared dead
demand-circuit       OSPF demand circuit
flood-reduction      OSPF Flood Reduction
hello-interval       Time between HELLO packets
mtu-ignore           Ignores the MTU in DBD packets
neighbor             OSPF neighbor
network              Network type
priority             Router priority
retransmit-interval  Time between retransmitting lost link state
advertisements
transmit-delay       Link state transmit delay
Note that the router displays a warning that it is short on processor memory. Ensure to save your configuration early and often in order to avoid losing your work due to a router crash.

Network Bulls
Cisco training Company in india

Delhi/Gurgaon Corporate Office

Address:
Network Bulls
M-44, Old DLF, Sector-14,
Near Kalyani Hospital
15 minutes drive from IGI Delhi Airport
Gurgaon - 122001 Haryana, India

E-mail: info@networkbulls.com This e-mail address is being protected from spambots. You need JavaScript enabled to view it.
Telephone: +91 124 4369201 /02 /03 /04 , +91 124 4142817, +91 124 4103287
Mobile Phone Number: +91 96546-72192 , +91 9560148409 /10
http://www.networkbulls.com

0 comments:

Post a Comment