12-10-2018 07:29 AM
I am working with a client on troubleshooting an issue with a Nexus 9K. Seeing as I do not have direct access to the device, I had him run 'show tech-support' to get all of the information on the device. On other devices, this makes a large, but manageable text file to get information from. From the 9k, the file was 2.3GB extracted! This is too large of a file for any text editor to handle. What is the best way to get diagnostic information from this?
Solved! Go to Solution.
12-10-2018 08:52 AM
yes we do the same, store in the nexus flash or USB, upload to Linux box, start looking with grep or egrep for the looking information.
12-10-2018 07:47 AM
- If show tech-support details was executed, perhaps in an initial trouble shooting phase, one could start without the details option.
12-10-2018 08:23 AM
The command was tac-pac. I don't have direct access to this device, so getting back in would be tricky. Is there another way to extract this information from this file? Is there a tool that can be used to extract this information? Unix file parsing commands are the only thing I can think of to get info form this file, but that is less than optimal.
12-10-2018 08:52 AM
yes we do the same, store in the nexus flash or USB, upload to Linux box, start looking with grep or egrep for the looking information.
12-10-2018 08:57 AM
OK, I can do that. I just really thought there would be a better tool for this.
12-10-2018 09:01 AM
I extracted the running-config with this unix command:
sed -n "/'show running-config'/,/--------------------------------------------------------------------/p" showtech.txt > showrun.txt
12-10-2018 12:30 PM
If you like you can do many toolsk
grep
egrep
AWK
sed
cat
so on, you choose best what you can, i do combination of many to match correct what we looking for.
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