MPLS, LDP, and RSVP
MPLS provides labelled forwarding for provider-style labs and VPNv4 scenarios. The engine covers label push, swap, pop, LDP-distributed labels, and MPLS Layer 3 VPNs built from PE and P configs on five vendors.
Support level
Section titled “Support level”| Area | Level | Notes |
|---|---|---|
| MPLS dataplane | Supported | Label stack handling with push, swap, pop, and penultimate-hop popping. |
| LDP | Supported | Label mappings for loopback FECs, liberal retention, withdraw and release when a FEC goes away. IOS mpls label range MIN MAX bounds the local labels; a FEC past the range gets no binding. |
| LDP discovery | Supported | Link Hello to 224.0.0.2 with TTL 1. |
| Packet fidelity | Supported | LDP Hellos, the TCP/646 session and labelled packets are on the wire in a capture (Packet Lens), decoded by Wireshark. |
| VPN labels | Supported | VPNv4 routes carry label, RD and RT. The ingress PE pushes the VPN label under the transport label. |
| L3VPN data path | Supported | A CE’s packet crosses the core labelled and is routed in the VRF at the egress PE. Ping, traceroute and the capture use this path. See L3VPN. |
| LDP graceful restart | Not modelled | mpls ldp graceful-restart only enables LDP. |
| LDP TCP-MD5 password | No effect | mpls ldp neighbor … password only enables LDP; the session forms either way. |
| RSVP-TE | Partial | Explicit and CSPF paths, bandwidth admission, setup/hold priority, affinity, FRR. RSVP Path/Resv messages are not signalled. |
| SR-MPLS | Supported | Prefix-SIDs resolved in each node’s own SRGB; labels follow the IGP shortest path. |
| SRv6 | Supported | Locators, local SID table, End.DT. |
| VPWS / VPLS | Supported | Point-to-point pseudowires and multipoint L2 VPNs. |
| Provider cloud | Behaviour model | Black-box MPLS cloud can connect customer/provider-edge scenarios. |
Standards coverage
Section titled “Standards coverage”| Standard | Coverage | Notes |
|---|---|---|
| RFC 3031 | Behaviour model | MPLS label stack forwarding. |
| RFC 3032 | Supported | Label stack entries. Implicit null (label 3) is never sent; explicit null (label 0) is not modelled. |
| RFC 5036 | Supported | Downstream-unsolicited mapping, liberal retention, Label Withdraw and Release. No downstream-on-demand. |
| RFC 3478 | Not modelled | LDP graceful restart. |
| RFC 2385 | No effect | LDP passwords are not checked. |
| RFC 4364 | Supported | VRFs with RD and RT, VPNv4 between PEs, PE-CE eBGP, static, connected and OSPF, and the labelled data path. EIGRP as PE-CE protocol is not modelled. |
| RFC 4659 | Supported | 6VPE: an IPv6 VRF route rides the IPv4 LSP with a VPN label. |
| RFC 3443 | Partial | Uniform TTL mode: each LSR spends a TTL, so traceroute lists P and the egress PE. Pipe mode (no mpls ip propagate-ttl) is not modelled. |
| RFC 4950 | Partial | A time-exceeded from inside an LSP reports the label stack, and IOS traceroute prints it. The ICMP bytes in the capture do not carry the extension. |
| RFC 5283 | Partial | LDP binds a FEC only along the IGP’s route to it. LDP sessions still form without a route to the peer’s transport address. |
| RFC 3209 | Partial | Loose and strict explicit hops, priority, admission; a rejected tunnel names the link that could not admit it. No signalling packets. |
| RFC 4090 | Supported | FRR link and node bypass with local repair. |
| RFC 8402 / RFC 8986 | Supported | SR-MPLS and SRv6. |
Feature matrix
Section titled “Feature matrix”| Feature | Status | Notes |
|---|---|---|
| MPLS interface enable | Supported | Marks interfaces for labelled forwarding. |
| Label push/swap/pop | Supported | Dataplane operations are represented. |
| PHP | Supported | Penultimate-hop pop behaviour. |
| LDP router ID | Supported | Identifies LDP speaker. |
| LDP neighbours | Supported | Discovered from enabled links. A session ends with its adjacency. |
| Label bindings | Supported | Labels are allocated for routed FECs. |
| Multicast Hello | Supported | Link discovery uses 224.0.0.2 with TTL 1; MPLS-disabled interfaces drop it. |
| Implicit null | Supported | Egress prefixes advertise label 3 by default. |
| Label withdraw | Supported | A FEC that becomes unreachable is withdrawn and released; it is mapped again with its old label when it returns. |
| Explicit null | Not modelled | mpls ldp explicit-null only enables LDP. |
| LDP graceful restart | Not modelled | No stale-binding handling. |
| LDP neighbour password | No effect | Passwords are not checked. |
| LDP notification | Supported | A Notification and FIN are sent when the adjacency ends. |
| VPNv4 import/export | Supported | Driven by BGP route targets. |
| RSVP-TE tunnels | Partial | interface Tunnel with mpls traffic-eng, ip explicit-path, ip rsvp bandwidth, attribute flags and backup paths. No Path/Resv signalling. |
| Segment routing | Supported | segment-routing mpls with prefix-SIDs. |
Vendor command matrix
Section titled “Vendor command matrix”| Command | IOS-style | Junos-style | VyOS-style | Notes |
|---|---|---|---|---|
mpls ip | Supported | Partial | Partial | Interface MPLS enable. |
mpls ldp router-id Loopback0 force | Supported | Partial | Partial | LDP identity. |
mpls ldp explicit-null | No effect | Not modelled | Not modelled | Only enables LDP. |
mpls ldp graceful-restart | No effect | Not modelled | Not modelled | Only enables LDP. |
mpls ldp neighbor 2.2.2.2 password SECRET | No effect | Not modelled | Not modelled | Only enables LDP; the password is not checked. |
show mpls forwarding-table | Supported | Partial | Partial | Label forwarding table. |
show mpls ldp neighbor | Supported | Partial | Partial | LDP neighbour state. |
show ldp neighbor | n/a | Supported | Partial | Junos operational show. |
show ldp database | n/a | Supported | Partial | Junos operational show. |
show ldp bindings | n/a | Supported | Partial | Junos operational show. |
show bgp vpnv4 unicast all | Supported | Partial | Partial | VPNv4 routes. |
show bgp vpnv4 unicast all summary | Supported | n/a | n/a | VPNv4 peers with the routes each sent. Also show ip bgp vpnv4 all [summary] and … vrf X. |
show route table X.inet.0 | n/a | Supported | n/a | A routing instance’s table; also show route instance, show route table bgp.l3vpn.0, mpls.0. |
traceroute <ip> | Supported | Partial | Partial | IOS prints [MPLS: Labels a/b Exp 0] on each labelled hop. Other vendors list the hops without labels. |
Behaviour notes
Section titled “Behaviour notes”MPLS forwarding is packet-oriented enough to test labelled reachability, while LDP remains a deterministic control-plane model. VPNv4 uses route distinguishers to keep overlapping customer prefixes separate and route targets to decide which VRFs import them.
An egress prefix advertises implicit-null label 3, so the penultimate hop
pops. Explicit null is not modelled.
LDP passwords are not checked: a session forms whatever the passwords say.
LDP binds a FEC to the next hop the IGP’s /32 route names. With no route, there is no binding and no forwarding entry, so an LSP follows the IGP’s path.
MPLS L3VPN
Section titled “MPLS L3VPN”A two-site L3VPN (CE – PE – P – PE – CE) works from the vendors’ own configs on IOS / IOS-XE, IOS-XR, NX-OS, EOS and Junos. Each vendor is tested with its own PE and P configs, and an exported PE reads back as the same PE.
| Area | Status | Notes |
|---|---|---|
| VRF with RD and RT | Supported | IOS vrf definition / ip vrf, XR vrf, NX-OS vrf context, EOS vrf instance (and the older vrf definition / vrf forwarding, written back as typed), Junos routing-instances X instance-type vrf with vrf-target. |
| Per-VRF BGP table | Supported | A neighbour configured in a VRF peers in that VRF. Its routes stay out of the global table and are exported as VPNv4 with their AS path. |
| Same CE address in two VRFs | Supported | A PE-CE peering is keyed by VRF and address. |
| PE-CE eBGP | Supported | All five vendors. |
| PE-CE static | Supported | redistribute static under the VRF’s BGP address family exports it. |
| PE-CE connected | Supported | Exported only with redistribute connected (NX-OS: redistribute direct route-map …) on IOS, XR, NX-OS and EOS. A Junos vrf-target instance exports them without it. |
| PE-CE OSPF | Partial | redistribute ospf N exports the CE’s routes. redistribute bgp in the VRF’s OSPF hands remote sites to the CE as type-5 E2 externals. The OSPF domain ID (type-3 delivery) is not modelled. |
| PE-CE EIGRP | Not modelled | redistribute eigrp in a VRF is reported unread. |
| Redistribute route-map | Partial | Stored and written back, not applied. |
| 6VPE | Supported | An IPv6 address on a VRF port is exported as VPNv6. IPv6 connected routes are exported without redistribute connected. |
| iBGP between loopbacks | Supported | The session comes up only while each end has a route to the other’s address. |
| Route reflector | Supported | IOS, XR and Junos (cluster) reflect VPNv4 between PEs. |
| VRF ping and traceroute | Supported | ping vrf X, traceroute vrf X, Junos ping … routing-instance X. |
Labels on the wire: the ingress PE pushes the transport label over the VPN label. The penultimate hop pops the transport label, so the egress PE receives the VPN label only. A PE next to the egress PE pushes only the VPN label.
Show commands per vendor:
| Vendor | Commands |
|---|---|
| IOS / IOS-XE | show ip vrf, show vrf, show ip route vrf X, show bgp vpnv4 unicast all [summary], show bgp vpnv4 unicast vrf X [summary], show ip bgp vpnv4 all [summary], show ip bgp vpnv4 vrf X [summary], show mpls forwarding-table (VPN labels marked [V]) |
| IOS-XR | show route [vrf X], show vrf all, show bgp vpnv4 unicast [summary], show bgp vrf X [summary] |
| NX-OS | show bgp vpnv4 unicast [summary], show mpls switching |
| EOS | show bgp vpn-ipv4 [summary], show mpls lfib route |
| Junos | show route instance [X] [detail], show route table X.inet.0, show route table bgp.l3vpn.0, show route table mpls.0, show bgp summary, show ldp neighbor |
Try it: MPLS L3VPN — an IOS PE and a Junos PE configures the VRF on both PEs and reads the labels in a traceroute.
Try it: Open MPLS L3VPN or MPLS VPN PE side.
Examples
Section titled “Examples”Canonical example
configure terminalinterface GigabitEthernet0/0 mpls ipmpls ldp router-id Loopback0 forceendshow mpls ldp neighborshow mpls forwarding-tableVendor styles
IOS-style
mpls ipmpls ldp router-id Loopback0 forcempls ldp graceful-restartmpls ldp explicit-nullinterface GigabitEthernet0/0 mpls ipJunos-style
set protocols mpls interface ge-0/0/0.0set protocols ldp interface ge-0/0/0.0set protocols ldp transport-address 1.1.1.1set protocols ldp graceful-restartset protocols ldp explicit-nullVyOS-style
set protocols mpls ldp interface eth0set protocols mpls ldp interface eth1Known limits
Section titled “Known limits”RSVP Path/Resv signalling and auto-bandwidth, LDP explicit-null, graceful
restart, passwords and downstream-on-demand, MPLS pipe TTL mode, and
vendor-specific label allocation quirks are not modelled. LDP runs over IPv4
only. VyOS reads set protocols mpls ldp interface X only; its other LDP
lines are not read.
For L3VPN: EIGRP as a PE-CE protocol, the OSPF domain ID, and route-maps on a
VRF’s redistribute are not modelled. An IPv4-only P router’s time-exceeded
for a 6VPE probe reaches the traceroute but is not put on the wire.