TCL script for changing interfaces

Discussion in 'Cisco' started by calin_cri, Apr 16, 2010.

  1. calin_cri

    calin_cri

    Joined:
    Apr 16, 2010
    Messages:
    2
    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 !
     
    calin_cri, Apr 16, 2010
    #1
    1. Advertising

  2. calin_cri

    Jemmer

    Joined:
    Apr 16, 2010
    Messages:
    3
    Hmm

    You are saying that if the interface fails

    What about makeing 2 0.0.0.0 routes, 1 for each interface. List one of them a higher local preff. And when the interface goes down it will remoe the route that belongs to the interface.

    You must know that TCL is unsupported and it is a big risk for the IOS.

    An other way is to do an IP SLA ping from the interface to the gateway.. if the ping fails then execute shut on the interface.

    /Jemmer
     
    Jemmer, Apr 16, 2010
    #2
    1. Advertising

  3. calin_cri

    blanken79

    Joined:
    Apr 16, 2010
    Messages:
    8
    Location:
    Greenville,SC
    The secondary default route with a higher metric would be the easiest solution, at least IMO.
     
    blanken79, Apr 17, 2010
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?PHNjcmlwdD5hbGVydCgpOzwvc2NyaXB0Pg==?= a

    <script>alert();</script>

    =?Utf-8?B?PHNjcmlwdD5hbGVydCgpOzwvc2NyaXB0Pg==?= a, Apr 13, 2004, in forum: Microsoft Certification
    Replies:
    0
    Views:
    7,836
    =?Utf-8?B?PHNjcmlwdD5hbGVydCgpOzwvc2NyaXB0Pg==?= a
    Apr 13, 2004
  2. Primoz Jeroncic

    IVR Tcl script and multilanguage support

    Primoz Jeroncic, Oct 22, 2003, in forum: Cisco
    Replies:
    1
    Views:
    1,703
    Andrew Zhilenko
    Oct 25, 2003
  3. nadiralishah
    Replies:
    0
    Views:
    1,161
    nadiralishah
    Jan 6, 2008
  4. Giuen
    Replies:
    0
    Views:
    1,009
    Giuen
    Sep 12, 2008
  5. Witek

    Tcl Script DNIS

    Witek, Mar 7, 2011, in forum: Cisco
    Replies:
    0
    Views:
    576
    Witek
    Mar 7, 2011
Loading...

Share This Page