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

Configuration Backup for ASR 9K

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
Hall of Fame Super Gold

archive

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.

New Member

Hi Leo, Archive command is

Hi Leo,

 

Archive command is not available in IOS-XR.

 

Rgds,

chanty

Cisco Employee

 on side note you can use

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

Cisco Employee

We do have the commit auto

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

Cisco Employee

can u explain more about 'bot

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

New Member

What if you want to use a VRF

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

Cisco Employee

you can very well do it via

you can very well do it via FTP over vrf

e.g.

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

 

216
Views
0
Helpful
7
Replies