Documente Academic
Documente Profesional
Documente Cultură
Introduction to
Segment Routing
Vinit Jain
+ Technical Leader, Services
++ { CCIE# 22854 }
++ { Twitter - @vinugenie }
BRKRST-2124
#CLUS
Agenda
• Introduction
• Technology Overview
• SRGB
• LDP to SR Migration
• Control Plane & Data Plane
• Traffic Protection
• Traffic Engineering
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 3
Cisco Webex Teams
Questions?
Use Cisco Webex Teams (formerly Cisco Spark)
to chat with the speaker after the session
How
1 Find this session in the Cisco Events App
2 Click “Join the Discussion”
3 Install Webex Teams or go directly to the team space
4 Enter messages/questions in the team space
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 4
SP Disruption: Complexity vs. Value
Application / Service /
Customization
OSI Reference Revenues, Stickiness
Value
Session
Transport
Network
Data-Link The complexity should
Physical Complexity be where the ROI is best
Complex Network
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
Infrastructure Simplification
and Convergence Areas
Transformation
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
Challenges of Todays Service Creation
Limited Cross-domain Automation
Aggregation
Ethernet MPLS IP
Access
Centralized Delivery
of Services
HW Appliances
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
Unified “Stateless Fabric” for Service Creation
Controller
Cloud Scale Networking
Central Office
Access
Metro Network Core and Peering Network Network Data Center
VNF
Segment Routing
VNF
Unified underlay and overlay E2E Cross-domain automation Transform the CO into a data center
networks with segment with model-driven programmability to enable distributed service delivery
routing and EVPN and streaming telemetry and speed up service creation
Simplify Automate Virtualize
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
Network Transport Evolution
Simplify - Optimize - Enable
Unified MPLS SR
Service Enabled Transport
Protocol
s
BGP-EVPN
Transpor IGP/SR
t
Protocol IP
s
Control Plane
Routing protocols with
Explicit path extensions SDN controller
(IS-IS,OSPF, BGP)
Data Plane
MPLS IPv6
(segment labels) (+SR header)
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
Segment Routing
• Source Routing
• the source chooses a path and encodes it in the packet header as an ordered list of segments
• the rest of the network executes the encoded instructions
• Segment: an identifier for any type of instruction
• forwarding or service
• This presentation: IGP-based forwarding construct
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
Segment Routing
• Source Routing: the source chooses a path and encodes it in the 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
Segment = Instructions such as
"go to node N using the shortest path"
• Local value or Global Index
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
Segment Routing
Evolve MPLS with Segment Routing
Mission – Route the luggage to Berlin
via Mexico and Madrid
Segment Routing
London
Toronto 1. A unique and global luggage tag
Seattle Berlin is attached to the luggage with
the list of stops to the final
New-York Madrid destination
Mexico
MEX 2. At each stop, the luggage is simply
routed to the next hop listed on the
MAD luggage tag
BER
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
Segment Routing – Forwarding Plane
• MPLS: an ordered list of segments is represented as a stack of
labels
• IPv6: an ordered list of segments is encoded in a routing extension
header
• This presentation: MPLS data plane
• Segment → Label
• Basic building blocks distributed by the IGP or BGP
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
IGP segments
• Two basic building blocks distributed by IGP
• Prefix Segments
• Adjacency Segments
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
IGP Prefix Segment
16005
• Distributed by ISIS/OSPF
3 4
16005
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
IGP Prefix Segment
16004
16004
All nodes use default SRGB
16,000 – 23,999
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
IGP Adjacency Segment
• Forward on the IGP adjacency
• Local Segment 1 2
• Advertised as label value
• Distributed by ISIS/OSPF Adj to 2
5
24042
Adj to 5
3 4 24045
24043
Adj to 3
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
All nodes use default SRGB
16,000 – 23,999
Combining IGP Segments 16004
24045
Packet to 5
• Steer traffic on any path through
the network 1 2
• Path is specified by a stack of
labels
5
• No path is signaled 24045
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
Segment Routing – 3 Segments Example
PHP
• Source routing – ordered list of segments
3000 • Stack of MPLS labels
1900 1900 • IPv6 Routing Extension
1700 1700 • MPLS labels are advertised by the IGP
Global label • Simplicity
3000
A B C D
1700
segment 1 Global label
segment 2 I
1700
E F G H
Adjacency
1700 segment 3
label 1900
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
Segment Routing Global Block (SRGB)
Segment Routing Global Block (SRGB)
• SRGB allocation based on Segment Routing Configuration
• Default Range SRGB is 16000-23999
• Dynamic Range starts at 16
• If some labels are in use in the requested range SR_APP will periodically keep retrying
to reserve the range
• SR is disabled until range is reserved successfully
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
Segment Routing Global Block (SRGB)
IOS-XE
ONE(config)#segment-routing mpls Configure a non-default SRGB
ONE(config-srmpls)#global-block 18000 19999 18,000 – 19,999
ONE(config-srmpls)#
Note “mpls” keyword. All config related to MPLS encap (for V4 or V6). In the
future “ipv6 encap” may be available.
IOS-XR
RP/0/0/CPU0:XR-1(config)#segment-routing
RP/0/0/CPU0:XR-1(config-sr)#global-block 18000 19999
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
Show commands for segment routing
nevada#show segment-routing mpls gb
LABEL-MIN LABEL_MAX STATE DEFAULT
20000 20799 ENABLED No
segment-routing mpls
global-block 1000 2000
!
connected-prefix-sid-map
address-family ipv4
10.100.1.3/32 index 3 range 1
10.100.1.99/32 index 500 range 1
10.100.100.0/32 index 600 range 100
exit-address-family
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
Segment Routing Global Block (SRGB)
4 3 2 1
… … …
1,048,575 1,048,575 1,048,575
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
Recommended SRGB allocation
1.1.1.1/32, Prefix Segment index 1
4 3 2 1
SRGB
SRGB
SRGB
…
16,001 Idx 1 …
16,001 Idx 1 16,001
… Idx 1
… … … … … …
23,999 Idx 7,999 23,999 Idx 7,999 23,999 Idx 7,999
24,000 24,000 24,000
… … …
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
Recommended SRGB allocation
1.1.1.1/32, Prefix Segment index 1
4 3 2 1
SRGB
SRGB
SRGB
…
16,001 Idx 1 …
16,001 Idx 1 16,001
… Idx 1
… … … … … …
23,999 Idx 7,999 23,999 Idx 7,999 23,999 Idx 7,999
24,000 24,000 24,000
… … …
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
Not recommended, but possible SRGB allocation
1.1.1.1/32, Prefix Segment index 1
4 3 2 1
SRGB
SRGB
… … … … …
… … … …
23,999 Idx 7,999 23,999 Idx 7,999
24,000 … 24,000
… 533,334 …
533,335 Idx 0
Non-recommended SRGB … …
SRGB allocation: … …
541,334 Idx 7,999
Different SRGBs 541,335
… … …
1,048,575 1,048,575 1,048,575
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
Not recommended, but possible SRGB allocation
1.1.1.1/32, Prefix Segment index 1
4 3 2 1
SRGB
SRGB
…
16,001 Idx 1 … 16,001
… Idx 1
… … … …
23,999 Idx 7,999 23,999 Idx 7,999
24,000 … 24,000
… 533,334 …
533,335 Idx 0
SRGB 533,336 Idx 1
… …
541,334 Idx 7,999
541,335
… … …
1,048,575 1,048,575 1,048,575
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
LDP-SR Migration
Assumptions:
• all the nodes can be upgraded to SR
3 4
LDP LDP
1 LDP 2
5 6
LDP LDP
LDP Domain
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
Assumptions:
• all the nodes can be upgraded to SR
5 6
SR+LDP SR+LDP
SR+LDP Domain
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
Assumptions:
• all the nodes can be upgraded to SR
SR+LDP Domain
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
Assumptions:
• all the nodes can be upgraded to SR
SRGB: 16000-23999
IOS-XE
XE-2(config)#segment-routing mpls
XE-2(config-srmpls)#connected-prefix-sid-map
XE-2(config-srmpls-conn)#address-family ipv4
XE-2(config-srmpls-conn-af)#2.2.2.2/32 absolute 16002 range 1
XE-2(config-srmpls-conn-af)#exit
XE-2(config-srmpls-conn)#exit
XE-2(config-srmpls)#exit
XE-2(config)#router isis SR-AS-1
XE-2(config-router)#segment-routing mpls
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
Segment Routing - Control Plane & Data
Plane
MPLS Control and Forwarding Operation with Segment
Routing
Services
MP-BGP
No changes to
IPv4 IPv6
IPv4 IPv6 VPWS VPLS control or
PE1 PE2 VPN VPN
forwarding plane
Packet
Transport LDP RSVP Static BGP IS-IS OSPF IGP or BGP label
distribution for
PE1 IGP PE2
IPv4 and IPv6.
MPLS Forwarding
Forwarding plane
remains the same
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
SR enabled node
SID Encoding
SRGB = [ 16,000 – 23,999 ] – Advertised as base = 16,000, range = 8,000
Prefix SID = 16,001 – Advertised as Prefix SID Index = 1
Adjacency SID = 24000 – Advertised as Adjacency SID = 24000
• Prefix SID
• Label form SR Global Block (SRGB)
• SRGB advertised within IGP via TLV
• In the configuration, Prefix-SID can be configured as an absolute value or an index
• In the protocol advertisement, Prefix-SID is always encoded as a globally unique index
Index represents an offset from SRGB base, zero-based numbering, i.e. 0 is 1st index
E.g. index 1 SID is 16,000 + 1 = 16,001
• Adjacency SID
• Locally significant
• Automatically allocated by the IGP for each adjacency
• Always encoded as an absolute (i.e. not indexed) value
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
SR IS-IS Control Plane Summary
• IPv4 and IPv6 control plane
• Level 1, level 2 and multi-level routing
• Prefix Segment ID (Prefix-SID) for host prefixes on loopback
interfaces
• Adjacency Segment IDs (Adj-SIDs) for adjacencies
• Prefix-to-SID mapping advertisements (mapping server)
• MPLS penultimate hop popping (PHP) and explicit-null signaling
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 44
SID index 1
1.1.1.2 1.1.1.1
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
SR OSPF Control Plane Summary
• OSPFv2 control plane
• Multi-area
• IPv4 Prefix Segment ID (Prefix-SID) for host prefixes on loopback
interfaces
• Adjacency Segment ID (Adj-SIDs) for adjacencies
• Prefix-to-SID mapping advertisements (mapping server)
• MPLS penultimate hop popping (PHP) and explicit-null signaling
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 46
SID index 1
1.1.1.2 1.1.1.1 1.1.1.4
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 47
MPLS Data Plane Operation (labeled)
Prefix SID Adjacency SID
Adjacency
SID = X
Swap Pop
X
X X Y Y
• Packet forwarded along IGP shortest path (ECMP) Packet forwarded along IGP adjacency
• Swap operation performed on input label Pop operation performed on input label
• Same top label if same/similar SRGB
Top labels will likely differ
• PHP if signaled by egress LSR
Penultimate hop always pops last adjacency SID
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
MPLS Data Plane Operation (Prefix SID)
SRGB [16,000 – 23,999 ] SRGB [16,000 – 23,999 ] SRGB [16,000 – 23,999 ] SRGB [16,000 – 23,999 ]
A B C D Loopback X.X.X.X
Prefix SID Index = 41
16041 16041
VPN Label VPN Label VPN Label
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 49
MPLS Data Plane Operation (Adjacency SIDs)
SRGB [16,000 – 23,999 ] SRGB [16,000 – 23,999 ] SRGB [16,000 – 23,999 ] SRGB [16,000 – 23,999 ]
A B X D Loopback X.X.X.X
Adjacency Prefix SID Index = 41
SID = 30206
Push Pop Pop Pop
Push
Push
30206
16041 16041
VPN Label VPN Label VPN Label
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 50
Traffic Protection
Topology Independent LFA (TI-LFA) – Benefits
• 100%-coverage 50-msec link, node, and SRLG protection
• Simple to operate and understand
• automatically computed by the IGP
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 52
TI-LFA – Zero-Segment Example
• TI-LFA for link R1R2 on R1 prefix-SID(Z) A Z
Packet to Z
• Calculate post-convergence SPT
• SPT with link R1R2 removed from 1 2
topology
1000
• Derive SID-list to steer traffic on Packet to Z
post-convergence path prefix-SID(Z) 5
Packet to Z
• R1 will steer the traffic towards
LFA R5 4 3
Default metric: 10
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 53
TI-LFA – Single-Segment Example
• TI-LFA for link R1R2 on R1 prefix-SID(Z) A Z
Packet to Z
• Calculate post-convergence Packet to Z
SPT 1 2
• Derive SID-list to steer traffic
on post-convergence path prefix-SID(R4)
<Prefix-SID(R4)> prefix-SID(Z) 5
prefix-SID(Z)
• Also known as “PQ-node” Packet to Z
Packet to Z
• R1 will push the prefix-SID 4 3
of R4 on the backup path
Default metric:10
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 54
TI-LFA – Double-Segment Example
A Z
prefix-SID(Z)
• TI-LFA for link R1R2 on R1 Packet to Z Packet to Z
IOS-XE
router isis SR-AS-1
fast-reroute ti-lfa level-2
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 56
TI-LFA Backup Coverage
IOS-XR
RP/0/0/CPU0:XR-1#show isis fast-reroute summary
IS-IS SR-AS-1 IPv4 Unicast FRR summary
Critical High Medium Low Total
Priority Priority Priority Priority
Prefixes reachable in L2
All paths protected 0 0 4 8 12
Some paths protected 0 0 0 0 0
Unprotected 0 0 0 0 0
Protection coverage 0.00% 0.00% 100.00% 100.00% 100.00%
IOS-XE
XE-2#show isis fast-reroute summary
Tag SR-AS-1:
Microloop Avoidance State: Enabled for protected
Segment-Routing Microloop Avoidance State: Disabled
IPv4 Fast-Reroute Protection Summary:
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 57
SRTE
Traffic Engineering with Segment Routing
• Source-Based routing – State only at
ingress PE Segment
Routing
• Supports constraint-based routing
• Supports centralized admission control
• Uses existing ISIS / OSPF extensions to
advertise link attributes
• No RSVP-TE to establish LSPs
• Supports ECMP
TE LSP
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 59
MPLS LFIB with Segment Routing
• LFIB populated by IGP (ISIS / PE PE
OSPF) PE PE
of number of paths
In Out Out
Label Label Interface
L1 L1 Intf1
Network
Node L2 L2 Intf1 Forwarding
Segment Ids … … … table remains
L8 L8 Intf4 constant
L9 L9 Intf2
Node L10 Pop Intf2
Adjacency … … …
Segment Ids
Ln Pop Intf5
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 60
Binding SID
• Binding Segment is a fundamental building block of
SRTE
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 61
Binding SID
2 • Binding Segment is a fundamental building block of
SRTE
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 62
SR-TE Use Cases
segment-routing
Node1
Low- Delay path
traffic-eng
policy POLICY1
color 20 end-point ipv4 1.1.1.3
Use-Case D:1500
I:10
D:1500
I:10 candidate-paths
1 2 3 preference 100
D:800 dynamic mpls
SID-list: <16005, 16004, 16003> I:10 metric
D:800 D:800 type delay
I:10 I:10
5 4
D:2200
I:10
D:2000
I:10
6
• Head-end computes a SID-list that expresses the shortest-path according to the selected
metric delay
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 64
Link Delay Measurement Protocol
(phase1) One Way Delay = (T2 – T1)
PTP
(future) Two-Way Delay
•
• Accurate time-stamp
TX Timestamp T1 RX Timestamp T2
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 65
Different VPNs need different underlay SLA
I: 50
2 4
1 CE Basic VPN should
D: 15
use lowest cost
6 5 underlay path
IGP cost 30
Default IGP cost: I:10 Objective:
Default Delay cost: D:10
operationalize this
service for
TE cost 20
I: 50
simplicity, scale
2 4 and performance
Premium VPN
1 CE should use lowest
D: 15 delay path
6 5
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 67
Automated performant steering
➐➑ ➌ BGP: 20/8 via PE4
FIB table at PE1 VPN-LABEL: 99999
Low-latency (color 20) ➋ BGP: 20/8 via PE4
BGP: 20/8 via 4001 RR VPN-LABEL: 99999
SRTE: 4001: Push <16002, 30204> Low-latency (color 20)
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 68
SR-TE Use Cases
Inter domain
connectivity with SLA
Crossing the AS border: BGP Peering Segment
AS1 30024 AS6
2 4 6.1.1.6/32
30024 18006
18006
1 10 11 pkt 6
pkt
16002 pkt
30024 3 5
18006
pkt
Service Y
Service
w/ SLA
Configuration PCE
Latency
Request PCE to compute path to A9
with SLA X Get back SID-list Real Time
Topology feed via
Configuration of SR Policy Delegation to the BGP-LS
to Node 1 with SLA Latency PCE for reopt.
segment-routing
traffic-eng 1 2 3 4 5 6 7 8 9
policy POL1
end-point 9.9.9.9 color 20 T1’
path 21 22 23
preference 100
dynamic mpls pce 11 12 13 14 15 16 17 18 19
metric
type latency
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 71
XR Transport Controller
• XTC is an IOS XR multi-domain stateful SR Path Computation Element (PCE)
• Fundamentally Distributed (RR-like Deployment)
• Supports RSVP-TE
On XTC:
pce
address ipv4 1.1.1.3
XTC !
Peering
On PE:
links
pcc
pce
!
address ipv4 1.1.1.3 BR2 BR4 BR6 Z
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 72
XTC Receives & Consolidates Multiple Topologies
Each domain feeds its
Domain1 Domain2 Domain3
•
topology to XTC via BGP-LS
A BR1 BR1 BR3 BR3 BR5 BR5
Peering
links
BR2 BR4 BR6 Z
BGP-LS
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 73
Service Disjointness segment-routing
Node1
traffic-eng
policy POLICY1
Intra and inter domain color 20 end-point ipv4 1.1.1.3
candidate-paths
preference 100
XTC XTC dynamic mpls pce
metric
type igp
SID-list:
1 I:100
2 I:100
3 association group 1 type node
Node6
traffic-eng
5 4
7 policy POLICY2
color 20 end-point ipv4 1.1.1.8
candidate-paths
preference 100
SID-list:
6 I:100
7 I:100
8 dynamic mpls pce
metric
{16007, 16008} type igp
Default IGP link metric: I:10 association group 1 type node
• Two dynamic paths between two different pairs of (head-end, end-point) must be disjoint
from each other
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 74
Path Computation
Distributed or Centralized ?
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 75
SR-TE
• Simple, Automated and Scalable
• No state in the network: state in the packet header
• No tunnel interface: “SR Policy”
• No head-end a-priori configuration: on-demand policy instantiation
• No head-end a-priori steering: automated steering
• Multi-Domain
• XR Traffic Controller (XTC) for compute
• Lots of Functionality and flexibility
• Designed with lead operators along their use-cases
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 76
Stay Up-To-Date
amzn.com/B01I58LSUO
segment-routing.net
linkedin.com/groups/8266623
twitter.com/SegmentRouting
facebook.com/SegmentRouting/
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 77
Complete your online session evaluation
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 78
Continue
your Demos in
the Cisco
Walk-in
self-paced
Meet the
engineer
Related
sessions
education campus labs 1:1
meetings
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 79
Thank you
#CLUS
#CLUS
Reference Slides
ODN
XTC Building Blocks
WAE Custom app
REST API
Native SR
Multi-Domain algorithms
Topology
Topo
Compute
DB
XTC runs on
virtual or physical
IOS-XR node
Collect Deploy
IGP PCEP
BGP-LS
BGP
Dynamic BGP Traffic Engineering (BGP-TE)
Headend must have global auto tunnel configuration
Headend must have an attribute-list for TE specific configurations
Step 1:
Step 2: Setting Community Attribute:
Matching community Attribute: Route-map matches Route-map matches customer prefix
community attribute and sets attribute-list for the and sets unique community
NLRI
L3VPN
Headend Tailend
Customer traffic in VRF
Midpoint
Step 3:
Attribute-list Configuration- Has the tunnel
related configurations
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 85
ODN Workflow
BGP VPNv4
BGP RR BGP RR
BGP VPNv4
• Routes tagged with a user-defined COLOR to BGP VPNv4
BGP color comm.
“gold”
convey SLA requirements
• VPN routes propagated via BGP
BGP color comm.
BGP “gold” Y/24
XR-1 XR-3 XR-5 XE-7
1.1.1.1 3.3.3.3 5.5.5.5 7.7.7.7
XE-8 XR-9
8.8.8.8 9.9.9.9
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 86
ODN Workflow
• Ingress PE matches on user-specified BGP “color” community
XTC-A
SRTE • Ingress PE enforces a “template” associated with the color community
SR PCE
On-demand color “gold”
contact PCE
request path to BGP NH
minimize TE metric
Need a path to node (9)?
Minimizing TE metric
PCReq
BGP XE-7
XR-1 XR-3 XR-5
1.1.1.1 3.3.3.3 5.5.5.5 7.7.7.7
XE-8 XR-9
8.8.8.8 9.9.9.9
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 87
PCEP
XTC-A XTC-B
SR PCE SR PCE
PCEP
PCEP
BGP XE-7
XR-1 XR-3 XR-5
1.1.1.1 3.3.3.3 5.5.5.5 7.7.7.7
XE-8 XR-9
8.8.8.8 9.9.9.9
#CLUS BRKRST-2124 © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 88
PCE
XTC
RP/0/0/CPU0:XTC-A(config)# pce
RP/0/0/CPU0:XTC-A(config-pce)# address ipv4 11.11.11.11
XR-1
RP/0/0/CPU0:XR-1(config)#segment-routing
RP/0/0/CPU0:XR-1(config-sr)# traffic-eng
RP/0/0/CPU0:XR-1(config-sr-te)# pcc
RP/0/0/CPU0:XR-1(config-sr-te-pcc)# source-address ipv4 1.1.1.1
RP/0/0/CPU0:XR-1(config-sr-te-pcc)# pce address ipv4 11.11.11.11
RP/0/0/CPU0:XR-1(config-pcc-pce)# !
RP/0/0/CPU0:XR-1(config-pcc-pce)# report-all
RP/0/0/CPU0:XR-1(config-sr-te-pcc)# maximum-sid-depth 5
PCE
XR-1
RP/0/0/CPU0:XR-1#show segment-routing traffic-eng pcc ipv4 peer brief
Address Precedence State Learned From
-------------------- ------------ ------------ ---------------
11.11.11.11 255 up config