SlideShare a Scribd company logo
4
Most read
5
Most read
8
Most read
Segment Routing Lab
Santiago Alvarez
Maan Al Bachari
Thierry Couture
Thank you for attending Cisco Connect Toronto 2015, here are a few
housekeeping notes to ensure we all enjoy the session today.
§  Please ensure your cellphones / laptops are set on silent to ensure no
one is disturbed during the session
§  A power bar is available under each desk in case you need to charge
your laptop (Labs only)
House Keeping Notes
§  Source Routing: source chooses a path and encodes it in packet header as an
ordered list of segments.
§  Segment: an identifier for any type of instruction
§  Service
§  Context
§  Locator
§  IGP-based forwarding construct
§  BGP-based forwarding construct
§  Local value or Global Index
Segment Routing Key Concepts
Segment = Instructions such as
"go to node N using the shortest path"
§  MPLS: an ordered list of
segments is represented as a
stack of labels
§  SR re-uses MPLS data plane
without any change
§  IPv6: an ordered list of segments
is represented as a routing
extension header
Segment Routing
This lab focuses on MPLS data
plane
IPv6 IPv6
IPv6
Control
Plane
IPv4
MPLS
Data
Plane
§  Locally significant to node allocating it
§  Node processes SID and switches packet
towards adjacency
§  Advertised as an absolute value
IGP Segment Identifiers
§  Globally significant within SR domain
§  All nodes switch packet towards prefix/node
via shortest path
§  Advertised as a relative (index) value
§  Make use of a per-node reserved block (SR
Global Block or SRGB)
B C
N O
Z
D
P
A
9101
9105
9107
9103
9105
B C
N O
Z
D
P
A
65
65
65 65
Prefix/Node SID Adjacency SID
MPLS Control and Forwarding Operation with Segment
Routing
PE1 PE2
IGPPE1 PE2
Services
IPv4 IPv6
IPv4
VPN
IPv6
VPN VPWS VPLS
Packet
Transport LDP
MPLS Forwarding
RSVP BGP Static IS-IS OSPF
No changes to
control or
forwarding plane
IGP label
distribution for IPv4
and IPv6, same
forwarding plane
BGP / LDP
§  Prefix SID
§  SID encoded as an index
§  Index represents an offset from SRGB base
§  Index globally unique
§  SRGB may vary across LSRs
§  SRGB (base and range) advertised with router
capabilities
§  Adjacency SID
§  SID encoded as absolute (i.e. not indexed)
value
§  Locally significant
§  Automatically allocated for each adjacency
SID Encoding
SRGB = [ 16000 - 23999 ]. Advertised as base = 16,000, range = 7999
Prefix SID = 16041. Advertised as Prefix SID Index = 41
Adjacency SID = 24000. Advertised as Adjacency SID = 24000
SR-enabled Node
§  Each pod has a dedicated test bed that has been partially pre-
configured
§  The devices dedicated to a pod are isolated from the devices assigned
to other pods
§  Follow the tasks and steps in the order provided
§  Explore the entire test bed and verify operation beyond the sample
output provided
Lab General Instructions
Lab Testbed Topology
g0/0/0/1
g0/0/0/1 g0/0/0/0
g0/0/0/2
lo0
lo0
g0/0/0/0
lo0
lo0
IS-IS
Area 49.0002
IS-IS
Area 49.0001
P1
IS-IS L1-L2
P2
IS-IS L1-L2
PE1
IS-IS L1
PE2
IS-IS L2
P1
IS-IS L1-L2
P2
IS-IS L1-L2
PE1
IS-IS L1
PE2
IS-IS L2
192.168.255.2 /32
(VRF RED)
g0/0/0/0
172.16.1.0/31
Lab Testbed Topology (IPv4 Addressing)
g0/0/0/1
172.16.2.2/31
g0/0/0/1
172.16.1.2/31
g0/0/0/0
172.16.2.0/31
g0/0/0/2
172.16.2.4/31
lo0
172.16.255.1/32
lo0
172.16.255.2/32
172.16.255.101/32
lo0
lo0 172.16.255.102/32
.4
.5
.0
.1
.2
.3
.2
.3
.0
.1
IS-IS
Area 49.0002
IS-IS
Area 49.0001
2001:db8:a::ff:2 /128
(VRF GREEN)
192.168.255.1 /32
(VRF RED)
2001:db8:a::ff:1 /128
(VRF GREEN)
Lab Testbed Topology (IPv6 Addressing)
g0/0/0/0
2001:db8::1:0/127
g0/0/0/1
2001:db8::1:2/127
g0/0/0/2
2001:db8::2:4/127
Lo0
2001:db8::ff:1/128
2001:db8::ff:101/128
lo0
lo0 2001:db8::ff:
102/128
:4
:5
:0
:1
:2
:3
:2
:3
:0
:1
g0/0/0/1
2001:db8::2:2/127
g0/0/0/0
2001:db8::2:0/127
IS-IS
Area 49.0002
IS-IS
Area 49.0001
lo0
2001:db8::ff:2/128
2001:db8:b::ff:2 /128
(Global)
2001:db8:b::f:1 /128
(Global)
P1
IS-IS L1-L2
P2
IS-IS L1-L2
PE1
IS-IS L1
PE2
IS-IS L2
§  When a node is LDP capable but its next-hop
along the SPT to the destination is not LDP
capable
§  no LDP outgoing label
§  In this case, the LDP LSP is connected to the
prefix segment
§  C installs the following LDP-to-SR FIB entry:
§  incoming label: label bound by LDP for FEC Z
§  outgoing label: prefix segment bound to Z
§  outgoing interface: D
§  This entry is derived automatically at the routing
layer
LDP/SR Interworking - LDP to SR
A
CB D
Z
16066
LDP SR
Input Label
(LDP)
Out Label
(SID), Interface
32 16066, 1
Prefix
Out Label (LDP),
Interface
Z 16, 0
§  When a node is SR capable but
its next-hop along the SPT to the
destination is not SR capable
§  no SR outgoing label available
§  In this case, the prefix segment is
connected to the LDP LSP
§  Any node on the SR/LDP border
installs SR-to-LDP FIB entry(ies)
LDP/SR Interworking - SR to LDP
A
CB D
Z
16066
SR LDP
Input Label
(SID)
Out Label (LDP),
Interface
? 16, 1
Prefix
Out Label (SID),
Interface
Z ?, 0
§  A wants to send traffic to Z, but
§  Z is not SR-capable, Z does not advertise any prefix-
SID
à which label does A have to use?
§  The Mapping Server advertises the SID
mappings for the non-SR routers
§  for example, it advertises that Z is 16066
§  A and B install a normal SR prefix segment for
16066
§  C realizes that its next hop along the SPT to Z is
not SR capable hence C installs an SR-to-LDP
FIB entry
§  incoming label: prefix-SID bound to Z (16066)
§  outgoing label: LDP binding from D for FEC Z
§  A sends a frame to Z with a single label: 16066
LDP/SR Interworking - Mapping Server
A
CB D
ZZ(16066)
Input Label
(SID)
Out Label (LDP),
Interface
16066 16, 1
Prefix
Out Label (SID),
Interface
Z 16066, 0
SR LDP
Lab Testbed Topology (Mapping Server)
g0/0/0/1
g0/0/0/1 g0/0/0/0
g0/0/0/2
lo0
lo0
g0/0/0/0
lo0
lo0
IS-IS
Area 49.0002
IS-IS
Area 49.0001
LDP-Only
LSR
SR Mapping Server
SR Mapping Server
SR Mapping
Client
P1
IS-IS L1-L2
P2
IS-IS L1-L2
PE1
IS-IS L1
PE2
IS-IS L2
§  Leverages existing and proven LFA technology
§  P space - set of nodes reachable from node S (PLR) without using protected link L
§  Q space - set of nodes that can reach destination D without using protected link L
§  Enforcing loop-freeness on post-convergence path
§  Where can I release the packet?
At the intersection between the post-convergence shortest path and the Q space
§  How do I reach the release point?
By chaining intermediate segments that are assessed to be loop-free
Topology Independent LFA – Implementation
1000
§  TI-LFA for link R1R2 on R1
§  Calculate LFA(s)
§  Calculate post-convergence SPT
§  Find LFA on post-convergence
SPT
§  R1 will steer the traffic towards
LFA R5
TI-LFA – Zero-Segment Example
Packet to Z
Default metric:10
R5
R2R1
A Z
R3
Packet to Z
R4
R5
Packet to Z
prefix-SID(Z)
§  TI-LFA for link R1R2 on R1
§  Calculate P and Q spaces
§  They overlap in this case
§  Calculate post-convergence SPT
§  Find PQ node on post-
convergence SPT
§  R1 will push the prefix-SID of R4
on the backup path
TI-LFA – Single-Segment Example
Q-space
P-space
Packet to Z
prefix-SID(Z)
Packet to Z
Packet to Z
prefix-SID(Z)
prefix-SID(R4)
Default metric:10
R5
R2R1
A Z
R3
Packet to Z
R4
§  TI-LFA for link R1R2 on R1
§  Calculate P and Q spaces
§  Calculate post-convergence SPT
§  Find Q and adjacent P node on
post-convergence SPT
§  R1 will push the prefix-SID of R4
and the adj-SID of R4-R3 link on
the backup path
TI-LFA – Double-Segment Example
P-space Q-space
1000
Packet to Z
prefix-SID(Z)
Packet to Z
Packet to Z
prefix-SID(Z)
adj-SID(R4-R3)
prefix-SID(R4)
Packet to Z
prefix-SID(Z)
adj-SID(R4-R3)
Default metric:10
R5
R2R1
A Z
R3R4 R3R4
Packet to Z
g0/0/0/1
Metric=10 (default)
Testbed Topology (TI LFA)
g0/0/0/1
g0/0/0/0
g0/0/0/2
Metric=30
lo0
lo0
Metric=10 (default)
g0/0/0/0
lo0
IS-IS
Area 49.0002
IS-IS
Area 49.0001
lo0
LDP-Only
LSR
P1
IS-IS L1-L2
P2
IS-IS L1-L2
PE1
IS-IS L1
PE2
IS-IS L2
§  Give us your feedback and you could win
a Plantronics headset. Complete the
session survey on your Cisco Connect
Toronto Mobile app at the end of your
session for a chance to win
§  Winners will be announced and posted at
the Information desk and on Twitter at the
end of the day (You must be present to win!)
Complete your session evaluation
§  Cisco dCloud is a self-service platform that can be accessed via a browser, a high-speed
Internet connection, and a cisco.com account
§  Customers will have direct access to a subset of dCloud demos and labs
§  Restricted content must be brokered by an authorized user (Cisco or Partner) and then shared
with the customers (cisco.com user).
§  Go to dcloud.cisco.com, select the location closest to you, and log in with your cisco.com
credentials
§  Review the getting started videos and try Cisco dCloud today: https://dcloud-cms.cisco.com/help
dCloud
Customers now get full dCloud experience!
#CiscoSpark
Let’s continue this
conversation on…
Spark
Cisco’s mobile collaboration
team application
Visit the Collaboration booth in the
World of Solutions to join the
Connect Spark room
Thank you

