Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

clear the terminal

Is there a way to clear the terminal when connected to a Cisco router/switch like the ^L does for Linux/Unix systems?

Regards

1 ACCEPTED SOLUTION

Accepted Solutions

Re: clear the terminal

Hi,

you could also turn off the messages

R#no terminal monitor

R(config)#no logging console

for the time you configure the router.

Hope this helps

Martin

7 REPLIES

Re: clear the terminal

Easy way to do this, is to hit enter key until it clears the previous outputs on the screen...

Hall of Fame Super Silver

Re: clear the terminal

I believe that there are two parts to answering this question. One part is the ability to do something on the router itself and the second part if the ability to do something in the terminal emulator used to access the router. I am not aware of anything we can do on the router itself to clear the screen of the terminal. But most of the terminal emulators have functions that can clear the contents of the screen and/or the scrollback buffer. And of course the suggestion from Sankar will produce a mostly enpty screen (empty except for the line of router prompts down the left side of the screen).

HTH

Rick

New Member

Re: clear the terminal

Well, firs of all, thanks for the answers.

What I'm trying to do here is to clear the screen in situations when you type a long command and right in the middle you get an output on screen such as debug (e.g.)

So, if I type "enter" of course the command would not be completed, ans this could leat to misconfiguration if accepted.

If I clean the screen on the terminal, this will clean absolutely everything.

For both solution the answer is: type the command again.

In Linux Unix system, when something similar happens, with an easy ^L we can clean everything on screen but prompt + character digited since last enter.

Re: clear the terminal

Hi,

in this case you can use "?". It will give some output regarding the options you have and then reproduce the prompt and input you already had on a new line.

Hope this helps

Martin

Re: clear the terminal

Hi,

you could also turn off the messages

R#no terminal monitor

R(config)#no logging console

for the time you configure the router.

Hope this helps

Martin

Silver

Re: clear the terminal

You can use logging synchronous command to avoid the debug or log messages from interrpting your key in.

See this under Synchronizing Log Messages section,

http://www.cisco.com/en/US/products/hw/switches/ps646/products_configuration_guide_chapter09186a00801f0a4e.html

hope this will help!

New Member

Re: clear the terminal

Thankyou all!

The "logging syncronous" is what I was looking for.

Regards

651
Views
5
Helpful
7
Replies
CreatePlease login to create content