CCIE Pursuit Blog

April 21, 2007

Saving the Running-Configuration in Tera Term

Filed under: Tech Tips — cciepursuit @ 8:45 am

Tera Term is my telnet client of choice.  I will soon be making the move to SecureCRT as that is the client used on the CCIE lab.  I’ve used Tera Term for years, so the move may be a painful one.

Here’s a step by step method for saving your configurations in Tera Term:

1) Type “terminal length 0″.  This will stop pausing when you do a “show run” so that you don’t have to keep hitting the spacebar.

Step 1

2) In Tera Term go to “File” -> “Log…” and then enter a filename for your configuration in the form of “filename.txt”.  Remember the .txt or you’ll end up with a file that you cannot open.  If this happens, simply rename the file so that it ends with .txt

Step 2

Step 2

3) Click “Open”.  You’ll be returned to your telnet session, but you should notice a new window on your Taskbar.

Step 3

4) Type “show run”.  As soon as the configuration has been displayed, click on the “Tera Term: Log” window and then click “Close”.

Step 4

5) Finally, be sure to reset your terminal length (if you like) “term len 24″

Step 5

You can skip setting the terminal length to zero, but you’ll need to hit the spacebar to scroll through each screen of the configuration.  Also, your configuration text file will/might end up with garbage characters and other text that the router will choke on if you paste it in configuration mode:

Text Without “Term Len 0″

!
interface Serial0/1
 no ip address
 shutdown
!
 –More–         router bgp 123
 no synchronization
 bgp log-neighbor-changes
 neighbor 172.12.123.2 remote-as 123

You can use the above method to save “show tech” or any commands or output from any telnet session.

About these ads

3 Comments »

  1. [...] routers reload until I realized that my Frame Relay switch was reloading as well.  Luckily I had saved out a backup configuration and was able to rebuild the Frame Relay switch.  Rebuilding the melted Frame Relay switch would [...]

    Pingback by DOH! Part 1 of Too Many: send * « CCIE Pursuit — April 29, 2007 @ 7:59 am | Reply

  2. Thanks for putting this online I forgot how to use the log command and this really helped

    Comment by mark — April 16, 2008 @ 9:27 pm | Reply

  3. 1) Type “terminal length 0″. This will stop pausing when you do a “show run” so that you don’t have to keep hitting the spacebar.

    I learned above command, thanks for you.
    good bless you.

    Comment by Hello — July 15, 2008 @ 4:11 pm | Reply


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

The Rubric Theme Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

Join 109 other followers

%d bloggers like this: