Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

redirects

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

2 ACCEPTED SOLUTIONS

Accepted Solutions
Cisco Employee

Re: redirects

One more thing. You should also specify the file name as follow:

tftp://192.168.1.1/

Hope this helps,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
Cisco Employee

Re: redirects

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,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
6 REPLIES
Cisco Employee

Re: redirects

try tftp://192.168.1.1 instead. Two slashes instead of one.

Hope this helps,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
Cisco Employee

Re: redirects

One more thing. You should also specify the file name as follow:

tftp://192.168.1.1/

Hope this helps,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
New Member

Re: redirects

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

Cisco Employee

Re: redirects

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,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
Cisco Employee

Re: redirects

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,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
New Member

Re: redirects

Sir,

Thanks ...

I have to go through this document & explore it ..

regds,

aman

111
Views
0
Helpful
6
Replies