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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Copying startup-config

Hi all experts.

When i am copying startup-config, can i specify the format in which the name is selected ?

R1#cop star tf
Address or name of remote host []? 10.1.9.1
Destination filename [site-core-i-confg]?

Like in above case, can i specify something different, like IP of any specific interface to be included by default ?

I know the option of TCL/EEM, just wanted to know if there is any other approach ?

5 REPLIES
New Member

Re: Copying startup-config

Actually i changed the hostname for security reason, but forgot to change it afterwards :-). So dont be confused

Re: Copying startup-config

Hi Jonn,

Do you mean you want to change filename when it is copied to tftp server ? If so yes you can do that just specify

the name after ? mark.

Destination filename [startup-config]? New-config

If i have misunderstood your question please rephrase the query

Regards

Mahesh

New Member

Re: Copying startup-config

Dear Mahesh,

sorry for the confusion. Basically, what i want is, when ever i issue the command copy start tftp, the name that it automatically choses is

[-config] !!!

I want it to choose something different like

[-config] or [-config] or something like that. But i want it to do automatically, so like whenever i copy the startup-config, i dont need to reneter it again

Pls let me know, i think my question is still not clear. See i want this to happen whenever i issue

R1# copy startup tftp

...

Address or name of remote host []? 10.12.13.4
Destination filename [R1-10.1.18.1-confg]?

Is it possible ?

Re: Copying startup-config

Hi Jonn

Can you try below

blab501#copy startup-config tftp:1.1.1.1
Address or name of remote host []? 10.237.87.196
Destination filename [1.1.1.1]?

where 1.1.1.1 is file name and 10.237.87.196 is tftp. I haven't tried it

Regards

Mahesh

Re: Copying startup-config

Your question is probably resolved best by using the 'alias' command. 

This allows you to enter something like "backitup" at cli and have the system performing a predefined write command to some tftp server.

It is in fact a way to learn your routers new commands.

Configure this as follows:

#conf t

alias exec backitup copy run tftp://1.1.1.1/R1.cfg

The details about the copy command:

http://www.cisco.com/en/US/partner/docs/ios/fundamentals/command/reference/cf_c1.html#wp1064741

regards,

Leo

545
Views
0
Helpful
5
Replies