Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

how does one "print" the startup config or running config.

also what is the best way to import config you have stored as a text file?

share|improve this question

migrated from superuser.com Apr 8 '10 at 15:03

This question came from our site for computer enthusiasts and power users.

2 Answers 2

Starting conf: #show startup-config

Running conf: #show running-config

If you have it already on the box, it's as easy as: #copy (desired-running-config) running-config

share|improve this answer
    
copy new-config running-config won't actually replace the running-config - it will actually merge the two configs. If you want to completely replace a running configuration, you must copy the new config to startup-config and then reload. –  MikeyB Apr 8 '10 at 16:02
    
Ah, yeah, I knew there was something I was leaving out. Thank you. –  bacteriophage Apr 8 '10 at 18:19

I highly recommend you to create a TFTP server, especially if you are experimenting a lot. You can copy much easier from the router to the server and the other way around. Once you have the TFTP server, you can just:

router#copy tftp://new-config running-config
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.