Solved

Cisco 2522 doesn't do static routers ?

Posted on 2000-04-27
27
710 Views
Last Modified: 2008-02-26
Hi everyone,

I recently got a CISCO 2522 10 port router. I thought I'd quickly use this to replace a stack of 2501 2 port routers. Everything configures fine until you get to setting up static routes. This router just simply doesn't have the command

ip route !!!

So I thought, well, maybe this is an IOS software set that I haven't seen before, but here is what the router says its got :

---------------------------------
inx-jhb1(boot)#sh version
Cisco Internetwork Operating System Software
IOS (tm) 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c), RELEASE SOFTWA
RE (fc1)
Copyright (c) 1986-1996 by cisco Systems, Inc.
Compiled Fri 27-Dec-96 17:33 by loreilly
Image text-base: 0x01010000, data-base: 0x00001000

ROM: System Bootstrap, Version 11.0(10c), SOFTWARE

inx-jhb1 uptime is 28 minutes
System restarted by reload
Running default software

cisco CPA2522 (68030) processor (revision N) with 2048K/2048K bytes of memory.
Processor board ID 17708247, with hardware revision 00000003
X.25 software, Version 2.0, NET2, BFE and GOSIP compliant.
Basic Rate ISDN software, Version 1.0.
Authorized for CiscoPro software set only.
1 Ethernet/IEEE 802.3 interface.
2 Serial network interfaces.
8 Low-speed serial(sync/async) network interfaces.
1 ISDN Basic Rate interface.
32K bytes of non-volatile configuration memory.
8192K bytes of processor board System flash (Read/Write)

Configuration register is 0x1
---------------------------------

So, it seems to be IOS 11.0(10c). I quickly looked up the command reference on this IOS and there it is :

ip route A.B.C.D N.N.N.N A.B.C.D

Here is what my router reckons it can do under the global ip configuration commands :

------------------------------
inx-jhb1(boot)(config)#ip ?
  bootp
  subnet-zero
  source-route
  tftp
  security
  host-routing
  domain-lookup
  domain-list
  tcp
  telnet
  address-pool
  tacacs
  rcmd
  accounting-threshold
  accounting-list
  accounting-transits
  local
  default-gateway
  host
  hp-host
  domain-name
  name-server
  alias
------------------------------

It says something about software authorised for CiscoPro software set only. It says so just after identifying the ISDN BRI interface, so is this message applicable to only the IDSN interface or to the entire software image?. Also, what is CiscoPro then - a watered down Cisco ? It certainly looks as if this router has a stripped down instruction set. But really, static routes are basic - can it be that CISCO has an IOS version that cannot do static routing? Certainly one can hardly call a device a router if it cannot route !

Ok, so what am I asking? First of all, maybe I have missed how to set up static routes on this router. To set up static routes on our other Cisco's I just use the global configuration command ip route. That does not work with this IOS. Have I missed something?

Secondly, let's assume that it has a sliced down instruction set. Obviously I'll be calling the vendor tomorrow and bitching like mad, but they are technically useless. So which IOS should I ask for? Even though the router claims it has IOS 11.0(10c) and the IOS 11.0 reference set claims it has the command I need, it just simply doesn't. (incidentally, it also doesn't have ip routing!!!). I really only want basic classless IP routing, SNMP and access lists for IP and port filtering. I don't want OSPF, EGRP or BGP (at least not now). I also don't need NAT or other fancies. Obviously I don't know how to see if I've got 11.0 that can route or 11.0 that can't route, so what should I be asking for ?
0
Comment
Question by:stefanx
  • 14
  • 13
27 Comments
 
LVL 3

Accepted Solution

by:
apadua earned 200 total points
ID: 2757406
Ok. The problem here is that you are booting to the BootROM, and not the IOS.
Type a show flash, and you should be able to se the files in your routers flash memory. It should be a CISCO IOS file, and should look something like this:

Router#sh flash

PCMCIA flash directory:
File  Length   Name/status
  1   1282035  c1005-y-mz.112-19a
