How to clear CLI screen on ASA and IOS?


How do you clear CLI screen on ASA?


Answer: You CAN’T!

In case you came here asking for the clear CLI screen on IOS.

Answer: You CAN’T!


I wished there was a way to clear the CLI screen, but this is handled by the terminal application. If you are using SecureCRT try CTRL+L.


If using Putty you can right click on the toolbar and select Reset Terminal, this will clear the whole screen until you hit enter and your cli prompt will come back.

Tera Term

If using Tera Term you can select Edit &gt Clear screen for the same result.

Alternatively do it how the cavemen do, just keep hitting enter until the lines scrolls off the screen buffer. You may find that useful when going through live debugs.

By hitting enter and leaving a few lines of gaps right before the next flood of messages, you maybe able to segregate your debugging more clearly. That’s my $0.02.

Related Posts with Thumbnails

About the Author

Alfred Tong
Author and owner of this blog. A Networking enthusiast, full time networking and systems Engineer. Generally curious about all things IT.Certifications: GIAC GSEC, CCNP-S, CCNP, CCSP, CCDP, CCNA, RHCE, JNCIA - FWV
  • Steve Dugan

    Yes you can!! You just need to be more creative with this one. the following code will create a command via alias of cls. When you type “cls” an essentially blank menu will launch and clear the screen. hitting enter will return you to the IOS prompt. here is the code:

    ! Using Menu to clear screen on cisco IOS

    menu CLS title ~
    Clear Screen! ~
    menu CLS prompt ~
    (Hit enter to continue) ~
    menu CLS clear-screen
    menu CLS default q
    menu CLS command q menu-exit
    alias exec cls menu CLS

    You are welcome!

    Stephen Dugan

    Creator of ShellTTY network device manager.