SlideShare a Scribd company logo
1 Orange Restricted
Avoiding micro-loops using
Segment Routing
Stéphane LITKOWSKI
Network Architect, Orange Expert
2 Orange Restricted
A micro-loop ? Does my network have loops ?
Micro-loops are a natural phenomenon in hop by
hop routed networks
This applies to MPLS networks !
Caused by a transient disagreement between
routers during convergence
Good and bad events may create loops
Duration of micro-loop depends of convergence
time
S N1
N2
D
1
101
1
3 Orange Restricted
A micro-loop ? Does my network have loops ?
Micro-loops are a natural phenomenon in hop by
hop routed networks
This applies to MPLS networks !
Caused by a transient disagreement between
routers during convergence
Good and bad events may create loops
Duration of micro-loop depends of convergence
time
S N1
N2
D
1
101
1
4 Orange Restricted
A micro-loop ? Does my network have loops ?
Micro-loops are a natural phenomenon in hop by
hop routed networks
This applies to MPLS networks !
Caused by a transient disagreement between
routers during convergence
Good and bad events may create loops
Duration of micro-loop depends of convergence
time
S N1
N2
D
1
101
1
5 Orange Restricted
A micro-loop ? Does my network have loops ?
Micro-loops are a natural phenomenon in hop by
hop routed networks
This applies to MPLS networks !
Caused by a transient disagreement between
routers during convergence
Good and bad events may create loops
Duration of micro-loop depends of convergence
time
S N1
N2
D
1
101
1
6 Orange Restricted
A micro-loop ? Does my network have loops ?
Micro-loops are a natural phenomenon in hop by
hop routed networks
This applies to MPLS networks !
Caused by a transient disagreement between
routers during convergence
Good and bad events may create loops
Duration of micro-loop depends of convergence
time
S N1
N2
D
1
101
1
! SLOW !
7 Orange Restricted
A micro-loop ? Does my network have loops ?
Micro-loops are a natural phenomenon in hop by
hop routed networks
This applies to MPLS networks !
Caused by a transient disagreement between
routers during convergence
Good and bad events may create loops
Duration of micro-loop depends of convergence
time
S N1
N2
D
1
101
1
! SLOW !
8 Orange Restricted
A micro-loop ? Does my network have loops ?
Micro-loops are a natural phenomenon in hop by
hop routed networks
This applies to MPLS networks !
Caused by a transient disagreement between
routers during convergence
Good and bad events may create loops
Duration of micro-loop depends of convergence
time
S N1
N2
D
1
101
1
9 Orange Restricted
Where do micro-loops happen ?
Anywhere ! They can be local or remote !
R1 R4
R2
DS
10
111
1
R3
Local loop
Remote loop
Remote loop
10 Orange Restricted
Why do I need to take of micro-loops ?
Micro-loops break Fast-reroute !
Micro-loops affect traffic which is not concerned by the
topology change !
Traffic between S and N2 suffers of packet loss !
100Mbps of traffic entering a loop on a 5ms RTD link
will become 1Gbps in about 40msec !
S N1
N2
D
1
101
1Traffic
Time
11 Orange Restricted
Why do I need to take of micro-loops ?
Micro-loops break Fast-reroute !
Micro-loops affect traffic which is not concerned by the
topology change !
Traffic between S and N2 suffers of packet loss !
100Mbps of traffic entering a loop on a 5ms RTD link
will become 1Gbps in about 40msec !
S N1
N2
D
1
101
1Traffic
Time
12 Orange Restricted
Why do I need to take of micro-loops ?
Micro-loops break Fast-reroute !
Micro-loops affect traffic which is not concerned by the
topology change !
Traffic between S and N2 suffers of packet loss !
100Mbps of traffic entering a loop on a 5ms RTD link
will become 1Gbps in about 40msec !
S N1
N2
D
1
101
1Traffic
Time
13 Orange Restricted
Why do I need to take of micro-loops ?
Micro-loops break Fast-reroute !
Micro-loops affect traffic which is not concerned by the
topology change !
Traffic between S and N2 suffers of packet loss !
100Mbps of traffic entering a loop on a 5ms RTD link
will become 1Gbps in about 40msec !
S N1
N2
D
1
101
1
FRR !
Traffic
Time
14 Orange Restricted
Why do I need to take of micro-loops ?
Micro-loops break Fast-reroute !
Micro-loops affect traffic which is not concerned by the
topology change !
Traffic between S and N2 suffers of packet loss !
100Mbps of traffic entering a loop on a 5ms RTD link
will become 1Gbps in about 40msec !
S N1
N2
D
1
101
1
FRR !
Traffic
Time
15 Orange Restricted
Why do I need to take of micro-loops ?
Micro-loops break Fast-reroute !
Micro-loops affect traffic which is not concerned by the
topology change !
Traffic between S and N2 suffers of packet loss !
100Mbps of traffic entering a loop on a 5ms RTD link
will become 1Gbps in about 40msec !
S N1
N2
D
1
101
1
! SLOW !
FRR !
Traffic
Time
16 Orange Restricted
Why do I need to take of micro-loops ?
Micro-loops break Fast-reroute !
Micro-loops affect traffic which is not concerned by the
topology change !
Traffic between S and N2 suffers of packet loss !
100Mbps of traffic entering a loop on a 5ms RTD link
will become 1Gbps in about 40msec !
S N1
N2
D
1
101
1
! SLOW !
Traffic
Time
17 Orange Restricted
Why do I need to take of micro-loops ?
Micro-loops break Fast-reroute !
Micro-loops affect traffic which is not concerned by the
topology change !
Traffic between S and N2 suffers of packet loss !
100Mbps of traffic entering a loop on a 5ms RTD link
will become 1Gbps in about 40msec !
S N1
N2
D
1
101
1Traffic
Time
18 Orange Restricted
Why do I need to take of micro-loops ?
Micro-loops break Fast-reroute !
Micro-loops affect traffic which is not concerned by the
topology change !
Traffic between S and N2 suffers of packet loss !
100Mbps of traffic entering a loop on a 5ms RTD link
will become 1Gbps in about 40msec !
S N1
N2
D
1
101
1Traffic
Time
19 Orange Restricted
Why do I need to take of micro-loops ?
Micro-loops break Fast-reroute !
Micro-loops affect traffic which is not concerned by the
topology change !
Traffic between S and N2 suffers of packet loss !
100Mbps of traffic entering a loop on a 5ms RTD link
will become 1Gbps in about 40msec !
S N1
N2
D
1
101
1Traffic
Time
Link
congestion !
20 Orange Restricted
Strategies to address micro-loop issues
Not a new topic ! Look at RFC5715 ..
Mitigation
• Drop looping packets (not so easy !)
• Converge faster (minimize micro-loop duration)
Avoidance
• Local delay (draft-ietf-rtgwg-uloop-delay)
• Ordered FIB (RFC6976)
• PLSN (RFC5715)
• Incremental metric (INFOCOM 2007 paper from P. Francois, M. Shand, O. Bonaventure)
• …
22 Orange Restricted
Strategies to avoid micro-loops
Local delay = OFIB(1)
Upon link down, only local router will delay its convergence
Upon link up, local router will delay flooding
Solves only local micro-loops
Multiple implementations available for link down event
S N R1 R2 D
N2
I will delay by
1200msec
I will delay by
1200msec
23 Orange Restricted
Conclusion on current state of the art
No definitive solution to avoid micro-loops
Local delay is good but not perfect 
Mitigation is not enough and sometimes complex to implement
How can we improve ?
24 Orange Restricted
Why not using Segment Routing ?
Segment Routing can build a loop-free path
See my talks in 2014 and 2015 on TI-LFA
Why not applying a temporary loop-free path ?
Two stages convergence
Stage#1 : use loop-free path (timer based)
Stage#2 : use standard path
S N R1 D
N2
10
Node_SID_N2
Adj_SID_N2R1
Payload
36 Orange Restricted
Multiple approaches possible to build a loop-free path
One is TI-LFA-like approach
Upon link failure, we can compute a loop-free label stack to the destination (as in TI-LFA)
The loop-free path will be kept for a time waiting for the other to convergence
All the routers applies this two stages convergence
R1S
DR2
10 R4
100
37 Orange Restricted
Multiple approaches possible to build a loop-free path
One is TI-LFA-like approach
Upon link failure, we can compute a loop-free label stack to the destination (as in TI-LFA)
The loop-free path will be kept for a time waiting for the other to convergence
All the routers applies this two stages convergence
R1S
DR2
10 R4
100
Payload
38 Orange Restricted
Multiple approaches possible to build a loop-free path
One is TI-LFA-like approach
Upon link failure, we can compute a loop-free label stack to the destination (as in TI-LFA)
The loop-free path will be kept for a time waiting for the other to convergence
All the routers applies this two stages convergence
R1S
DR2
10 R4
100
Payload
39 Orange Restricted
Multiple approaches possible to build a loop-free path
One is TI-LFA-like approach
Upon link failure, we can compute a loop-free label stack to the destination (as in TI-LFA)
The loop-free path will be kept for a time waiting for the other to convergence
All the routers applies this two stages convergence
R1S
DR2
10 R4
100
Payload
40 Orange Restricted
Multiple approaches possible to build a loop-free path
One is TI-LFA-like approach
Upon link failure, we can compute a loop-free label stack to the destination (as in TI-LFA)
The loop-free path will be kept for a time waiting for the other to convergence
All the routers applies this two stages convergence
R1S
DR2
10 R4
100
Payload
41 Orange Restricted
Multiple approaches possible to build a loop-free path
One is TI-LFA-like approach
Upon link failure, we can compute a loop-free label stack to the destination (as in TI-LFA)
The loop-free path will be kept for a time waiting for the other to convergence
All the routers applies this two stages convergence
R1S
DR2
10 R4
100
Payload
Stage#1 : tunnel
{Adj-SID_R2-D}
42 Orange Restricted
Multiple approaches possible to build a loop-free path
One is TI-LFA-like approach
Upon link failure, we can compute a loop-free label stack to the destination (as in TI-LFA)
The loop-free path will be kept for a time waiting for the other to convergence
All the routers applies this two stages convergence
R1S
DR2
10 R4
100
Stage#1 : tunnel
{Adj-SID_R2-D}
Payload
Adj-
SID_R2-D
43 Orange Restricted
Multiple approaches possible to build a loop-free path
One is TI-LFA-like approach
Upon link failure, we can compute a loop-free label stack to the destination (as in TI-LFA)
The loop-free path will be kept for a time waiting for the other to convergence
All the routers applies this two stages convergence
R1S
DR2
10 R4
100
Stage#1 : tunnel
{Adj-SID_R2-D}
Payload
Adj-
SID_R2-D
Stage#1 : tunnel
{Node_SID_R2;Adj-SID_R2-D}
44 Orange Restricted
Multiple approaches possible to build a loop-free path
One is TI-LFA-like approach
Upon link failure, we can compute a loop-free label stack to the destination (as in TI-LFA)
The loop-free path will be kept for a time waiting for the other to convergence
All the routers applies this two stages convergence
R1S
DR2
10 R4
100
Stage#1 : tunnel
{Adj-SID_R2-D}
Payload
Adj-
SID_R2-D
Stage#1 : tunnel
{Node_SID_R2;Adj-SID_R2-D}
Stage#1 : tunnel
{forward to D}
45 Orange Restricted
Multiple approaches possible to build a loop-free path
One is TI-LFA-like approach
Upon link failure, we can compute a loop-free label stack to the destination (as in TI-LFA)
The loop-free path will be kept for a time waiting for the other to convergence
All the routers applies this two stages convergence
R1S
DR2
10 R4
100
Payload
Stage#1 : tunnel
{Node_SID_R2;Adj-SID_R2-D}
Stage#1 : tunnel
{forward to D}
Stage#2 :
normal FIB
update
46 Orange Restricted
Multiple approaches possible to build a loop-free path
One is TI-LFA-like approach
Upon link failure, we can compute a loop-free label stack to the destination (as in TI-LFA)
The loop-free path will be kept for a time waiting for the other to convergence
All the routers applies this two stages convergence
R1S
DR2
10 R4
100
Payload
Stage#1 : tunnel
{forward to D}
Stage#2 :
normal FIB
update
Stage#2 :
normal FIB
update
47 Orange Restricted
Multiple approaches possible to build a loop-free path
One is TI-LFA-like approach
Upon link failure, we can compute a loop-free label stack to the destination (as in TI-LFA)
The loop-free path will be kept for a time waiting for the other to convergence
All the routers applies this two stages convergence
R1S
DR2
10 R4
100
Payload
Stage#2 :
normal FIB
update
Stage#2 :
normal FIB
update
Stage#2 : normal FIB
update
48 Orange Restricted
Dream or reality ? Technology is a reality !
And we already tested it !
R2R1S
R3 R4
R5 R6
10
10
S,R1,R2 are Cisco XR nodes with early code
R3,R4,R5,R6 are non Cisco
In the setup, SPF delays have been
highly increased to make the
microloop phenomenon more visible
49 Orange Restricted
Lab evaluation : S-R1 link failure
Without micro-loop
avoidance
FRR
Micro-loop effect
WITH micro-loop
avoidance (LOCAL-
DELAY)
FRR
! LOOP AVOIDED !
FRR
! LOOP AVOIDED !
WITH micro-loop
avoidance (SR)
50 Orange Restricted
Lab evaluation : R2-R4 link failure
Without micro-loop
avoidance
Micro-loop effect
WITH micro-loop
avoidance (LOCAL-
DELAY)
Micro-loop effect
!!! LOOP NOT AVOIDED !!!
FRR
WITH micro-loop
avoidance (SR)
! LOOP AVOIDED !
51 Orange Restricted
Segment routing micro-loop avoidance
Early code testing shown very good results
Works for multiple traffic types (IP, MPLS LDP, SR)
The technology brings a high benefit in avoiding micro-loops
Local mechanism :
no protocol extension
no interoperability required (expect support of SR)
Incremental deployment with incremental benefit
52 Orange Restricted
Conclusion
Micro-loops are a real issue
Current solutions are not satisfying (complex or limited)
Segment routing helps in creating temporary loop-free path
Two stages convergence remains the GOOD idea !
SR micro-loop avoidance works ! : see demo from Cisco at their booth
53 Orange Restricted
Thank you

