03-08-2012 03:14 PM
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
Solved! Go to Solution.
03-08-2012 06:20 PM
That's because your 3750 is running a very old IOS.
03-08-2012 06:20 PM
That's because your 3750 is running a very old IOS.
04-12-2012 12:36 PM
My apologies for not replying sooner.
Upgrading did resolve the issue.
thanks!
04-12-2012 03:44 PM
Thanks for the ratings.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide