xmodem to 2509

boostinbadgerboostinbadger Member Posts: 256
Is it possible to xmodem an IOS to a 2509? When I set the configuration register to 0x0 it boots to a prompt of ">". When I enter ? I don't see an xmodem option.

Comments

  • tierstentiersten Member Posts: 4,505
    A 2500 uses RxBoot to change the IOS. Google for the instructions. They should be on the Cisco site.
  • kalebkspkalebksp Member Posts: 1,033 ■■■■■□□□□□
    I don't think you can use xmodem in a 2500s rommon. You can use o/r to set the configuration register. ex: If you need to use xmodem you could try setting the configuration register to 0x2101 ("o/r 0x2101"), then using "copy xmodem flash".

    EDIT: I didn't see tiersten's post, he probably knows more about this stuff that I do.
  • tierstentiersten Member Posts: 4,505
    A 2500 runs IOS directly out of flash and the built in ROMMON is very basic. It isn't like the newer routers which copy IOS into RAM and then run it. This means you can't actually change the copy of IOS you've got in flash whilst IOS is running.

    The solution is running RxBoot which is a stripped down version of IOS that is kept in ROM. You boot that, erase the flash and then upload your new version of IOS. You can use T FTP in RxBoot.
  • boostinbadgerboostinbadger Member Posts: 256
    Thanks fellas. I appreciate the help. I will give it a try later on. For now I have to pay attention to the other love in my life besides Cisco....cutting wood for the woodstove :)
  • boostinbadgerboostinbadger Member Posts: 256
    Ok...I have it all setup. I gave the AUI ethernet port an IP address in the same range as the T F T P server and assigned a gateway. I can ping both directions but I can't copy the new IOS to flash. Here is the output:

    Router(boot)#show ip inter
    Ethernet0 is up, line protocol is up
    Internet address is 10.13.200.1, subnet mask is 255.255.0.0
    Broadcast address is 255.255.255.255
    Address determined by setup command
    MTU is 1500 bytes
    Helper address is not set
    Directed broadcast forwarding is enabled
    Outgoing access list is not set
    Inbound access list is not set
    Proxy ARP is enabled
    Security level is default
    Split horizon is enabled
    ICMP redirects are always sent
    ICMP unreachables are always sent
    ICMP mask replies are never sent
    IP fast switching is disabled
    IP fast switching on the same interface is disabled
    IP SSE switching is disabled
    Router Discovery is disabled
    IP output packet accounting is disabled
    IP access violation accounting is disabled
    TCP/IP header compression is disabled
    Probe proxy name replies are disabled
    Gateway Discovery is disabled
    Serial0 is administratively down, line protocol is down
    Internet protocol processing disabled
    Serial1 is administratively down, line protocol is down
    Internet protocol processing disabled
    Router(boot)#ping 10.13.200.2
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 10.13.200.2, timeout is 2 seconds:
    !!!!!
    Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

    Router(boot)#copy t f t p flash

    System flash directory:
    No files in System flash
    [0 bytes used, 8388608 available, 8388608 total]
    Address or name of remote host [10.13.200.2]?
    Source file name? c2500-is-l.123-26.bin
    Destination file name [c2500-is-l.123-26.bin]?
    Accessing file 'c2500-is-l.123-26.bin' on 10.13.200.2...
    Loading c2500-is-l.123-26.bin ... [timed out]
    [failed]
  • tierstentiersten Member Posts: 4,505
    Turn off the firewall on the machine running the T FTP server.
  • boostinbadgerboostinbadger Member Posts: 256
    I don't use a firewall. In fact, I use nLite to completely remove it :)
  • tierstentiersten Member Posts: 4,505
    You sure your T FTP server is working?
  • boostinbadgerboostinbadger Member Posts: 256
    I figured it out. It was a problem with the T F T P server. For some reason I have to stop and restart the T F T P server once in a while and it works again.

    Now I am running into a problem not being able to erase the flash. Here is the output:

    Router(boot)#copy t ftp flash

    System flash directory:
    No files in System flash
    [0 bytes used, 16777216 available, 16777216 total]
    Address or name of remote host [10.13.200.2]?
    Source file name? c2500-is-l.123-26.bin
    Destination file name [c2500-is-l.123-26.bin]?
    Accessing file 'c2500-is-l.123-26.bin' on 10.13.200.2...
    Loading c2500-is-l.123-26.bin from 10.13.200.2 (via Ethernet0): ! [OK]

    Device needs erasure before copying new file
    Erase flash device before writing? [confirm]

    Copy 'c2500-is-l.123-26.bin' from server
    as 'c2500-is-l.123-26.bin' into Flash WITH erase? [yes/no]y
    Erasing device... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee ...NOT erased
    Copy aborted - erase failed
    ERR: 'c2500-is-l.123-26.bin' open - device needs erasure
    Router(boot)#erase flash

    System flash directory:
    No files in System flash
    [0 bytes used, 16777216 available, 16777216 total]

    Erase flash device? [confirm]
    Are you sure? [yes/no]: y
    Erasing device... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee ...NOT erased
  • tierstentiersten Member Posts: 4,505
    Run the following:

    show flash chips
    show flash err
    show version

    You've probably got an old boot ROM and a stick of AMD flash.
  • boostinbadgerboostinbadger Member Posts: 256
    Here is the output of those commands:

    Router(boot)#show flash chips
    16384K bytes of processor board System flash (Read/Write)

    Chip Bank Code Size Name
    1 1 89A0 2048KB INTEL 28F016SA
    2 1 89A0 2048KB INTEL 28F016SA
    3 1 89A0 2048KB INTEL 28F016SA
    4 1 89A0 2048KB INTEL 28F016SA
    Router(boot)#show flash err

    System flash directory:
    No files in System flash
    [0 bytes used, 16777216 available, 16777216 total]
    16384K bytes of processor board System flash (Read/Write)

    Chip Bank Code Size Name erase write
    1 1 89A0 2048KB INTEL 28F016SA 0 0
    2 1 89A0 2048KB INTEL 28F016SA 0 0
    3 1 89A0 2048KB INTEL 28F016SA 0 0
    4 1 89A0 2048KB INTEL 28F016SA 0 0
    Router(boot)#show ver
    Cisco Internetwork Operating System Software
    IOS (tm) 3000 Bootstrap Software (IGS-RXBOOT), Version 10.2(8a), RELEASE SOFTWARE (fc1)
    Copyright (c) 1986-1995 by cisco Systems, Inc.
    Compiled Tue 24-Oct-95 15:46 by mkamson
    Image text-base: 0x01020000, data-base: 0x00001000

    ROM: System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE

    Router uptime is 1 hour, 11 minutes
    System restarted by power-on
    Running default software

    cisco 2509 (68030) processor (revision D) with 16380K/2048K bytes of memory.
    Processor board serial number 02255502 with hardware revision 00000000
    X.25 software, Version 2.0, NET2, BFE and GOSIP compliant.
    1 Ethernet/IEEE 802.3 interface.
    2 Serial network interfaces.
    8 terminal lines.
    32K bytes of non-volatile configuration memory.
    16384K bytes of processor board System flash (Read/Write)

    Configuration register is 0x201
  • boostinbadgerboostinbadger Member Posts: 256
    This is what I get after a power cycle. Is it because the flash is empty or is it another problem?

    System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE
    Copyright (c) 1986-1995 by cisco Systems
    2500 processor with 16384 Kbytes of main memory

    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) 3000 Bootstrap Software (IGS-RXBOOT), Version 10.2(8a), RELEASE SOFTWARE (fc1)
    Copyright (c) 1986-1995 by cisco Systems, Inc.
    Compiled Tue 24-Oct-95 15:46 by mkamson
    Image text-base: 0x01020000, data-base: 0x00001000


    %Error: System flash bank 1 chip 0 unknown, chip id 0x0 (reversed = 0x0 )

    %Error: System flash bank 1 chip 1 unknown, chip id 0x91E8 (reversed = 0x8917)

    %Error: System flash bank 1 chip 2 unknown, chip id 0x0 (reversed = 0x0 )

    %Error: System flash bank 1 chip 3 unknown, chip id 0x91E8 (reversed = 0x8917)

    %Error: System flash initialization failed
    cisco 2509 (68030) processor (revision D) with 16380K/2048K bytes of memory.
    Processor board serial number 02255502 with hardware revision 00000000
    X.25 software, Version 2.0, NET2, BFE and GOSIP compliant.
    1 Ethernet/IEEE 802.3 interface.
    2 Serial network interfaces.
    8 terminal lines.
    32K bytes of non-volatile configuration memory.
    16384K bytes of processor board System flash (Read/Write)
  • boostinbadgerboostinbadger Member Posts: 256
    It must be bad flash. If I take it out and leave the original 8mb stick in, it works fine.

    I guess I will just use c2500-i-l.121-27a. It's only an AS anyway.
  • tierstentiersten Member Posts: 4,505
    It is only detecting the first bank of flash. It is either bad flash or your boot ROM is so old that it doesn't like 16MB. I know some of the really old ones would need an upgrade to handle 16MB and AMD flash chips.

    It should look like this:
    16384K bytes of processor board System flash (Read ONLY)

    Chip Bank Code Size Name
    1 1 01AD 2048KB AMD 29F016
    2 1 01AD 2048KB AMD 29F016
    3 1 01AD 2048KB AMD 29F016
    4 1 01AD 2048KB AMD 29F016
    1 2 01AD 2048KB AMD 29F016
    2 2 01AD 2048KB AMD 29F016
    3 2 01AD 2048KB AMD 29F016
    4 2 01AD 2048KB AMD 29F016
  • boostinbadgerboostinbadger Member Posts: 256
    How do you go about upgrading the boot rom? Doesn't that involve actually installing a newer chip?
  • tierstentiersten Member Posts: 4,505
    How do you go about upgrading the boot rom? Doesn't that involve actually installing a newer chip?
    Yeah. You'd have to remove the old boot ROM from the socket and plug in a new one. You used to be able to request it from Cisco if you had a SMARTnet on the router but now you'll have to buy it off somebody.

    As you said, you're going to use it as a console server anyway so probably not worth the money and time.
  • boostinbadgerboostinbadger Member Posts: 256
    Good call. Thanks for all of your help on this tiersten. Where abouts in the UK are you? I've visited Swindon a couple times.
Sign In or Register to comment.