MrPrince
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?
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Try 'boot system flash:advipservicesk9.xxxx xxx'
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.
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
at config terminal type boot config flash: 'name of flash in dir'
type 'do wr' enter
reload
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.
erase startup-confing
Copy flash:/configs/xxxx.cfg startup-config
reload
wash, rinse & repeat....
Strange 'sh bootvar' isn't in my release though.
boot config nvram:other-config