IBGP Using IPv4 Overlay
This section briefly describes the IBGP using IPv4 overlay feature and its configuration on the QFX5220, QFX5230, QFX5240, and QFX5241 Switches.
Overview
Internal Border Gateway Protocol (IBGP) is a BGP peering type used for routing IPv4 underlay and overlay networks in data center fabrics. IBGP operates within the same autonomous system (AS) as peer devices and requires full-mesh peering or route reflectors to avoid loops. IBGP uses internal peering and shares the same AS number across peers. IBGP sessions often use loopback interfaces (for example, lo0) as the local address for stability in IPv4 fabrics.
Configure IBGP Using IPv4 Overlay
To configure IBGP for the overlay peering in an IPv4 fabric:
Configure an AS number for overlay IBGP. All leaf and spine devices participating in the overlay use the same AS number.
On spine and leaf devices:
set routing-options autonomous-system AS-Number
Configure IBGP using EVPN signaling on each spine device to peer with every leaf device. Also, form the route reflector cluster and configure equal-cost multipath (ECMP) for BGP.
Tip:By default, BGP selects only one best path when there are multiple, equal-cost BGP paths to a destination. When you enable BGP multipath by including the
multipathstatement at the[edit protocols bgp group group-name]hierarchy level, the device installs all of the equal-cost BGP paths into the forwarding table. This feature helps load-balance the traffic across multiple paths.Spine 1:
set protocols bgp group overlay type internal set protocols bgp group overlay local-address spine-loopback-ip set protocols bgp group overlay family evpn set protocols bgp group overlay cluster route-reflector-cluster-id set protocols bgp group overlay multipath set protocols bgp group overlay neighbor leaf1-loopback-ip-address ... set protocols bgp group overlay neighbor last-leaf-loopback-ip-address
Configure IBGP on the spine devices to peer with all the other spine devices acting as route reflectors. This step completes the full-mesh peering topology required to form a route reflector cluster.
Spine 1:
set protocols bgp group overlay-full-mesh-spine type internal set protocols bgp group overlay-full-mesh-spine local-address this-spine-loopback-ip-address set protocols bgp group overlay-full-mesh-spine family evpn set protocols bgp group overlay-full-mesh-spine neighbor other-spine1-loopback-ip-address set protocols bgp group overlay-full-mesh-spine neighbor other-spine2-loopback-ip-address set protocols bgp group overlay-full-mesh-spine neighbor other-spine3-loopback-ip-address
Configure BFD on all BGP groups on the spine devices to enable rapid detection of failures and reconvergence.
Spine 1:
set protocols bgp group overlay bfd-liveness-detection minimum-interval interval-value set protocols bgp group overlay bfd-liveness-detection multiplier multiplier-value set protocols bgp group overlay bfd-liveness-detection session-mode automatic set protocols bgp group overlay-full-mesh-spine bfd-liveness-detection minimum-interval interval-value set protocols bgp group overlay-full-mesh-spine bfd-liveness-detection multiplier multiplier-value set protocols bgp group overlay-full-mesh-spine bfd-liveness-detection session-mode automatic
Configure IBGP with EVPN signaling from each leaf device (route reflector client) to each spine device (route reflector cluster).
Leaf 1:
set protocols bgp group overlay type internal set protocols bgp group overlay local-address leaf-loopback-ip-address set protocols bgp group overlay family evpn set protocols bgp group overlay neighbor leaf1-loopback-ip-address set protocols bgp group overlay neighbor leaf2-loopback-ip-address set protocols bgp group overlay neighbor leaf3-loopback-ip-address set protocols bgp group overlay neighbor leaf4-loopback-ip-address
Configure BFD on the leaf devices to enable rapid detection of failures and reconvergence.
set protocols bgp group OVERLAY bfd-liveness-detection minimum-interval interval-value set protocols bgp group OVERLAY bfd-liveness-detection multiplier multiplier-value set protocols bgp group OVERLAY bfd-liveness-detection session-mode automatic
Verify IBGP Configuration Using IPv4 Overlay
To verify that IBGP is functional on the spine devices:
user@spine-1> show bgp summary
To verify that BFD is operational on the spine devices:
user@spine-1> show bfd session
To verify that IBGP is operational on the leaf devices:
user@leaf-1> show bgp summary
To verify that BFD is operational on the leaf devices:
user@leaf-10> show bfd session