cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1706
Views
15
Helpful
13
Replies

DHCP configuration lost cisco 870

w.alalami
Level 1
Level 1

Hello

 

i configured DHCP in cisco 870, but after short period of time i lose the configuration of the DHCP only, all other configurations is stable, this happen without restarting or doing any network change, the router runs ios 12.4.


ip cef
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.5.1
ip dhcp excluded-address 192.168.5.11
ip dhcp excluded-address 192.168.5.102
!
ip dhcp pool sdm-pool
   import all
   network 192.168.5.0 255.255.255.0
   default-router 192.168.5.1
   dns-server 212.217.0.1 212.217.0.12
   lease 15
!

Thanks

1 Accepted Solution

Accepted Solutions

Hello,

 

that's actually valuable information, looks like your flash is almost full. Delete all the crashinfo files:

 

delete flash:/crashinfo_20020303-163242
delete flash:/crashinfo_20020314-115554
delete flash:/crashinfo_20020408-163810
delete flash:/crashinfo_20020411-023550
delete flash:/crashinfo_20020411-032251
delete flash:/crashinfo_20020411-032838
delete flash:/crashinfo_20020411-033618
delete flash:/crashinfo_20020411-041801
delete flash:/crashinfo_20020415-161747
delete flash:/crashinfo_20020417-113908
delete flash:/crashinfo_20020506-131626
delete flash:/crashinfo_20020507-224117
delete flash:/crashinfo_20020508-042822
delete flash:/crashinfo_20020508-045222
delete flash:/crashinfo_20020508-050535

View solution in original post

13 Replies 13

marce1000
VIP
VIP

 

 - How do you define or observer 'losing' the dhcp part of the configuration ? Do you save the config , at all times, when changes are applied ?

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Hello

 

yes i do save the changes to the config file, i mean by losing the dhcp config that when i do show run command i cant find any configuration for DHCP, so i had to reconfigure it again and again. this happen after 1-2 hours.

 

Thanks

 

 

 

 - And is it then still present in the startup-config ? Also make sure you are not a victim of malicious counter management activities, by activating configuration change notification and logging :

     https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/config-mgmt/configuration/xe-3s/config-mgmt-xe-3s-book/cm-config-logger.html

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

no Sir the dhcp lines disappears in the startup-config. 

 

 

Hello,

 

12.4 is ancient (obviously), so it is hard to find any information on why this could be happening. Do you have 'service dhcp' configured globally ?

Hi

 

should i upgrade the IOS?

yes the DHCP configured globally.

 

Thanks

Hello,

 

the 870 is end of life as of 2012, you won't be able to get an updated IOS version from Cisco. Which raises the question if you might actually have a problem with the router memory. How old is your router ?

Sir the model is 877 (800 series) my mistake, we bought it new 3 years ago, and use it without any problems, i just tried to change the configuration, all goes well except the DHCP. 

 

Thanks

Hello,

 

post the output of:

 

sh ver

here you go:

 

Cisco IOS Software, C870 Software (C870-ADVSECURITYK9-M), Version 12.4(15)T4, RE LEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2008 by Cisco Systems, Inc.
Compiled Thu 13-Mar-08 13:50 by prod_rel_team

ROM: System Bootstrap, Version 12.3(8r)YI4, RELEASE SOFTWARE

LAFICO uptime is 17 minutes
System returned to ROM by power-on
System image file is "flash:c870-advsecurityk9-mz.124-15.T4.bin"


This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.

Cisco 877 (MPC8272) processor (revision 0x300) with 118784K/12288K bytes of memory.
Processor board ID FCZ1218943Y
MPC8272 CPU Rev: Part Number 0xC, Mask Number 0x10
4 FastEthernet interfaces
1 ATM interface
128K bytes of non-volatile configuration memory.
24576K bytes of processor board System flash (Intel Strataflash)

Configuration register is 0x2102

i dnt know if the free memory size has a relation with that:

 

LAFICO#show flash:
24576K bytes of processor board System flash (Intel Strataflash)

Directory of flash:/

2 -rwx 16391232 --- -- ---- --:--:-- ----- c870-advsecurityk9-mz.124-15.T4.bin
3 -rwx 1038 May 21 2002 17:29:53 +00:00 home.shtml
4 -rwx 3179 May 21 2002 17:29:53 +00:00 sdmconfig-8xx.cfg
5 -rwx 112640 May 21 2002 17:29:56 +00:00 home.tar
6 -rwx 931840 May 21 2002 17:30:16 +00:00 es.tar
7 -rwx 1505280 May 21 2002 17:31:27 +00:00 common.tar
8 -rwx 660 Mar 1 2002 16:28:09 +00:00 vlan.dat
9 -rwx 310941 Mar 3 2002 16:32:42 +00:00 crashinfo_20020303-163242
10 -rwx 359773 Mar 14 2002 11:55:54 +00:00 crashinfo_20020314-115554
11 -rwx 313973 Apr 8 2002 16:38:10 +00:00 crashinfo_20020408-163810
12 -rwx 314816 Apr 11 2002 02:35:50 +00:00 crashinfo_20020411-023550
13 -rwx 302448 Apr 11 2002 03:22:51 +00:00 crashinfo_20020411-032251
14 -rwx 310727 Apr 11 2002 03:28:38 +00:00 crashinfo_20020411-032838
15 -rwx 318140 Apr 11 2002 03:36:18 +00:00 crashinfo_20020411-033618
16 -rwx 302771 Apr 11 2002 04:18:01 +00:00 crashinfo_20020411-041801
17 -rwx 304551 Apr 15 2002 16:17:47 +00:00 crashinfo_20020415-161747
18 -rwx 309274 Apr 17 2002 11:39:08 +00:00 crashinfo_20020417-113908
19 -rwx 316604 May 6 2002 13:16:26 +00:00 crashinfo_20020506-131626
20 -rwx 304751 May 7 2002 22:41:17 +00:00 crashinfo_20020507-224117
21 -rwx 329598 May 8 2002 04:28:22 +00:00 crashinfo_20020508-042822
22 -rwx 298522 May 8 2002 04:52:22 +00:00 crashinfo_20020508-045222
23 -rwx 116556 May 8 2002 05:05:35 +00:00 crashinfo_20020508-050535

23482368 bytes total (4096 bytes free)

Hello,

 

that's actually valuable information, looks like your flash is almost full. Delete all the crashinfo files:

 

delete flash:/crashinfo_20020303-163242
delete flash:/crashinfo_20020314-115554
delete flash:/crashinfo_20020408-163810
delete flash:/crashinfo_20020411-023550
delete flash:/crashinfo_20020411-032251
delete flash:/crashinfo_20020411-032838
delete flash:/crashinfo_20020411-033618
delete flash:/crashinfo_20020411-041801
delete flash:/crashinfo_20020415-161747
delete flash:/crashinfo_20020417-113908
delete flash:/crashinfo_20020506-131626
delete flash:/crashinfo_20020507-224117
delete flash:/crashinfo_20020508-042822
delete flash:/crashinfo_20020508-045222
delete flash:/crashinfo_20020508-050535

this is working Sir, the DHCP is stable since 2 days now.

 

is there any way to  read the crashinfo files? whats the cause of these files.

 

Thanks

Review Cisco Networking for a $25 gift card