Copy start run Command on CISCO Router/Switch

Command

Copy Startup-config Running-config

Use

This command lets you merge your saved config with the running configuration. The command overwrites conflicting infomation such as interface IP addresses but keeps new information in the config.

Syntax

R1#copy startup-config running-config

Example

In the below example R1’s saved configuration is merged with its running configuration.

First lets change a few things.

Current interface summary

Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.1.1.1 YES NVRAM up up
Loopback0 1.1.1.1 YES NVRAM up up

R1(config)#int lo0
R1(config-if)#ip add 5.5.5.5 255.255.255.255
R1(config-if)#int lo1
R1(config-if)#ip add
*Mar 1 03:06:08.175: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to up
R1(config-if)#ip add 11.11.11.11 255.255.255.255

Now lets merge the configuration, notice that R1’s loopback reverted back to 1.1.1.1 while it kept the new loopback1 interface.

R1#show ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.1.1.1 YES NVRAM up up
FastEthernet1/0 unassigned YES TFTP administratively down down
Loopback0 1.1.1.1 YES TFTP up up
Loopback1 11.11.11.11 YES manual up up

Related Articles

guest
0 Comments
Inline Feedbacks
View all comments