More Related Content

What's hot (20)

PPTX
IS-IS Protocol Adjacency
NetProtocol Xpert
 
PDF
MPLS - Multiprotocol Label Switching
Peter R. Egli
 
PPTX
GRE (Generic Routing Encapsulation)
NetProtocol Xpert
 
PDF
Traffic Engineering Using Segment Routing
Cisco Canada
 
PPTX
Vxlan deep dive session rev0.5 final
KwonSun Bae
 
PDF
MPLS Traffic Engineering
APNIC
 
PPTX
Comparing ospf vs isis
rushi7567
 
PDF
MPLS Concepts and Fundamentals
Shawn Zandi
 
PPT
Deploying Carrier Ethernet features on ASR 9000
Vinod Kumar Balasubramanyam
 
PDF
Troubleshooting BGP
Duane Bodle
 
PDF
Doc6 mpls vpn-ppt
Swarup Kumar Mall
 
PPTX
Vxlan control plane and routing
Wilfredzeng
 
PDF
Route Redistribution
Netwax Lab
 
PPT
Multi-Protocol Label Switching
seanraz
 
PPTX
IS-IS Protocol Introduction
NetProtocol Xpert
 
PDF
Segment Routing
APNIC
 
PDF
Segment Routing Advanced Use Cases - Cisco Live 2016 USA
Jose Liste
 
