Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Cisco 870 / SDM from scratch

Hi Folks,

I just re-install the IOS on my router (via XMODEM) - I now want to put SDM back on the box, but I can't connect to the router with the SDM installer? I can connect via HTTP/HTTPS to the router via it's default IP address (although the page it displays is just basic info) but when I try and connect via SDM installer it's not connecting?

What do I need to do?

Cheers,

M

39 REPLIES
Hall of Fame Super Blue

Re: Cisco 870 / SDM from scratch

M

Have you referenced this doc which starts with loading IOS and then loading and configuring SDM ?

http://www.cisco.com/en/US/products/sw/secursw/ps5318/prod_installation_guide09186a00803e4727.html#wp70999

Jon

Community Member

Re: Cisco 870 / SDM from scratch

Good document, looks like what I needed accept I missed a vital step and when I hot reload my router went back to ROMMON. I guess the image I copied up didn't copy in to FLASH. What do I need to do to make sure it does?

M

Hall of Fame Super Blue

Re: Cisco 870 / SDM from scratch

Do you know why it went to ROMMON. It may be that your image is in flash but your configuration register is wrong - it should be 0x2102.

Try boot the router from flash ie.

boot system flash flash:

Jon

Community Member

Re: Cisco 870 / SDM from scratch

I'm not sure why (sorry), I am now at ROMMOM 7, if I do DIR I get:-

flash[0]: (read-write)

The show flash command won't work?

Hall of Fame Super Blue

Re: Cisco 870 / SDM from scratch

try "dir flash"

Do you know the image name that you loaded onto the router ?

Jon

Community Member

Re: Cisco 870 / SDM from scratch

Yes, I have the image name.

c870-advipservicesk9-mz.124-20.T1.bin

When I do dir flash I get:-

unable to stat flash/: permission denied

Hall of Fame Super Blue

Re: Cisco 870 / SDM from scratch

try

rommom> boot

if nothing

rommon> boot system flash flash:c870-advipservicesk9-mz.124-20.T1

Let me know

Jon

Community Member

Re: Cisco 870 / SDM from scratch

Neither of those commands worked. :(

Hall of Fame Super Blue

Re: Cisco 870 / SDM from scratch

Where did you upload image to ??

Try this

rommon> confreg 2101

then try pervious boot commands in last post.

Jon

Community Member

Re: Cisco 870 / SDM from scratch

Well, when I copied the image I used this:-

xmodem -c c870-advipservicesk9-mz.124-20.T1.bin

The image copied up OK and then I was able to configure the IOS and that's what I started to install SDM. At one point I rebooted it (power cycle) and then the image was no longer there.

Tried the 2101 it says "No bootable image file"

M

Hall of Fame Super Blue

Re: Cisco 870 / SDM from scratch

Okay, you said you missed an important step - what was that.

Also can you post the output of

rommon> list

Jon

Community Member

Re: Cisco 870 / SDM from scratch

Well, I'm not 100% sure the image was copied to FLASH, hence why when I power cycled the image was not there so it wouldn't boot. But I think doing confreg 0x2102 tells it to boot from FLASH ... No?

list does nothing, but ls gives me:-

List of filesystems currently registered:

flash[01]: (read/write)

Thanks for helping Jon - I'm learning a lot here :)

M

Hall of Fame Super Blue

Re: Cisco 870 / SDM from scratch

Yes - confreg 0x2102 tells it to boot from flash.

No bootable image sounds like we need to load another one. If you have a tftp server you can do this a lot quicker than xmodem. Here is a link to yes another doc :) for using tftp. Do you have a tftp server that you can use ?. If not i can zip a small one that will run on XP and post it here.

http://www.cisco.com/en/US/docs/routers/access/800/850/software/configuration/guide/rommon.html#wp1020649

Jon

Community Member

Re: Cisco 870 / SDM from scratch

I have the SolarWinds TFTP Server on the same machine as I'm using to console in to the 870. I had some problems trying to connect to the server though, you have a better server?

