I have a Cisco 876 router running 12.4.(15)T5, configured as DHCP client. This works nicely.
A Cisco 886 router, running 15.1 software also works with the DHCP client. This also works but has the following strange beheaviour:
In the running-config an ip route 0.0.0.0 0.0.0.0 <dhcp assigned address> appears.
Also - some other static routes that are in the config using the dhcp keyword are duplicated with the dhcp-assigned address
Now - when a write mem is done, these dhcp-generated route entry's are stored in the startup-config...
This beheaviour is completely different and VERY unwanted. After a change from DHCP server the config will simply stop working, when a write mem was done at the first DHCP situation.
Should we stop using write mem commands when a DHCP client is active in IOS? Is it a bug? Is it a feature?