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. And see here for current known issues.

New Member

TCL script for changing interfaces

Hello,

I need some help. Does anyone has an example of a TCL script for a cisco 1800 series running ios 12.4 how can switch between interfaces if one fails

To be more specific, i have 2 ISP configured on 2 Fast Ethernet ports.
If one fails i want the ip route to switch to the other interface.
I don`t want to manually switch ip route 0.0.0.0 0.0.0.0 fast ethernet...

Thanks in advance !

1 REPLY
Hall of Fame Super Blue

Re: TCL script for changing interfaces

calin_cri wrote:

Hello,

I need some help. Does anyone has an example of a TCL script for a cisco 1800 series running ios 12.4 how can switch between interfaces if one fails

To be more specific, i have 2 ISP configured on 2 Fast Ethernet ports.
If one fails i want the ip route to switch to the other interface.
I don`t want to manually switch ip route 0.0.0.0 0.0.0.0 fast ethernet...

Thanks in advance !

You don't need TCL for this, you can use IP SLA and reliable staticr routing. Have a look at this doc, there are examples at the end of the doc as well -

http://www.cisco.com/en/US/docs/ios/12_3/12_3x/12_3xe/feature/guide/dbackupx.html

If you still have queries after reading doc then please come back.

Jon

202
Views
0
Helpful
1
Replies