Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NTP Time Question 4

Status
Not open for further replies.

orbit1

IS-IT--Management
Feb 15, 2003
14
US
Is there a way to sync time on a 2924-XL switch to a router or external NTP time server?
 
Orbit1,

What I like to update IOS's on IOS based switches is ping my tftp server from the switch and if that works I use ERASE FLASH:. This will clear the entire Flash on the switch. Next I use the ARCHIVE TAR /X TFTP://x.x.x.x/FILE.TAR FLASH: (This method is so much easier than Cisco's safer method. Very rarely have I messed this procedure up and had to use a XMODEM/ROMMON recovery)

If I have a 4 meg Flash switch I just unzip (unTAR rather) the TAR file in Windows/Mac Os, and use COPY TFTP FLASH:FILE.BIN.

Once that's copied, use BOOT SYSTEM FLASH:FILE.BIN and do a WRITE MEM (Since ERASE FLASH erases CONFIG.TEXT) You might want to go into VLAN Database mode and reApply your setting as well if you are running a VTP Server with this switch since the VLAN.DAT file will be gone as well.

This should square you away to run the new IOS. Sometimes if you don't use the BOOT SYSTEM FLASH:FILE.BIN command you get stuck in ROMMON and have to manual boot your IOS file.

This should set you up with the latest IOS on your older switches. CAUTION!! I've had some issues with C2900M Models. Make sure you have the old IOS to go back to, worst case.

That should get you all set up.

Kurt
 
***Kurttorok***,
Thanks for your detailed procedure concerning IOS upgrade! I will give this a try this weekend. I tried a previous IOS upgrade to IOS 12.x but it did not complete due to not enough memory. I had to do the XMODEM/ROMMON recovery procedure to get the 11.x loaded back. I will try your suggestion to erase flash first.
Have a great weekend,
John

 
***Kurttorok***
Ran into the following problem when loading the new image:

Switch1#reload
Proceed with reload? [confirm]

%SYS-5-RELOAD: Reload requested

C2900XL Boot Loader (C2900-HBOOT-M) Version 11.2(8)SA2, RELEASE SOFTWARE (fc1)
Compiled Fri 24-Apr-98 10:51 by rheaton
starting...
Base ethernet MAC Address: 00:90:ab:f7:64:c0
Xmodem file system is available.
Initializing Flash...
flashfs[0]: 4 files, 4 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 1728000
flashfs[0]: Bytes used: 1649664
flashfs[0]: Bytes available: 78336
flashfs[0]: flashfs fsck took 4 seconds.
...done Initializing Flash.
Loading "flash:c2900XL-c3h2s-mz-120.5.2-XU.bin"...Bootable image segment 12288 a
ddress range [0x4654d8, 0x3000] not in range [0x300000, 0x33f98c].

Error loading "flash:c2900XL-c3h2s-mz-120.5.2-XU.bin"

Interrupt within 5 seconds to abort boot process.
Boot process failed...

The system is unable to boot automatically. The BOOT
environment variable needs to be set to a bootable
image.

switch: set
?=
BOOT=flash:c2900XL-c3h2s-mz-120.5.2-XU.bin
MAC_ADDR=00:90:AB:F7:64:C0
MOTHERBOARD_ASSEMBLY_NUM=73-2910-05
MOTHERBOARD_SERIAL_NUM=FAA02349HLJ
SYSTEM_SERIAL_NUM=FAA0234W0GQ
switch:

Any idea what to do next?

Regards,
John
 
John,

Is c2900XL-c3h2s-mz-120.5.2-XU.bin the new IOS you are trying to load? One thing I would try would be do a DIR FLASH: and check to make sure you have spelled the file name right or check to see if that filename is actually the old file and not the new one.

Chances are you will only have a few files in the flash now. The BIN file, CONFIG.TEXT, and possibly VLAN.DAT.

With the DIR FLASH:, find the BIN file and type BOOT FLASH:FILE.BIN.

That should allow you to boot the C2924 with whatever IOS you've got on there.

I'm thinking what's happening is the switch doesn't know what IOS to boot and that's what the following statements are saying.

Loading "flash:c2900XL-c3h2s-mz-120.5.2-XU.bin"...Bootable image segment 12288 address range [0x4654d8, 0x3000] not in range [0x300000, 0x33f98c].

Error loading "flash:c2900XL-c3h2s-mz-120.5.2-XU.bin"

Let me know if this doesn't work, and I can walk you through a XMODEM session to get you back to the old IOS if needs be.


Kurt
 
Kurttorok,
Here is what the switch is showing when in rom monitor mode:

switch: dir flash:
Directory of flash:/

2 drwx 0 <date> yes
3 -rwx 1645810 <date> c2900XL-c3h2s-mz-120.5.2-XU.bin
5 drwx 64 <date> html
6 -rwx 1258 <date> config.text
7 -rwx 174 <date> env_vars

78336 bytes available (1649664 bytes used)

switch: set
?=
BOOT=flash:c2900XL-c3h2s-mz-120.5.2-XU.bin
MAC_ADDR=00:90:AB:F7:64:C0
MOTHERBOARD_ASSEMBLY_NUM=73-2910-05
MOTHERBOARD_SERIAL_NUM=FAA02349HLJ
SYSTEM_SERIAL_NUM=FAA0234W0GQ

switch: boot
Loading &quot;flash:c2900XL-c3h2s-mz-120.5.2-XU.bin&quot;...Bootable image segment 12288 a
ddress range [0x4654d8, 0x3000] not in range [0x300000, 0x33f98c].

Error loading &quot;flash:c2900XL-c3h2s-mz-120.5.2-XU.bin&quot;

Interrupt within 5 seconds to abort boot process.
Boot process failed...
switch:

Looks like the names are the same! Now what? I can try using a different file?
Regards,
John


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top