You are on page 1of 1

Blog Home | INE Home | Members | Contact Us | Subscribe

Free Resources

View Archives

All Access Pass

CCIE Bloggers

19 CCENT: Saving your Router or Switch Configurations


to your PC
Dec

Posted by INE Instructor in CCENT,Routers,Switches

12 Comments

Sure, everyone knows that it is copy running-config startup-config in order to save your hardearned configuration to the Non-volatile RAM (NVRAM) inside the device. But what about saving a copy
of the configuration on your local PC? Well, this is easy thanks to a couple of tips and tricks, and the wonder of
Notepad!
Here is how you save the configuration locally using Windows HyperTerminal. But realize that whatever terminal
program you use, there is going to be a similar option.
Step 1: Login to the device with the configuration you want to save and ensure you are in Privileged mode (the #
prompt).
Step 2: Type the command terminal length 0. This command will eliminate the MORE key press feature and will
eliminate the need to clean up your captured configuration later.
Step 3: Click the Transfer menu option and choose Capture Text. Choose a location and name for the text file
you are about to create and click Start.
Step 4: Back at the router or switch prompt type show run and press Enter. You will see the configuration file
display on screen and return you to the prompt. That configuration was also just written to your text file! Cool!
Step 5: Go back to the Transfer menu and choose Capture Text then Stop. Notice that you could also Pause
the capture as you navigate to another device and capture another configuration in the file.
Step 6: You can now go into your file and trim out the initial text about the show run and Building Configuration.
Replace that text with enable, then configure terminal, and now your configuration is ready to paste into the
User mode of a device!

Search
Search
Submit

Categories
Select Category

CCIE Bloggers
Brian Dennis, CCIEx5 #2210
Routing & Sw itching
Voice
Security
Service Provider
ISP Dial
Brian McGahan, CCIEx4 #8593,
CCDE #2013::13
Design
Data Center
Routing & Sw itching
Security
Service Provider
Mark Snow , CCIEx4 #14073
Data Center
Collaboration
Security
Voice
Petr Lapukhov, CCIEx4 #16379,
CCDE #2010::7
Design
Routing & Sw itching
Security
Service Provider
Voice

Have fun with your studies and enjoy building a library of configurations in various stages!

Popular Posts

Tags: configuration, router, switch

No posts to display

Download this page as a PDF


About INE Instructor:
Find all posts by INE Instructor | Visit Website

You can leave a response, or trackback from your own site.

12 Responses to CCENT: Saving your Router or Switch Configurations to


your PC
December 19, 2008 at 6:22 pm

Peter
Another option is to use a TFTP server (I use tftpd32) and use the copy run tftp command.

Reply
Dec ember 19, 2008 at 11:14 pm

hamid
when you set the terminal length to 0 ,how do u revert it back to the default.

Reply
December 20, 2008 at 5:53 am

Salman
Thanks for the tip, its very usefull.
Regards
Salman
London

Reply
December 20, 2008 at 6:03 am

Burhan
i have one stupid but still valid question.how to write this key in router (?) Yesterday i was doing some BGP stuff and i need to write
this regexp but i was unable to do that because when ever i write this key word (?) it will start showing me other options.

Reply
December 22, 2008 at 7:48 am

Malick Ndiaye
Hello,
good post as usual. Even though I am preparing for my CCIE this info comes in very handy. My question whats the default terminal
length on Cisco devices?
Best regards

Reply
December 27, 2008 at 5:50 am

INE Instructor
Hello all terminal length 24 is the default on routers and switches.

Reply
December 27, 2008 at 5:52 am

INE Instructor
Burhan in the future, please consider posting such a question on our forum http://www.ieoc.com
Anyways, the answer is to precede the question mark with Ctrl-V sequence to prevent it from being interpreted as a help command.

Reply
December 29, 2008 at 5:15 pm

Andrew
i use a program called terraterm instead of hyperterminal. just need to set the line sitory to 1000 or so and do a show run, and you
can copy and paste easily from the display without the more lines messing things up.
i find terraterm is much better than hyperterminal. its free, google for terra term pro.

Reply
January 1, 2009 at 7:51 am

Tomasz
hamid says:
December 19th, 2008 at 11:14 pm
when you set the terminal length to 0 ,how do u revert it back to the default.
#term no len

Reply
January 3, 2009 at 9:54 pm

INE Instructor
You can set it back to default with the command terminal length 24

Reply
April 21, 2009 at 10:31 am

ercan
thanks,its very usefull

Reply
June 14, 2009 at 10:41 pm

sar lulu
thanks

Reply

Leave a Reply
Name (required)

Mail (will not be published) (required)

Submit Comment

twitter.com/ine

2011 INE, Inc., All Rights Reserved

pdfcrowd.com

You might also like