MPLS traffic engineering: RSVP-TE tunnels, constraints and fast reroute
In short: Normal IP routing sends all traffic along the lowest-cost path, even when that path is full and another is empty. MPLS traffic engineering lets a head-end router build tunnels along paths that meet constraints such as available bandwidth, using CSPF and RSVP-TE. It also provides fast reroute, which protects traffic in about 50 milliseconds when a link or node fails.
The problem with shortest paths
OSPF and IS-IS send every packet along the lowest-cost path. If two big flows share that path, it can overflow while a slightly longer path sits idle. Changing link costs to fix one flow usually moves the problem somewhere else. Service providers needed a way to place traffic deliberately, which is what MPLS traffic engineering (TE) does.
The building blocks
- IGP extensions: OSPF (opaque LSAs) or IS-IS (extra TLVs) flood each link's maximum bandwidth, reservable bandwidth, current reservations and administrative attributes (colours or affinities).
- Constrained SPF (CSPF): the tunnel head-end runs SPF on a topology that only includes links meeting the tunnel's constraints, for example "at least 2 Gbps free and not coloured red".
- RSVP-TE: signals the path hop by hop. Each router along the path checks it can reserve the bandwidth, allocates a label, and the tunnel's label-switched path (LSP) comes up.
- Traffic steering:
autoroute announcetells the head-end's IGP to use the tunnel for destinations beyond its tail; static routes or policy routing can also point into it.
Basic configuration (IOS)
mpls traffic-eng tunnels
router ospf 1
mpls traffic-eng router-id Loopback0
mpls traffic-eng area 0
interface GigabitEthernet0/1
mpls traffic-eng tunnels
ip rsvp bandwidth 800000
!
interface Tunnel100
ip unnumbered Loopback0
tunnel mode mpls traffic-eng
tunnel destination 10.255.0.9
tunnel mpls traffic-eng bandwidth 2000000
tunnel mpls traffic-eng path-option 1 explicit name VIA-WEST
tunnel mpls traffic-eng path-option 2 dynamic
tunnel mpls traffic-eng autoroute announce
The tunnel first tries an explicit path you defined; if that is not possible, it falls back to any path CSPF can find. TE tunnels are one-directional, so the reverse direction needs its own tunnel.
Fast reroute
MPLS TE fast reroute (FRR) pre-builds backup tunnels around a protected link (link protection) or router (node protection). When a failure is detected, the router next to it switches traffic into the backup tunnel within about 50 milliseconds, while the head-end calculates a new primary path at its own pace. This was one of the main reasons providers adopted MPLS TE for voice and video services.
Where it is going
RSVP-TE keeps state for every tunnel on every router in the path, which becomes heavy in large networks. Many operators are now moving to Segment Routing with TI-LFA, which gives similar traffic engineering and fast reroute without per-tunnel state in the core.
Real-world example: the overloaded undersea link
A regional provider had two submarine cables between two countries. OSPF sent almost everything over the cheaper-cost cable, which was running at 95 percent in the evenings while the other ran at 30 percent. Building TE tunnels with bandwidth reservations moved enough customer traffic onto the second cable to even them out, and FRR protected both against cuts.
Practice
What does CSPF do differently from normal SPF?
Which protocol signals MPLS TE tunnels and reserves bandwidth?
How fast does MPLS TE fast reroute typically switch traffic to a backup tunnel?
Key takeaways
- MPLS TE places traffic on paths chosen by constraints, not just lowest cost.
- OSPF or IS-IS flood bandwidth and attributes; CSPF picks the path; RSVP-TE signals it.
- autoroute announce steers traffic into the tunnel.
- Fast reroute protects links and nodes in about 50 ms; Segment Routing is the modern successor.
Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.