website pop up marketing copy start run
Cisco CCNA | CCNP Certification Training Site. Cisco tips and tools for exam success. logo video

copy start run

Printer-Friendly Format

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



Back to commands department




Printer-Friendly Format

This site and/or material is not sponsored by, endorsed by, or affiliated with Cisco Systems, Inc. and/or its affiliates. Cisco®, Cisco Systems®, CCDA™, CCNA™, CCDP™, CCNP™, CCIE™, or CCSI™ are trademarks or registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries.

Home | Search | Contact Us | Tell a Friend | Text Size

2006-2013 HowtoNetwork.net All Rights Reserved. Reproduction without permission prohibited.
Reality Press, Midsummer Court, 314 Midsummer Blvd.,Milton Keynes, MK92UB, UK

This site is powered by MemberGate Membership Site Software