[SR-Users] LCR defunct_gw use

Juha Heinanen jh at tutpro.com
Thu Mar 31 07:25:54 CEST 2011


Ricardo Martinez writes:

> Can someone please explain to me hoy can i use the command “defunct_gw()” is
> used to mark a gw down?.

as the README tells, the function defuncts the gateway of previous
next_gw() call.

> I understand that the gateway is marked down for period of time with the
> command, but how can I check if a gateway is down?.  Can someone show me
> this with an example in the configuration?

you activate failure route before calling t_relay() and then in the
failure route you can call defunct_gw() depending on the response
code.

-- juha



More information about the sr-users mailing list