0% found this document useful (0 votes)
169 views129 pages

Cisco Live Introduction To SRv6 uSID Technology-2

Uploaded by

wang wilson
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
169 views129 pages

Cisco Live Introduction To SRv6 uSID Technology-2

Uploaded by

wang wilson
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 129

Introduction to

SRv6 uSID Technology

Jakub Horn, Principal Technical Marketing Engineer

BRKSPG-2203
• SRv6 DataPlane
• SRv6 Network Programming
• SRv6 Control Plane

Agenda • Addressing Plan for SRv6


• MPLS to SRv6 Migration

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 3
Understanding Today’s Service Creation
Limited Cross-domain Automation, Cumbersome Service Assurance

Legacy Central Office


Complex E2E Quality of Service (QoS)
Metro Network Domain Core Network Domain Data Center Domain

L2VPN L3VPN VXLAN VNF VNF

Aggregation

Ethernet MPLS IP
Access
Centralized Services Delivery
Hardware
Appliances

End-to-end service provisioning is lengthy and complex


• Multiple network domains under different management teams
• Manual operations
• Heterogeneous underlay and overlay networks

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 4
SR-MPLS: SDN ready
“Network as a Fabric” for Service Creation
Homogenous Cross-domain Automation & Assurance

SDN
Control
Cloud Scale Networking
Central Office
SDN SDN SDN
Access Metro Network Domain Core Network Domain Data Center Domain

VPN L2/L3

Aggregation

Segment Routing

Centralized Services Delivery


Compute Leaf Spine

End-to-end service provisioning is simple


• Multiple network domains under same management teams
• Automated operations
• Homogenous underlay and overlay networks

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
SR-MPLS: SDN ready
“Network as a Fabric” for Service Creation
Homogenous Cross-domain Automation & Assurance

SDN
Control
Cloud Scale Networking
Central Office
SDN SDN SDN
Access Metro Network Domain Core Network Domain Data Center Domain

VPN L2/L3 VNF VNF

Aggregation
VNF
Segment Routing
VNF
Centralized Services Delivery
Compute Leaf Spine

End-to-end service provisioning is simple


• Multiple network domains under same management teams
• Automated operations
• Homogenous underlay and overlay networks

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
SRv6: SDN, NfV, 5G ready
“Network as an API” for Service Creation
Homogenous Cross-domain Automation & Assurance

SDN
Control
Cloud Scale Networking
Central Office
SDN SDN SDN
Access Metro Network Domain Core Network Domain Data Center Domain

Segment Routing v6 (transport, services and programmability)


Aggregation

Centralized Services Delivery


Compute Leaf Spine

End-to-end service provisioning is integrated with NfV, SDN


• Multiple network domains under same management teams
• Automated operations
• Integrated underlay and overlay networks (NfV)
• Network as API (NfV)
• Hyper Scale (5G)
BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
SRv6: SDN, NfV, 5G ready
“Network as an API” for Service Creation
Homogenous Cross-domain Automation & Assurance

SDN
Control
Cloud Scale Networking
Central Office
SDN SDN SDN
Access Metro Network Domain Core Network Domain Data Center Domain

Segment Routing v6 (transport, services and programmability) VNF VNF

Aggregation
VNF

VNF
Centralized Services Delivery
Compute Leaf Spine

End-to-end service provisioning is integrated with NfV, SDN


• Multiple network domains under same management teams
• Automated operations
• Integrated underlay and overlay networks (NfV)
• Network as API (NfV)
• Hyper Scale (5G)
BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
SRv6 Dataplane
ver tc flow label
SRv6 payload length next header hop limit

IPv6 Header
source address

• IPv6 Header destination address

• Destination IP address

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
ver tc flow label
SRv6 payload length next header hop limit

IPv6 Header
source address

• IPv6 Header destination address

• Destination IP address

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
ver tc flow label
SRv6 payload length 6
next header hop limit

IPv6 Header
source address

• IPv6 Header destination address

• Destination IP address source port destination port


sequence number

TCP Header
• Next header field:
acknowledgment number
• TCP, UDP, ICMP.... hlen reserved code bits window
checksum urgent
options

TCP data

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
ver tc flow label
SRv6 payload length 4
6
next header hop limit

IPv6 Header
source address

• IPv6 Header destination address

• Destination IP address ver hl tos length


id flags fragment offset
• Next header field:
ttl protocol header checksum
• TCP, UDP, ICMP.... source IP address
• IPv4, IPv6 destination IP address

IP Packet
IP data

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
ver tc flow label
SRv6 payload length 4
6
next143
header hop limit

IPv6 Header
source address

• IPv6 Header destination address

• Destination IP address destination MAC


destination MAC source MAC
• Next header field:
source MAC
• TCP, UDP, ICMP.... ether type
• IPv4, IPv6, L2

L2 Frame
L2 Payload

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
SID Structure -Locator
128 Bits Like IPv6 address but different semantics

1111:2222:3333:4444:5555:6666:7777:8888
Locator Function

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
SRv6 Full SID

S R R1 R2 R3 R4
BGP:2001:db8:0:4:eeee::

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
SRv6 Full SID

S R R1 R2 R3 R4
BGP:2001:db8:0:4:eeee::
SA:2001::1
DA:2001:db8:0:1:1::
NH:RH
Type:4(SRH)
NH:IPv4|SL:3
Segment List:
[0]:2001:db8:0:4:eeee::
[1]:2001:db8:0:3:48::
[2]:2001:db8:0:2:1::
[3]:2001:db8:0:1:1::

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
SRv6 Full SID

S R R1 R2 R3 R4
BGP:2001:db8:0:4:eeee::
SA:2001::1 SA:2001::1
DA:2001:db8:0:1:1:: DA:2001:db8:0:2:1::
NH:RH NH:RH
Type:4(SRH) Type:4(SRH)
NH:IPv4|SL:3 NH:IPv4|SL:2
Segment List: Segment List:
[0]:2001:db8:0:4:eeee:: [0]:2001:db8:0:4:eeee::
[1]:2001:db8:0:3:48:: [1]:2001:db8:0:3:48::
[2]:2001:db8:0:2:1:: [2]:2001:db8:0:2:1::
[3]:2001:db8:0:1:1:: [3]:2001:db8:0:1:1::

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
SRv6 Full SID

S R R1 R2 R3 R4
BGP:2001:db8:0:4:eeee::
SA:2001::1 SA:2001::1 SA:2001::1
DA:2001:db8:0:1:1:: DA:2001:db8:0:2:1:: DA:2001:db8:0:3:48::
NH:RH NH:RH NH:RH
Type:4(SRH) Type:4(SRH) Type:4(SRH)
NH:IPv4|SL:3 NH:IPv4|SL:2 NH:IPv4|SL:1
Segment List: Segment List: Segment List:
[0]:2001:db8:0:4:eeee:: [0]:2001:db8:0:4:eeee:: [0]:2001:db8:0:4:eeee::
[1]:2001:db8:0:3:48:: [1]:2001:db8:0:3:48:: [1]:2001:db8:0:3:48::
[2]:2001:db8:0:2:1:: [2]:2001:db8:0:2:1:: [2]:2001:db8:0:2:1::
[3]:2001:db8:0:1:1:: [3]:2001:db8:0:1:1:: [3]:2001:db8:0:1:1::

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
SRv6 Full SID

S R R1 R2 R3 R4
BGP:2001:db8:0:4:eeee::
SA:2001::1 SA:2001::1 SA:2001::1
DA:2001:db8:0:1:1:: DA:2001:db8:0:2:1:: DA:2001:db8:0:3:48::
NH:RH NH:RH NH:RH SA:2001::1
DA:2001:db8:0:4:eeee::
Type:4(SRH) Type:4(SRH) Type:4(SRH)
NH:IPv4
NH:IPv4|SL:3 NH:IPv4|SL:2 NH:IPv4|SL:1
Segment List: Segment List: Segment List:
[0]:2001:db8:0:4:eeee:: [0]:2001:db8:0:4:eeee:: [0]:2001:db8:0:4:eeee::
[1]:2001:db8:0:3:48:: [1]:2001:db8:0:3:48:: [1]:2001:db8:0:3:48::
[2]:2001:db8:0:2:1:: [2]:2001:db8:0:2:1:: [2]:2001:db8:0:2:1::
[3]:2001:db8:0:1:1:: [3]:2001:db8:0:1:1:: [3]:2001:db8:0:1:1::

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
SID Structure
128 Bits Like IPv6 address but different semantics

1111:2222:3333:4444:5555:6666:7777:8888
Locator Function

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
SID Structure
128 Bits Like IPv6 address but different semantics

1111:2222:3333:4444:5555:6666:7777:8888
Locator Function

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
SID Structure
128 Bits Like IPv6 address but different semantics

1111:2222:3333:4444:5555:6666:7777:8888
Locator Function

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
SID Structure
128 Bits Like IPv6 address but different semantics

1111:2222:3333:4444:5555:6666:7777:8888
Locator Function

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
SID Structure
128 Bits Like IPv6 address but different semantics

1111:2222:3333:4444:5555:6666:7777:8888
Locator Function Padding

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
SID Structure
128 Bits Like IPv6 address but different semantics

1111:2222:3333:4444:5555:6666:7777:8888
Locator Function Padding

Block

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
SID Structure
128 Bits Like IPv6 address but different semantics

1111:2222:3333:4444:5555:6666:7777:8888
Locator Function Padding

Block Node
ID

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
SID Structure
128 Bits Like IPv6 address but different semantics

1111:2222:3333:4444:5555:6666:7777:8888
Locator Function Padding

Block Node
Function
ID

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
SID Structure
128 Bits Like IPv6 address but different semantics

1111:2222:3333:4444:5555:6666:7777:8888
Locator Function Padding

Block Node
Function Argument
ID

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
SID Structure
128 Bits Like IPv6 address but different semantics

1111:2222:3333:4444:5555:6666:7777:8888
Locator Function Padding

Block Node
Function Argument Padding
ID

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
SID Structure
128 Bits Like IPv6 address but different semantics

1111:2222:3333:4444:5555:6666:7777:8888
Locator Function Padding

Block Node
Function Padding
ID

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
SRv6 uSID format SRV6 Encapsulation
SA:2001::1
DA:2001:db8:0:4:1:0:0:0
NH:RH

Type:4(SRH)
NH:IPv4|SL:1
Segment List:
[0]: 2001:db8:0:5:45:0:0:0
[1]: 2001:db8:0:4:1:0:0:0
[2]: 2001:db8:0:3:48:0:0:0
[3]: 2001:db8:0:2:1:0:0:0
[4]: 2001:db8:0:1:42:0:0:0

SA:7.5.4.3
DA:11.6.19.71
Port:UDP

UDP Header/Data

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
SRv6 uSID format SRV6 Encapsulation
SA:2001::1
DA:2001:db8:0:4:1:0:0:0
NH:RH

: 0100 : =SRV6 uSID Type:4(SRH)


NH:IPv4|SL:1
Segment List:
[0]: 2001:db8:0:5:45:0:0:0

16 bits here, but can be anything [1]: 2001:db8:0:4:1:0:0:0


[2]: 2001:db8:0:3:48:0:0:0
[3]: 2001:db8:0:2:1:0:0:0
[4]: 2001:db8:0:1:42:0:0:0

SA:7.5.4.3
DA:11.6.19.71
SRV6 uSID Container Port:UDP

UDP Header/Data

2001 :0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0000

SRv6 uSID uSID uSID uSID uSID uSID EoC


Block 1 2 3 4 5 6
32 bits here,
but can be anything
BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
SRv6 uSID format SRV6 Encapsulation
SA:2001::1
DA:2001:db8:0:4:1:0:0:0
NH:RH

: 0100 : =SRV6 uSID Type:4(SRH)


NH:IPv4|SL:1
Segment List:
[0]: 2001:db8:0:5:45:0:0:0

16 bits here, but can be anything [1]: 2001:db8:0:4:1:0:0:0


[2]: 2001:db8:0:3:48:0:0:0
[3]: 2001:db8:0:2:1:0:0:0
[4]: 2001:db8:0:1:42:0:0:0

SA:7.5.4.3
DA:11.6.19.71
SRV6 uSID Container Port:UDP

UDP Header/Data

2001 :0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0000


SRV6 uSID Encapsulation
SRv6 uSID uSID uSID uSID uSID uSID EoC SA:2001::1
DA:2001:db8:100:200:300:400:500::
Block 1 2 3 4 5 6 NH:IPv4

SA:7.5.4.3
32 bits here, DA:11.6.19.71
Port:UDP

but can be anything UDP Header/Data

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
SRv6 uSID F3216

S R R1 R2 R3 R4
BGP:2001:db8:4:eeee::

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
SRv6 uSID F3216

S R R1 R2 R3 R4
BGP:2001:db8:4:eeee::

SA:2001::1
DA:2001:db8:1:2:3:e000:4:eeee
NH:IPV4

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
SRv6 uSID F3216

S R R1 R2 R3 R4
BGP:2001:db8:4:eeee::