PPTX
SGSN- serving gprs support node - Platform - HW, SW and CLI
Mustafa Golam
 
PPT
Mpls Services
Kristof De Brouwer
 
IS-IS Protocol Adjacency
NetProtocol Xpert
 
MPLS - Multiprotocol Label Switching
Peter R. Egli
 
GRE (Generic Routing Encapsulation)
NetProtocol Xpert
 
Traffic Engineering Using Segment Routing
Cisco Canada
 
Vxlan deep dive session rev0.5 final
KwonSun Bae
 
MPLS Traffic Engineering
APNIC
 
Comparing ospf vs isis
rushi7567
 
MPLS Concepts and Fundamentals
Shawn Zandi
 
Deploying Carrier Ethernet features on ASR 9000
Vinod Kumar Balasubramanyam
 
Troubleshooting BGP
Duane Bodle
 
Doc6 mpls vpn-ppt
Swarup Kumar Mall
 
Vxlan control plane and routing
Wilfredzeng
 
Route Redistribution
Netwax Lab
 
Multi-Protocol Label Switching
seanraz
 
IS-IS Protocol Introduction
NetProtocol Xpert
 
Segment Routing
APNIC
 
Segment Routing Advanced Use Cases - Cisco Live 2016 USA
Jose Liste
 
SGSN- serving gprs support node - Platform - HW, SW and CLI
Mustafa Golam
 
