# iCALL to trigger device failover ?

**URL:** <https://community.f5.com/t/icall-to-trigger-device-failover/46470>\
**Category:** Technical Forums\
**Tags:** icall, ltm, application-delivery\
**Created:** [May 14, 2018, 10:16am UTC](https://community.f5.com/t/icall-to-trigger-device-failover/46470 "2018-05-14T10:16:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![speks](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@speks](https://community.f5.com/u/speks)\
**Post date:** [May 14, 2018, 10:16am UTC](https://community.f5.com/t/icall-to-trigger-device-failover/46470/1 "2018-05-14T10:16:10Z")

</div>

Hi Guys,

Wondering if I can use iCALL to trigger a device failover due to the failure of an F5 BGP Peer ?

Thanks

---

<div class="post-metadata">

**Author:** ![youssef1](https://avatars.discourse-cdn.com/v4/letter/y/ed655f/32.png) [@youssef1](https://community.f5.com/u/youssef1)\
**Post date:** [May 14, 2018, 11:40am UTC](https://community.f5.com/t/icall-to-trigger-device-failover/46470/2 "2018-05-14T11:40:31Z")

</div>

Hi,

Yes you can use ICALL to process a failover, but as you know you have to Triggered this call (reacting to a specific event).

Can you tell me how you monitor your BGP peer? pool member monitoring, …

```tcl
sys icall script failover {
    app-service none
    definition {
     tmsh::run /sys failover standby
     }
}

```

Regards

---

<div class="post-metadata">

**Author:** ![JG](https://avatars.discourse-cdn.com/v4/letter/j/dfb087/32.png) [@JG](https://community.f5.com/u/JG)\
**Post date:** [June 7, 2018, 3:15am UTC](https://community.f5.com/t/icall-to-trigger-device-failover/46470/3 "2018-06-07T03:15:38Z")

</div>

There is a testing method in [K14397: Running a command or custom script based on a syslog message](https://support.f5.com/csp/article/K14397four).

The process ID in “BGP[13155]” is the reason for the matching failure, for it is not a fixed number. You might want to try something like "

```tcl
BGP*: BGP: %BGP-5-ADJCHANGE: neighbor IP ADDRESS Down

```

" instead (I presume that “IP ADDRESS” is a fixed string).

---

<div class="post-metadata">

**Author:** ![speks](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@speks](https://community.f5.com/u/speks)\
**Post date:** [June 7, 2018, 2:59pm UTC](https://community.f5.com/t/icall-to-trigger-device-failover/46470/4 "2018-06-07T14:59:58Z")

</div>

Really appreciate your comments folks - I will try out the suggestions and let you know how I get on…