SA:2001::1 SA:2001::1
DA:2001:db8:1:2:3:e000:4:eeee DA:2001:db8:2:3:e000:4:eeee::
NH:IPV4 NH:IPV4

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
SRv6 uSID F3216

S R R1 R2 R3 R4
BGP:2001:db8:4:eeee::

SA:2001::1 SA:2001::1 SA:2001::1


DA:2001:db8:1:2:3:e000:4:eeee DA:2001:db8:2:3:e000:4:eeee:: DA:2001:db8:3:e000:4:eeee::
NH:IPV4 NH:IPV4 NH:IPV4

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
SRv6 uSID F3216

S R R1 R2 R3 R4
BGP:2001:db8:4:eeee::

SA:2001::1 SA:2001::1 SA:2001::1 SA:2001::1


DA:2001:db8:1:2:3:e000:4:eeee DA:2001:db8:2:3:e000:4:eeee:: DA:2001:db8:3:e000:4:eeee:: DA:2001:db8:4:eeee::
NH:IPV4 NH:IPV4 NH:IPV4 NH:IPV4

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
1
SRv6 uSID More Than 6 SIDs?
2

100->200->300->400->500->600->700->800->900->a00->b00 3

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
SRv6 uSID More Than 6 SIDs?
1

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
1
SRv6 uSID More Than 6 SIDs?
2

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5
SA:2001::1
DA:2001:db8:100:200:300:400:500:600 6
NH: RH
7
Type:4(SRH)
NH:IPv4|SL:1 8
Segment List:
[0]: 2001:db8:700:800:900:a00:b00:: 9

SA:7.5.4.3 a
DA:11.6.19.71
Port:UDP b
UDP Header/Data
BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
SRv6 uSID More Than 6 SIDs?
1

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5
SA:2001::1
DA:2001:db8:100:200:300:400:500:600 6
NH: RH
7
Type:4(SRH)
NH:IPv4|SL:1 8
Segment List:
[0]: 2001:db8:700:800:900:a00:b00:: 9

SA:7.5.4.3 a
DA:11.6.19.71
Port:UDP b
UDP Header/Data
BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
SRv6 uSID More Than 6 SIDs?
1

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5
SA:2001::1
DA:2001:db8:200:300:400:500:600:0 6
NH: RH
Type:4(SRH)
Shift & Forward 7

NH:IPv4|SL:1 8
Segment List:
[0]: 2001:db8:700:800:900:a00:b00:: 9

SA:7.5.4.3 a
DA:11.6.19.71
Port:UDP b
UDP Header/Data
BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
SRv6 uSID More Than 6 SIDs?
1

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5
SA:2001::1
DA:2001:db8:200:300:400:500:600:0 6
NH: RH
Type:4(SRH)
Shift & Forward 7

NH:IPv4|SL:1 8
Segment List:
[0]: 2001:db8:700:800:900:a00:b00:: 9

SA:7.5.4.3 a
DA:11.6.19.71
Port:UDP b
UDP Header/Data
BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
SRv6 uSID More Than 6 SIDs?
1

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5
SA:2001::1
DA:2001:db8:300:400:500:600:0:: 6
NH: RH
Type:4(SRH)
Shift & Forward 7

NH:IPv4|SL:1 8
Segment List:
[0]: 2001:db8:700:800:900:a00:b00:: 9

SA:7.5.4.3 a
DA:11.6.19.71
Port:UDP b
UDP Header/Data
BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
SRv6 uSID More Than 6 SIDs?
1

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5
SA:2001::1
DA:2001:db8:300:400:500:600:0:: 6
NH: RH
Type:4(SRH)
Shift & Forward 7

NH:IPv4|SL:1 8
Segment List:
[0]: 2001:db8:700:800:900:a00:b00:: 9

SA:7.5.4.3 a
DA:11.6.19.71
Port:UDP b
UDP Header/Data
BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
SRv6 uSID More Than 6 SIDs?
1

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5
SA:2001::1
DA:2001:db8:400:500:600:0:: 6
NH: RH
Type:4(SRH)
Shift & Forward 7

NH:IPv4|SL:1 8
Segment List:
[0]: 2001:db8:700:800:900:a00:b00:: 9

SA:7.5.4.3 a
DA:11.6.19.71
Port:UDP b
UDP Header/Data
BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
SRv6 uSID More Than 6 SIDs?
1

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5
SA:2001::1
DA:2001:db8:400:500:600:0:: 6
NH: RH
Type:4(SRH)
Shift & Forward 7

NH:IPv4|SL:1 8
Segment List:
[0]: 2001:db8:700:800:900:a00:b00:: 9

SA:7.5.4.3 a
DA:11.6.19.71
Port:UDP b
UDP Header/Data
BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
SRv6 uSID More Than 6 SIDs?
1

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5
SA:2001::1
DA:2001:db8:500:600:0:: 6
NH: RH
Type:4(SRH)
Shift & Forward 7

NH:IPv4|SL:1 8
Segment List:
[0]: 2001:db8:700:800:900:a00:b00:: 9

SA:7.5.4.3 a
DA:11.6.19.71
Port:UDP b
UDP Header/Data
BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
SRv6 uSID More Than 6 SIDs?
1

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5
SA:2001::1
DA:2001:db8:500:600:0:: 6
NH: RH
Type:4(SRH)
Shift & Forward 7

NH:IPv4|SL:1 8
Segment List:
[0]: 2001:db8:700:800:900:a00:b00:: 9

SA:7.5.4.3 a
DA:11.6.19.71
Port:UDP b
UDP Header/Data
BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
SRv6 uSID More Than 6 SIDs?
1

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5
SA:2001::1
DA:2001:db8:600:0:: 6
NH: RH
Type:4(SRH)
Shift & Forward 7

NH:IPv4|SL:1 8
Segment List:
[0]: 2001:db8:700:800:900:a00:b00:: 9

SA:7.5.4.3 a
DA:11.6.19.71
Port:UDP b
UDP Header/Data
BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
1
SRv6 uSID More Than 6 SIDs?
2

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5
SA:2001::1
DA:2001:db8:600:0:: 6
NH: RH
7
Type:4(SRH)
NH:IPv4|SL:1 8
Segment List:
[0]: 2001:db8:700:800:900:a00:b00:: 9

SA:7.5.4.3 a
DA:11.6.19.71
Port:UDP b
UDP Header/Data
BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
SRv6 uSID More Than 6 SIDs?
1

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5
SA:2001::1
DA:2001:db8:600:0:: 6
NH: RH
7
Type:4(SRH)
NH:IPv4|SL:1 END of Container 8
Segment List: -> is there SRH?
[0]: 2001:db8:700:800:900:a00:b00::
Decrement SL 9

SA:7.5.4.3 Copy New SID (Container) a


DA:11.6.19.71 PSP
Port:UDP b
UDP Header/Data
BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
1
SRv6 uSID More Than 6 SIDs?
2

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5
SA:2001::1
DA:2001:db8:600:0:: 6
NH: RH
7
Type:4(SRH)
NH:IPv4|SL:0 END of Container 8
Segment List: -> is there SRH?
[0]: 2001:db8:700:800:900:a00:b00::
Decrement SL 9

SA:7.5.4.3 Copy New SID (Container) a


DA:11.6.19.71 PSP
Port:UDP b
UDP Header/Data
BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
SRv6 uSID More Than 6 SIDs?
1

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5
SA:2001::1
DA:2001:db8:700:800:900:a00:b00:: 6
NH: RH
7
Type:4(SRH)
NH:IPv4|SL:0 END of Container 8
Segment List: -> is there SRH?
[0]: 2001:db8:700:800:900:a00:b00::
Decrement SL 9

SA:7.5.4.3 Copy New SID (Container) a


DA:11.6.19.71 PSP
Port:UDP b
UDP Header/Data
BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
1
SRv6 uSID More Than 6 SIDs?
2

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5
SA:2001::1
DA:2001:db8:700:800:900:a00:b00:: 6
NH:IPv4
7
SA:7.5.4.3
DA:11.6.19.71 END of Container 8
Port:UDP -> is there SRH?
UDP Header/Data Decrement SL 9

Copy New SID (Container) a


PSP
b

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
SRv6 uSID More Than 6 SIDs?
1

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5
SA:2001::1
DA:2001:db8:700:800:900:a00:b00:: 6
NH:IPv4
7
SA:7.5.4.3
DA:11.6.19.71 8
Port:UDP
UDP Header/Data 9

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
SRv6 uSID More Than 6 SIDs?
1

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5
SA:2001::1
DA:2001:db8:700:800:900:a00:b00:: 6
NH:IPv4
SA:7.5.4.3
Shift & Forward 7

DA:11.6.19.71 8
Port:UDP
UDP Header/Data 9

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
1
SRv6 uSID More Than 6 SIDs?
2

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5
SA:2001::1
DA:2001:db8:800:900:a00:b00:: 6
NH:IPv4
SA:7.5.4.3
Shift & Forward 7

DA:11.6.19.71 8
Port:UDP
UDP Header/Data 9

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
SRv6 uSID More Than 6 SIDs?
1

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5
SA:2001::1
DA:2001:db8:800:900:a00:b00:: 6
NH:IPv4
SA:7.5.4.3
Shift & Forward 7

DA:11.6.19.71 8
Port:UDP
UDP Header/Data 9

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
SRv6 uSID More Than 6 SIDs?
1

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5
SA:2001::1
DA:2001:db8:900:a00:b00:: 6
NH:IPv4
SA:7.5.4.3
Shift & Forward 7

DA:11.6.19.71 8
Port:UDP
UDP Header/Data 9

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
SRv6 uSID More Than 6 SIDs?
1

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5
SA:2001::1
DA:2001:db8:900:a00:b00:: 6
NH:IPv4
SA:7.5.4.3
Shift & Forward 7

DA:11.6.19.71 8
Port:UDP
UDP Header/Data 9

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
1
SRv6 uSID More Than 6 SIDs?
2

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5
SA:2001::1
DA:2001:db8:a00:b00:: 6
NH:IPv4
SA:7.5.4.3
Shift & Forward 7

DA:11.6.19.71 8
Port:UDP
UDP Header/Data 9

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
SRv6 uSID More Than 6 SIDs?
1

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5
SA:2001::1
DA:2001:db8:a00:b00:: 6
NH:IPv4
SA:7.5.4.3
Shift & Forward 7

DA:11.6.19.71 8
Port:UDP
UDP Header/Data 9

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
SRv6 uSID More Than 6 SIDs?
1

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5
SA:2001::1
DA:2001:db8:b00:: 6
NH:IPv4
SA:7.5.4.3
Shift & Forward 7

DA:11.6.19.71 8
Port:UDP
UDP Header/Data 9

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
SRv6 uSID More Than 6 SIDs?
1

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5
SA:2001::1
DA:2001:db8:b00:: 6
NH:IPv4
SA:7.5.4.3
Shift & Forward 7

DA:11.6.19.71 8
Port:UDP
UDP Header/Data 9

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
SRv6 uSID More Than 6 SIDs?
1

100->200->300->400->500->600->700->800->900->a00->b00 3
Container 1 2001 : 0db8 : 0100 : 0200 : 0300 : 0400 : 0500 : 0600
4
Container 2 2001 : 0db8 : 0700 : 0800 : 0900 : 0a00 : 0b00 : 0000
5
SA:2001::1
DA:2001:db8:b00:: 6
NH:IPv4
7
SA:7.5.4.3
DA:11.6.19.71 8
Port:UDP
UDP Header/Data 9

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
Sets, Global ID Block (GIB), Local ID Block (LIB)
0x0001

• Within a Block, SIDs are allocated: FCBB:BB00:XXXX::/48

• SID can be:


• Global: shortest path to a node – globally unique
GIB
• Local: a local function – not globally unique

0xdfff
0xe000

LIB
0xffff

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
SRv6
Network
Programming
END– Default endpoint (Node SID) SA:2001::1
• Decrement SL
SA:2001::1
DA:2001:db8:0:2:1::
DA:2001:db8:0:1:1::
NH:RH
NH:RH

• Copy Active SID


Type:4(SRH)
Type:4(SRH)
NH:IPv4|SL:3
Segment List:
R1 NH:IPv4|SL:2
Segment List: R2
[0]:2001:db8:0:4:eeee::
• Forward
[0]:2001:db8:0:4:eeee::
[1]:2001:db8:0:3:e000::
[1]:2001:db8:0:3:e000::
[2]:2001:db8:0:2:1::
[2]:2001:db8:0:2:1::
[3]:2001:db8:0:1:1::
[3]:2001:db8:0:1:1::

• Different Flavors:
• End with NEXT-ONLY-CSID
• End
• End with NEXT-CSID
• End with PSP
• End with NEXT-CSID & PSP
• End with USP
• End with NEXT-CSID & USP
• End with PSP & USP
• End with NEXT-CSID, PSP & USP
• End with USD
• End with NEXT-CSID & USD
• End with PSP & USD
• End with NEXT-CSID, PSP & USD
• End with USP & USD
• End with NEXT-CSID, USP & USD
• End with PSP, USP & USD
• End with NEXT-CSID, PSP, USP & USD

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
uN=END with Next – Default endpoint (Node SID)
SA:2001::1
• Decrement SL SA:2001::1
DA:2001:db8:0:1::
DA:2001:db8:2::
NH:RH
NH:RH

• Copy Active SID Type:4(SRH)


NH:IPv4|SL:3
Segment List:
R1 Type:4(SRH)
NH:IPv4|SL:2
Segment List: R2
• Forward
[0]:2001:db8:4:eeee::
[0]:2001:db8:4:eeee::
[1]:2001:db8:3:e000::
[1]:2001:db8:3:e000::
[2]:2001:db8:2::
[2]:2001:db8:2::
[3]:2001:db8:1::
[3]:2001:db8:1::

Better way:

• Shift & Forward R1 R2


SA:2001::1 SA:2001::1
DA:2001:db8:1:2:3:e000:4:eeee DA:2001:db8:2:3:e000:4:eeee
NH:IPV4 NH:IPV4

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
uA=END.X with Next – (Adjacency SID)
SA:2001::1
DA:2001:db8:4:eeee::
NH:IPV4

R3
SA:2001::1
DA:2001:db8:3:e000:4:eeee::
NH:IPV4 R R4

• Shift & Forward to SPECIFIC INTERFACE

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
uDX4=END.DX4, uDX6=END.DX6, uDX2=END.DX2
Endpoint with Decapsulation and Xconnect

• Decapsulate and Forward to SPECIFIC INTERFACE


• Same as Per CE Label Allocation
• Must be last function in SID list

SA:2001::1

R4
DA:2001:db8:4:eeee:: Ten0/0/0/0
NH:IPV4
IPv4 Packet IPv4 Packet

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
uDT4=END.DT4, uDT6=END.DT6
Endpoint with Decapsulation and Table Lookup

• Decapsulate and Table Lookup (VRF)


• Same as Per VRF Label Allocation (aggregate label)
• Must be last function in SID list

SA:2001::1

R4
DA:2001:db8:4:eeee::
NH:IPV4
IPv4 Packet IPv4 Packet

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
SRv6 functions: Steering and Services
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.Encap 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.DTM uDTM Endpoint with decapsulation and MPLS table lookup [Interworking]
H.Insert / H.Encaps Headend with Insertion / Encapsulation of / into an SRv6 [TiLFA]
policy
H. Encaps.L2 H.Encaps Applied to Received L2 Frames [L2 Port Mode]
H.Encaps.M H.Encaps Applied to MPLS Label Stack [Interworking]

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
SRv6
Control Plane
Functions might be signaled differently
Signalling IGP BGP-LS BGP- Signalling IGP BGP- BGP-
IP/VPN LS IP/VPN
End, uN Yes Yes H.insert Yes

End.X, uA Yes Yes H.Encap Yes

End.T Yes Yes

End.DX4,uDX4 Yes Yes

End.DX6,uDX6 Yes Yes Yes

End.DX2,uDX2 Yes Yes Locator – routing table


END.DT4,uDT4 Yes Yes

End.DT6,uDT6 Yes Yes Yes

End.B Yes

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
ISIS for SRv6

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
ISIS for SRv6
LSP (Link State Packet):

r2

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
ISIS for SRv6
LSP (Link State Packet):
TLVs: Lo0
Hostname: r2
Interfaces: Hu0/0/0/0

Hu0/0/0/1
r2 Hu0/0/0/1
Lo0

Hu0/0/0/0

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
ISIS for SRv6
LSP (Link State Packet):
TLVs: Lo0
Hostname: r2
Interfaces: Hu0/0/0/0

Hu0/0/0/1
r2 Hu0/0/0/1 r3
Lo0
Neighbors: r1
r3

Hu0/0/0/0

r1

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
ISIS for SRv6
LSP (Link State Packet):
TLVs: Lo0
Hostname: r2 fcbb:0:2::1/128
Interfaces: Hu0/0/0/0

Hu0/0/0/1
r2 Hu0/0/0/1 r3
Lo0
Neighbors: r1
r3
IP addresses: fcbb:0:2::1/128 2001:12::2/64
2001:12::2/64 Hu0/0/0/0

r1

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
ISIS for SRv6
LSP (Link State Packet):
TLVs: Lo0
Hostname: r2 fcbb:0:2::1/128
Interfaces: Hu0/0/0/0

Hu0/0/0/1
Locator:
fcbb:0:2::/48 r2 r3
Hu0/0/0/1
Lo0
Neighbors: r1
r3
IP addresses: fcbb:0:2::1/128 2001:12::2/64
2001:12::2/64 Hu0/0/0/0
Locator: fcbb:0:2::/48

r1

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
ISIS for SRv6
LSP (Link State Packet):
TLVs: Lo0
Hostname: r2 fcbb:0:2::1/128
Interfaces: Hu0/0/0/0

Hu0/0/0/1
Locator:
fcbb:0:2::/48 r2 r3
Hu0/0/0/1
Lo0 uN:fcbb:0:2::
Neighbors: r1
r3
IP addresses: fcbb:0:2::1/128 2001:12::2/64
2001:12::2/64 Hu0/0/0/0
Locator: fcbb:0:2::/48
uN:fcbb:0:2::
r1

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
ISIS for SRv6
LSP (Link State Packet):
TLVs: Lo0
Hostname: r2 fcbb:0:2::1/128
Interfaces: Hu0/0/0/0

Hu0/0/0/1
Locator:
fcbb:0:2::/48 r2 r3
Hu0/0/0/1
Lo0 uN:fcbb:0:2::
Neighbors: r1
Structure: BL=32;NL=16;FL=0,AL=80

r3
IP addresses: fcbb:0:2::1/128 2001:12::2/64
2001:12::2/64 Hu0/0/0/0
Locator: fcbb:0:2::/48
uN:fcbb:0:2::
Structure: BL=32;NL=16;FL=0,AL=80
r1

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
ISIS for SRv6
LSP (Link State Packet):
TLVs: Lo0
Hostname: r2 fcbb:0:2::1/128
Interfaces: Hu0/0/0/0 uA:fcbb:0:2:e001::

Hu0/0/0/1 uA:fcbb:0:2:e002::
Locator:
fcbb:0:2::/48 r2 uA:fcbb:0:2:e002:: r3
Hu0/0/0/1
Lo0 uN:fcbb:0:2::
Neighbors: r1
Structure: BL=32;NL=16;FL=0,AL=80