[1282100 bytes used, 815052 available, 2097152 total]
2048K bytes of processor board PCMCIA flash (Read/Write)

Router#                                                  

If you have an IOS in there, go ahead and type:

Router>
Router>enable
Password:
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#config
Router(config)#config-register 0x2102
Router(config)#wr m


If you have other files before the IOS files (meaning IOS isn't file number 1)

After that, reload your router. now you should have the full IOS functionality installed.

That's it. (Or we hope it is :-)


André

0
 
LVL 3

Expert Comment

by:apadua
ID: 2757423
PS> I got my samples from a Cisco 1005 router. Yours won't list PCMCIA flash, obviously, and the IOS version should be different.


Cheers,

André

PS> You could also try typing in the global configuration:

boot system flash

But also only if you have a file on your router.

If you don't have a file in your flash, which is possible, find the CD that came in your box. You should have one that's called documentation, and another called IOS Feature Set, or something like this.

Run the updater (you'll need the console configured to your machine, and a cross-over cable (included) connected directly from your router to your PC.

Then, update your router with the IP feature set contained in the CD. Takes less than 10 minutes (plus setup time).


Cheers,

Andre
0
 
LVL 8

Author Comment

by:stefanx
ID: 2757440
OK cool, after doing this my router doesn't reboot anymore. Here is what I did :

---------------------------------
inx-jhb1(boot)>en
Password:
inx-jhb1(boot)#sh flash

System flash directory:
File  Length   Name/status
  1   7022676  c2500-i-l.120-5.T
[7022740 bytes used, 1365868 available, 8388608 total]
8192K bytes of processor board System flash (Read/Write)

inx-jhb1(boot)#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
inx-jhb1(boot)(config)#config-register ?
  <0x0-0xFFFFFFFF>

inx-jhb1(boot)(config)#config-register 0x2102
inx-jhb1(boot)(config)#exit
inx-jhb1(boot)#
%SYS-5-CONFIG_I: Configured from console by console
inx-jhb1(boot)#wr mem
Building configuration...
[OK]
inx-jhb1(boot)#reload
Proceed with reload? [confirm]

%SYS-5-RELOAD: Reload requested
System Bootstrap, Version 11.0(10c), SOFTWARE
Copyright (c) 1986-1996 by cisco Systems
2500 processor with 2048 Kbytes of main memory

F3: 6925148+97496+555308 at 0x3000060

Wrong system software for this hardware

System Bootstrap, Version 11.0(10c), SOFTWARE
Copyright (c) 1986-1996 by cisco Systems
2500 processor with 2048 Kbytes of main memory

F3: 6925148+97496+555308 at 0x3000060

Wrong system software for this hardware
---------------------------

Now how do I get it fixed again ?
0
 
LVL 8

Author Comment

by:stefanx
ID: 2757528
Incidentally, it would appear as if the system flash contained IOS12.0(5). The only CD's I got with the router was the diskset containing the 2 documentation CD's - oops :(
0
 
LVL 3

Expert Comment

by:apadua
ID: 2757550
This is the document I got if from. 2102 is the correct value for 2500 series router:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/12cgcr/fun_r/frprt2/frreboot.htm#xtocid205529
0
 
LVL 3

Expert Comment

by:apadua
ID: 2757560
After this, do you get a prompt?
0
 
LVL 3

Expert Comment

by:apadua
ID: 2757597
If you do, what you do is type:

boot system rom

save your settings and reboot.

Good luck.

PS. If you had configured lots of things, you may want to save your configs somewhere else before you save your new settings.

Do a show startup-config, and copy your configs and save it to a text file.

0
 
LVL 8

Author Comment

by:stefanx
ID: 2757643
I don't get any prompt whatsoever, just that same message that appears at the end - over and over and over again.

System Bootstrap, Version 11.0(10c), SOFTWARE
Copyright (c) 1986-1996 by cisco Systems
2500 processor with 2048 Kbytes of main memory

F3: 6925148+97496+555308 at 0x3000060

Wrong system software for this hardware

Any ideas ?
0
 
LVL 3

Expert Comment

by:apadua
ID: 2757656
During the boot sequence (the first 60 seconds after power on), press the break key.

This should bring you back to the rommonitor status. Now you may be able to configure your new boot sequence.


Once again, good luck.

Cheers,

Andre
0
 
LVL 8

Author Comment

by:stefanx
ID: 2757666
OK - that works. Gives me the following :

System Bootstrap, Version 11.0(10c), SOFTWARE
Copyright (c) 1986-1996 by cisco Systems
2500 processor with 2048 Kbytes of main memory

Abort at 0x11195C6 (PC)
>

What now ?

typing setup just hangs the router
0
 
LVL 8

Author Comment

by:stefanx
ID: 2757679
OK, the options in the ROM Monitor are :

>?
$            Toggle cache state
B [filename] [TFTP Server IP address | TFTP Server Name]
             Load and execute system image from ROM or from TFTP server
C [address]  Continue execution [optional address]
D /S M L V   Deposit value V of size S into location L with modifier M
E /S M L     Examine location L with size S with modifier M
G [address]  Begin execution
H            Help for commands
I            Initialize
K            Stack trace
L [filename] [TFTP Server IP address | TFTP Server Name]
             Load system image from ROM or from TFTP server, but do not
             begin execution
O            Show configuration register option settings
P            Set the break point
S            Single step next instruction
T function   Test device (? for help)

Deposit and Examine sizes may be B (byte), L (long) or S (short).
Modifiers may be R (register) or S (byte swap).
Register names are: D0-D7, A0-A6, SS, US, SR, and PC

The most promising thing to do seems to be resetting the configuration register. However, what is the address of the configuration register and how do I set it back to 0x01 ?

This is what happens if I type O :

>O
Configuration register = 0x2102 at last boot
Bit#    Configuration register option settings:
15      Diagnostic mode disabled
14      IP broadcasts do not have network numbers
13      Boot default ROM software if network boot fails
12-11   Console speed is 9600 baud
10      IP broadcasts with ones
08      Break disabled
07      OEM disabled
06      Ignore configuration disabled
03-00   Boot file is cisco2-2500 (or 'boot system' command)




0
 
LVL 8

Author Comment

by:stefanx
ID: 2757697
Andre,

This is obviously a bit beyond me. WOuld you mind if I organised telnet access for you, to log in and talk to the router via serial port. I would have to allow you telnet access on an NAT box, and then from there into a network box, Once logged in, you can start a terminal program (minicom and talk to the router direct). I would really appreciate that, so if you are prepared to do that, mail me your IP Address to stefan@internext.co.za.
0
 
LVL 3

Expert Comment

by:apadua
ID: 2757723
Yep. My IP is in your e-mail account.
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 3

Expert Comment

by:apadua
ID: 2757764
0
 
LVL 3

Expert Comment

by:apadua
ID: 2757812
Here's what I'd need.

the results from the command:
B flash:c2500-i-l.120-5.T

If we get the same error, you're definitely going to need the CD-ROM that includes the new IOS. In it is a TFTP server, which you'll install in your windows box. In the TFTP server directory, you'd copy the IOS file so it's shared. Now, in the router, type:

B c2500filename ipaddress

So it would look like this if your server was 192.168.1.1

B c2500-i-l.120-5.T 192.168.1.1

Wait for it to transfer, and wait for it to work!!!


Good luck,


Andre
0
 
LVL 8

Author Comment

by:stefanx
ID: 2757866
Nope, I tried that and the router appears pretty dead for a long time and then eventually gives me same error again. OK, assuming I can find this IOS disk, I'll try the TFTP route. If I didn't receive it, what do you suggest ?

Can one not download this somewhere ?

Thanks for your help so far
0
 
LVL 8

Author Comment

by:stefanx
ID: 2757869
Oops, another question. Once I have the code from the TFTP Server, is it actually stored in the flash? Or is it going to try and boot each time from the TFTP Server ? If yes, how do I get it to store the IOS image in the flash?

Thanks,

Stefan
0
 
LVL 8

Author Comment

by:stefanx
ID: 2757880
Oops, another question. Once I have the code from the TFTP Server, is it actually stored in the flash? Or is it going to try and boot each time from the TFTP Server ? If yes, how do I get it to store the IOS image in the flash?

Thanks,

Stefan
0
 
LVL 3

Expert Comment

by:apadua
ID: 2757887
It should store to flash. You can check with sh flash.

If it isn't there, you can use the command copy tftp flash to get the file there.

Cisco's doc on the subject is this one:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios111/mods/1mod/1cbook/1csysim.htm#xtocid139415

I've got a bold Idea. Actually, it's a bit dangerous, but here goes:

Get a tftp server. type
copy flash tftp
 Now you backed up your file.

Now, type:


erase flash

You deleted your IOS. Now you can't get an error for wrong IOS file, so you should be sent back to Rommon mode or (boot) mode.

Either way, you will need a new IOS file. (perhaps from your other 2501?)
(To get this file, just do a copy flash tftp from that one to your tftp server, and do a copy tftp flash back on your new one. Most that can happen is you get your current error back again!)

Anyways, It's 11:30 pm here. Good luck, and I'll catch up with you tommorrow.

Andre
0
 
LVL 3

Expert Comment

by:apadua
ID: 2757891
New info: I just read that if the router tries 5 times to boot and fails, it reverts to the (boot)# situation you were at before.

So just reboot it a few times, letting it lock up at that situation we were at.

Andre
0
 
LVL 8

Author Comment

by:stefanx
ID: 2758191
The 5 x story seems to be a myth. I left it on for like 30 boots and it never reverted :(
0
 
LVL 3

Expert Comment

by:apadua
ID: 2762940
stefan,

How are you doing? Hope your support guys got you fixed.


Please let me know, and I'm sorry if I got your case even worse than you were in before.

Good luck,


ANdre
0
 
LVL 8

Author Comment

by:stefanx
ID: 2763479
Hi Andre,

There are just too many public holidays here in South Africa, so I can't get it fixed before Tuesday. But yes, I finally got hold of someone who has got all the IOS image disks and we'll try it on Tuesday.

As for your concerns, no problem. You were really helpful and tried your utmost. Thanks for your efforts. With the router in the boot state I didn't have anything to lose anyway, did I ?

At least now I've been able to learn something new, so thanks for your help.

Stefan
0
 
LVL 3

Expert Comment

by:apadua
ID: 2764003
The strange thing is usually, Cisco does not allow you to purchase a router without purchasing a IOS pack (to prevent software pirating). So make sure you didn't pay for this IOS image, and didn't get it. It comes in a white box, and is called "software feature pack".

Cheers,

Andre
0
 
LVL 8

Author Comment

by:stefanx
ID: 2764056
This doesn't seem to be the case in South Africa. While one definitely pays for the software, you never get it shipped other than that it is already installed on the router. I have probably bought at least 20 CISCOs here (mostly 1601's and 2501's), from different suppliers and not one of them has ever shipped me the IOS separately.

Perhaps I should actually post this question to CISCO themselves, but mind you, I am still waiting for their suggestions on the issue we've been discussing here (I first posted on Thursday afternoon). Doesn't look as if customer service to South Africa is on their priority list.
0
 
LVL 3

Expert Comment

by:apadua
ID: 2764976
I'm in Brazil myself, and I can't really beleive that Cisco delivers their products in different ways (i.e. doesn't give you ANY type of software in a backup media).


Anyhow, good luck on your battle.

Did you try what I was metioning a few posts back? Deleting the current image? (It'd set you to the Rommon boot). You could also backup from your 2501s and download them to 2522. (You have rights for the software anyways, and for now you aren't using your 2501's).

Good luck,


Andre
0
 
LVL 8

Author Comment

by:stefanx
ID: 2784307
For all your efforts.
Even though we didn't get it sorted out, thanks a lot for staying up till 11:30 pm and helping me on this Andre.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

The Cisco RV042 router is a popular small network interfacing device that is often used as an internet gateway. Network administrators need to get at the management interface to make settings, change passwords, etc. This access is generally done usi…
There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now