Redirect show command output

Unanswered Question
Dec 8th, 2008

Is it possible to use "show <command> | include example" and then output (tee) the results to file? I've tried multiple variations with no luck so far, just wondering if there is some special way you have to enter the command to combine the two options.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Mark Yeates Mon, 12/08/2008 - 14:42


I don't think a "| tee" can be used in conjunction with another pipe.

- With one tee it works just fine

Router#sh log | tee tftp://

- When I question mark after an exclusion it does not display the tee option.

Router#sh run | exc una ?


- This shows the running config but does not tee to the TFTP server

Router#sh run | exc una | tee tftp://




This Discussion