Junos Automation (Scripting)
Reply
Visitor
iman_js
Posts: 1
Registered: ‎02-24-2011
0
Accepted Solution

Script redundant connection

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.

Recognized Expert
Mattia
Posts: 198
Registered: ‎03-17-2010
0

Re: Script redundant connection

[ Edited ]
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/highli...
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/highligh...

Cheers, Mattia
.................................................................................
JNCIP-ENT, JNCIP-SEC, JNCIS-SP
(If this post helped you, please mark it as an "Accepted Solution"; kudos are also appreciated!)


Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.