Skip to content

bgp nlri vpn

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

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

MPLS-VPN address families: IPv4 VPN (AFI 1 / SAFI 128) and IPv6 VPN (AFI 2 / SAFI 128), per RFC 4364.

Category

Address families.

Configuration

plugin {
    internal nlri-vpn { use bgp-nlri-vpn }
}

bgp {
    peer upstream {
        family {
            ipv4/mpls-vpn { prefix { maximum 500000; } }
            ipv6/mpls-vpn { prefix { maximum 100000; } }
        }
    }
}

Behaviour

Encode and decode both VPN address families. Routes carry a Route Distinguisher (RD) and MPLS labels in addition to the prefix. The plugin handles the wire encoding for RD, labels, and the rest of the VPN NLRI shape. Label handling is built into the VPN plugin itself.

Interactions

  • Supports both encode and decode: you can send and receive VPN routes.
  • Pairs with bgp-nlri-rtc (Route Target Constrain) for scalable filtering, when that plugin is loaded.

Source

main/internal/component/bgp/plugins/nlri/vpn/

Home

About

First Steps

Configuration

Operation

Interfaces

Plugins

Plugin Development

Chaos Testing

Blueprints

Development

Reference

Clone this wiki locally