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

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 []?
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 ?

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



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 []?
Destination filename [R1-]?

Is it possible ?

Re: Copying startup-config

Hi Jonn

Can you try below

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

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



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://

The details about the copy command: