Skip to content

bgp redistribute

Thomas Mangin edited this page May 14, 2026 · 2 revisions

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

Cross-protocol route redistribution. Imports routes from non-BGP sources (static, connected, l2tp, ospf) into BGP for advertisement to peers.

Category

Policy.

Configuration

redistribute {
    destination bgp {
        import static { }
        import l2tp {
            family [ ipv4/unicast ipv6/unicast ];
        }
        import connected { }
    }
}

Each destination protocol has its own container. Each import entry names a registered source. The family leaf-list restricts which address families are imported (empty means all).

Architecture

The redistribute system has two plugins:

  • redistribute-egress (orchestrator): discovers producers at startup, subscribes to route events, dispatches to registered consumers.
  • redistribute-ingress: ingress filter with loop prevention and family filtering.

Producers (static, l2tp, connected) register themselves with the orchestrator. Consumers (bgp) subscribe to receive redistributed routes.

See also

Source

internal/component/bgp/plugins/redistribute_ingress/ and internal/component/bgp/plugins/redistribute_egress/

Home

About

First Steps

Configuration

Operation

Interfaces

Plugins

Plugin Development

Chaos Testing

Blueprints

Development

Reference

Clone this wiki locally