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.
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
3) Click “Open”. You’ll be returned to your telnet session, but you should notice a new window on your Taskbar.
4) Type “show run”. As soon as the configuration has been displayed, click on the “Tera Term: Log” window and then click “Close”.
5) Finally, be sure to reset your terminal length (if you like) “term len 24”
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”
no ip address
–More– router bgp 123
neighbor 126.96.36.199 remote-as 123
You can use the above method to save “show tech” or any commands or output from any telnet session.