-
Notifications
You must be signed in to change notification settings - Fork 2
bgp rs
Pre-Alpha. This page describes behavior that may change.
RFC 7947 route server: forwards every received route to every other peer, with zero-copy wire forwarding when peers share an encoding context. Supports dynamic peers for IXP deployments.
Policy.
Bound per peer alongside bgp-adj-rib-in for replay on reconnect.
plugin {
internal rs { use bgp-rs }
internal adj-rib-in { use bgp-adj-rib-in }
}
bgp {
peer client-a {
connection { remote { ip 10.0.0.1; } }
session { asn { remote 65001; } }
process rs { receive [ update ]; send [ update ]; }
process adj-rib-in { receive [ update state ]; }
}
}
See route reflection for the full reference.
For IXP deployments, the route server supports dynamic peers. Instead of configuring each peer individually, define a peer template and let peers connect dynamically:
bgp {
peer-group ixp-clients {
session {
family { ipv4/unicast { prefix { maximum 100000; } } }
}
process rs { receive [ update ]; send [ update ]; }
process adj-rib-in { receive [ update state ]; }
}
}
Dynamic peers inherit configuration from the peer group and are created on first connection. RS-client role and community filtering apply per peer.
The plugin receives every UPDATE from every peer and forwards it to every other peer, with no best-path selection. When two peers share a ContextID (same ADD-PATH mode, same ASN format, same extended message support), the wire bytes go out unchanged. When contexts differ, the reactor walks the cached attributes and re-encodes for the destination.
A peer that reconnects triggers a three-phase replay from bgp-adj-rib-in: snapshot, delta, End-of-RIB.
Community filtering is applied per peer when configured, allowing selective route filtering based on standard, large, or extended communities.
-
bgp-adj-rib-instores received routes for the reconnect replay. - The reactor's forwarding pool carries the bytes between peers.
-
bgp-rolefilters apply per peer when the RFC 9234 Role plugin is loaded. - Community filtering applies per peer when configured.
main/internal/component/bgp/plugins/rs/
Unreviewed draft. This wiki was authored in bulk and has not been reviewed. File corrections on the issue tracker.
- Overview
- YANG Model
- Editor Workflow
- Archive and Rollback
- 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
- TACACS+ AAA
- RADIUS AAA
- AS112 DNS
- Authorization
- Fleet
- BGP
- Starting and Stopping
- Show Commands
- Monitoring
- 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
- 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