Route Refresh

110 views
Skip to first unread message

Bryan Schwerer

unread,
Feb 24, 2016, 2:00:49 PM2/24/16
to exabgp-users
I'm using back to back exabgp instances for unit test purposes.  If I do an "announce  route-refresh ipv4 mpls-vpn", it bounces the BGP connection, which does indeed refresh routes, but seems a bit awkward.  Is that how it is supposed to work?  Running 3.4.13.  Sample neighbor config used on both sides.

    neighbor W.X.Y.A {
        local-address  W.X.Y.B ;
        local-as 65001;
        peer-as 65000;
        group-updates;
        capability {
           route-refresh;
           graceful-restart 2;
        }


While I'm here, does the ttl-security field control the TTL in the outbound message or is it a threshold for the inbound message?

Thanks,

Bryan Schwerer

Thomas Mangin

unread,
Feb 24, 2016, 2:06:09 PM2/24/16
to exabgp-users
Hi Bryan,

> I'm using back to back exabgp instances for unit test purposes. If I do an
> "announce route-refresh ipv4 mpls-vpn", it bounces the BGP connection,

No it should not bounce the connection (i.e. kill the TCP session).
Could you please open an issue on github. I need to try an replicate.

> While I'm here, does the ttl-security field control the TTL in the outbound
> message or is it a threshold for the inbound message?

TTL set the following on the outgoing TCP connection
io.setsockopt(socket.IPPROTO_IP,socket.IP_TTL, ttl)

Thomas

Thomas Mangin

unread,
Feb 24, 2016, 2:08:20 PM2/24/16
to exabgp-users
>> I'm using back to back exabgp instances for unit test purposes. If I
>> do an
>> "announce route-refresh ipv4 mpls-vpn", it bounces the BGP
>> connection,
>
> No it should not bounce the connection (i.e. kill the TCP session).
> Could you please open an issue on github. I need to try an replicate.

Oh, before you do !

Can you make sure the family section has the “ipv4 mpls-vpn” in it.
As if the family was not negotiated and the announce message is sent it
will cause the session to bounce.

Thomas

Bryan Schwerer

unread,
Feb 24, 2016, 3:53:24 PM2/24/16
to exabgp-users
Hi Thomas,

Both sides have the ipv4 mpls-vpn family enabled.  I will create a git hub issue.

Thanks 
Reply all
Reply to author
Forward
0 new messages