Cheer,

M

Hall of Fame Super Blue

Re: Cisco 870 / SDM from scratch

Never used Solarwinds tftp but here is one that has always worked for me. Have to zip it as Cisco site will not allow uploads of .exe files.

Jon

Community Member

Re: Cisco 870 / SDM from scratch

OK, silly question but how do I get that link to work?

Hall of Fame Super Blue

Re: Cisco 870 / SDM from scratch

Click on the middle icon - the one with the down arrow. This will allow you to download the winzip file. Unzip it and then double-click on tftpd32.exe.

Jon

Community Member

Re: Cisco 870 / SDM from scratch

OK, getting there Jon, image started to copy via TFTP and then it stopped :(

TFTP flash copy: Invalid file header, copy terminated.

Reason: Wrong target platform OR corrupt file.

It can't be corrupt surely? I used it before and it was fine :-/

M

Hall of Fame Super Blue

Re: Cisco 870 / SDM from scratch

M

Need to go to bed now :). I'll pick this up tomorrow morning or hopefully someone else can step in.

If you get the stage where you have the router up and running with your image make sure you set the configuration register before you reload it.

Jon

Community Member

Re: Cisco 870 / SDM from scratch

OK, gonna go to bed as well. Late now and early start tomorrow. Thanks for the help Jon, hopefully we can have another go tomorrow.

M

Community Member

Re: Cisco 870 / SDM from scratch

Hi Jon,

Hope you had a good day at work mate! I hope we can get this problem fixed today (I owe you a beer). I'm trying to do the xmodem upload now but I get "Image size exceeds free flash space" - I checked flash and there is 23M free and my image is 21M. Any ideas?

Cheers,

M

Community Member

Re: Cisco 870 / SDM from scratch

Making a little progress. I've upgraded ROMMOM to the latest version. I'm now copying the latest IOS using XMODEM. I used this command:-

XMODEM -R

What next?

Hall of Fame Super Blue

Re: Cisco 870 / SDM from scratch

Have you managed to copy an image via Xmodem or are you still getting an error ?

If you only have 21M free sounds like you still have an image in flash. How big is your advanced services image ?

Jon

Bronze

Re: Cisco 870 / SDM from scratch

Sorry to interrupt here but what size of flash do you have? The IOS you're trying to load (12.4(20)T1) is large. Once you have it installed you will not be able to install SDM on the router if you only have 24MB flash. Even 28MB will be tight. Of course you'll still be able to run SDM from a PC.

You might want to consider installing a smaller footprint IOS such as 12.4(15)T7 if you don't need any of the new features of 12.4(20)T.

Community Member

Re: Cisco 870 / SDM from scratch

Hi Jon,

No, there were no other images in FLASH. It's copying up now (20 mins to go) had to use XMODEM again (kinda slow but it works).

To KMCCOURT it's no interruption, your input is appreciated. I had it running with 12.4 and SDM originally so it does fit (that was the default when I received the unit) - unfortunately I reset the unit and now we are having this fun and games :)

M

Hall of Fame Super Blue

Re: Cisco 870 / SDM from scratch

M

Okay shout when it is done :)

kmccourt - no problem, please feel free to help out, that's the beauty of NetPro.

Jon

Bronze

Re: Cisco 870 / SDM from scratch

But are you sure it was running with 12.4(20)T1? - that was only released a couple of days ago ;)

Community Member

Re: Cisco 870 / SDM from scratch

ok so I'm now in to the IOS. How can I copy over that IOS to flash?

"But are you sure it was running with 12.4(20)T1? - that was only released a couple of days ago ;) "

Yep, I'm sure, 2 days ago I installed it myself :) (with the help of Jon ;))

Hall of Fame Super Blue

Re: Cisco 870 / SDM from scratch

M

What is the output of a "sh flash"

Jon

882
Views
0
Helpful
39
Replies
CreatePlease to create content