r3 uA:fcbb:0:2:e001::
IP addresses: fcbb:0:2::1/128 2001:12::2/64
2001:12::2/64 Hu0/0/0/0
Locator: fcbb:0:2::/48
uN:fcbb:0:2::
Structure: BL=32;NL=16;FL=0,AL=80
r1

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
ISIS for SRv6
LSP (Link State Packet):
TLVs: Lo0
Hostname: r2 fcbb:0:2::1/128
Interfaces: Hu0/0/0/0 uA:fcbb:0:2:e001::
Structure: BL=32;NL=16;FL=16;AL=0

Hu0/0/0/1 uA:fcbb:0:2:e002::
Locator:
fcbb:0:2::/48 r2 uA:fcbb:0:2:e002:: r3
Structure: BL=32;NL=16;FL=16;AL=0
Hu0/0/0/1
Lo0 uN:fcbb:0:2:: Structure: BL=32;NL=16;FL=16;AL=0

Neighbors: r1
Structure: BL=32;NL=16;FL=0,AL=80

r3 uA:fcbb:0:2:e001::
Structure: BL=32;NL=16;FL=16;AL=0

IP addresses: fcbb:0:2::1/128 :
2001:12::2/64
2001:12::2/64 Hu0/0/0/0
Locator: fcbb:0:2::/48
uN:fcbb:0:2::
Structure: BL=32;NL=16;FL=0,AL=80
r1

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
ISIS for SRv6
LSP (Link State Packet):
TLVs: Lo0
Hostname: r2 fcbb:0:2::1/128
Interfaces: Hu0/0/0/0 uA:fcbb:0:2:e001::
Structure: BL=32;NL=16;FL=16;AL=0

Hu0/0/0/1 uA:fcbb:0:2:e002::
Locator:
fcbb:0:2::/48 r2 uA:fcbb:0:2:e002:: r3
Structure: BL=32;NL=16;FL=16;AL=0
Hu0/0/0/1
Lo0 uN:fcbb:0:2:: Structure: BL=32;NL=16;FL=16;AL=0

Neighbors: r1
Structure: BL=32;NL=16;FL=0,AL=80

r3 uA:fcbb:0:2:e001::
Structure: BL=32;NL=16;FL=16;AL=0

IP addresses: fcbb:0:2::1/128 :
2001:12::2/64
2001:12::2/64 Hu0/0/0/0
Locator: fcbb:0:2::/48
uN:fcbb:0:2::
Structure: BL=32;NL=16;FL=0,AL=80
Capabilities: Algorithms …… r1
SIDs can insert
SIDs can decap
……….

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
ISIS LSP Example
IS-IS 1 (Level-2) Link State Database
LSPID LSP Seq Num LSP Checksum LSP Holdtime/Rcvd ATT/P/OL
r2.00-00 0x00000009 0x4f06 1145 /1200 0/0/0
Area Address: 49
NLPID: 0x8e
Hostname: r1
IPv6 Address: 2001::2
Metric: 10 MT (IPv6 Unicast) IPv6 fcbb:bb00:2::1/128
Prefix Attribute Flags: X:0 R:0 N:1 E:0 A:0
Metric: 1 MT (IPv6 Unicast) IPv6 fcbb:bb00:2::/48
Locator
Prefix Attribute Flags: X:0 R:0 N:0 E:0 A:0
MT: IPv6 Unicast 0/0/0 Capabilities
SRv6 Locator: MT (IPv6 Unicast) fcbb:bb00:2::/48 D:0 Metric: 0 Algorithm: 0
Prefix Attribute Flags: X:0 R:0 N:0 E:0 A:0
END SID: fcbb:bb00:2:: uN (PSP/USD)
END
SID Structure:
Block Length: 32, Node-ID Length: 16, Func-Length: 0, Args-Length: 0 END.X
Router Cap: 0.0.0.0 D:0 S:0
IPv6 Router ID: 2001::2 SID Structure
SR Algorithm:
Algorithm: 0
Algorithm: 1
SRv6: O:0
Node Maximum SID Depth:
SRH Max SL: 3
SRH Max End Pop: 3
SRH Max T.insert: 3
SRH Max T.encaps: 4
SRH Max End D: 4
Metric: 10 MT (IPv6 Unicast) IS-Extended r1.00
Local Interface ID: 6, Remote Interface ID: 6
Interface IPv6 Address: 2001:12::2
Neighbor IPv6 Address: 2001:12::1
END.X SID: fcbb:bb00:2:e001:: B:0 S:0 P:0 uA (PSP/USD) Alg:0
SID Structure:
Block Length: 32, Node-ID Length: 16, Func-Length: 16, Args-Length: 0
Total Level-2 LSP count: 1 Local Level-2 LSP count: 0

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
SRv6 ISIS Configuration

router isis 1
address-family ipv6 unicast
segment-routing srv6
locator MAIN Name of the Locator

This will result in:


• Locator is advertised
• uN function is advertised
• uA for each ISIS interface is allocated and advertised
BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
BGP
VPNv4 :10.10.22.0/24
• No Changes Required! NH:2001::3
RD-1:1
iBGP RT -1:1
uDT4– fcbb:bb00:3:e002::

IPv4 :10.10.22.0/24 IPv4 :10.10.22.0/24


NH:10.1.21.1 NH:10.3.22.22

eBGP eBGP

2001::3
2001::1

CE 1 IPv6 Locator – fcbb:bb00:3::/48


3 CE

uDT4 – fcbb:bb00:3:e002::
10.1.21.21

10.3.22.3
10.1.21.1

10.3.22.22
BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
L3 VPN Dataplane
SA:2001::1
DA:fcbb:bb00:3:e002::
NH:IPv4

SA:10.10.21.10
DA:10.10.22.10
NH:UDP

UDP Header/Data

2001::3
2001::1
SA:10.10.21.10 SA:10.10.21.10
DA:10.10.22.10 DA:10.10.22.10
NH:UDP NH:UDP

UDP Header/Data UDP Header/Data

CE 1 IPv6 3 CE
10.1.21.21

10.3.22.3
10.1.21.1

10.3.22.22
uDT 4– fcbb:bb00:3:e002::
BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
SRv6 L3 VPN Configuration
router bgp 1
address-family vpnv4 unicast
vrf BestEffort
rd 1:1
address-family ipv4 unicast Name of the Locator
segment-routing srv6
locator MAIN
alloc mode per-vrf Single DT function is allocated
per VRF and AF

This will result in:


• uDT4 function is allocated
• All prefixes are advertised with uDT4 function
BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
EVPN
EVPN :EVI 7543
NH:2001::3
• No Changes Required! RD-1:1
iBGP RT -1:1
uDX2– fcbb:bb00:3:e002::

2001::3
2001::1

1 3
EVI 7543 EVI 7543
CE IPv6 Locator – fcbb:bb00:3::/48 CE

