Link to home
Start Free TrialLog in
Avatar of cpatte7372
cpatte7372Flag for United Kingdom of Great Britain and Northern Ireland

asked on

Cisco Console Command Output Question

Hello Experts,

I have written the following alias:

alias exec sim ping ip 10.1.20.25 size 500 repeat 100 timeout 100

However, I don't want the ping results to appear on the screen as shown in the image.

User generated image
Can someone please let me know how to allow the ping results to run in the background with showing on the console?

Cheers

Carlton
Avatar of Don Johnston
Don Johnston
Flag of United States of America image

AFAIK, the only option that comes close is redirecting the output to a file.  But that redirects all output from the command.

Output Redirection
Avatar of cpatte7372

ASKER

Don,

Thanks for responding.

The link you provided doesn't provide an example. Do you have a sample config?

Cheers
It would be something like "show ip route | redirect flash:file name.txt".

Not sure if it would work with  a non-show command. But you could try it.
Don

There is no such command
ASKER CERTIFIED SOLUTION
Avatar of cpatte7372
cpatte7372
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No one was able to find an answer