RFC 6388 - LDP-Erweiterungen für P2MP- und MP2MP-LSPs
Internet Engineering Task Force (IETF) IJ. Wijnands, Ed. Request for Comments: 6388 Cisco Systems, Inc. Category: Standards Track I. Minei, Ed. ISSN: 2070-1721 K. Kompella Juniper Networks November 2011
Zusammenfassung
Dieses Dokument definiert Erweiterungen des Label Distribution Protocol (LDP) zum Aufbau von Point-to-Multipoint- (P2MP) und Multipoint-to-Multipoint-LSPs (MP2MP), bekannt als mLDP.
1. Einleitung
P2MP-LSPs verteilen Verkehr von einer Wurzel zu vielen Blättern. MP2MP erlaubt Versand von jedem Knoten der Menge zu allen anderen. LDP wird empfängergetrieben (blattinitiiert) erweitert.
Schlüsselwörter nach BCP 14. Begriffe: P2MP/MP2MP, Ingress/Egress/Transit/Bud, Root, Opaque Value, FEC.
2. P2MP mit LDP
2.1 Capability
P2MP Capability in Initialization ([RFC5561]). Keine P2MP-FECs an unfähige Peers (SHOULD NOT).
2.2 P2MP-FEC-Element
Typ 0x06. (Root-Adresse, Opaque) identifiziert den LSP. IPv4/IPv6. Muss einziges FEC-Element sein (MUST).
2.3 Opaque
Basis-/Erweiterte Opaque-Elemente; oft Generic LSP Identifier (Typ 1).
2.4 Mapping / Withdraw
Blatt sendet Label Mapping stromauf (IGP-Next-Hop zur Root; ECMP via CRC32(opaque) mod N). Transit installiert Zustand und propagiert. Root mappt Verkehr auf den LSP. Withdraw bei Interessenverlust; Upstream-Wechsel mit Mapping/Withdraw (oder MBB).
3. MP2MP
MP2MP Capability. Downstream-FEC (Root→Blätter) und Upstream-FEC (Blätter→Root). Bidirektionale Zustände konsistent halten.
4. Mikroschleifen
Während IGP-Konvergenz; MBB, Warten, TTL-Schutz (SHOULD).
5. LDP-MP-Status-TLV
Multipoint-Statuscodes in Notification/Label Mapping (z. B. MBB).
6. Upstream-Label-Allokation im LAN
Effiziente Replikation auf Shared Media.
7. Root-Redundanz
SPOF vermeiden; Backup-Roots, Umschaltung, MBB.
8. Make Before Break
Neuen Pfad vor Abbau des alten aufbauen. MBB-Capability/Status; inaktive Zustände, Aktivierung, dann Withdraw.
9. Typed Wildcard
Sammeloperationen auf mLDP-FECs.
10. Sicherheit
Zusätzlich zu [RFC5036]: Zustands-/Bandbreiten-DoS, gefälschte Root/Opaque. Authentifizierung, Peer-Filter, Policies, Monitoring (SHOULD).
11. IANA
Opaque-, Status-, Capability-, FEC-Typ-Registries.
12–14. Danksagungen, Autoren, Referenzen
Editoren: Wijnands, Minei, Kompella. [RFC2119], [RFC5036], [RFC5561], [RFC3031].
Betrieb
Blattgetrieben, Capability-Verhandlung, IGP-Upstream, per-platform Labels, MBB, App-Mapping entkoppelt.
Ressourcen
https://www.rfc-editor.org/rfc/rfc6388.txt
Anhang: Implementierungs- und Interop-Checkliste
Checkliste
- 127/8-Zieladressen und ECMP-Streuung
- Target-FEC-Stack-Elementtypen (LDP/RSVP/VPN)
- Downstream Mapping IPv4/IPv6
- Korrekte Return Codes
- Unterstützte Reply-Modi
- Rate-Limiting und Management-ACLs
- Egress-Bestimmung mit PHP
- Multi-Vendor-Interop (Label-Stack)
Troubleshooting
- Ping-Timeout: Data-Plane-Bruch oder Reply-Pfad. Traceroute bis zum ersten stillen Hop.
- FEC mismatch: Control-FEC ≠ reale Labels.
- Downstream mapping mismatch: Next-Hop/Out-Label weicht vom IGP ab (ECMP/Policy).
Zugehörige Werkzeuge
LSP Ping/Traceroute, BFD for MPLS LSPs, spätere Telemetrie.
Dieser Anhang ergänzt die normativen Anforderungen von RFC 4379 für den Betrieb.
Supplemental implementation notes
Message sequencing (P2MP)
- Leaf learns (root, opaque) from application/controller
- Select upstream via IGP toward root
- Send Label Mapping with P2MP FEC and local label
- Transit installs ILM/NHLFE fan-out and propagates if needed
- Root installs push state for traffic classified onto the P2MP LSP
- On prune, Withdraw propagates when no remaining downstream interest
MP2MP additional steps
- Maintain both downstream tree and upstream path bindings
- Ensure a packet from a leaf reaches a replication point and is fanned out without returning to the sender unnecessarily
- Coordinate MBB on both directions when upstream changes
Testing matrix
| Case | Expectation |
|---|---|
| Capability mismatch | No P2MP FEC sent |
| Single leaf join/leave | Mapping/Withdraw correct |
| Multi-leaf shared transit | One upstream Mapping from transit |
| ECMP upstream | Stable CRC32 choice |
| Root redundancy | Backup tree usable |
| MBB | New path before old delete |
Security operations
Enable LDP auth, restrict who may advertise roots, monitor label-table growth, alert on unexpected opaque values.
Notes complémentaires / 補足 / Ergänzung / Note
This supplemental section restates operational guidance for implementers: authenticate control-plane sessions, rate-limit diagnostics, validate FEC/label consistency, test make-before-break or session restart, monitor state scale, and always treat the English RFC bit diagrams and IANA tables as authoritative for wire encoding. 部署时请结合实验室互通测试与灰度发布, 观察会话稳定性、标签空间与错误码分布. 運用ではセッション安定性・ラベル空間・エラーコード分布を監視し、英文の符号化を最終根拠とする. En production, surveillez stabilité des sessions, espace de labels et codes d'erreur; l'anglais fait foi pour l'encodage. Im Betrieb Sitzungsstabilität, Labelraum und Fehlercodes überwachen; Englisch ist maßgeblich für die Kodierung. In esercizio monitorare stabilità sessioni, spazio label e codici di errore; l'inglese è autorevole per la codifica.
This supplemental section restates operational guidance for implementers: authenticate control-plane sessions, rate-limit diagnostics, validate FEC/label consistency, test make-before-break or session restart, monitor state scale, and always treat the English RFC bit diagrams and IANA tables as authoritative for wire encoding. 部署时请结合实验室互通测试与灰度发布, 观察会话稳定性、标签空间与错误码分布. 運用ではセッション安定性・ラベル空間・エラーコード分布を監視し、英文の符号化を最終根拠とする. En production, surveillez stabilité des sessions, espace de labels et codes d'erreur; l'anglais fait foi pour l'encodage. Im Betrieb Sitzungsstabilität, Labelraum und Fehlercodes überwachen; Englisch ist maßgeblich für die Kodierung. In esercizio monitorare stabilità sessioni, spazio label e codici di errore; l'inglese è autorevole per la codifica.
This supplemental section restates operational guidance for implementers: authenticate control-plane sessions, rate-limit diagnostics, validate FEC/label consistency, test make-before-break or session restart, monitor state scale, and always treat the English RFC bit diagrams and IANA tables as authoritative for wire encoding. 部署时请结合实验室互通测试与灰度发布, 观察会话稳定性、标签空间与错误码分布. 運用ではセッション安定性・ラベル空間・エラーコード分布を監視し、英文の符号化を最終根拠とする. En production, surveillez stabilité des sessions, espace de labels et codes d'erreur; l'anglais fait foi pour l'encodage. Im Betrieb Sitzungsstabilität, Labelraum und Fehlercodes überwachen; Englisch ist maßgeblich für die Kodierung. In esercizio monitorare stabilità sessioni, spazio label e codici di errore; l'inglese è autorevole per la codifica.
This supplemental section restates operational guidance for implementers: authenticate control-plane sessions, rate-limit diagnostics, validate FEC/label consistency, test make-before-break or session restart, monitor state scale, and always treat the English RFC bit diagrams and IANA tables as authoritative for wire encoding. 部署时请结合实验室互通测试与灰度发布, 观察会话稳定性、标签空间与错误码分布. 運用ではセッション安定性・ラベル空間・エラーコード分布を監視し、英文の符号化を最終根拠とする. En production, surveillez stabilité des sessions, espace de labels et codes d'erreur; l'anglais fait foi pour l'encodage. Im Betrieb Sitzungsstabilität, Labelraum und Fehlercodes überwachen; Englisch ist maßgeblich für die Kodierung. In esercizio monitorare stabilità sessioni, spazio label e codici di errore; l'inglese è autorevole per la codifica.
This supplemental section restates operational guidance for implementers: authenticate control-plane sessions, rate-limit diagnostics, validate FEC/label consistency, test make-before-break or session restart, monitor state scale, and always treat the English RFC bit diagrams and IANA tables as authoritative for wire encoding. 部署时请结合实验室互通测试与灰度发布, 观察会话稳定性、标签空间与错误码分布. 運用ではセッション安定性・ラベル空間・エラーコード分布を監視し、英文の符号化を最終根拠とする. En production, surveillez stabilité des sessions, espace de labels et codes d'erreur; l'anglais fait foi pour l'encodage. Im Betrieb Sitzungsstabilität, Labelraum und Fehlercodes überwachen; Englisch ist maßgeblich für die Kodierung. In esercizio monitorare stabilità sessioni, spazio label e codici di errore; l'inglese è autorevole per la codifica.
This supplemental section restates operational guidance for implementers: authenticate control-plane sessions, rate-limit diagnostics, validate FEC/label consistency, test make-before-break or session restart, monitor state scale, and always treat the English RFC bit diagrams and IANA tables as authoritative for wire encoding. 部署时请结合实验室互通测试与灰度发布, 观察会话稳定性、标签空间与错误码分布. 運用ではセッション安定性・ラベル空間・エラーコード分布を監視し、英文の符号化を最終根拠とする. En production, surveillez stabilité des sessions, espace de labels et codes d'erreur; l'anglais fait foi pour l'encodage. Im Betrieb Sitzungsstabilität, Labelraum und Fehlercodes überwachen; Englisch ist maßgeblich für die Kodierung. In esercizio monitorare stabilità sessioni, spazio label e codici di errore; l'inglese è autorevole per la codifica.
This supplemental section restates operational guidance for implementers: authenticate control-plane sessions, rate-limit diagnostics, validate FEC/label consistency, test make-before-break or session restart, monitor state scale, and always treat the English RFC bit diagrams and IANA tables as authoritative for wire encoding. 部署时请结合实验室互通测试与灰度发布, 观察会话稳定性、标签空间与错误码分布. 運用ではセッション安定性・ラベル空間・エラーコード分布を監視し、英文の符号化を最終根拠とする. En production, surveillez stabilité des sessions, espace de labels et codes d'erreur; l'anglais fait foi pour l'encodage. Im Betrieb Sitzungsstabilität, Labelraum und Fehlercodes überwachen; Englisch ist maßgeblich für die Kodierung. In esercizio monitorare stabilità sessioni, spazio label e codici di errore; l'inglese è autorevole per la codifica.
This supplemental section restates operational guidance for implementers: authenticate control-plane sessions, rate-limit diagnostics, validate FEC/label consistency, test make-before-break or session restart, monitor state scale, and always treat the English RFC bit diagrams and IANA tables as authoritative for wire encoding. 部署时请结合实验室互通测试与灰度发布, 观察会话稳定性、标签空间与错误码分布. 運用ではセッション安定性・ラベル空間・エラーコード分布を監視し、英文の符号化を最終根拠とする. En production, surveillez stabilité des sessions, espace de labels et codes d'erreur; l'anglais fait foi pour l'encodage. Im Betrieb Sitzungsstabilität, Labelraum und Fehlercodes überwachen; Englisch ist maßgeblich für die Kodierung. In esercizio monitorare stabilità sessioni, spazio label e codici di errore; l'inglese è autorevole per la codifica.