cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
373
Views
0
Helpful
6
Replies

redirects

amansoi_5
Level 1
Level 1

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

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

View solution in original post

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

View solution in original post

6 Replies 6

Harold Ritter
Cisco Employee
Cisco Employee

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

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

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

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

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

Sir,

Thanks ...

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

regds,

aman

Review Cisco Networking products for a $25 gift card