Other Help Topics :: log xterm telnet session



When I telnet to a device, I want the session logged or not logged at will, and stored in a text file at a location of my choice.

Can someone tell me how I can accomplish this?

Real world example:
Telnet to a router, switch, or firewall
before perfoming any changes to the configuration, I save the current configuration by typing 'sh run' or 'sh config' , etc. and the response from the device is saved to a text file.
Perform configuration changes, etc.
Save final configuration to a text file using the previous method.

Want to do this when using DSL......

try typing "telnet --help | less"  to scroll through all the info.

hit "q" when you're done in less.

it tells you how to do this there, but i can't remember exactly what it is off the top of my head.

-J.P.


original here.