04-16-2013 11:14 AM - edited 03-07-2019 12:51 PM
On the ASA, using the tftp-server command, I've defined a TFTP server location and a file name. Now, all I have to do is "wr net" and the config is saved to TFTP.
tftp-server inside XXX.YYY.ZZZ.KKK firewall-config.txt
How do I do that on a 3750 switch? Is there a way to define a TFTP server address, and a file name for the configuration? It's annoying and error-prone to enter that stuff every single time I backup the config.
Thanks!
Solved! Go to Solution.
04-22-2013 06:39 AM
Like this:
MyRouter#conf t
Enter configuration commands, one per line. End with CNTL/Z.
MyRouter(config)#archive
MyRouter(config-archive)#path tftp://192.168.0.1/MyRouter.cfg
The archive command will now write the config
MyRouter#archive config
!!
04-16-2013 11:51 AM
Hi,
As far as I know there ain't no similar command but maybe you could achieve a similar result by using an EEM applet for backup.You should ask in the EEM forum.
Regards
Alain
Don't forget to rate helpful posts.
04-20-2013 10:08 PM
Look at the archive command.
Sent from Cisco Technical Support iPad App
04-22-2013 06:39 AM
Like this:
MyRouter#conf t
Enter configuration commands, one per line. End with CNTL/Z.
MyRouter(config)#archive
MyRouter(config-archive)#path tftp://192.168.0.1/MyRouter.cfg
The archive command will now write the config
MyRouter#archive config
!!
04-22-2013 11:22 AM
That was it. archive and path commands. Thank you.
Is there any chance there's something similar for the MDS 9124 switches?
04-22-2013 03:51 PM
Nice one. I found this: How to use archive command to save configuration
04-23-2013 12:48 AM
Florin,
The IOS to NX-OS converter suggests that the archive command does not have an equivalent in NX-OS:
https://tools.cisco.com/nxmt/design.htm?_flowId=qconvert-flow&_flowExecutionKey=e5s1
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide