Question Locked

DHCP on my 2520 router does not work

0 helpful
17 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

When trying to configure dhcp on either of my two 2520 routers I am given an error. No matter what command im giving once the router see's "dhcp" I get an error. So I typed
(config)#ip dhcp ?
and instead of a list of possible commands that I should be getting, I am prompted with one line saying "hostname or ABCD ..etc"

Does andyone know why this is happening?

17 replies

by netman1958

service ?

and see if one of the listed options is "DHCP".

R2610_R2(config)#service ?
alignment Control alignment correction and logging
compress-config Compress the nvram configuration file
config TFTP load config files
dhcp Enable DHCP server and relay agent

by whickey15

DHCP isnt listed, what would I have done had it been listed?

how do I use this:
"alignment Control alignment correction and logging
compress-config Compress the nvram configuration file
config TFTP load config files
dhcp Enable DHCP server and relay agent "

thanks

by cg it

what you might have to do is erase the startup config which should prompt setup.

you might want to check Cisco's web site for an IOS for your 2520 and download it. I believe that all the old IOS images for the 2500 series are freely available. Only requirement is to register on their site.

you can then install the IOS onto the router.

by netman1958

You would have typed "service dhcp" to make sure the dhcp server service was running on the router. The rest of the stuff you are wondering about are the first few options my 2500 series router showed when I ran the command "service ?" on it.

Can you run a "show version" command on your router and post the IOS image filename? It will look something like this:
"System image file is "flash:c2600-i-mz.123-3c.bin"

by whickey15

by netman1958

If you will do what I asked in my previous post and run the "show version" command to find out what IOS version you are currently running, I may be able to solve your issue. If you will post the IOS image filename, I can look up what commands/services it supports.

by whickey15

Router#show version
Cisco Internetwork Operating System Software
IOS (tm) 2500 Software (C2500-IS-L), Version 11.3(11a)T1, RELEASE SOFTWARE (fc1
)
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Fri 24-Sep-99 00:12 by pwade
Image text-base: 0x0303B038, data-base: 0x00001000

ROM: System Bootstrap, Version 11.0(10c), SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c), RELEASE SOFT
WARE (fc1)

Router uptime is 35 minutes
System restarted by power-on
System image file is "flash:c2500-is-l.113-11a.T1.bin", booted via flash

cisco 2520 (68030) processor (revision N) with 14336K/2048K bytes of memory.
Processor board ID 18254405, with hardware revision 00000003
Bridging software.
X.25 software, Version 3.0.0.
Basic Rate ISDN software, Version 1.1.
1 Ethernet/IEEE 802.3 interface(s)
2 Serial network interface(s)
2 Low-speed serial(sync/async) network interface(s)
1 ISDN Basic Rate interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read ONLY)

Configuration register is 0x2142

by cg it

if you go to Cisco's web site you probably can get the latest version. Believe 12.3.26 will work.

by whickey15

thanks a lot, any suggestions on where to find info for installing cisco ios's?

by whickey15

When I goto the site (where I am registered)and click download or add to cart, im redirected to a page explaining "valid Technical Support Services Agreement"

No prompt as to why I cant download or what steps to take, just a back button. Im assuming that I need some type of license.

by whickey15

I do not have an ios to install. I do have a friends router that is the same version (2520), his has dhcp. I want to copy his ios to my pc.

So, I followed all of the steps here:

http://articles.techrepublic.com.com/5100-10878_11-5623025.html

..and am successful up until the copy portion.

- I can ping my router
-my router can ping my pc
-here is my show flash:

r1>show flash

System flash directory:
File Length Name/status
1 7245112 c2500-is-l.113-11a.T1.bin
[7245176 bytes used, 9532040 available, 16777216 total]
16384K bytes of processor board System flash (Read ONLY)

Here is the error that I get:

r1#copy c2500-is-l.113-11a.T1.bin tftp://192.168.1.1
% Invalid device name:: No trailing colon in c2500-is-l.113-11a.T1.bin

This discussion is closed to new replies.