LTRSPG-2212
LTRSPG-2212
LTRSPG-2212
• Introduction
• XRd
• SR and SRv6
• SRv6 L3VPN and SRv6 TE
• Project Jalapeño and BMP
Agenda • A Tour of Jalapeño
• Host-Based SRv6 and BYO SDN
• Wrap Up
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 3
Introduction
Lab Objectives for Students
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
Lab Documentation
This is an open source designed lab which is hosted in Cisco’s
dCloud environment. Though the lab infrastructure in dCloud is only
available during this Cisco Live session you can replicate the lab in
your virtualization environment of choice.
https://github.com/jalapeno/SRv6_dCloud_Lab
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
dCloud – Remote Access
Two Options for VPN Access
1. [Preferred] AnyConnect Client on lab laptop.
Click VM on topology
2. dCloud browser and VM Console Access
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
Lab Topology Overview
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
Lab Schedule Overview
Agenda Item Description Time allotment
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
Cisco XRd
Virtualized Routing Platform
Cisco Cloud Native vRouter a.k.a XRd
Containerized IOS-XR Router Overview
• 2 Versions: Control Plane / Data Plane
• Light footprint on x86 compute
• Docker and Kubernetes compliant
• DPDK and VPP based forwarding
Use Cases
• Suitable for Cloud native environments
• Virtual PE
• Route Reflector
• Routing function at low-bandwidth cell site
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
XRd Logical Diagram
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
Lab Exercise 1:
Deploy and Verify XRd Topology
“Oh, A lab you say?
What could go
wrong?”
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
Lab Guide on Github! https://github.com/jalapeno/SRv6_dCloud_Lab
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
Lab Exercise #1 Time: 30m
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
SR and SRv6
Rich SRv6 uSID Ecosystem
Open-Source Networking Stacks
FRRouting
Open-Source Applications
Partners
BGP
Pyroute2 SERA
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
RFC 8754: SRv6 Segment Routing Header (SRH)
Locator 1 Function 1
IPv4 or v6 payload:
TCP, UDP, QUIC, etc.
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 1
SRv6 Network Programming (RFC 8986)
https://datatracker.ietf.org/doc/rfc8986/
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 1 20
SRv6 functions: Steering and Services
(Refer to : draft-ietf-spring-srv6-network-programming)
Reference
Codename Behavior
End uN Endpoint [Node SID]
End.X uA Endpoint with Layer-3 cross-connect [Adj SID]
End.B6.Insert uB6.Insert Endpoint bound to an SRv6 policy [BSID]
End.B6.Encaps uB6.Encaps Endpoint bound to an SRv6 encapsulation policy [BSID]
End.DX6 uDX6 Endpoint with decapsulation and IPv6 cross-connect [L3VPN Per-CE]
End.DX4 uDX4 Endpoint with decapsulation and IPv4 cross-connect [L3VPN Per-CE]
End.DT6 uDT6 Endpoint with decapsulation and specific IPv6 table lookup [L3VPN Per-VRF]
End.DT4 uDT4 Endpoint with decapsulation and specific IPv4 table lookup [L3VPN Per-VRF]
End.DX2 uDX2 Endpoint with decapsulation and L2 cross-connect [E-LINE]
End.DT2U/M uDT2U/M Endpoint with decapsulation and L2 unicast lookup / flooding [E-LAN]
End.BM uBM Endpoint bound to an SR-MPLS policy [Interworking]
H.Insert / H.Encaps Headend with Insertion / Encapsulation of / into an SRv6 policy [TiLFA]
H. Encaps.L2 H.Encaps Applied to Received L2 Frames [L2 Port Mode]
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
SRv6 Data Path Flow
2 3 4
1 7
Source Host 5 6 Dest. Host
AMS Rome
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
SRv6 Micro-SID
40B IPv6 header
8B TLV 16B IPv6 Src Addr 16B IPv6 Dst Addr Inner IP and Payload
FC00:0000:2222:3333:4444:7777:E006:0000
IPv6 destination address may be broken up into uSID blocks for steering or other functionality
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
SRv6 Micro-SID
Destination Address “Shift-and-Forward”
1 7
5 6
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
SRv6 Micro-SID
LPM Table Lookup and Forward
8B TLV 16B IPv6 Src Addr 16B IPv6 Dst Addr Inner IP and Payload
FC00:0000:2222:3333:4444:7777:E006:0000
LPM on /48
SRv6 SID
Table IPv6 Forwarding
Table
POP IPv6 new DA
2222 FC00:0000:3333:4444:7777:E006:0000:0000
MATCH
FC00:0000:2222 LPM on /48
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
SRv6 Micro-SID
Destination Address “Shift-and-Forward”
1 7
5 6
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
SRv6 Micro-SID
Destination Address “Shift-and-Forward”
1 7
5 6
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
SRv6 Micro-SID
Destination Address “Shift-and-Forward”
1 7
5 6
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
SRv6 Micro-SID
Destination Address “Shift-and-Forward”
1 7
5 6
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
SRv6 Micro-SID
VRF LPM Table Lookup and Forward
8B TLV 16B IPv6 Src Addr 16B IPv6 Dst Addr Inner IP and Payload
FC00:0000:7777:E009:0000:0000:0000:0000
LPM on /64
MATCH Action
FC00:0000:7777:E009 UDT4
8B TLV 16B IPv6 Src Addr 16B IPv6 Dst Addr Inner IP and Payload
FC00:0000:7777:E006:0000:0000:0000:0000
LPM on /64
MATCH Action
FC00:0000:7777:E006 UDT4
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
SRv6 Use Cases
• TE for Network Optimization
Note: These use cases can operate over an existing IPv6 domain!
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
Lab Exercise 2:
Configure SRv6
Lab Exercise #2
Time: 25m
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
Lab Exercise 3:
BGP-LU over SR-MPLS
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
SRv6 L3VPN
SRv6-TE
SRv6 L3VPN VRF Blue
VRF Green
SRv6 L3VPN
• MP-BGP Control Plane operates just like
MPLS VPN
• Exchange VPN prefixes over IPv6 peering
* https://www.segment-routing.net/tutorials/2017-03-06-segment-routing-traffic-engineering-srte/
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 38
SRv6 L3VPN
Default forwarding: traffic takes the IGP best path
1 7
Interface in VRF
“radish”
5 6
VPNv4
PE Locator “Label”
outer IPv6
customer customer customer
packet packet packet
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
SRv6 L3VPN + TE Steering
Steering policy defines the path traffic will take
1 7
5 6
VPNv4
Micro-SIDs “Label”
outer IPv6
customer customer customer
packet packet packet
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
“Coffee You Need,
Or Lab You will Fail.”
Lab Exercise 4:
SRv6 L3VPN and SRv6-TE
for L3VPN
Lab Exercise #4
Time: 30m
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
Project Jalapeño
Jalapeño: Re-Thinking SDN
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
Jalapeño Software Stack
• Combination of existing
Open-source projects and
Cisco code contributions
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 46
Jalapeño – Topology Modeling
SDN All about telemetry, databases, and APIs
Amsterdam Rome ArangoDB
GoBMP Kafka Topology
API
Processor
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 47
Lab Exercise 5:
Install Jalapeño and Config BMP
Lab Exercise #5
Time: 20m
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 49
Lab Exercise 6:
Jalapeño: Explore Kafka and ArangoDB
Lab Exercise #6
Time: 30m
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 51
Host-Based SR/SRv6
Routers vs. Compute
What do Routers do well? What does Compute do well?
• Efficiently forward a great deal of traffic • Lots of infrastructure and tooling to express and
• Execute limited policy sets at high speed understand application requirements
• Flexible policy execution and scale
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 53
Host-Based SR or SRv6 Implementations Reference
Lab 7
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 54
Lab Exercise 7:
Host-Based SR/SRv6
Lab Exercise #7
Time: 25m
AMS/Rome VM
Conclusion
The Big Picture
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 58
Resources Reference
• Jalapeño: https://github.com/cisco-open/jalapeno
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 59
Related Cisco Live Sessions Reference
LTRSPG-2212 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 60
Thank you