Automation

last person joined: 22 hours ago 

Ask questions and share experiences about Apstra, Paragon, and all things network automation.
  • 1.  Script redundant connection

    Posted 05-15-2012 21:07
      |   view attached

    Hello all,

     

    I'd like to find and get some guidance from all Juniper automation here, I have 1 unit T1600 connect to 2 unit EX2200-C. One connection to the switch will be active (primary link) and the other is standby (backup link), when the primary link down it will switch to backup link then when primary back to up the link will automatically switch back to primary link. 

    Can I deploy scripting automation to running this kind redundancy?

     

    Kindly need advice from all Juniper Automation expert here.



  • 2.  RE: Script redundant connection
    Best Answer

     
    Posted 05-22-2012 23:01
    Hi, you can use the ip monitoring feature (if available on your box), or an event-script in order to failover from one next-hop to another. Both the solutions rely on the configuration of rpm probes to monitor the reachibility of the next-hop.

    Here you can find an example of the IP monitoring usage:
    http://kb.juniper.net/InfoCenter/index?page=content&id=KB22052

    And here it is some documentation on the scripts:
    http://www.juniper.net/us/en/local/pdf/script-library/event-enablenexthop.book-en.pdf
    http://www.juniper.net/us/en/community/junos/script-automation/library/event/enable-primary-nexthop/

    I'd also suggest you to do some research on the forum, since this topic has been discussed a lot 🙂
    You will find also some configuration examples and script code, as an example check out the following threads:
    http://forums.juniper.net/t5/SRX-Services-Gateway/Route-Failover-and-IP-monitoring/m-p/126569/highlight/true#M15936
    http://forums.juniper.net/t5/SRX-Services-Gateway/Dual-ISP-Failover-via-RPM/td-p/72446
    http://forums.juniper.net/t5/SRX-Services-Gateway/SRX240-with-CX111-as-backup-WAN/m-p/34832/highlight/true#M2398

    Cheers, Mattia