uDX2 – fcbb:bb00:3:e002::
BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
EVPN Dataplane
SA:2001::1
DA:fcbb:bb00:3:e002::
NH:L2

L2 Frame

L2 Frame L2 Frame

1 3
EVI 7543 EVI 7543
CE IPv6 Locator – fcbb:bb00:3::/48 CE

uDX2 – fcbb:bb00:3:e002::
BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
SRv6 L2 VPWS
interface TenGigE0/0/0/0.7543 l2transport
encapsulation dot1q 7543
rewrite ingress tag pop 1 symmetric

l2vpn This will result in:


xconnect group P2P • uDX2 function is allocated
p2p 13-14
per EVI
interface TenGigE0/0/0/0.7543
neighbor evpn evi 7543 service 7543 • EVI is advertised with uDX2
segment-routing srv6 function

evpn
evi 7543 segment-routing srv6
locator MAIN Name of the Locator
segment-routing srv6
!

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
Addressing Plan
for SRv6
Separation between SIDs and addresses
• Infrastructure addressing and SRv6 SID allocation belong to two different
planes and are different
• Infrastructure IP addresses (e.g., link interfaces, loopbacks) are allocated on the
management plane
• SRv6 SIDs are allocated on the service plane

• SRv6 SIDs are assigned to a node independently from the IP addressing of


that node
• Even if they are both represented as IPv6 addresses, infrastructure
addresses and SIDs cannot be merged and should be allocated off
different blocks.
An existing IPv6 address plan is not a constraint
for a future SRv6 SID allocation plan.
BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
Terminology – uSID F3216
• uSID F3216: uSID format with
• uSID Block size: 32 bits
• ID size: 16 bits

• uSID F3216 structure:


Block Set Node
SID Space (/24) ID ID ID

PPPP:PPBB:SSII
Block (/32) 16-bit
ID
BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
SRv6 Space allocation recommendation
• Private range allocation
• Recommended allocation

• Use /24 sub-range from ULA FC00::/8 space
• FCBB:BB00::/24, with B indicating a nibble value picked by operator

• Public range allocation


• Supported, not advised
⚠️
• From allocated public GUA range

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
uSID Block per slice (Flex Algo) if possible
• 256 Blocks are available in the SRv6 Space:
FCBB:BBTT::/32, with TT = slice ID
• Multiple Blocks can be concurrently used on a node
• 63 Blocks available on DNX1 platforms (TT = 00 to 3E)

• We assume 2 slices (Blocks), e.g.:


• FCBB:BB00::/32 Low-cost slice (algo 0)  focus, other Blocks are similar
• FCBB:BB01::/32 Low-delay slice (algo 128)

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 38
Set Allocation Example
Block: FCBB:BB00::/32

Region 1 Core Region Region 2

600 nodes 200 nodes 400 nodes


  
3 Sets 1 Set 2 Sets
FCBB:BB00:0200::/40 FCBB:BB00:0100::/40 FCBB:BB00:0500::/40
FCBB:BB00:0300::/40 FCBB:BB00:0600::/40
FCBB:BB00:0400::/40

• If a region outgrows its allocated Sets, then allocate more Sets to this
region

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
uSID Allocation Example
Block: FCBB:BB00::/32

Region 1 Core Region Region 2


600 nodes 200 nodes 400 nodes
3 Sets (02, 03, 04) 1 Set (01) 2 Sets (05, 06)

7 FCBB:BB00:0207::/48 7 FCBB:BB00:0107::/48 7 FCBB:BB00:0507::/48

256 FCBB:BB00:0301::/48 256 FCBB:BB00:0601::/48

518 FCBB:BB00:0406::/48

• Remaining unallocated uSIDs in Sets are for future growth

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
Summarization
Block: FCBB:BB00::/32

Region 1 Core Region Region 2


600 nodes 200 nodes 400 nodes
3 Sets (02, 03, 1 Set (01) 2 Sets (05,
04) 06)

summarize summarize
FCBB:BB00:0200::/40 FCBB:BB00:0500::/40
FCBB:BB00:0300::/40 FCBB:BB00:0600::/40
FCBB:BB00:0400::/40
Summarization gain:
× 256

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
MPLS to SRv6
Migration
Dual Connected PE
MPLS PE

BGPv4

LDPv4
ISISv4

Lo:1.1.1.1 PE
VRF
1.

10.10.1.0/24

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
Dual Connected PE
MPLS PE SRv6 PE

BGPv4 BGPv6

LDPv4 ISISv6
ISISv4

Lo0: A::2
Lo:1.1.1.1 PE PE
VRF1.

VRF
1.

10.10.1.0/24 10.10.1.0/24

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
Dual Connected PE
MPLS PE DUAL Connected PE SRv6 PE

BGPv4 BGPv4 BGPv6 BGPv6

LDPv4 LDPv4 ISISv6 ISISv6


ISISv4 ISISv4

Lo0: A::2
Lo:1.1.1.1 PE Lo:1.1.1.1 PE Lo0: A::2 PE
VRF
1.

VRF1.

VRF
1.

10.10.1.0/24 10.10.1.0/24 10.10.1.0/24

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
Dual Connected PE
MPLS PE DUAL Connected PE SRv6 PE

VPN prefix +lbl BGPv6


BGPv4 BGPv4 BGPv6

LDPv4
Loopback label LDPv4 ISISv6 ISISv6
ISISv4 Loopback addr ISISv4

Lo0: A::2
Lo:1.1.1.1 PE Lo:1.1.1.1 PE Lo0: A::2 PE
VRF
1.

VRF1.

VRF
1.

10.10.1.0/24 10.10.1.0/24 10.10.1.0/24

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
Dual Connected PE
MPLS PE DUAL Connected PE SRv6 PE

VPN prefix +lbl VPN prefix +SID


BGPv4 BGPv4 BGPv6 BGPv6

LDPv4
Loopback label LDPv4 ISISv6
Locators ISISv6
ISISv4 Loopback addr ISISv4

Lo:1.1.1.1 PE Lo:1.1.1.1 PE Lo0: A::2 PE Lo0: A::2

VRF
1.

VRF1.

VRF
1.

10.10.1.0/24 10.10.1.0/24 10.10.1.0/24

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
Lo0:3.3.3.3

MPLS Network – PE3VRF 10.10.3.0/24


1.

Day 0
ISISv4 LDPv4

BGPv4
Lo:1.1.1.1 Lo:2.2.2.2

ISISv4 LDPv4 ISISv4 LDPv4


10.10.1.0/24 VRF
1.

PE1 P PE2VRF 10.10.2.0/24


