Skip to content

bgp route refresh

Thomas Mangin edited this page May 30, 2026 · 3 revisions

Pre-Alpha. This page describes behavior that may change.

Route Refresh (RFC 2918) and Enhanced Route Refresh (RFC 7313).

Category

Resilience.

Configuration

Load the plugin and enable the capability.

plugin {
    internal route-refresh { use bgp-route-refresh }
}

bgp {
    peer upstream {
        capability {
            route-refresh;
        }
    }
}

Enhanced Route Refresh is negotiated alongside the standard one when both sides support it.

Behaviour

Route Refresh lets a peer request a full re-advertisement of a specific address family without tearing down the session. The plugin handles the receive side (sending the current adj-rib-out when a REFRESH arrives) and the send side (sending a REFRESH request when the operator invokes route-refresh <family>).

Enhanced Route Refresh (RFC 7313) adds a Begin-of-RIB and End-of-RIB marker pair around the refreshed routes, so the receiver knows when the refresh is complete and can clean up any routes that were withdrawn during the refresh.

Interactions

  • Operates on the session FSM and wire layer directly.
  • Triggered by the route-refresh <family> CLI command or the same command from a plugin.

Source

main/internal/component/bgp/plugins/route_refresh/

Home

About

First Steps

Configuration

Operation

Interfaces

Plugins

Plugin Development

Chaos Testing

Blueprints

Development

Reference

Clone this wiki locally