Redirecting show version to a text file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2021 12:15 PM
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?
- Labels:
-
Other Switches
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2021 01:49 PM
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 **

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2021 03:47 PM
Hello,
could be related to the Tftp server software you are using. Try the free Solarwinds server:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2021 06:15 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2021 12:27 AM
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
