Course contents

Unit 2: Advanced OMP and TLOCLesson 2.3 (3 of 8 in this unit)8 of 63 in the Advanced Cisco SD-WAN course

TLOC extension and transport reachability

See how a second router at a site borrows a transport circuit through its neighbour, tell the Layer 2 and Layer 3 variants apart, check the return path, and count the failure points the extension adds.

Advanced · 20 min read

You'll learn to explain what TLOC extension does for a site with two routers, tell the Layer 2 and Layer 3 variants apart, check that a borrowed transport is reachable, and count the failure points it adds.

Technical definition

TLOC extension lets a WAN Edge router form tunnels over a transport circuit that is attached to a different router at the same site. The router that owns the circuit passes the traffic through an extension interface, and the router that borrows the circuit runs a normal tunnel interface with its own address, colour and encapsulation.

The problem: a circuit that ends on the wrong router

A branch has two routers for redundancy, BR-05A and BR-05B. The MPLS circuit and one Internet circuit end on BR-05A, and a second Internet circuit ends on BR-05B. Without help, BR-05B can form tunnels only over its own Internet circuit, so it has one TLOC where BR-05A has two. TLOC extension gives BR-05B a second TLOC, on mpls, by sending that transport through BR-05A.

Diagram
Two routers, circuits on one of them
Two routers, circuits on one of them

Without extension, the second router can use only the circuit that is wired to it, so it has one TLOC. With extension, the router that owns the MPLS circuit passes it through, and the second router also gets an mpls TLOC.

Without extensionBR-05B has one TLOC,on its own circuit
With extensionBR-05B has two,one borrowed
The extension adds a TLOC to the router that has no circuit of its own on that transport.
Diagram
Tunnels from one branch to HUB-01 (computed)
Tunnels from one branch to HUB-01 (computed)
RouterWithout extensionWith extension
BR-05A, owns mpls and biz-internet2 TLOCs, 2 tunnels2 TLOCs, 2 tunnels
BR-05B, owns biz-internet only1 TLOC, 1 tunnel2 TLOCs, 2 tunnels
Whole site3 tunnels4 tunnels
Computed by counting one tunnel for each branch TLOC that has a hub TLOC of the same colour, with HUB-01 offering mpls and biz-internet. The same-colour pairing is a simplification of the colour rules in the TLOC components lesson.

Two variants: Layer 2 and Layer 3

The Cisco documents read describe two ways to connect the routers. In the Layer 2 variant the routers are in the same broadcast domain and the same subnet, directly cabled or through a switch. In the Layer 3 variant a routed device separates them, so the extension crosses a Layer 3 hop and any routing protocol can run between the routers. The pages define when each applies and do not rank them.

Diagram
Layer 2 and Layer 3 extension
Layer 2 and Layer 3 extension

In the Layer 2 variant the two routers share a subnet and are directly connected or switched. In the Layer 3 variant a routed device separates them, a routing protocol can run, and the extension rides a GRE tunnel according to the Cisco document read.

Layer 2same subnet, cabledor switched
Layer 3routed hop between,GRE tunnel
The question to ask is whether a routed hop sits between the two routers.
Diagram
What each variant needs, from the documents read
What each variant needs, from the documents read
ItemLayer 2 variantLayer 3 variant
Where the routers sitSame broadcast domain and subnetSeparated by a Layer 3 device
What carries the extensionA direct link or a switchA GRE tunnel
Routing between the routersNone neededA routing protocol, BGP in the Cisco example
PlatformsShown for vEdge and IOS XE routersCisco IOS XE SD-WAN routers, not vEdge routers
Release in the Cisco documentLab on 20.6.3, no minimum stated20.7.x or later is stated
Stated limits from the same documents: TLOC and extension interfaces are supported only on routed (Layer 3) interfaces, LTE is not used as an extension interface between WAN Edge routers, and the extension does not work on transport interfaces bound to loopback tunnel interfaces. Releases change, so check the current guide.

How the borrowed TLOC works

Two roles are involved. The providing router owns the circuit and the carrier address, and its extension interface hands the traffic over. The borrowing router has a normal tunnel interface, with its own IP address, colour and encapsulation, and its control connections and BFD sessions run to the far end through the providing router. The borrowing router is unaware that its tunnel passes through a neighbour, according to a secondary reference.

Diagram
From the circuit to the borrowed TLOC
From the circuit to the borrowed TLOC

The providing router owns the circuit. Its extension interface passes the traffic on, with the tunnel turned off on that interface. The borrowing router builds a tunnel interface with its own address, colour and encapsulation. Control connections and BFD run through the providing router. The Controller then sees a second TLOC for the borrowing router.

  1. Circuitowned by theproviding router
  2. Extensioninterface passestraffic, tunnel off
  3. Tunnel interfaceown address, colour,encapsulation
  4. Sessionscontrol and BFD runthrough the neighbour
  5. Second TLOCthe Controller seesit for the borrower
Only the providing router touches the carrier.
Diagram
The pieces of an extension (names as the documents show them)
The pieces of an extension (names as the documents show them)
PieceOn which routerWhat it does
Tunnel interface with a colourBorrowing routerMakes the borrowed transport a normal TLOC
TLOC extension interface, tunnel offProviding routerPasses the traffic of the borrowed transport
GRE endpoints, to and fromBoth routers, Layer 3 variant onlyCarry the extension across the routed hop
Cross-connect to the WAN interfaceProviding router, Layer 3 variantNames the circuit that carries the extended traffic
Extension interface in VPN 0Providing routerKeeps the transport in the transport VPN
Based on a vEdge feature-template guide, an IOS XE guide and a secondary reference. The command names and where they are placed differ between platforms and releases, so copy the structure from the configuration guide for the platform in use and not from this table.

A check on the borrowing router shows the effect. In the example, BR-05B holds control connections to the Controller over both colours, and the mpls connection is the borrowed one.

Example output written for this lesson, simplified; real output has more fields and a different layout
BR-05B#show sdwan control connections | include vsmart
PEER TYPE  SYSTEM IP     SITE ID  LOCAL COLOR   STATE
vsmart     10.255.0.11   1        biz-internet  up
vsmart     10.255.0.11   1        mpls          up
BR-05B has an up control connection over mpls although no mpls circuit is wired to it, which is the point of the extension. The output does not say which colour is borrowed, so the design record has to. Real output has more fields and a different layout.

Reachability: what has to be true for the borrowed transport

A borrowed TLOC works only if the whole path works, from the borrowing router across the extension link, through the providing router, out of the circuit and back. The part that is easy to miss is the return path. Replies to the borrowing router's tunnel address have to reach it through the providing router, which on a private transport means a route that the carrier knows and on an Internet transport means address translation. The exact method depends on the transport and the platform.

Diagram
The checks, from the cable to the Controller
The checks, from the cable to the Controller

First the extension link is up and the extension interface is in the transport VPN. Then the borrowing router has an address and a default route toward the extension. Then the return path exists through the providing router. Then the Controller and the Validator are reachable over the borrowed colour.

  1. LinkExtension link upExtension interface in VPN 0, tunnel off
  2. AddressBorrower has an IP addressand a default route toward the link
  3. Return pathReplies to the borrower reach itthrough the providing router
  4. ControlController and Validatorreachable over the borrowed colour
Work from the bottom layer up, as in any path test.
Diagram
Reachability checklist for a borrowed transport
Reachability checklist for a borrowed transport
CheckWhat to confirmA sign that it fails
Extension linkUp on both routers, in the transport VPNThe borrowed colour stays in the connect state
Address and default route on the borrowerAn address in the extension subnet and a route toward the linkThe router cannot reach anything over the borrowed colour
Return path to the borrowerRoute advertisement or translation on the providing sidePackets leave but replies do not come back
Controller and Validator over the colourBoth are reachable from the borrowed transportThe tunnel interface is up and no control connection forms
Packet sizeThe extra headers do not shrink the usable size below what the applications needSmall packets pass and large transfers stall
The Cisco example raises the interface MTU on the physical WAN interfaces and the page does not explain why, so measure the usable packet size on the real link instead of assuming it.

The shared dependency: count what the borrowed TLOC depends on

A borrowed TLOC is a convenience, and it comes with extra things that can fail. A TLOC on the router's own circuit depends on that circuit and on the router. The borrowed TLOC depends on the circuit, the extension link, the providing router and the borrowing router.

Diagram
What the borrowed TLOC depends on
What the borrowed TLOC depends on

The borrowed mpls TLOC of the second router depends on four things: the MPLS circuit, the extension link, the providing router and the borrowing router itself. A TLOC on the router's own circuit depends on only the circuit and the router.

Borrowed TLOC
  • Circuitthe carrier linkon the neighbour
  • Extension linkcable or tunnelbetween the routers
  • Providing routerpower, software,reboots
  • Borrowing routerits own health
Each dependency is a separate way for the TLOC to go down.
Diagram
Failure points per TLOC (computed)
Failure points per TLOC (computed)
TLOCDepends onFailure points
BR-05A mpls, own circuitmpls circuit, BR-05A2
BR-05A biz-internet, own circuitBR-05A circuit, BR-05A2
BR-05B biz-internet, own circuitBR-05B circuit, BR-05B2
BR-05B mpls, borrowedmpls circuit, extension link, BR-05A, BR-05B4
Counted from the dependencies in the previous figure. The count says nothing about how likely each failure is, only how many there are.
Diagram
TLOCs left after each single failure (computed)
TLOCs left after each single failure (computed)
FailureBR-05A has leftBR-05B has left with extensionBR-05B has left without it
The mpls circuit fails111
The biz-internet circuit of BR-05A fails121
The biz-internet circuit of BR-05B fails210
The extension link fails211
BR-05A fails011
BR-05B fails200
Computed by script from the dependencies. Each router starts with two TLOCs with the extension and BR-05B starts with one without it. The extension rescues BR-05B when its own Internet circuit fails, and it exposes BR-05B to BR-05A and the link.

The table has two lessons. The extension helps in one case, the loss of BR-05B's own circuit, where it keeps BR-05B in the overlay with one TLOC instead of none. It does not help at all when BR-05A fails, because the borrowed TLOC goes down with BR-05A and the two routers are not independent for that transport. The routers share a failure domain for mpls, which the site design has to count.

A worked case: the borrowed TLOC that went down in the upgrade window

At 02:00 a maintenance window reloads BR-05A for a software upgrade. Monitoring then shows that BR-05B lost its mpls tunnels to HUB-01, although the carrier shows the MPLS circuit healthy and BR-05B was not touched. Priya reads the control connections on BR-05B.

Example output written for this lesson, simplified; real output has more fields and a different layout
BR-05B#show sdwan control connections | include vsmart
PEER TYPE  SYSTEM IP     SITE ID  LOCAL COLOR   STATE
vsmart     10.255.0.11   1        biz-internet  up
vsmart     10.255.0.11   1        mpls          connect
The mpls connection is in the connect state, so BR-05B is trying and failing to reach the Controller over mpls, while biz-internet is up. BR-05B itself is healthy. The mpls transport runs through BR-05A, which is reloading. Real output has more fields and a different layout.
Diagram
Checks in order for a borrowed TLOC that is down
Checks in order for a borrowed TLOC that is down
CheckResult in the caseWhat it says
Is the carrier circuit healthy?Yes, the carrier shows it upThe circuit is not the cause
Is the providing router running?No, BR-05A is reloadingThe borrowed path cannot pass through it
Is the extension link up?Down while BR-05A reloadsA consequence, not a separate fault
Do the other TLOCs of BR-05B work?Yes, biz-internet is upBR-05B keeps one TLOC and the site stays in the overlay
The result matches the failure table: BR-05A failing leaves BR-05B with one TLOC. The pages read do not describe this case, so the explanation is reasoning from the path of the tunnel, and a lab test confirms it.

Nothing is broken, and the window explains the alarm. The design lesson is about the plan: when BR-05A is upgraded, BR-05B loses half of its transports, so the two routers of a site are not upgraded as a pair without thinking about it, and the monitoring rule for BR-05B needs to say that the mpls TLOC of this router is expected to follow BR-05A.

Learn more: TLOC ComponentsMPLS, Internet and LTE/5G Transport Trade-OffsPlatinum, Gold, Silver and Bronze Site Designs

Test yourself

Predict · scenario 1

BR-05A owns the mpls and biz-internet circuits. BR-05B owns biz-internet only and borrows mpls through BR-05A. BR-05A reloads and the carrier circuits are healthy. How many TLOCs does BR-05B have left?

Predict · scenario 2

Which of these is stated as not supported in the Cisco document read?

Predict · scenario 3

According to the Cisco document read, on which platforms is Layer 3 TLOC extension supported?

Predict · scenario 4

How many failure points does a borrowed TLOC have, compared with a TLOC on the router's own circuit, in this lesson's count?

Predict · scenario 5

On BR-05B the mpls colour sits in the connect state. The carrier circuit is healthy and BR-05A is running. Which check comes next?

Predict · scenario 6

What carries the Layer 3 TLOC extension between the routers, according to the Cisco document read?

Predict · scenario 7

What does TLOC extension protect against, and what does it add?

Predict · scenario 8

HUB-01 offers mpls and biz-internet. Using the same-colour counting of this lesson, how many tunnels does BR-05B form to HUB-01 after the extension is added, when it started with one TLOC?

FAQ

What does TLOC extension solve?
It lets two WAN Edge routers at one site use the same transports when each circuit is attached to only one of them. The router without the circuit gets a TLOC on that transport through its neighbour, so it does not need a second hand-off from the carrier or a switch in front of both routers.
What is the difference between the Layer 2 and Layer 3 variants?
In the Layer 2 variant the two routers are in the same subnet, directly connected or through a switch. In the Layer 3 variant a routed device separates them, any routing protocol can run between them, and the Cisco document read says the extension has to ride a GRE tunnel. The same document says the Layer 3 variant is supported on Cisco IOS XE SD-WAN routers and not on vEdge routers.
Can LTE be used as the extension interface?
The Cisco document read says LTE is not used as a TLOC extension interface between WAN Edge routers. That is a statement for the release of the document, so check the current documentation for the platform and release before designing around it.
What happens to the borrowing router when the providing router fails?
The pages read do not describe that case. The path of the tunnel explains it: the borrowed transport runs through the providing router, so the borrowed TLOC cannot work while that router or the link to it is down, and the borrowing router keeps only the TLOCs that it owns.
Does the borrowing router need an address that the carrier can reach?
Its tunnel interface has its own address, and replies to that address have to come back through the providing router. A secondary reference describes this as route advertisement toward the carrier on a private transport, or address translation toward the Internet. Confirm the exact method for the platform and release in the configuration guide.