More Related Content

PPTX
Cisco Live Milan 2015 - BGP advance
PDF
Segment Routing Lab
PDF
WAN SDN meet Segment Routing
PDF
Segment Routing Advanced Use Cases - Cisco Live 2016 USA
PDF
Traffic Engineering Using Segment Routing
PDF
MPLS WC 2014 Segment Routing TI-LFA Fast ReRoute
PPTX
MENOG-Segment Routing Introduction
PDF
Introduction to Segment Routing
Cisco Live Milan 2015 - BGP advance
Segment Routing Lab
WAN SDN meet Segment Routing
Segment Routing Advanced Use Cases - Cisco Live 2016 USA
Traffic Engineering Using Segment Routing
MPLS WC 2014 Segment Routing TI-LFA Fast ReRoute
MENOG-Segment Routing Introduction
Introduction to Segment Routing

What's hot (20)

PPTX
Vxlan deep dive session rev0.5 final
PDF
BGP Techniques for Network Operators
PDF
MPLS Traffic Engineering
PDF
Cisco Live! :: Introduction to Segment Routing :: BRKRST-2124 | Las Vegas 2017
PPTX
Deep Dive 5G NR-RAN Release 2018 Q4.pptx
PDF
Segment Routing
PDF
Introducing segment routing TE
PDF
Layer-2 VPN
PPT
MPLS (Multi-Protocol Label Switching)
PDF
Deploy MPLS Traffic Engineering
PPTX
TechWiseTV Workshop: Segment Routing for the Datacenter
PDF
5G-Performance-Optimisation DATA RADIO oT+P+++.pdf
PPTX
Label Distribution Protocol
PPT
Deploying Carrier Ethernet features on ASR 9000
PPTX
VXLAN
PPTX
BGP Advanced topics
PPT
PDF
3GPP 5G Control Plane Service Based Architecture
PDF
SRv6 Network Programming: deployment use-cases
PDF
MPLS Traffic Engineering
Vxlan deep dive session rev0.5 final
BGP Techniques for Network Operators
MPLS Traffic Engineering
Cisco Live! :: Introduction to Segment Routing :: BRKRST-2124 | Las Vegas 2017
Deep Dive 5G NR-RAN Release 2018 Q4.pptx
Segment Routing
Introducing segment routing TE
Layer-2 VPN
MPLS (Multi-Protocol Label Switching)
Deploy MPLS Traffic Engineering
TechWiseTV Workshop: Segment Routing for the Datacenter
5G-Performance-Optimisation DATA RADIO oT+P+++.pdf
Label Distribution Protocol
Deploying Carrier Ethernet features on ASR 9000
VXLAN
BGP Advanced topics
3GPP 5G Control Plane Service Based Architecture
SRv6 Network Programming: deployment use-cases
MPLS Traffic Engineering
Ad