Mpls Services
Kristof De Brouwer
 

Viewers also liked (20)

PPTX
TechWiseTV Workshop: Segment Routing for the Datacenter
Robb Boyd
 
PDF
Advanced Topics and Future Directions in MPLS
Cisco Canada
 
PDF
Scaling Networks with Segment Routing
APNIC
 
PDF
Построение автономных и управляемых сетей
Cisco Russia
 
PDF
Segment Routing: фундамент для построения сетей SDN
Cisco Russia
 
PDF
Презентации. Во сколько они реально обходятся компании?
Sergey Gusarov
 
PDF
Stateful PCE and Segment Routing
APNIC
 
PDF
Архитектура HAWQ / Алексей Грищенко (Pivotal)
Ontico
 
PDF
Securing Internet Routing: RPSL & RPKI
APNIC
 
PPTX
智能广域网及开源项目更新
Bertrand Duvivier
 
PDF
mpls-05
kj teoh
 
PDF
junos-firewall-filter
kj teoh
 
PDF
mpls-04
kj teoh
 
PPT
Cisco crs1
wjunjmt
 
PDF
bgp-01
kj teoh
 
PDF
Segment Routing
APNIC
 
PPTX
BGP Graceful Shutdown - IOS XR
Bertrand Duvivier
 
PDF
BGP Traffic Engineering with SDN Controller
APNIC
 
PPTX
Segment routing in ISO-XR 5.2.2
Bertrand Duvivier
 
PDF
Архитектура Segment Routing
Cisco Russia
 
TechWiseTV Workshop: Segment Routing for the Datacenter
Robb Boyd
 
Advanced Topics and Future Directions in MPLS
Cisco Canada
 
Scaling Networks with Segment Routing
APNIC
 
Построение автономных и управляемых сетей
Cisco Russia
 
Segment Routing: фундамент для построения сетей SDN
Cisco Russia
 
Презентации. Во сколько они реально обходятся компании?
Sergey Gusarov
 
Stateful PCE and Segment Routing
APNIC
 
Архитектура HAWQ / Алексей Грищенко (Pivotal)
Ontico
 
Securing Internet Routing: RPSL & RPKI
APNIC
 
智能广域网及开源项目更新
Bertrand Duvivier
 
mpls-05
kj teoh
 
junos-firewall-filter
kj teoh
 
mpls-04
kj teoh
 
Cisco crs1
wjunjmt
 
bgp-01
kj teoh
 
Segment Routing
APNIC
 
BGP Graceful Shutdown - IOS XR
Bertrand Duvivier
 
BGP Traffic Engineering with SDN Controller
APNIC
 
Segment routing in ISO-XR 5.2.2
Bertrand Duvivier
 
Архитектура Segment Routing
Cisco Russia
 
Ad

Similar to Segment Routing Lab (20)

PDF
Cisco Live! :: Introduction to Segment Routing :: BRKRST-2124 | Las Vegas 2017
Bruno Teixeira
 
PPT
MPLS SDN 2015 - SPRING interoperability testing
Stephane Litkowski
 
PPTX
PLNOG 17 - Leonir Hoxha - Next Generation Network Architecture - Segment Routing
PROIDEA
 
PDF
Engineering The New IP Transport
MyNOG
 
PDF
WAN SDN meet Segment Routing
APNIC
 
PDF
Segment Routing for Dummies
Gary Jan
 
PDF
Segment Routing Technology Deep Dive and Advanced Use Cases
Cisco Canada
 
PDF
Segment Routing Session#1.pdfSegment Routing Session#1.pdf
AhMEd22627
 
PDF
1 bonica tutorial_segment_routing
hptoga
 
PDF
Segment Routing Session#2.pdfSegment Routing Session#2.pdf
AhMEd22627
 
PDF
Introduction to segment routing
Rabah GUEDREZ
 
PPTX
PLNOG 18 - Leonir Hoxha - Traffic Engineering with Segment Routing
PROIDEA
 
PDF
PLNOG 13: Jeff Tantsura: Programmable and Application aware IP/MPLS networking
PROIDEA
 
PPTX
MENOG-Segment Routing Introduction
Rasoul Mesghali, CCIE RS
 
PDF
Cisco Connect Montreal 2017 - Segment Routing - Technology Deep-dive and Adva...
Cisco Canada
 
PPT
MPLS_cisco.ppt
ssuserd0c720
 
PDF
BRKSP-2551 - Introduction to Segment Routing.pdf
fcesargonca
 
PDF
Fast Reroute in SR-MPLS by Md Abdullah Al Naser
Bangladesh Network Operators Group
 
PDF
Fast Reroute in SR-MPLS, presented at bdNOG 19
APNIC
 
PDF
23100136 mpls
amirulalam
 
Cisco Live! :: Introduction to Segment Routing :: BRKRST-2124 | Las Vegas 2017
Bruno Teixeira
 
MPLS SDN 2015 - SPRING interoperability testing
Stephane Litkowski
 
PLNOG 17 - Leonir Hoxha - Next Generation Network Architecture - Segment Routing
PROIDEA
 
Engineering The New IP Transport
MyNOG
 
WAN SDN meet Segment Routing
APNIC
 
Segment Routing for Dummies
Gary Jan
 
Segment Routing Technology Deep Dive and Advanced Use Cases
Cisco Canada
 
Segment Routing Session#1.pdfSegment Routing Session#1.pdf
AhMEd22627
 
1 bonica tutorial_segment_routing
hptoga
 
Segment Routing Session#2.pdfSegment Routing Session#2.pdf
AhMEd22627
 
Introduction to segment routing
Rabah GUEDREZ
 
PLNOG 18 - Leonir Hoxha - Traffic Engineering with Segment Routing
PROIDEA
 
PLNOG 13: Jeff Tantsura: Programmable and Application aware IP/MPLS networking
PROIDEA
 
MENOG-Segment Routing Introduction
Rasoul Mesghali, CCIE RS
 
Cisco Connect Montreal 2017 - Segment Routing - Technology Deep-dive and Adva...
Cisco Canada
 
MPLS_cisco.ppt
ssuserd0c720
 
BRKSP-2551 - Introduction to Segment Routing.pdf
fcesargonca
 
Fast Reroute in SR-MPLS by Md Abdullah Al Naser
Bangladesh Network Operators Group
 
Fast Reroute in SR-MPLS, presented at bdNOG 19
APNIC
 
23100136 mpls
amirulalam
 
Ad

More from Cisco Canada (20)

PDF
Cisco connect montreal 2018 net devops
Cisco Canada
 
PDF
Cisco connect montreal 2018 iot demo kinetic fr
Cisco Canada
 
PPTX
Cisco connect montreal 2018 - Network Slicing: Horizontal Virtualization
Cisco Canada
 
PDF
Cisco connect montreal 2018 secure dc
Cisco Canada
 
PDF
Cisco connect montreal 2018 enterprise networks - say goodbye to vla ns
Cisco Canada
 
PDF
Cisco connect montreal 2018 vision mondiale analyse locale
Cisco Canada
 
PDF
Cisco Connect Montreal 2018 Securité : Sécuriser votre mobilité avec Cisco
Cisco Canada
 
PDF
Cisco connect montreal 2018 collaboration les services webex hybrides
Cisco Canada
 
PDF
Integration cisco et microsoft connect montreal 2018
Cisco Canada
 
PDF
Cisco connect montreal 2018 compute v final
Cisco Canada
 
PDF
Cisco connect montreal 2018 saalvare md-program-xr-v2
Cisco Canada
 
PDF
Cisco connect montreal 2018 sd wan - delivering intent-based networking to th...
Cisco Canada
 
PDF
Cisco Connect Toronto 2018 DNA automation-the evolution to intent-based net...
Cisco Canada
 
PDF
Cisco Connect Toronto 2018 an introduction to Cisco kinetic
Cisco Canada
 
PDF
Cisco Connect Toronto 2018 IOT - unlock the power of data - securing the in...
Cisco Canada
 
PDF
Cisco Connect Toronto 2018 DevNet Overview
Cisco Canada
 
PDF
Cisco Connect Toronto 2018 DNA assurance
Cisco Canada
 
PDF
Cisco Connect Toronto 2018 network-slicing
Cisco Canada
 
PDF
Cisco Connect Toronto 2018 the intelligent network with cisco meraki
Cisco Canada
 
PDF
Cisco Connect Toronto 2018 sixty to zero
Cisco Canada
 
Cisco connect montreal 2018 net devops
Cisco Canada
 
