Sunday, December 21, 2008

Magic Of TEE & Redirect Command

Hello Friends,

This is my first post so want to show a nice cisco trick- The magic of Tee and Redirect Command


The command name is Redirect & Tee which is being used by cisco routers to redirects or save the show config directly to any where.

e.g.

sh run | tee tftp://192.168.0.1/runconf.txt
show tech-support | tee tftp://192.168.0.1/techsupp.txt

You can also use redirect in the same way
e.g.
show tech-support | redirect tftp://192.168.0.1/techsupp.txt

Best Regards,
Deepak Arora

No comments: