Skip Links

Network World

Brad Reese

How to install a text file configuration into a Cisco router

By Brad Reese on Tue, 04/29/08 - 10:54am.
Newsletter Signup

Cisco How-To Tutorials

This How-To Tutorial maybe helpful when you have a configuration that needs to be copied from a file, or from one Cisco router to another.

This procedure is described in the Microsoft Hyperterminal Terminal Emulation Software.

You may wish to install a text file configuration into a Cisco router by performing these steps.

Note: If the configuration is already uploaded, go directly to step 8.

1. If the configuration needs to be copied from another router, connect to that router through the console or Telnet.

At the Router > prompt, issue the enable command and provide the required password.

The prompt changes to Router#, indicating that the router is now in privileged mode.

2. To force the router to return the entire response at once, rather than a screen at a time, issue the terminal length 0 command.

This allows you to capture the configuration without extraneous --more-- prompts generated when the router responds a screen at a time.

3. On the HyperTerminal menu, select Transfer > Capture Text.

The Capture Text window appears

4. Name this file config.txt 5. To dismiss the Capture Text window and begin the capture, click Start. 6. Issue the show running-config command and allow time for the router to complete its response. 7. To end the screen capture, select Transfer > Capture Text > Stop on the HyperTerminal menu. 8. Open the config.txt file you created in any text editor, such as Notepad or Wordpad. 9. Search for and remove any line that starts with AAA.

Note: This step removes any security commands that could lock you out of the router.

10. For each interface that is followed by shutdown, leave it as it is. 11. For all other interfaces, issue the no shutdown command, as shown in this example:

!
interface Serial0/0
no ip address
no ip directed-broadcast
no shutdown
!

12. Save the file. 13. Connect to the router that needs the configuration. 14. Open the config.txt file. 15. Highlight the entire contents of the config.txt file.

To accomplish this, drag the cursor from before the first character to after the last character in the file while holding down the left mouse button.

If you are using Notepad, select Edit > Select All from the menu.

16. Copy the selected text to the Windows clipboard.

To copy, you can either select Edit > Copy from the text editor's menu, or hold down the CTRL key and simultaneously press the C key.

17. Switch to the HyperTerminal window and issue the configure terminal command at the Router# prompt and select Enter. 18. Paste the configuration file into the router by selecting Edit > Paste to Host on the HyperTerminal menu. 19. After the configuration has finished pasting, and the router brings you back to the configuration prompt, issue the copy running-config startup-config command.

This writes the configuration into memory.

20. To return to the Router# prompt, issue the exit command.

View more Cisco How-To Tutorials

Contact Brad Reese
http://www.BradReese.Com

Brad's Top 5 Story Picks
# 1. Cisco skills shortage is baloney, expert says
# 2. Q & A with the ex-Cisco star who joined ethernet fabric switching startup, Woven Systems
# 3. Earth Day message from BradReese.Com
# 4. Vyatta: Cisco's product line remains locked up tighter than Fort Knox
# 5. Help on the way for SMB telephony reseller margins being squeezed to death by Cisco
Story Archives Brad Reese on Cisco Story Archives

Cisco Repair

Cisco Resumes

Cisco Power Supplies

2008 Cisco Salary Rates

  

Welcome, visitor. Register Log in
About Brad Reese on Cisco

Brad Reese cofounded BradReese.Com Cisco Refurbished, which enables affordable Cisco networks globally by assuring customer satisfaction with guaranteed one year warranties on both Cisco Repair as well as Refurbished Cisco.

Don't be shy, contact Brad Reese online or call him Toll Free:

866-864-0506

International callers may wish to call Brad by dialing:

850-364-4115

Archives
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
Categories
A Clear Path to 100Gigabit Ethernet on the Alcatel-Lucent Service Router Portfolio
Allan Sulkin - founder and president of enterprise communications systems and applications consultancy - TEQConsult Group
Careers
Chambers and his Board of Dirctors urged Cisco shareholders to vote NO
China networking marketplace
Christian Brothers Investment Services notice
Cisco
Cisco F1Q10 earnings call
Cisco TelePresence
Cisco TelePresence revenue
Cisco engineer - Kevin Murphy
Cisco first quarter net product sales in emerging markets by fiscal year
Cisco has now become the target of unflattering employee reviews
Cisco is well known as being one of the best companies to work for
Cisco responds to the Dell’Oro Group Router Report 3Q09
Cisco stock chart for the last 10 years
Cisco's 1st Quarter Other Product Revenue By Fiscal Year
Cisco's F1Q10 earnings call
Cisco's Form 10-Q
Cisco's new Stock Incentive Plan as amended and restated
Cisco's upcoming annual stockholder's meeting
Data Center
Dave Donatelli - HP executive vice president and general manager of enterprise servers and networking
Dell’Oro Group's 3Q09 vs. 3Q08 SP Edge Router Revenue Market Shares
Did Cisco take its eye off the ball in emerging markets
Do you think Cisco can effectively compete against Huawei
FNF
Financial windfall for Cisco shareholders
Flexible NetFlow
Flip video camcorder
Flip video camcorder revenue
Gilbert Public School's $3.5 million network upgrade to HP
Gilbert Public Schools Board President - Thad Stump
Gilbert Public Schools assistant superintendent - Barb VeNard
Glassdoor.com is financially backed by 2 of the leading Silicon Valley venture capital firms - Benchmark Capital and Sutter Hill Ventures
HP also bid on the project
HP purchasing 3Com
HP's Converged Infrastructure strategy
HP's acquisition of 3Com
Huawei
John Chambers has had some good paydays as the CEO of Cisco
LANs / WANs
NBAD
NetFlow
NetFlow add-ons
Network Behavior Anomaly Detection
Network Management
Popular online career and workplace community - Glassdoor.com
ProCurve ONE alliance
Proposal submitted by Christian Brothers Investment Services
Proxy resolution during Cisco's annual meeting
SMB
Say on executive pay
Security
So how does one verify that Glassdoor's information is really from Cisco employees?
Software
Superintendent Dave Allison
TelePresence revenue
VoIP / Convergence
When Cisco used its common stock to buy Linksys and Pure Digital
Who's right about Cisco's work environment - Fortune or Glassdoor?
Wireless / Mobile
On The Web
Twitter