1.

BGPv4 ISISv4 LDPv4

BGPv4
RR
v4
Lo:4.4.4.4

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 44
Lo0: A::3
Lo0:3.3.3.3

Enabling IPv6 Routing PE3VRF 10.10.3.0/24


1.

- Day 1

ISISv6 ISISv4
LDPv4
BGPvpnv4
Lo0: A::1 Lo0: A::2
Lo:1.1.1.1 Lo:2.2.2.2

ISISv4 LDPv4 ISISv4 LDPv4


10.10.1.0/24 VRF
1.

PE1 ISISv6
P ISISv6
PE2VRF 10.10.2.0/24
1.

ISISv6
ISISv4

BGPvpnv4
BGPvpnv4
RR RR
v6 v4
Lo0: A::4 Lo:4.4.4.4

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
Lo0: A::3
Lo0:3.3.3.3

Enabling SRv6 – PE3VRF 10.10.3.0/24


1.

PE1&PE2
ISISv4
Locator: fcbb:0:1::/48 LDPv4
BGPvpnv4 Locator: fcbb:0:2::/48
Lo0: A::1 Lo0: A::2
Lo:1.1.1.1 Lo:2.2.2.2

ISISv4 LDPv4 ISISv4 LDPv4


10.10.1.0/24 VRF
1.

PE1 ISISv6
P ISISv6
PE2VRF 10.10.2.0/24
1.

ISISv6
ISISv4

BGPvpnv4 BGPvpnv4 BGPvpnv4


Everything is BGPvpnv4
BGP best path selection RR RR
driven!! (ie Local Preference) v6 v4
Lo0: A::4 Lo:4.4.4.4

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 46
Lo0: A::3 Locator: fcbb:0:3::/48
Lo0:3.3.3.3

Enabling SRv6 – PE3 VRF


1.
10.10.3.0/24

Last PE
BGPvpnv4 ISISv6 ISISv4
Locator: fcbb:0:1::/48 LDPv4
BGPvpnv4 Locator: fcbb:0:2::/48
Lo0: A::1 Lo0: A::2
Lo:1.1.1.1 Lo:2.2.2.2

ISISv4 LDPv4 ISISv4 LDPv4


10.10.1.0/24 VRF
1.

PE1 ISISv6
P ISISv6
PE2VRF 10.10.2.0/24
1.

ISISv6
ISISv4

BGPvpnv4 BGPvpnv4 BGPvpnv4


BGPvpnv4
RR RR
v6 v4
Lo0: A::4 Lo:4.4.4.4

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 47
Lo0: A::3 Locator: fcbb:0:3::/48

Removing V4 PE3VRF 10.10.3.0/24


1.

BGPvpnv4 ISISv6
Locator: fcbb:0:1::/48 Locator: fcbb:0:2::/48
Lo0: A::1 Lo0: A::2

10.10.1.0/24 VRF
1.

PE1 ISISv6
P ISISv6
PE2VRF 10.10.2.0/24
1.

ISISv6

BGPvpnv4 BGPvpnv4
RR
v6
Lo0: A::4

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
SRv6 Dual PE Configuration
router bgp 1 Via RPL we set specific BGP
neighbor A::4 attributes to to prefixes
address-family vpnv4 unicast ie Local Preference
encapsulation-type srv6 towards RRv6 and RRv4
route-policy RRv6 out Policy towards v6 RR
neighbor 4.4.4.4
address-family vpnv4 unicast
route-policy RRv4 out Policy towards v4 RR
vrf 1
address-family ipv4 unicast
mpls alloc enable Allocates Labels for all prefixes in VRF
segment-routing srv6
locator MAIN Allocates SIDs for all prefixes in VRF
alloc mode per-vrf from Locator MAIN
BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 49
Conclusion
SRv6 is Fully Standardized
• SR Architecture – RFC 8402
Architecture • SRTE Policy Architecture – RFC 9256
• Compressed SRv6 Segment List – WG Draft

• SRv6 Network Programming – RFC 8986


Data Plane
• IPv6 SR header – RFC 8754

• SRv6 BGP Services – RFC 9252


Control Plane • SRv6 ISIS – RFC 9352
• SR Flex-Algo – RFC 9350

Operation & • SRv6 OAM – RFC 9259


Management • Performance Management – RFC 5357

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 51
SRv6 is Fully Standardized
• SR Architecture – RFC 8402
Architecture • SRTE Policy Architecture – RFC 9256
• Compressed SRv6 Segment List – WG Draft

• SRv6 Network Programming – RFC 8986


Data Plane Strong Cisco Commitment and
• IPv6 SR header – RFC 8754 Leadership

• SRv6 BGP Services – RFC 9252 Editor of 96% IETF RFCs


Control Plane • SRv6 ISIS – RFC 9352 Co-author of 100% IETF RFCs
• SR Flex-Algo – RFC 9350

Operation & • SRv6 OAM – RFC 9259


Management • Performance Management – RFC 5357

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 51
Rich SRv6 uSID Ecosystem
Open-Source Networking Stacks

Network Equipment Manufacturers

FRRouting

Merchant Silicon Smart NIC

Open-Source Applications
Partners
BGP
Pyroute2 SERA

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 52
SRv6 … at Record-Speed

Americas EMEA APJC

142 160 96

Deployed
Active Testing
Deployment Planned

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 53
Further Study
• BRKSP-2468: Migrate Your MPLS Network and Services to SRv6 with Simplicity (Feb 8, 8:30)

• LABSP-3393: Implementing Segment Routing v6 (SRv6) Transport on NCS 55xx/5xx Platforms—Advanced


• www.segment-routing.net
• D-cloud:
• https://dcloud-cms.cisco.com/demo/cisco-srv6-l3-vpn-with-flexible-algorithm-and-ti-lfa-v1
• https://dcloud-cms.cisco.com/demo/srv6-usid-traffic-engineering-lab-v1
• https://dcloud-cms.cisco.com/demo/mpls-to-srv6-migration-v1
• https://dcloud2-lon.cisco.com/content/demo/631932?returnPathTitleKey=content-view

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 54
Simplicity Always Prevails

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 55
Simplicity Always Prevails LDP
RSVP-TE
BGP 3108
MPLS
UDP/VxLAN
NSH

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 55
Simplicity Always Prevails LDP
RSVP-TE
BGP 3108
MPLS
UDP/VxLAN
NSH

Furthermore, with more


scale

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 55
Simplicity Always Prevails LDP
RSVP-TE
BGP 3108
MPLS
UDP/VxLAN
NSH

Furthermore, with more and functionality


scale

BRKSPG-2203 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 55
Thank you

You might also like