SRX Services Gateway
Reply
New User
Chris_Nicholls_SBL
Posts: 2
Registered: ‎04-17-2012
0

SRX 240 HA Dual ISP Failover Interface Disable Help!

We have two SRX240h's Currently we have them configured in HA we have set up the reth## for our Dual ISP configured the nexthop metric's so that when reth2.0 is down it switches to reth3.0 tested and working. The issue is that if the internet link goes down it can still be showing as up on the Juniper Boxes upon research we have found a rpm ping probe and event script is the way forward to disable the reth and then we can manually return the link back up once we have had time to diagnose the issue.

 

http://www.juniper.net/us/en/community/junos/script-automation/library/event/disable-interface/

 

above is the Automation event script that we are using to diable the interface we have edited thes script to show which interface that we require to be disabled but when we come to Commit the changes we are given the below error

 

unexpected T_BARE, expecting K_VERSION before 'junos'

 

now this seemed to be because of the below part of the script:

 

version 1.0;
ns junos = "http://xml.juniper.net/junos/*/junos";
ns xnm = "http://xml.juniper.net/xnm/1.1/xnm";
ns jcs = http://xml.juniper.net/junos/commit-scripts/1.0;

 

any ideas anyone or better suggestions would be greatly appreciated

Contributor
vencour
Posts: 93
Registered: ‎06-17-2010
0

Re: SRX 240 HA Dual ISP Failover Interface Disable Help!

Some time ago I made some script and if I remember well such errors I've seen when had bad sequence or count of brackets (or semicolons ? )

 

 

New User
Chris_Nicholls_SBL
Posts: 2
Registered: ‎04-17-2012
0

Re: SRX 240 HA Dual ISP Failover Interface Disable Help!

checked through the Document doesnt seem to be the case i have uploaded the script that we are using if anyone is able to see any obvious mistakes i may have made. i have downloaded this straight from the Juniper Automation Library so would expect either everyone downloading it to have the problem or there to be an updated version with the issue fixed.

 

we are running release 12.1r1.9 if this at all helps

Trusted Contributor
BenR
Posts: 89
Registered: ‎03-18-2010
0

Re: SRX 240 HA Dual ISP Failover Interface Disable Help!

Close the comment above version 1.0; with */

 

Visitor
adm@scanex.ru
Posts: 7
Registered: ‎07-17-2011
0

Re: SRX 240 HA Dual ISP Failover Interface Disable Help!

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