How to interrupt or cancel cli output

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

How to interrupt or cancel cli output

L2 Linker

I cannot find how to cancel or interrupt the cli output.  Specifically the " show config running" command.

 

thnks in advance

vnt90

2 accepted solutions

Accepted Solutions

Try the letter "q" 

View solution in original post

I would have bet the house that I'd tried that before and it didn't work.  But it did work now. 

thnks

View solution in original post

6 REPLIES 6

L7 Applicator

So, you changed the output so that it does not give you the prompt to continue at the end of the page and when it is outputting to the screen you cannot stop it? 

And Control+C does not stop it?

LIVEcommunity team member
Stay Secure,
Joe
Don't forget to Like items if a post is helpful to you!

Cyber Elite
Cyber Elite

@vnt90,

If the standard Control+C doesn't interrupt the output you'll need to post what application you are actually using to get into the CLI. Some don't behave well with Control+C and require a different keystroke, but that will work for 98% of them out there. 

So I am entering the command " show config running"  and Control C does not interrupt or stop the command from continuing to display with each space bar depression.  I am using SecureCRT and SSH'd into the device.

 

thnks in advance

vnt90

Try the letter "q" 

I would have bet the house that I'd tried that before and it didn't work.  But it did work now. 

thnks

ctrl-c will interrupt any 'running' output (if you're running "show system resources follow" or if you disabled cli page breaks etc.)

when you are looking at an output with page breaks (show config, less mp-log ms.log, ....) you can escape out by pressing the letter Q

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization
  • 2 accepted solutions
  • 21430 Views
  • 6 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!