Search This Blog


Output Console Output to a File

Something really interesting that I had not known about before is the ability to output console commands to a file. Just like how you do it in linux it is extremely fast as it is writing directly to the disk instead of using console or telnet to display to your screen.

The command works as follows

Nexus7000#show tech-support > bootflash:

The ">" will send it directly to the bootflash without the need of displaying it. It makes the 28mb (sometimes upwards to 500+mb) tech-support output a lot easier/faster :P

It makes me wonder how many other common scripting commands I could use on a cisco/nexus router :D

No comments:

Post a Comment