Viewers also liked (20)

PPT
MPLS SDN NFV WORLD'17 - SDN NFV deployment update
PPT
MPLS SDN 2014 - Topology independant LFA
PPT
MPLS SDN 2015 - SPRING interoperability testing
PDF
Segment Routing: A Tutorial
PDF
Segment Routing: Prepare Your Network For New Business Models
PPTX
Introduction to SDN and NFV
PDF
PLNOG 13: Jeff Tantsura: Programmable and Application aware IP/MPLS networking
PDF
Enabling SDN in old school networks with Software-Controlled Routing Protocols
PDF
segment routing MPLS SDN NFV World Congress - Paris 2017
PPTX
PDF
Software Innovations and Control Plane Evolution in the new SDN Transport Arc...
PDF
Ethernet OAM evolution
PDF
Segment Routing For SDN
PPTX
Segment routing in ISO-XR 5.2.2
PDF
BGP Traffic Engineering with SDN Controller
PDF
SDN Traffic Engineering, A Natural Evolution
PDF
What is-twamp
PDF
Linux Profiling at Netflix
PDF
F5 perspective of nfv+sdn (SDN NFV Day ITB 2016)
PDF
vCloud NFV - Accelerating deployment of the Telco Cloud (SDN NFV Day ITB 2016)
MPLS SDN NFV WORLD'17 - SDN NFV deployment update
MPLS SDN 2014 - Topology independant LFA
MPLS SDN 2015 - SPRING interoperability testing
Segment Routing: A Tutorial
Segment Routing: Prepare Your Network For New Business Models
Introduction to SDN and NFV
PLNOG 13: Jeff Tantsura: Programmable and Application aware IP/MPLS networking
Enabling SDN in old school networks with Software-Controlled Routing Protocols
segment routing MPLS SDN NFV World Congress - Paris 2017
Software Innovations and Control Plane Evolution in the new SDN Transport Arc...
Ethernet OAM evolution
Segment Routing For SDN
Segment routing in ISO-XR 5.2.2
BGP Traffic Engineering with SDN Controller
SDN Traffic Engineering, A Natural Evolution
What is-twamp
Linux Profiling at Netflix
F5 perspective of nfv+sdn (SDN NFV Day ITB 2016)
vCloud NFV - Accelerating deployment of the Telco Cloud (SDN NFV Day ITB 2016)
Ad

