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

Archive Command - Sequencing

Hi folks,

I'm using the archive command to backup the config of a switch to a tftp server every time a user enters the write memory command. The problem that I have is that a sequence number is automatically added to the end of the file name. The commands I'm using are below. I've also tried removing the $h and specifying a file name but to no avail.

The only 2 switches I can find in documentation are $h and $t. The first makes the filename the name of the switch, the second timestamps the file name. I'm hoping there's one that stops the sequence number being added to the file name.

archive
path tftp://192.168.22.22/Cisco/$h
write-memory

Thanks for looking

1 REPLY

Re: Archive Command - Sequencing

Hi,

archive

maximum 1

might bring you what you want - just one (latest) copy of each device configuration.

But you'd lose many advantages, see

http://www.cisco.com/en/US/customer/docs/ios/fundamentals/configuration/guide/cf_config-rollback_ps6441_TSD_Products_Configuration_Guide_Chapter.html#wp1051953

HTH,

Milan

696
Views
0
Helpful
1
Replies
CreatePlease to create content