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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cisco 2811 configuration via tftp or command line

Status
Not open for further replies.

netquirk

Technical User
Joined
Jan 24, 2008
Messages
2
Location
ZA
Greetings
I'm trying to change the configuration on a cisco2811 router without luck.
I have setup a tftp server and managed to save my router's config file in there.
"copy run tftp"
I then edit the config file, save it, close the editor then transfer this file back to my router.
"copy tftp run"
This runs without errors
"show run"
I get the old config on the router.
Next try,
"copy tftp start"
The file is transferred to startup config, no errors.
"show start"
I see the new file.
"copy start run"
"show run"
I see the old file.
The file in the running config is not changing!
"reload" or switch router off
"show run" or "show start"
Both show the old running config, therefore no change in the running configuration. The startup config now also the old running config.

I have also tried the CLI config and do the "write" command before exiting config mode, reload the router, the running config does not change. Where am I going wrong.

Further:
1. Where does the running config file reside?
2. Every time i do a copy to the running-config file I can see the update time has changed on the " -rw- " running-config file in the flash: directory on the router, but the contents do not change, are the file permissions correct, please help.






 
router>en
router#conf t
router(config)#config-register 0x2102
router(config)#end
router#copy tftp run
Then...
router#wr
When the config register is 2142, it will reload the default config, not the one you save. This is what I am guessing. To verify...
router#sh ver
It will say "configuration-register is 0xblabla"

Burt
 
Hi Burt
My config is 0X2102,
I retried your suggestion, still no luck.
 
Interesting...could you post the ld and ne cfis

Burt
 
Don't know I would check the file itself and make sure when you save it it is indeed being saved the way you think it is . Open the file you saved and see if the changes are actually done . If you are actually tftping the file to runn or start it will change the file . My guess is the tftp is not really taking place so the file never gets changed . Maybe you can cut and paste the whole function as you do it into a message here so we can see it .
 
Guess my keyboard needs batteries...
I tried saying to post the old and new configs.

Burt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top