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.
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.
| Router | Without extension | With extension |
|---|---|---|
| BR-05A, owns mpls and biz-internet | 2 TLOCs, 2 tunnels | 2 TLOCs, 2 tunnels |
| BR-05B, owns biz-internet only | 1 TLOC, 1 tunnel | 2 TLOCs, 2 tunnels |
| Whole site | 3 tunnels | 4 tunnels |
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.
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.
| Item | Layer 2 variant | Layer 3 variant |
|---|---|---|
| Where the routers sit | Same broadcast domain and subnet | Separated by a Layer 3 device |
| What carries the extension | A direct link or a switch | A GRE tunnel |
| Routing between the routers | None needed | A routing protocol, BGP in the Cisco example |
| Platforms | Shown for vEdge and IOS XE routers | Cisco IOS XE SD-WAN routers, not vEdge routers |
| Release in the Cisco document | Lab on 20.6.3, no minimum stated | 20.7.x or later is stated |
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.
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.
- Circuitowned by theproviding router
- Extensioninterface passestraffic, tunnel off
- Tunnel interfaceown address, colour,encapsulation
- Sessionscontrol and BFD runthrough the neighbour
- Second TLOCthe Controller seesit for the borrower
| Piece | On which router | What it does |
|---|---|---|
| Tunnel interface with a colour | Borrowing router | Makes the borrowed transport a normal TLOC |
| TLOC extension interface, tunnel off | Providing router | Passes the traffic of the borrowed transport |
| GRE endpoints, to and from | Both routers, Layer 3 variant only | Carry the extension across the routed hop |
| Cross-connect to the WAN interface | Providing router, Layer 3 variant | Names the circuit that carries the extended traffic |
| Extension interface in VPN 0 | Providing router | Keeps the transport in the transport VPN |
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.
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
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.
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.
- LinkExtension link upExtension interface in VPN 0, tunnel off
- AddressBorrower has an IP addressand a default route toward the link
- Return pathReplies to the borrower reach itthrough the providing router
- ControlController and Validatorreachable over the borrowed colour
| Check | What to confirm | A sign that it fails |
|---|---|---|
| Extension link | Up on both routers, in the transport VPN | The borrowed colour stays in the connect state |
| Address and default route on the borrower | An address in the extension subnet and a route toward the link | The router cannot reach anything over the borrowed colour |
| Return path to the borrower | Route advertisement or translation on the providing side | Packets leave but replies do not come back |
| Controller and Validator over the colour | Both are reachable from the borrowed transport | The tunnel interface is up and no control connection forms |
| Packet size | The extra headers do not shrink the usable size below what the applications need | Small packets pass and large transfers stall |
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.
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.
- Circuitthe carrier linkon the neighbour
- Extension linkcable or tunnelbetween the routers
- Providing routerpower, software,reboots
- Borrowing routerits own health
| TLOC | Depends on | Failure points |
|---|---|---|
| BR-05A mpls, own circuit | mpls circuit, BR-05A | 2 |
| BR-05A biz-internet, own circuit | BR-05A circuit, BR-05A | 2 |
| BR-05B biz-internet, own circuit | BR-05B circuit, BR-05B | 2 |
| BR-05B mpls, borrowed | mpls circuit, extension link, BR-05A, BR-05B | 4 |
| Failure | BR-05A has left | BR-05B has left with extension | BR-05B has left without it |
|---|---|---|---|
| The mpls circuit fails | 1 | 1 | 1 |
| The biz-internet circuit of BR-05A fails | 1 | 2 | 1 |
| The biz-internet circuit of BR-05B fails | 2 | 1 | 0 |
| The extension link fails | 2 | 1 | 1 |
| BR-05A fails | 0 | 1 | 1 |
| BR-05B fails | 2 | 0 | 0 |
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.
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
| Check | Result in the case | What it says |
|---|---|---|
| Is the carrier circuit healthy? | Yes, the carrier shows it up | The circuit is not the cause |
| Is the providing router running? | No, BR-05A is reloading | The borrowed path cannot pass through it |
| Is the extension link up? | Down while BR-05A reloads | A consequence, not a separate fault |
| Do the other TLOCs of BR-05B work? | Yes, biz-internet is up | BR-05B keeps one TLOC and the site stays in the overlay |
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
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?
Which of these is stated as not supported in the Cisco document read?
According to the Cisco document read, on which platforms is Layer 3 TLOC extension supported?
How many failure points does a borrowed TLOC have, compared with a TLOC on the router's own circuit, in this lesson's count?
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?
What carries the Layer 3 TLOC extension between the routers, according to the Cisco document read?
What does TLOC extension protect against, and what does it add?
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?