Free tech learning for everyone, from basics to pro

Routing & SwitchingNetworking SecurityAdvanced

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.

How an MPLS TE tunnel is builtIGPextensionsfloodbandwidth infoHead-endcalculatespath (CSPF)RSVP-TEsignals andreservesLSP uplabels alongthe pathSteer trafficautoroute orstatic
Figure 1. The head-end router picks a path that meets the constraints and RSVP sets it up hop by hop.

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 announce tells 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?
It only considers links that meet the tunnel's constraints, such as available bandwidth or attributes.
Which protocol signals MPLS TE tunnels and reserves bandwidth?
RSVP-TE.
How fast does MPLS TE fast reroute typically switch traffic to a backup tunnel?
In about 50 milliseconds.

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.
Tracks your learning on this device only. See your progress on the learning paths.
Verified author✓ Valid
Issued to
Mohamed Fayas
Role
Founder of FM TecHub
Credentials
CCNABTEC HND Network EngineeringBEng (Hons) Computer Networking & Cloud Security
Issuer
FM TecHub · fmtechub.com

He writes practical, plain-English guides on networking, security and cloud.

More about the author →

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.

Email updates: coming soon

New notes, tools and security news from FM TecHub by email, explained simply. Free. We're not collecting email addresses yet; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesopening soon

Meanwhile, stay connected: