Capture Cisco Router output:
Microsoft HyperTerminal is one of the most commonly used terminal emulator programs. This document explains how to use some HyperTerminal features with Cisco routers.
If you want to capture the output of long show commands like show tech-support, show run or Router debug commands, Instead of you simply use copy and paste the output of the commands, you can use the Capture Text option from your HyperTerminal as explained below:
1. Select Transfer from the menu bar on your HyperTerminal program, and choose the Capture Text option from the pull-down menu
2. In dialog box that is displayed, create the name of the file you want to send to the engineer. Then click Start.
3. Enter the terminal length 0 command in router privilege mode.
ciscoconsole# terminal length 0
The terminal length command allows the console to scroll, even if you don’t need to press the space bar or enter after every screen
Note: For the show tech-support command, “terminal length 0” is on by default.
4. Issue the required commands, such as the show interfaces, show running-config commands…etc
5. When the command is completed, select the Stop option from the Capture Text sub menu.
6. Repeat steps 1 through 5 for as many text captures as you need. Simply attach your newly created files to an e-mail, and send them to your Cisco support representative.
Note: It is not necessary to set the terminal length to zero each time. The terminal length setting stays at zero until another value is set manually.
7. Enter the terminal length 24 command at the Router# prompt. This causes the console to pause after each full screen, and allows you to read the output:
Filed Under: Cisco General
About the Author: