Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

copy tftp run

If I have a config in my router already and I then copy another config in from my tftp server, will it totally overwrite the existing config ?

7 REPLIES
Gold

Re: copy tftp run

Not at all you need save configuration with commands write memory or copy run start, if you dont save configuration after restart you will get "original" configuration

M.

Hope that helps rate if it does

New Member

Re: copy tftp run

I understand, but will it overwrite the current config ?

Purple

Re: copy tftp run

Carl,

What will happen is that the config you copy from the TFTP server will result in the commands in that config being applied to the running config as if you had actually pasted each of the commands in individually. It will not remove any of the original config but will overwrite those things that you can only have a single line for e.g. IP addresses.

Pls do remember to rate posts.

Paresh

Purple

Re: copy tftp run

An example:

If you had the following config on the box:

interface Ethernet0

ip address 10.1.1.1 255.255.255.0

ip access-group 101 in

!

And if the config on the TFTP server was

interface Ethernet0

ip address 192.168.1.1 255.255.255.0

!

The resulting config would be:

interface Ethernet0

ip address 192.168.1.1 255.255.255.0

ip access-group 101 in

!

I.e. the IP address has been overwritten but the ip access-group command is still there...

Pls do remember to rate posts.

Paresh

Silver

Re: copy tftp run

Paresh is correct. Basically it will merge the two configs, the current running config and the new config via tftp.

Re: copy tftp run

Hi Paresh,

I was in dilemma for replying this post. Actually i know it will merge the two configurations.

But i dont know to whom i should refer for this doubt. you replied right with apt example.

Regards,

Guru Prasad.R

Re: copy tftp run

hi guru prasad.r,,,

its just change the modified command or u can say the command which are changed...other commands will remaining same...

please rate this post if it helps

regards

Devang

1649
Views
13
Helpful
7
Replies
CreatePlease to create content