Backup/Restore IOS XR configration

Answered Question

I plan to upgrade the XR12K PCMCIA flash card from 1GB to 4GB, and same time upgrade IOX from 3.6.2 to 3.9.1.

How to backup the configuration and restore backup the configuration during upgrade ?

I knew IOX store the configuration files in /config directory of Disk0:


Can the copy command work ?


eg. copy running config to bootflash, then upgrade PCMCIA flash, after IOX booted, then copy back the config.


RP/0/0/CPU0:router#copy running-config bootflash:
Destination file name (control-c to abort): [/running-config]?
Building configuration.


RP/0/0/CPU0:SNWMPLS1PE#dir bootflash:
Directory of bootflash:

1    -rwx  3555908     Sat Jan  1 08:40:56 2000  c12kprp-boot-mz.120-32.S3.bin
3    -rwx  20887       Tue Jul 20 14:32:40 2010  running-config

66322432 bytes total (62724364 bytes free)



After the new IOX booted from new PCMCIA flash with default config, then copy the backup config at bootflash: back to running.


RP/0/0/CPU0:router# copy bootflash:running-config running-config


Regards

Correct Answer by Praveen Goel about 6 years 7 months ago

hi


     Yes the copy command will work here also you can copy the running config to bootflash and than take it back to running.


      But better to follow following process


     1. Take out the running config to tftp server


             copy running-config #tftp://223.255.254.254/auto/tftpboot-projects/prgoel/

     2. once u move it to new release ( 391) , check that u have server reachability ( check mgmt has ip and have static route )


     3. than move to config t


              and try load tftp://223.255.254.254/auto/tftpboot-projects/prgoel/

               and than on config mode commit


If you donot have tftp server , than u can copy it in bootflash , but load the config and than do commit.


RP/0/2/CPU0:PE1-E3E5(config)#load bootflash:
RP/0/2/CPU0:PE1-E3E5(config)#commit






thanks

praveen

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Praveen Goel Tue, 07/27/2010 - 05:09

hi


     Yes the copy command will work here also you can copy the running config to bootflash and than take it back to running.


      But better to follow following process


     1. Take out the running config to tftp server


             copy running-config #tftp://223.255.254.254/auto/tftpboot-projects/prgoel/

     2. once u move it to new release ( 391) , check that u have server reachability ( check mgmt has ip and have static route )


     3. than move to config t


              and try load tftp://223.255.254.254/auto/tftpboot-projects/prgoel/

               and than on config mode commit


If you donot have tftp server , than u can copy it in bootflash , but load the config and than do commit.


RP/0/2/CPU0:PE1-E3E5(config)#load bootflash:
RP/0/2/CPU0:PE1-E3E5(config)#commit






thanks

praveen

Actions

This Discussion

Related Content