TCL script for changing interfaces

Unanswered Question
Apr 16th, 2010
User Badges:

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
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Jon Marshall Fri, 04/16/2010 - 07:56
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

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

Actions

This Discussion