cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3730
Views
0
Helpful
7
Replies

Configuration Backup for ASR 9K

ty.chan007
Level 1
Level 1

In IOS, there is a configuration backup tool which is Archive command.

Is there any relevance tool/command for ASR 9K for configuration backup to remote host (FTP server) ?

7 Replies 7

Leo Laohoo
Hall of Fame
Hall of Fame
archive
 log config
  logging enable
  hidekeys
 path tftp://[tftp__ip_address]/$h-
 write-memory
 time-period 10080

Try this one.  

 

This is how it works:  

  • If someone saves the config, a copy is sent to the TFTP IP address specified.  
  • If NO ONE has saved a config for more than a week (time-period command), a copy of the original config is sent to the TFTP IP address specified.

One more thing:  I would recommend you use a Linux-based TFTP server.  The reason is because Windows-based file system will find it extremely impossible to store a file with the character ":" as part of the filename.  Linux-based system will have no problem with this.

Hi Leo,

 

Archive command is not available in IOS-XR.

 

Rgds,

chanty

 on side note you can use logging archive to log it on device like disk/harddisk.

We do have the commit auto-save feature, closest I can think of for this, but it is going to overwrite the file every time and when you issue the commit you must confirm saving the file or not.

 

Here is an example of what this looks like.

configuration commit auto-save filename ftp://<username>:<password>@<ipaddr>/<remote-filepath>

 

Alternatively you can have a 'bot' login and collect the data you need.

 

HTH,

Sam

can u explain more about 'bot' login how that to be done ?

What if you want to use a VRF for the FTP session (f.ex I have vrf MGMT)?

you can very well do it via FTP over vrf

e.g.

copy ftp://root:root@18.9.0.252;MGMT/ harddisk:/