Cisco connect montreal 2018 iot demo kinetic fr
Cisco Canada
 
Cisco connect montreal 2018 - Network Slicing: Horizontal Virtualization
Cisco Canada
 
Cisco connect montreal 2018 secure dc
Cisco Canada
 
Cisco connect montreal 2018 enterprise networks - say goodbye to vla ns
Cisco Canada
 
Cisco connect montreal 2018 vision mondiale analyse locale
Cisco Canada
 
Cisco Connect Montreal 2018 Securité : Sécuriser votre mobilité avec Cisco
Cisco Canada
 
Cisco connect montreal 2018 collaboration les services webex hybrides
Cisco Canada
 
Integration cisco et microsoft connect montreal 2018
Cisco Canada
 
Cisco connect montreal 2018 compute v final
Cisco Canada
 
Cisco connect montreal 2018 saalvare md-program-xr-v2
Cisco Canada
 
Cisco connect montreal 2018 sd wan - delivering intent-based networking to th...
Cisco Canada
 
Cisco Connect Toronto 2018 DNA automation-the evolution to intent-based net...
Cisco Canada
 
Cisco Connect Toronto 2018 an introduction to Cisco kinetic
Cisco Canada
 
Cisco Connect Toronto 2018 IOT - unlock the power of data - securing the in...
Cisco Canada
 
Cisco Connect Toronto 2018 DevNet Overview
Cisco Canada
 
Cisco Connect Toronto 2018 DNA assurance
Cisco Canada
 
Cisco Connect Toronto 2018 network-slicing
Cisco Canada
 
Cisco Connect Toronto 2018 the intelligent network with cisco meraki
Cisco Canada
 
Cisco Connect Toronto 2018 sixty to zero
Cisco Canada
 

Recently uploaded (20)

PDF
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Ampere Offers Energy-Efficient Future For AI And Cloud
ShapeBlue
 
PDF
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
PDF
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
PPTX
Building and Operating a Private Cloud with CloudStack and LINBIT CloudStack ...
ShapeBlue
 
PDF
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
PDF
Français Patch Tuesday - Juillet
Ivanti
 
PDF
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PPTX
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
PDF
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
PDF
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
PPTX
Darren Mills The Migration Modernization Balancing Act: Navigating Risks and...
AWS Chicago
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Ampere Offers Energy-Efficient Future For AI And Cloud
ShapeBlue
 
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
Building and Operating a Private Cloud with CloudStack and LINBIT CloudStack ...
ShapeBlue
 
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
Français Patch Tuesday - Juillet
Ivanti
 
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
Darren Mills The Migration Modernization Balancing Act: Navigating Risks and...
AWS Chicago
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 

