cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
824
Views
0
Helpful
4
Replies

Redirecting show version to a text file

CiscoUser73515
Level 1
Level 1

I am trying to view "show version" output on a text file (.txt) using

"show version | redirect tftp://1.2.3.4/show_version_output.txt"

in the CLI, but I keep getting a Timed Out error. Any thoughts or advice on how I would be able to open "show version" on a text file?

4 Replies 4

Martin L
VIP
VIP

 

Is TFTP service up and running on destination host?   yo can test it with copy paste something from flush to tftp destination host.

 


Regards, ML
**Please Rate All Helpful Responses **

 

Hello,

 

could be related to the Tftp server software you are using. Try the free Solarwinds server:

 


https://www.solarwinds.com/free-tools/free-tftp-server

balaji.bandi
Hall of Fame
Hall of Fame

here are the steps :

 

1. Make sure your TFTP Server running 

2. From the device are you doing show run - are you able to ping the TFTP Server IP address.

3. there is no Local FW denied your TFTP requests check.

4. down below simple TFTP Server most of them used 

https://bitbucket.org/phjounin/tftpd64/downloads/

5. download portable run, select your IP address from the list from Lan address

6. show version | redirect tftp://1.2.3.4/show_version_output.txt

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello

Another altenative would be to use the TEE command, which not only allows you to display the output yourself but saves it to file.
sh version | tee tftp://xxx/show_version.txt
sh version | tee flash:show_version.txt


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card