Similar to MPLS SDN 2016 - Microloop avoidance with segment routing (20)

PDF
Routing protocols and how communication happens
PPT
unit-4 Routing Algorithms in computer networks
PDF
Computer network (18)
PPTX
Cost Effective centralized adpative routing for networks on chip
PPTX
network.pptx
PDF
Fast Reroute in SR-MPLS by Md Abdullah Al Naser
PDF
Fast Reroute in SR-MPLS, presented at bdNOG 19
PPTX
Presentation 2
PPTX
Network on chip by shoeb
PPTX
Computer Networks-Network layer Concepts
PDF
Lec 4(packet delay layered Architecture)
PPT
Day 8 1 introducing routing n
DOCX
Ospf and eigrp concepts and configuration
PDF
Quick Guide Ip Routing
PPT
Network Layer
PDF
DCCN Network Layer congestion control TCP
PPT
11Chapter8R_InternetRoutingProtocols.ppt
PPT
lec 3 4 Core Delays Thruput Net Arch.ppt
PPTX
Network Layer
PPTX
Module 3 Part B - computer networks module 2 ppt
Routing protocols and how communication happens
unit-4 Routing Algorithms in computer networks
Computer network (18)
Cost Effective centralized adpative routing for networks on chip
network.pptx
Fast Reroute in SR-MPLS by Md Abdullah Al Naser
Fast Reroute in SR-MPLS, presented at bdNOG 19
Presentation 2
Network on chip by shoeb
Computer Networks-Network layer Concepts
Lec 4(packet delay layered Architecture)
Day 8 1 introducing routing n
Ospf and eigrp concepts and configuration
Quick Guide Ip Routing
Network Layer
DCCN Network Layer congestion control TCP
11Chapter8R_InternetRoutingProtocols.ppt
lec 3 4 Core Delays Thruput Net Arch.ppt
Network Layer
Module 3 Part B - computer networks module 2 ppt