Segment Routing Lab

  • 1. Segment Routing Lab Santiago Alvarez Maan Al Bachari Thierry Couture
  • 2. Thank you for attending Cisco Connect Toronto 2015, here are a few housekeeping notes to ensure we all enjoy the session today. §  Please ensure your cellphones / laptops are set on silent to ensure no one is disturbed during the session §  A power bar is available under each desk in case you need to charge your laptop (Labs only) House Keeping Notes
  • 3. §  Source Routing: source chooses a path and encodes it in packet header as an ordered list of segments. §  Segment: an identifier for any type of instruction §  Service §  Context §  Locator §  IGP-based forwarding construct §  BGP-based forwarding construct §  Local value or Global Index Segment Routing Key Concepts Segment = Instructions such as "go to node N using the shortest path"
  • 4. §  MPLS: an ordered list of segments is represented as a stack of labels §  SR re-uses MPLS data plane without any change §  IPv6: an ordered list of segments is represented as a routing extension header Segment Routing This lab focuses on MPLS data plane IPv6 IPv6 IPv6 Control Plane IPv4 MPLS Data Plane
  • 5. §  Locally significant to node allocating it §  Node processes SID and switches packet towards adjacency §  Advertised as an absolute value IGP Segment Identifiers §  Globally significant within SR domain §  All nodes switch packet towards prefix/node via shortest path §  Advertised as a relative (index) value §  Make use of a per-node reserved block (SR Global Block or SRGB) B C N O Z D P A 9101 9105 9107 9103 9105 B C N O Z D P A 65 65 65 65 Prefix/Node SID Adjacency SID
  • 6. MPLS Control and Forwarding Operation with Segment Routing PE1 PE2 IGPPE1 PE2 Services IPv4 IPv6 IPv4 VPN IPv6 VPN VPWS VPLS Packet Transport LDP MPLS Forwarding RSVP BGP Static IS-IS OSPF No changes to control or forwarding plane IGP label distribution for IPv4 and IPv6, same forwarding plane BGP / LDP
  • 7. §  Prefix SID §  SID encoded as an index §  Index represents an offset from SRGB base §  Index globally unique §  SRGB may vary across LSRs §  SRGB (base and range) advertised with router capabilities §  Adjacency SID §  SID encoded as absolute (i.e. not indexed) value §  Locally significant §  Automatically allocated for each adjacency SID Encoding SRGB = [ 16000 - 23999 ]. Advertised as base = 16,000, range = 7999 Prefix SID = 16041. Advertised as Prefix SID Index = 41 Adjacency SID = 24000. Advertised as Adjacency SID = 24000 SR-enabled Node
  • 8. §  Each pod has a dedicated test bed that has been partially pre- configured §  The devices dedicated to a pod are isolated from the devices assigned to other pods §  Follow the tasks and steps in the order provided §  Explore the entire test bed and verify operation beyond the sample output provided Lab General Instructions
  • 9. Lab Testbed Topology g0/0/0/1 g0/0/0/1 g0/0/0/0 g0/0/0/2 lo0 lo0 g0/0/0/0 lo0 lo0 IS-IS Area 49.0002 IS-IS Area 49.0001 P1 IS-IS L1-L2 P2 IS-IS L1-L2 PE1 IS-IS L1 PE2 IS-IS L2
  • 10. P1 IS-IS L1-L2 P2 IS-IS L1-L2 PE1 IS-IS L1 PE2 IS-IS L2 192.168.255.2 /32 (VRF RED) g0/0/0/0 172.16.1.0/31 Lab Testbed Topology (IPv4 Addressing) g0/0/0/1 172.16.2.2/31 g0/0/0/1 172.16.1.2/31 g0/0/0/0 172.16.2.0/31 g0/0/0/2 172.16.2.4/31 lo0 172.16.255.1/32 lo0 172.16.255.2/32 172.16.255.101/32 lo0 lo0 172.16.255.102/32 .4 .5 .0 .1 .2 .3 .2 .3 .0 .1 IS-IS Area 49.0002 IS-IS Area 49.0001 2001:db8:a::ff:2 /128 (VRF GREEN) 192.168.255.1 /32 (VRF RED) 2001:db8:a::ff:1 /128 (VRF GREEN)
  • 11. Lab Testbed Topology (IPv6 Addressing) g0/0/0/0 2001:db8::1:0/127 g0/0/0/1 2001:db8::1:2/127 g0/0/0/2 2001:db8::2:4/127 Lo0 2001:db8::ff:1/128 2001:db8::ff:101/128 lo0 lo0 2001:db8::ff: 102/128 :4 :5 :0 :1 :2 :3 :2 :3 :0 :1 g0/0/0/1 2001:db8::2:2/127 g0/0/0/0 2001:db8::2:0/127 IS-IS Area 49.0002 IS-IS Area 49.0001 lo0 2001:db8::ff:2/128 2001:db8:b::ff:2 /128 (Global) 2001:db8:b::f:1 /128 (Global) P1 IS-IS L1-L2 P2 IS-IS L1-L2 PE1 IS-IS L1 PE2 IS-IS L2
  • 12. §  When a node is LDP capable but its next-hop along the SPT to the destination is not LDP capable §  no LDP outgoing label §  In this case, the LDP LSP is connected to the prefix segment §  C installs the following LDP-to-SR FIB entry: §  incoming label: label bound by LDP for FEC Z §  outgoing label: prefix segment bound to Z §  outgoing interface: D §  This entry is derived automatically at the routing layer LDP/SR Interworking - LDP to SR A CB D Z 16066 LDP SR Input Label (LDP) Out Label (SID), Interface 32 16066, 1 Prefix Out Label (LDP), Interface Z 16, 0
  • 13. §  When a node is SR capable but its next-hop along the SPT to the destination is not SR capable §  no SR outgoing label available §  In this case, the prefix segment is connected to the LDP LSP §  Any node on the SR/LDP border installs SR-to-LDP FIB entry(ies) LDP/SR Interworking - SR to LDP A CB D Z 16066 SR LDP Input Label (SID) Out Label (LDP), Interface ? 16, 1 Prefix Out Label (SID), Interface Z ?, 0
  • 14. §  A wants to send traffic to Z, but §  Z is not SR-capable, Z does not advertise any prefix- SID à which label does A have to use? §  The Mapping Server advertises the SID mappings for the non-SR routers §  for example, it advertises that Z is 16066 §  A and B install a normal SR prefix segment for 16066 §  C realizes that its next hop along the SPT to Z is not SR capable hence C installs an SR-to-LDP FIB entry §  incoming label: prefix-SID bound to Z (16066) §  outgoing label: LDP binding from D for FEC Z §  A sends a frame to Z with a single label: 16066 LDP/SR Interworking - Mapping Server A CB D ZZ(16066) Input Label (SID) Out Label (LDP), Interface 16066 16, 1 Prefix Out Label (SID), Interface Z 16066, 0 SR LDP
  • 15. Lab Testbed Topology (Mapping Server) g0/0/0/1 g0/0/0/1 g0/0/0/0 g0/0/0/2 lo0 lo0 g0/0/0/0 lo0 lo0 IS-IS Area 49.0002 IS-IS Area 49.0001 LDP-Only LSR SR Mapping Server SR Mapping Server SR Mapping Client P1 IS-IS L1-L2 P2 IS-IS L1-L2 PE1 IS-IS L1 PE2 IS-IS L2
  • 16. §  Leverages existing and proven LFA technology §  P space - set of nodes reachable from node S (PLR) without using protected link L §  Q space - set of nodes that can reach destination D without using protected link L §  Enforcing loop-freeness on post-convergence path §  Where can I release the packet? At the intersection between the post-convergence shortest path and the Q space §  How do I reach the release point? By chaining intermediate segments that are assessed to be loop-free Topology Independent LFA – Implementation
  • 17. 1000 §  TI-LFA for link R1R2 on R1 §  Calculate LFA(s) §  Calculate post-convergence SPT §  Find LFA on post-convergence SPT §  R1 will steer the traffic towards LFA R5 TI-LFA – Zero-Segment Example Packet to Z Default metric:10 R5 R2R1 A Z R3 Packet to Z R4 R5 Packet to Z prefix-SID(Z)
  • 18. §  TI-LFA for link R1R2 on R1 §  Calculate P and Q spaces §  They overlap in this case §  Calculate post-convergence SPT §  Find PQ node on post- convergence SPT §  R1 will push the prefix-SID of R4 on the backup path TI-LFA – Single-Segment Example Q-space P-space Packet to Z prefix-SID(Z) Packet to Z Packet to Z prefix-SID(Z) prefix-SID(R4) Default metric:10 R5 R2R1 A Z R3 Packet to Z R4
  • 19. §  TI-LFA for link R1R2 on R1 §  Calculate P and Q spaces §  Calculate post-convergence SPT §  Find Q and adjacent P node on post-convergence SPT §  R1 will push the prefix-SID of R4 and the adj-SID of R4-R3 link on the backup path TI-LFA – Double-Segment Example P-space Q-space 1000 Packet to Z prefix-SID(Z) Packet to Z Packet to Z prefix-SID(Z) adj-SID(R4-R3) prefix-SID(R4) Packet to Z prefix-SID(Z) adj-SID(R4-R3) Default metric:10 R5 R2R1 A Z R3R4 R3R4 Packet to Z
  • 20. g0/0/0/1 Metric=10 (default) Testbed Topology (TI LFA) g0/0/0/1 g0/0/0/0 g0/0/0/2 Metric=30 lo0 lo0 Metric=10 (default) g0/0/0/0 lo0 IS-IS Area 49.0002 IS-IS Area 49.0001 lo0 LDP-Only LSR P1 IS-IS L1-L2 P2 IS-IS L1-L2 PE1 IS-IS L1 PE2 IS-IS L2
  • 21. §  Give us your feedback and you could win a Plantronics headset. Complete the session survey on your Cisco Connect Toronto Mobile app at the end of your session for a chance to win §  Winners will be announced and posted at the Information desk and on Twitter at the end of the day (You must be present to win!) Complete your session evaluation
  • 22. §  Cisco dCloud is a self-service platform that can be accessed via a browser, a high-speed Internet connection, and a cisco.com account §  Customers will have direct access to a subset of dCloud demos and labs §  Restricted content must be brokered by an authorized user (Cisco or Partner) and then shared with the customers (cisco.com user). §  Go to dcloud.cisco.com, select the location closest to you, and log in with your cisco.com credentials §  Review the getting started videos and try Cisco dCloud today: https://dcloud-cms.cisco.com/help dCloud Customers now get full dCloud experience!
  • 23. #CiscoSpark Let’s continue this conversation on… Spark Cisco’s mobile collaboration team application Visit the Collaboration booth in the World of Solutions to join the Connect Spark room