Skip to content

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.

AreaLevelNotes
MPLS dataplaneSupportedLabel stack handling with push, swap, pop, and penultimate-hop popping.
LDPSupportedLabel 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 discoverySupportedLink Hello to 224.0.0.2 with TTL 1.
Packet fidelitySupportedLDP Hellos, the TCP/646 session and labelled packets are on the wire in a capture (Packet Lens), decoded by Wireshark.
VPN labelsSupportedVPNv4 routes carry label, RD and RT. The ingress PE pushes the VPN label under the transport label.
L3VPN data pathSupportedA 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 restartNot modelledmpls ldp graceful-restart only enables LDP.
LDP TCP-MD5 passwordNo effectmpls ldp neighbor … password only enables LDP; the session forms either way.
RSVP-TEPartialExplicit and CSPF paths, bandwidth admission, setup/hold priority, affinity, FRR. RSVP Path/Resv messages are not signalled.
SR-MPLSSupportedPrefix-SIDs resolved in each node’s own SRGB; labels follow the IGP shortest path.
SRv6SupportedLocators, local SID table, End.DT.
VPWS / VPLSSupportedPoint-to-point pseudowires and multipoint L2 VPNs.
Provider cloudBehaviour modelBlack-box MPLS cloud can connect customer/provider-edge scenarios.
StandardCoverageNotes
RFC 3031Behaviour modelMPLS label stack forwarding.
RFC 3032SupportedLabel stack entries. Implicit null (label 3) is never sent; explicit null (label 0) is not modelled.
RFC 5036SupportedDownstream-unsolicited mapping, liberal retention, Label Withdraw and Release. No downstream-on-demand.
RFC 3478Not modelledLDP graceful restart.
RFC 2385No effectLDP passwords are not checked.
RFC 4364SupportedVRFs 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 4659Supported6VPE: an IPv6 VRF route rides the IPv4 LSP with a VPN label.
RFC 3443PartialUniform 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 4950PartialA 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 5283PartialLDP 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 3209PartialLoose and strict explicit hops, priority, admission; a rejected tunnel names the link that could not admit it. No signalling packets.
RFC 4090SupportedFRR link and node bypass with local repair.
RFC 8402 / RFC 8986SupportedSR-MPLS and SRv6.
FeatureStatusNotes
MPLS interface enableSupportedMarks interfaces for labelled forwarding.
Label push/swap/popSupportedDataplane operations are represented.
PHPSupportedPenultimate-hop pop behaviour.
LDP router IDSupportedIdentifies LDP speaker.
LDP neighboursSupportedDiscovered from enabled links. A session ends with its adjacency.
Label bindingsSupportedLabels are allocated for routed FECs.
Multicast HelloSupportedLink discovery uses 224.0.0.2 with TTL 1; MPLS-disabled interfaces drop it.
Implicit nullSupportedEgress prefixes advertise label 3 by default.
Label withdrawSupportedA FEC that becomes unreachable is withdrawn and released; it is mapped again with its old label when it returns.
Explicit nullNot modelledmpls ldp explicit-null only enables LDP.
LDP graceful restartNot modelledNo stale-binding handling.
LDP neighbour passwordNo effectPasswords are not checked.
LDP notificationSupportedA Notification and FIN are sent when the adjacency ends.
VPNv4 import/exportSupportedDriven by BGP route targets.
RSVP-TE tunnelsPartialinterface Tunnel with mpls traffic-eng, ip explicit-path, ip rsvp bandwidth, attribute flags and backup paths. No Path/Resv signalling.
Segment routingSupportedsegment-routing mpls with prefix-SIDs.
CommandIOS-styleJunos-styleVyOS-styleNotes
mpls ipSupportedPartialPartialInterface MPLS enable.
mpls ldp router-id Loopback0 forceSupportedPartialPartialLDP identity.
mpls ldp explicit-nullNo effectNot modelledNot modelledOnly enables LDP.
mpls ldp graceful-restartNo effectNot modelledNot modelledOnly enables LDP.
mpls ldp neighbor 2.2.2.2 password SECRETNo effectNot modelledNot modelledOnly enables LDP; the password is not checked.
show mpls forwarding-tableSupportedPartialPartialLabel forwarding table.
show mpls ldp neighborSupportedPartialPartialLDP neighbour state.
show ldp neighborn/aSupportedPartialJunos operational show.
show ldp databasen/aSupportedPartialJunos operational show.
show ldp bindingsn/aSupportedPartialJunos operational show.
show bgp vpnv4 unicast allSupportedPartialPartialVPNv4 routes.
show bgp vpnv4 unicast all summarySupportedn/an/aVPNv4 peers with the routes each sent. Also show ip bgp vpnv4 all [summary] and … vrf X.
show route table X.inet.0n/aSupportedn/aA routing instance’s table; also show route instance, show route table bgp.l3vpn.0, mpls.0.
traceroute <ip>SupportedPartialPartialIOS prints [MPLS: Labels a/b Exp 0] on each labelled hop. Other vendors list the hops without labels.

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.

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.

AreaStatusNotes
VRF with RD and RTSupportedIOS 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 tableSupportedA 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 VRFsSupportedA PE-CE peering is keyed by VRF and address.
PE-CE eBGPSupportedAll five vendors.
PE-CE staticSupportedredistribute static under the VRF’s BGP address family exports it.
PE-CE connectedSupportedExported 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 OSPFPartialredistribute 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 EIGRPNot modelledredistribute eigrp in a VRF is reported unread.
Redistribute route-mapPartialStored and written back, not applied.
6VPESupportedAn IPv6 address on a VRF port is exported as VPNv6. IPv6 connected routes are exported without redistribute connected.
iBGP between loopbacksSupportedThe session comes up only while each end has a route to the other’s address.
Route reflectorSupportedIOS, XR and Junos (cluster) reflect VPNv4 between PEs.
VRF ping and tracerouteSupportedping 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:

VendorCommands
IOS / IOS-XEshow 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-XRshow route [vrf X], show vrf all, show bgp vpnv4 unicast [summary], show bgp vrf X [summary]
NX-OSshow bgp vpnv4 unicast [summary], show mpls switching
EOSshow bgp vpn-ipv4 [summary], show mpls lfib route
Junosshow 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.

Canonical example
configure terminal
interface GigabitEthernet0/0
mpls ip
mpls ldp router-id Loopback0 force
end
show mpls ldp neighbor
show mpls forwarding-table

Vendor styles

IOS-style
mpls ip
mpls ldp router-id Loopback0 force
mpls ldp graceful-restart
mpls ldp explicit-null
interface GigabitEthernet0/0
mpls ip
Junos-style
set protocols mpls interface ge-0/0/0.0
set protocols ldp interface ge-0/0/0.0
set protocols ldp transport-address 1.1.1.1
set protocols ldp graceful-restart
set protocols ldp explicit-null
VyOS-style
set protocols mpls ldp interface eth0
set protocols mpls ldp interface eth1

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.