Repository navigation
bgp epe
Thomas Mangin edited this page Sep 28, 2026
·
1 revision
Pre-Alpha. This page describes behavior that may change.
BGP Egress Peer Engineering (RFC 9086). The bgp-epe plugin gives each configured eBGP peer a PeerNode SID, installs the matching MPLS label, and publishes the segment for BGP-LS export.
Link state and traffic engineering.
plugin {
internal epe { use bgp-epe; }
}
bgp-epe {
srgb {
lower-bound 900000;
upper-bound 900999;
}
peer 198.51.100.1 {
sid-index 1;
weight 0;
}
}
bgp {
peer transit-a {
connection { remote { ip 198.51.100.1; } }
session { asn { remote 64500; } }
attach process epe {
receive [ state ];
}
}
}
| Leaf | Type | Default | Meaning |
|---|---|---|---|
srgb/lower-bound |
16 to 1048575 | required | First label of the local SRGB reserved for EPE. |
srgb/upper-bound |
16 to 1048575 | required | Last label, at least the lower bound. |
peer <address> |
list, 1 to 32768 | Remote transport address of the BGP session. | |
peer/sid-index |
0 to 1048559 | required | Unique offset into the SRGB. Stable across restarts and session flaps. |
peer/weight |
uint8 | 0 | Load-balancing weight advertised in the PeerNode SID attribute. |
The SRGB must be reserved for EPE alone and must not overlap another label producer. bgp-epe is a presence container: writing it starts the producer and removing it stops it.
- While a configured peer's session is Established, its label is installed as pop-and-forward to that peer through the native MPLS FIB. The SID is advertised only after the installation is acknowledged.
- Both endpoints' ASNs and BGP identifiers come from the live session. The local address is the connected TCP endpoint, even when the configured local IP is
auto. - An index-encoded PeerNode SID is published with the local node's SRGB. Session loss, removal from the configuration, or a failed replacement removes the label and withdraws the advertisement.
- Before its first installation, including after an error exit, the producer clears labels a previous instance left behind. A refused cleanup blocks installation and advertisement.
- Configure
bgp-ls-exportto send the segments to collectors.
Not implemented: PeerAdj and PeerSet segments, and SRv6 EPE SIDs.
main/internal/component/bgp/plugins/epe/
- BGP-LS export for advertising EPE state.
- MPLS for the label forwarding plane.
- Peers for BGP session configuration.
Adapted from main/docs/architecture/wire/nlri-bgpls.md.
Unreviewed draft. This wiki was authored in bulk and has not been reviewed. File corrections on the issue tracker.
- Install
- Docker
- netlab
- Appliance
- Quick Start
- Use Ze with an AI agent
- ExaBGP Migration
- CLI Tour
- Web UI Tour
- Overview
- YANG Model
- Editor Workflow
- Archive and Rollback
- Backup and Restore
- System
- Interfaces
- VRRP
- BFD
- FIB
- OSPF
- IS-IS
- MPLS / LDP / RSVP-TE
- RSVP-TE
- SRv6
- Static Routes
- Policy Routing
- Firewall
- Traffic Control
- Class of Service
- L2TP/PPP
- PPPoE
- VPP Data Plane
- RPKI
- IPsec VPN
- Path MTU
- TACACS+ AAA
- RADIUS AAA
- AS112 DNS
- DNS
- Authorization
- Fleet
- BGP
- Starting and Stopping
- Show Commands
- Monitoring
- Telemetry
- Flow Export
- DDoS Mitigation
- Anomaly Detection
- Health Checks
- Audit Trail
- Production Diagnostics
- Logging
- Operational Reports
- Healthcheck
- Self-Update
- Zero-Touch Provisioning
- MRT Analysis
- Upgrade and Restart
- Storage
- Policy
- Core
- Resilience
- Validation
- Link State
- Capabilities
- Address Families
- Protocol
- Subsystems
- Infrastructure
- Route Server at an IXP
- Transit Edge with RPKI
- Public Looking Glass
- ExaBGP Migration Walkthrough
- FlowSpec Injection
- Chaos-Tested Peering
- AS Path Topology