Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Backup/Restore IOS XR configration

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

Everyone's tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Backup/Restore IOS XR configration

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

2 REPLIES
Hall of Fame Super Silver

Re: Backup/Restore IOS XR configration

Hello Tckoon,

I think your idea may work but I would also upload the configuration via TFTP for safety

you can follow this procedure:

http://www.cisco.com/en/US/docs/routers/xr12000/xr_line_cards/flashdisk/flashdisk.html

Hope to help

Giuseppe

Cisco Employee

Re: Backup/Restore IOS XR configration

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

6147
Views
0
Helpful
2
Replies
CreatePlease login to create content