cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
12097
Views
0
Helpful
2
Replies

Backup/Restore IOS XR configration

tckoon
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

Praveen Goel
Cisco Employee
Cisco Employee

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

View solution in original post

2 Replies 2

Giuseppe Larosa
Hall of Fame
Hall of Fame

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

Praveen Goel
Cisco Employee
Cisco Employee

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: