Click here to Skip to main content
15,887,935 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Not able to clear the putty terminal when ssh router

What I have tried:

Shell
clear

Shell
cls

ctrl+I
ctrl+L
"nothing above worked"
Posted
Updated 17-Jan-23 9:32am

The command to clear the terminal screen in a Cisco router using Putty is the "terminal length 0" command.
You can enter this command by logging into the Cisco router and typing the command in the command-line interface (CLI) and press enter:
terminal length 0

Keep in mind that the "terminal length 0" command is only effective for the current session, and if you log out or restart the router, the setting will be lost. If you want to make the change permanent you can configure it on the running configuration using the configure terminal command and then use the terminal length 0 command.
 
Share this answer
 
you have to try
clear line or
reset command on shell.
 
Share this answer
 
Comments
Dave Kreskowiak 29-Feb-24 15:51pm    
First, you're a year too late to the discussion.

Next, "reset" only works in alarm mode and does not reset the terminal or clears the screen.

"clear line" isn't even a command in IOS, last I checked.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900