cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
33403
Views
0
Helpful
3
Replies

redirect show tech to tftp on 3750

burlingtoniowa
Level 1
Level 1

Hi Cisco Community,

On my 2960, 3550, and 2801 equipment which all have IOS 12.2 or 12.3 I am able to obtain things like "show tech" and save it on a tftp server in this manner:

ch3550#show tech | redirect tftp://192.168.18.18/techsupport.txt

This is because the | pipe has a bunch of options it refers to as output modifiers.

ch3550#show tech | ?

  append    Append redirected output to URL (URLs supporting append operation only)

  begin     Begin with the line that matches

  count     Count number of lines which match regexp

  exclude   Exclude lines that match

  format    Format the output using the specified spec file

  include   Include lines that match

  redirect  Redirect output to URL

  section   Filter a section of output

  tee       Copy output to URL

HOWEVER, on my 3750, I am not able to do this. The list of output modifiers has changed, and "redirect" is not available. Consider the following:

ch3750#show tech | redirect tftp://192.168.18.18/techsupport2.txt

                   ^

% Invalid input detected at '^' marker.

ch3750#show tech | ?

  begin    Begin with the line that matches

  exclude  Exclude lines that match

  include  Include lines that match

The 3750 unit I am working with is WS-C3750G-12S with IOS version 12.2(25)SEB2

Now, I know I can capture the show tech output via other means such as in the buffer of Putty.exe...

but finding this out has become a matter of principle now!

thanks!

mtoal

1 Accepted Solution

Accepted Solutions

Leo Laohoo
Hall of Fame
Hall of Fame

That's because your 3750 is running a very old IOS.

View solution in original post

3 Replies 3

Leo Laohoo
Hall of Fame
Hall of Fame

That's because your 3750 is running a very old IOS.

My apologies for not replying sooner.

Upgrading did resolve the issue.

thanks!

Thanks for the ratings. 

Review Cisco Networking for a $25 gift card