Options

Configuring the Configuration Archive ?

eleguaelegua Member Posts: 282
Hi Guys,

I want to setup config-archive in my router and i know how to do it but i don't want to save the confgs in my router, i want to use a tftp server (192.168.2.5) running on my PC, does anyone knows the syntac for this?.

I used this: path tftp://192.168.2.5/configs/$h$t and got this error:
R1760#archive config
TFTP: error code 0 received - 21574

%Error opening tftp://192.168.2.5/configs/R1760Jun-13-15:56:19.748-EST-1 (Undefined error)
R1760#


Thanks in advance. icon_wink.gif

Comments

  • Options
    dtlokeedtlokee Member Posts: 2,378 ■■■■□□□□□□
    Make sure the directory "configs" exists and the tftp server can write to it, it's possible the transfer is failing because of the filename being used, the tftp server software may not like the filename you're using. I would try a basic "copy running-config tftp://192.168.2.5/configs/c1760.cfg" and see if that is any better, if that dosen't work try dropping the "config" directory and go to the root of the tftp server.
    The only easy day was yesterday!
  • Options
    eleguaelegua Member Posts: 282
    dtlokee wrote:
    Make sure the directory "configs" exists and the tftp server can write to it, it's possible the transfer is failing because of the filename being used, the tftp server software may not like the filename you're using. I would try a basic "copy running-config tftp://192.168.2.5/configs/c1760.cfg" and see if that is any better, if that dosen't work try dropping the "config" directory and go to the root of the tftp server.

    Got it after a few tries , this will be the proper syntac:
    R1760(config-archive)#path tftp://192.168.2.5/configs/cfg-$h  
    R1760(config-archive)#^Z
    R1760#sh arc
    R1760#sh archive 
    The next archive file will be named tftp://192.168.2.5/configs/cfg-R1760-1
     Archive #  Name
       0        
       1        
       2        
       3        
       4        
       5        
       6        
       7        
       8        
       9        
       10        
       11        
       12        
       13        
       14        
    R1760#archive config
    !!
    R1760#
    
    R1760#sh archive    
    The next archive file will be named tftp://192.168.2.5/configs/cfg-R1760-2
     Archive #  Name
       0        
       1       tftp://192.168.2.5/configs/cfg-R1760-1 <- Most Recent
       2        
       3        
       4        
       5        
       6        
       7        
       8        
       9        
       10        
       11        
       12        
       13        
       14        
    R1760#
    


    Thank you. icon_wink.gif
Sign In or Register to comment.