cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Join Customer Connection to register!
1923
Views
18
Helpful
6
Replies
Florin Andrei
Beginner

3750 switch - how to configure IP of TFTP server and name of file

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!

1 ACCEPTED SOLUTION

Accepted Solutions
mfurnival
Enthusiast

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

!!

View solution in original post

6 REPLIES 6
cadet alain
Advisor

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.

Don't forget to rate helpful posts.
Jeff Van Houten
Contributor

Look at the archive command.

Sent from Cisco Technical Support iPad App

mfurnival
Enthusiast

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

!!

View solution in original post

Florin Andrei
Beginner

That was it. archive and path commands. Thank you.

Is there any chance there's something similar for the MDS 9124 switches?

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