Link to home
Start Free TrialLog in
Avatar of MrPrince
MrPrinceFlag for Canada

asked on

Cisco 871 - 12.4  Reload Router Specifying Config to Load.

Hello, I have a test router with 2 separate configs saved to flash, Id like to how to reload the router specifying which config it should load.

Ive tried the CONFIG_FILE Environment Variable with the boot command but its not working. Also if I try to run show bootvar the command is invalid as there is no bootvar command&. Im running advipservicesk9. Any Ideas?
ASKER CERTIFIED SOLUTION
Avatar of bkepford
bkepford
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
does this not work?
boot config nvram:other-config
or for network boot
boot network tftp://192.168.1.254/router1-config
Try 'boot system flash:advipservicesk9.xxxxxxx'
then type sh boot

You should see the boot path list change to the new flash.  

wr mem

Type reload to boot the new flash.
Guess I did switch commands too...

at config terminal type boot config flash: 'name of flash in dir'

type 'do wr' enter

reload
Avatar of MrPrince

ASKER

Thanks bkepford for pointing me in the right direction. Should have worked this out myself!

erase startup-confing
Copy flash:/configs/xxxx.cfg startup-config
reload

wash, rinse & repeat....

Strange 'sh bootvar' isn't in my release though.