04-13-2006 04:52 AM - edited 03-03-2019 12:23 PM
Sir,
I am trying to run this command
sh int description | redirect tftp:/192.168.1.1
but does seem to work ..
can somebody help?
regds,
aman
Solved! Go to Solution.
04-13-2006 05:49 AM
One more thing. You should also specify the file name as follow:
Hope this helps,
04-15-2006 04:20 PM
Sorry, I forgot the policy-list command under the kron occurence statement:
kron occurrence test at 7:30 recurring
policy-list test
Hope this helps,
04-13-2006 05:42 AM
try tftp://192.168.1.1 instead. Two slashes instead of one.
Hope this helps,
04-13-2006 05:49 AM
One more thing. You should also specify the file name as follow:
Hope this helps,
04-14-2006 11:41 PM
Sir,
thanks as lot ..
I have tried sh interfacde description | redirect tftp://10.192.10.57/isdn.txt & is working perfectly OK..
I had one more query can I create a batch file where in I enter secret password of router & capture show conf , show isdn active & show interface description etc..
Can u guide me on the same?
regds,
Aman
04-15-2006 04:11 PM
Aman,
You can build TCL scripts on the router using the following feature:
http://www.cisco.com/en/US/products/sw/iosswrel/ps5207/products_feature_guide09186a00801a75a7.html
There is also a command scheduler feature available within IOS. It is similar to the kron scheduler available on most unix platform. For more information about the command scheduler, please refer to the following URL:
http://www.cisco.com/en/US/products/sw/iosswrel/ps5187/products_feature_guide09186a00801b0695.html
You could also just specify a bunch of commands with the sceduler and not use a TCL script as follow:
kron occurrence test at 7:30 recurring
!
kron policy-list test
cli show conf
cli show isdn active
cli show interface description
!
These commands would be run everyday at 7:30.
Let me know if that answer your question,
04-15-2006 04:20 PM
Sorry, I forgot the policy-list command under the kron occurence statement:
kron occurrence test at 7:30 recurring
policy-list test
Hope this helps,
04-18-2006 12:08 AM
Sir,
Thanks ...
I have to go through this document & explore it ..
regds,
aman
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