Skip to content

Configuration : family

Paolo Lucente edited this page Jan 5, 2017 · 3 revisions

Family

This document present the NEW, not yet complete process API which is due to be used after the 3.4.x releases.

This statement can be found under the following group:

  • BGP

Syntax

family <name> {
   all

   ipv4 {
      unicast
      multicast
      nlri-mpls
      mpls-vpn
      flow
      flow-vpn
   }
   ipv6 {
      unicast
      nlri-mpls
      flow
      flow-vpn
   }
   l2vpn {
      vpls
   }
}

Defines which AFI/SAFI family will be accepted with the BGP connection.

ExaBGP does not make any attempt to provide sanity regarding the command issued vs the family negotiated. Therefore you will be able to send an IPv6 unicast route to a peer which has only negotiated IPv4 unicast, this will however most likely result in the peer terminating the session with a NOTIFICATION.

all

This is the default setting and will announce to the peer all the families we know. This option can not be used with any other one.