> Hi all,
> As a beginner, i am setting up home lab.  Can anyone give me the detail
> procedure of how to upgrade the IOS of C2521.

I'm assuming you have the console connection to the routers.  I'm also
assuming you have either learned to clear the passwords, or that you have
enable (priveleged EXEC) access to the routers because you know the
passwords.  So from priveleged EXEC mode (the prompt that looks like
Router#, not Router>)

1.  use the s0 or s1 serial interface of the 2521 to connect to the 2503.
(those are the high-speed serial interfaces)

2.  set the clock rate to 4000000 (the clock rate will be set on the router
with the DCE cable connected) - example
configure terminal
interface serial0
 clock rate 4000000
 no shutdown
^z  (control-z.  typing end also takes you out of configuration mode)

3.  set an IP address on both serial interfaces to be in the same subnet,
and enable the ethernet interface - example
on the 2521 -
config t
interface serial 0
 ip address 192.168.1.1 255.255.255.0
 end

on the 2503 -
config t
interface serial 0
 ip address 192.168.1.2 255.255.255.0
 no shut
int e0
 ip addr 192.168.2.1 255.255.255.0
 no shut
^z

4.  create a default route on the 2521 to the serial interface of the 2503 -
example
ip route 0.0.0.0 0.0.0.0 192.168.1.2

5.  ping the 2503 ethernet interface from the 2521 to verify connectivity -
example, if the ethernet were set to 192.168.2.1
ping 192.168.2.1

6.  save the configuration on the 2521
wr mem (or copy run start)

7.  depending on where the IOS image resides,  you want to start up the tftp
server on your PC, or set up your 2503 as a tftp server (if you want to use
the image that resides on the 2503) - example
on the 2503 -
show flash
 (a filename will be displayed - perhaps something like c2500-d-l.120-9.bin)
conf t
tftp-server c2500-d-l.120-9.bin
^z

8.  on the 2521,
copy tftp flash

at the prompt for the ip address, either use the ip address of the PC
running the tftp software (it should be a 192.168.2.x address) or the serial
interface of the 2503 if you're copying that image

at the prompt for the source filename, use the filename that you used
above - in this example, c2500-d-l.120-9.bin

at the prompt for the destination filename, press enter

for all the other prompts, press enter or y

then watch the flash get erased on the 2521 and then watch the tftp transfer
process with all of the exclamation points (!)

When the image is finished tranferring, the 2521 will reload, because it
runs its operating system from flash memory.

Good luck, and have fun
-e-


> I got no problem with my C2503 because it has a Ethernet port for me to
> connect the PC to it.
>
> Kenneth
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=23510&t=23498
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to