Recently uploaded (20)

PDF
Electronic commerce courselecture one. Pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Modernizing your data center with Dell and AMD
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
cuic standard and advanced reporting.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
KodekX | Application Modernization Development
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Electronic commerce courselecture one. Pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
Network Security Unit 5.pdf for BCA BBA.
Modernizing your data center with Dell and AMD
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Reach Out and Touch Someone: Haptics and Empathic Computing
The Rise and Fall of 3GPP – Time for a Sabbatical?
cuic standard and advanced reporting.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
KodekX | Application Modernization Development
Understanding_Digital_Forensics_Presentation.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
The AUB Centre for AI in Media Proposal.docx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...

MPLS SDN 2016 - Microloop avoidance with segment routing

  • 1. 1 Orange Restricted Avoiding micro-loops using Segment Routing Stéphane LITKOWSKI Network Architect, Orange Expert
  • 2. 2 Orange Restricted A micro-loop ? Does my network have loops ? Micro-loops are a natural phenomenon in hop by hop routed networks This applies to MPLS networks ! Caused by a transient disagreement between routers during convergence Good and bad events may create loops Duration of micro-loop depends of convergence time S N1 N2 D 1 101 1
  • 3. 3 Orange Restricted A micro-loop ? Does my network have loops ? Micro-loops are a natural phenomenon in hop by hop routed networks This applies to MPLS networks ! Caused by a transient disagreement between routers during convergence Good and bad events may create loops Duration of micro-loop depends of convergence time S N1 N2 D 1 101 1
  • 4. 4 Orange Restricted A micro-loop ? Does my network have loops ? Micro-loops are a natural phenomenon in hop by hop routed networks This applies to MPLS networks ! Caused by a transient disagreement between routers during convergence Good and bad events may create loops Duration of micro-loop depends of convergence time S N1 N2 D 1 101 1
  • 5. 5 Orange Restricted A micro-loop ? Does my network have loops ? Micro-loops are a natural phenomenon in hop by hop routed networks This applies to MPLS networks ! Caused by a transient disagreement between routers during convergence Good and bad events may create loops Duration of micro-loop depends of convergence time S N1 N2 D 1 101 1
  • 6. 6 Orange Restricted A micro-loop ? Does my network have loops ? Micro-loops are a natural phenomenon in hop by hop routed networks This applies to MPLS networks ! Caused by a transient disagreement between routers during convergence Good and bad events may create loops Duration of micro-loop depends of convergence time S N1 N2 D 1 101 1 ! SLOW !
  • 7. 7 Orange Restricted A micro-loop ? Does my network have loops ? Micro-loops are a natural phenomenon in hop by hop routed networks This applies to MPLS networks ! Caused by a transient disagreement between routers during convergence Good and bad events may create loops Duration of micro-loop depends of convergence time S N1 N2 D 1 101 1 ! SLOW !
  • 8. 8 Orange Restricted A micro-loop ? Does my network have loops ? Micro-loops are a natural phenomenon in hop by hop routed networks This applies to MPLS networks ! Caused by a transient disagreement between routers during convergence Good and bad events may create loops Duration of micro-loop depends of convergence time S N1 N2 D 1 101 1
  • 9. 9 Orange Restricted Where do micro-loops happen ? Anywhere ! They can be local or remote ! R1 R4 R2 DS 10 111 1 R3 Local loop Remote loop Remote loop
  • 10. 10 Orange Restricted Why do I need to take of micro-loops ? Micro-loops break Fast-reroute ! Micro-loops affect traffic which is not concerned by the topology change ! Traffic between S and N2 suffers of packet loss ! 100Mbps of traffic entering a loop on a 5ms RTD link will become 1Gbps in about 40msec ! S N1 N2 D 1 101 1Traffic Time
  • 11. 11 Orange Restricted Why do I need to take of micro-loops ? Micro-loops break Fast-reroute ! Micro-loops affect traffic which is not concerned by the topology change ! Traffic between S and N2 suffers of packet loss ! 100Mbps of traffic entering a loop on a 5ms RTD link will become 1Gbps in about 40msec ! S N1 N2 D 1 101 1Traffic Time
  • 12. 12 Orange Restricted Why do I need to take of micro-loops ? Micro-loops break Fast-reroute ! Micro-loops affect traffic which is not concerned by the topology change ! Traffic between S and N2 suffers of packet loss ! 100Mbps of traffic entering a loop on a 5ms RTD link will become 1Gbps in about 40msec ! S N1 N2 D 1 101 1Traffic Time
  • 13. 13 Orange Restricted Why do I need to take of micro-loops ? Micro-loops break Fast-reroute ! Micro-loops affect traffic which is not concerned by the topology change ! Traffic between S and N2 suffers of packet loss ! 100Mbps of traffic entering a loop on a 5ms RTD link will become 1Gbps in about 40msec ! S N1 N2 D 1 101 1 FRR ! Traffic Time
  • 14. 14 Orange Restricted Why do I need to take of micro-loops ? Micro-loops break Fast-reroute ! Micro-loops affect traffic which is not concerned by the topology change ! Traffic between S and N2 suffers of packet loss ! 100Mbps of traffic entering a loop on a 5ms RTD link will become 1Gbps in about 40msec ! S N1 N2 D 1 101 1 FRR ! Traffic Time
  • 15. 15 Orange Restricted Why do I need to take of micro-loops ? Micro-loops break Fast-reroute ! Micro-loops affect traffic which is not concerned by the topology change ! Traffic between S and N2 suffers of packet loss ! 100Mbps of traffic entering a loop on a 5ms RTD link will become 1Gbps in about 40msec ! S N1 N2 D 1 101 1 ! SLOW ! FRR ! Traffic Time
  • 16. 16 Orange Restricted Why do I need to take of micro-loops ? Micro-loops break Fast-reroute ! Micro-loops affect traffic which is not concerned by the topology change ! Traffic between S and N2 suffers of packet loss ! 100Mbps of traffic entering a loop on a 5ms RTD link will become 1Gbps in about 40msec ! S N1 N2 D 1 101 1 ! SLOW ! Traffic Time
  • 17. 17 Orange Restricted Why do I need to take of micro-loops ? Micro-loops break Fast-reroute ! Micro-loops affect traffic which is not concerned by the topology change ! Traffic between S and N2 suffers of packet loss ! 100Mbps of traffic entering a loop on a 5ms RTD link will become 1Gbps in about 40msec ! S N1 N2 D 1 101 1Traffic Time
  • 18. 18 Orange Restricted Why do I need to take of micro-loops ? Micro-loops break Fast-reroute ! Micro-loops affect traffic which is not concerned by the topology change ! Traffic between S and N2 suffers of packet loss ! 100Mbps of traffic entering a loop on a 5ms RTD link will become 1Gbps in about 40msec ! S N1 N2 D 1 101 1Traffic Time
  • 19. 19 Orange Restricted Why do I need to take of micro-loops ? Micro-loops break Fast-reroute ! Micro-loops affect traffic which is not concerned by the topology change ! Traffic between S and N2 suffers of packet loss ! 100Mbps of traffic entering a loop on a 5ms RTD link will become 1Gbps in about 40msec ! S N1 N2 D 1 101 1Traffic Time Link congestion !
  • 20. 20 Orange Restricted Strategies to address micro-loop issues Not a new topic ! Look at RFC5715 .. Mitigation • Drop looping packets (not so easy !) • Converge faster (minimize micro-loop duration) Avoidance • Local delay (draft-ietf-rtgwg-uloop-delay) • Ordered FIB (RFC6976) • PLSN (RFC5715) • Incremental metric (INFOCOM 2007 paper from P. Francois, M. Shand, O. Bonaventure) • …
  • 21. 22 Orange Restricted Strategies to avoid micro-loops Local delay = OFIB(1) Upon link down, only local router will delay its convergence Upon link up, local router will delay flooding Solves only local micro-loops Multiple implementations available for link down event S N R1 R2 D N2 I will delay by 1200msec I will delay by 1200msec
  • 22. 23 Orange Restricted Conclusion on current state of the art No definitive solution to avoid micro-loops Local delay is good but not perfect  Mitigation is not enough and sometimes complex to implement How can we improve ?
  • 23. 24 Orange Restricted Why not using Segment Routing ? Segment Routing can build a loop-free path See my talks in 2014 and 2015 on TI-LFA Why not applying a temporary loop-free path ? Two stages convergence Stage#1 : use loop-free path (timer based) Stage#2 : use standard path S N R1 D N2 10 Node_SID_N2 Adj_SID_N2R1 Payload
  • 24. 36 Orange Restricted Multiple approaches possible to build a loop-free path One is TI-LFA-like approach Upon link failure, we can compute a loop-free label stack to the destination (as in TI-LFA) The loop-free path will be kept for a time waiting for the other to convergence All the routers applies this two stages convergence R1S DR2 10 R4 100
  • 25. 37 Orange Restricted Multiple approaches possible to build a loop-free path One is TI-LFA-like approach Upon link failure, we can compute a loop-free label stack to the destination (as in TI-LFA) The loop-free path will be kept for a time waiting for the other to convergence All the routers applies this two stages convergence R1S DR2 10 R4 100 Payload
  • 26. 38 Orange Restricted Multiple approaches possible to build a loop-free path One is TI-LFA-like approach Upon link failure, we can compute a loop-free label stack to the destination (as in TI-LFA) The loop-free path will be kept for a time waiting for the other to convergence All the routers applies this two stages convergence R1S DR2 10 R4 100 Payload
  • 27. 39 Orange Restricted Multiple approaches possible to build a loop-free path One is TI-LFA-like approach Upon link failure, we can compute a loop-free label stack to the destination (as in TI-LFA) The loop-free path will be kept for a time waiting for the other to convergence All the routers applies this two stages convergence R1S DR2 10 R4 100 Payload
  • 28. 40 Orange Restricted Multiple approaches possible to build a loop-free path One is TI-LFA-like approach Upon link failure, we can compute a loop-free label stack to the destination (as in TI-LFA) The loop-free path will be kept for a time waiting for the other to convergence All the routers applies this two stages convergence R1S DR2 10 R4 100 Payload
  • 29. 41 Orange Restricted Multiple approaches possible to build a loop-free path One is TI-LFA-like approach Upon link failure, we can compute a loop-free label stack to the destination (as in TI-LFA) The loop-free path will be kept for a time waiting for the other to convergence All the routers applies this two stages convergence R1S DR2 10 R4 100 Payload Stage#1 : tunnel {Adj-SID_R2-D}
  • 30. 42 Orange Restricted Multiple approaches possible to build a loop-free path One is TI-LFA-like approach Upon link failure, we can compute a loop-free label stack to the destination (as in TI-LFA) The loop-free path will be kept for a time waiting for the other to convergence All the routers applies this two stages convergence R1S DR2 10 R4 100 Stage#1 : tunnel {Adj-SID_R2-D} Payload Adj- SID_R2-D
  • 31. 43 Orange Restricted Multiple approaches possible to build a loop-free path One is TI-LFA-like approach Upon link failure, we can compute a loop-free label stack to the destination (as in TI-LFA) The loop-free path will be kept for a time waiting for the other to convergence All the routers applies this two stages convergence R1S DR2 10 R4 100 Stage#1 : tunnel {Adj-SID_R2-D} Payload Adj- SID_R2-D Stage#1 : tunnel {Node_SID_R2;Adj-SID_R2-D}
  • 32. 44 Orange Restricted Multiple approaches possible to build a loop-free path One is TI-LFA-like approach Upon link failure, we can compute a loop-free label stack to the destination (as in TI-LFA) The loop-free path will be kept for a time waiting for the other to convergence All the routers applies this two stages convergence R1S DR2 10 R4 100 Stage#1 : tunnel {Adj-SID_R2-D} Payload Adj- SID_R2-D Stage#1 : tunnel {Node_SID_R2;Adj-SID_R2-D} Stage#1 : tunnel {forward to D}
  • 33. 45 Orange Restricted Multiple approaches possible to build a loop-free path One is TI-LFA-like approach Upon link failure, we can compute a loop-free label stack to the destination (as in TI-LFA) The loop-free path will be kept for a time waiting for the other to convergence All the routers applies this two stages convergence R1S DR2 10 R4 100 Payload Stage#1 : tunnel {Node_SID_R2;Adj-SID_R2-D} Stage#1 : tunnel {forward to D} Stage#2 : normal FIB update
  • 34. 46 Orange Restricted Multiple approaches possible to build a loop-free path One is TI-LFA-like approach Upon link failure, we can compute a loop-free label stack to the destination (as in TI-LFA) The loop-free path will be kept for a time waiting for the other to convergence All the routers applies this two stages convergence R1S DR2 10 R4 100 Payload Stage#1 : tunnel {forward to D} Stage#2 : normal FIB update Stage#2 : normal FIB update
  • 35. 47 Orange Restricted Multiple approaches possible to build a loop-free path One is TI-LFA-like approach Upon link failure, we can compute a loop-free label stack to the destination (as in TI-LFA) The loop-free path will be kept for a time waiting for the other to convergence All the routers applies this two stages convergence R1S DR2 10 R4 100 Payload Stage#2 : normal FIB update Stage#2 : normal FIB update Stage#2 : normal FIB update
  • 36. 48 Orange Restricted Dream or reality ? Technology is a reality ! And we already tested it ! R2R1S R3 R4 R5 R6 10 10 S,R1,R2 are Cisco XR nodes with early code R3,R4,R5,R6 are non Cisco In the setup, SPF delays have been highly increased to make the microloop phenomenon more visible
  • 37. 49 Orange Restricted Lab evaluation : S-R1 link failure Without micro-loop avoidance FRR Micro-loop effect WITH micro-loop avoidance (LOCAL- DELAY) FRR ! LOOP AVOIDED ! FRR ! LOOP AVOIDED ! WITH micro-loop avoidance (SR)
  • 38. 50 Orange Restricted Lab evaluation : R2-R4 link failure Without micro-loop avoidance Micro-loop effect WITH micro-loop avoidance (LOCAL- DELAY) Micro-loop effect !!! LOOP NOT AVOIDED !!! FRR WITH micro-loop avoidance (SR) ! LOOP AVOIDED !
  • 39. 51 Orange Restricted Segment routing micro-loop avoidance Early code testing shown very good results Works for multiple traffic types (IP, MPLS LDP, SR) The technology brings a high benefit in avoiding micro-loops Local mechanism : no protocol extension no interoperability required (expect support of SR) Incremental deployment with incremental benefit
  • 40. 52 Orange Restricted Conclusion Micro-loops are a real issue Current solutions are not satisfying (complex or limited) Segment routing helps in creating temporary loop-free path Two stages convergence remains the GOOD idea ! SR micro-loop avoidance works ! : see demo from Cisco at their booth