Hi, folks. I’m activating the NANOG brain trust here because I’ve exhausted
(and am exhausted from) efforts so far to seal the deal on what is probably
simple stuff to y’all.
TL;DR: I think I’m missing some specific glue to make my backbone data plane
forward CE IPv4 traffic into a simple PE-to-PE node SID path. I’ve tried both
SRv6 steering IPv4 encap in IPv6 GRE (due to lack of End.DX4 or End.DT4) and
SR-MPLS. Anonymized and scrubbed topologies and configurations attached — Plan
E for SRv6, Plan F* for SR-MPLS. Using Junos 23.4R2-S5.6, looking for the
magic “you forgot this part” for either way (though SRv6 + IPv6 GRE preferred).
Details:
I have a video partner with CEs at two sites on my internal WAN using SMPTE
2022-7 to generate two identical video streams. I receive those on physically
diverse links from his CEs to my PEs, then ideally carry them over diverse
paths, which I need TE to do. A path of node SIDs satisfies (for now) proof
that I can do this (adjacency SIDs later). Everything I’m doing passes Junos
CLI syntax checking and “commit check” semantics, but when the change is
complete, neither I nor my partner sees this work doing ... anything. I should
see his video test patterns having a significant bump in the “blue” path
transcontinental end-to-end latency because I’m heading towards Canada then
heading towards Mexico on my way between coasts. The “red” path is almost a
straight shot.
My PEs do not run BGP, so I need to do all of this entirely within IS-IS. I
believe my use of “color” in these configurations is a distraction that sounds
like it should work but is misguided being a BGP knob. I believe I’ve
identified that IPv6 GRE on Junos will only use inet6.0 and will not get
steered by the SID path in other tables despite my trying mechanisms like
resolution-ribs.
I prefer to have this work with SRv6 because I’m greenfield and it’s kind of a
moonshot. But at this point I’ll defer to something more tried-and-true like
SR-MPLS just to get things working.
Direct responses are great, public responses are cool if there are helpful
learnings for others where my self-esteem in this space is fragile but
sacrificial :-)
-dp
* Yes, “F” now stands for what you think it does
################################################################################
# SRv6 Network Configuration - All Routers (Plan E - Anonymized)
#
# ULA Prefix: 2001:db8:beef::/48
# ISIS Area: 49.0001
################################################################################
################################################################################
# P-Core-1
# Role: Transport (P)
# Locator: 2001:db8:beef:101::/64
################################################################################
set interfaces lo0 unit 0 family inet6 address 2001:db8:beef:101::/128
set routing-options source-packet-routing srv6 locator SRV6-LOC
2001:db8:beef:101::/64
set protocols isis source-packet-routing srv6 locator SRV6-LOC
set protocols isis source-packet-routing srv6 locator SRV6-LOC end-sid
2001:db8:beef:101:: flavor psp
## Core Mesh Interfaces
set interfaces et-0/0/0 unit 0 description "to P-Core-2"
set interfaces et-0/0/0 unit 0 family inet6
set protocols isis interface et-0/0/0.0
set interfaces et-0/0/1 unit 0 description "to PE-Source-1"
set interfaces et-0/0/1 unit 0 family inet6
set protocols isis interface et-0/0/1.0
set interfaces et-0/0/2 unit 0 description "to PE-Source-2"
set interfaces et-0/0/2 unit 0 family inet6
set protocols isis interface et-0/0/2.0
set interfaces et-0/0/3 unit 0 description "to PE-Dest-1"
set interfaces et-0/0/3 unit 0 family inet6
set protocols isis interface et-0/0/3.0
set interfaces et-0/0/4 unit 0 description "to PE-Dest-2"
set interfaces et-0/0/4 unit 0 family inet6
set protocols isis interface et-0/0/4.0
################################################################################
# P-Core-2
# Role: Transport (P)
# Locator: 2001:db8:beef:102::/64
################################################################################
set interfaces lo0 unit 0 family inet6 address 2001:db8:beef:102::/128
set routing-options source-packet-routing srv6 locator SRV6-LOC
2001:db8:beef:102::/64
set protocols isis source-packet-routing srv6 locator SRV6-LOC
set protocols isis source-packet-routing srv6 locator SRV6-LOC end-sid
2001:db8:beef:102:: flavor psp
## Core Mesh Interfaces
set interfaces et-0/0/0 unit 0 description "to P-Core-1"
set interfaces et-0/0/0 unit 0 family inet6
set protocols isis interface et-0/0/0.0
set interfaces et-0/0/1 unit 0 description "to PE-Source-1"
set interfaces et-0/0/1 unit 0 family inet6
set protocols isis interface et-0/0/1.0
set interfaces et-0/0/2 unit 0 description "to PE-Source-2"
set interfaces et-0/0/2 unit 0 family inet6
set protocols isis interface et-0/0/2.0
set interfaces et-0/0/3 unit 0 description "to PE-Dest-1"
set interfaces et-0/0/3 unit 0 family inet6
set protocols isis interface et-0/0/3.0
set interfaces et-0/0/4 unit 0 description "to PE-Dest-2"
set interfaces et-0/0/4 unit 0 family inet6
set protocols isis interface et-0/0/4.0
################################################################################
# PE-Source-1
# Role: Edge (PE) â Red Path Source
# Locator: 2001:db8:beef:1::/64
################################################################################
set routing-options forwarding-table srv6-chain-merge
set protocols source-packet-routing srv6 preserve-nexthop-hierarchy
set interfaces lo0 unit 0 family inet6 address 2001:db8:beef:1::/128
set routing-options source-packet-routing srv6 locator SRV6-LOC
2001:db8:beef:1::/64
set protocols isis source-packet-routing srv6 locator SRV6-LOC
set protocols isis source-packet-routing srv6 locator SRV6-LOC end-sid
2001:db8:beef:1:: flavor usd
## Core Uplinks (Full Mesh)
set interfaces et-0/0/1 unit 0 description "to P-Core-1"
set interfaces et-0/0/1 unit 0 family inet6
set protocols isis interface et-0/0/1.0
set interfaces et-0/0/2 unit 0 description "to P-Core-2"
set interfaces et-0/0/2 unit 0 family inet6
set protocols isis interface et-0/0/2.0
## SRv6 TE Policy â PE-Source-1 -> PE-Dest-1 (via P-Core-1)
set protocols source-packet-routing srv6
set protocols source-packet-routing segment-list Red-SIDList srv6
set protocols source-packet-routing segment-list Red-SIDList hop1 srv6-sid
2001:db8:beef:101::
set protocols source-packet-routing segment-list Red-SIDList hop2 srv6-sid
2001:db8:beef:5::
set protocols source-packet-routing source-routing-path Source-to-Dest-Red srv6
set protocols source-packet-routing source-routing-path Source-to-Dest-Red
color 100
set protocols source-packet-routing source-routing-path Source-to-Dest-Red to
2001:db8:beef:5::
set protocols source-packet-routing source-routing-path Source-to-Dest-Red
primary Red-SIDList
set routing-options rib inet6.3 static route 2001:db8:beef:5::/128 discard
set routing-options rib inet6.3 static route 2001:db8:beef:5::/128 color 100
## CE Integration (Red Path)
set interfaces xe-0/0/0 unit 0 description "to CE-Source-1"
set interfaces xe-0/0/0 unit 0 family inet address 10.10.1.1/31
set routing-options static route 10.10.1.0/24 next-hop 10.10.1.0
## GRE Interface (Red - Source to Dest)
set interfaces gr-0/0/0 unit 0 tunnel source 2001:db8:beef:1::
set interfaces gr-0/0/0 unit 0 tunnel destination 2001:db8:beef:5::
set interfaces gr-0/0/0 unit 0 family inet address 10.254.1.0/31
## Service Steering (Red)
## Traffic from CE destined to Remote Service (10.10.2.0/24) steered into GRE
Tunnel
## The IPv6 GRE encapsulation is then steered by SRv6 Policy via inet6.3 color
set routing-options static route 10.10.2.0/24 next-hop gr-0/0/0.0
################################################################################
# PE-Source-2
# Role: Edge (PE) â Blue Path Source
# Locator: 2001:db8:beef:2::/64
################################################################################
set routing-options forwarding-table srv6-chain-merge
set protocols source-packet-routing srv6 preserve-nexthop-hierarchy
set interfaces lo0 unit 0 family inet6 address 2001:db8:beef:2::/128
set routing-options source-packet-routing srv6 locator SRV6-LOC
2001:db8:beef:2::/64
set protocols isis source-packet-routing srv6 locator SRV6-LOC
set protocols isis source-packet-routing srv6 locator SRV6-LOC end-sid
2001:db8:beef:2:: flavor usd
## Core Uplinks (Full Mesh)
set interfaces et-0/0/1 unit 0 description "to P-Core-1"
set interfaces et-0/0/1 unit 0 family inet6
set protocols isis interface et-0/0/1.0
set interfaces et-0/0/2 unit 0 description "to P-Core-2"
set interfaces et-0/0/2 unit 0 family inet6
set protocols isis interface et-0/0/2.0
## SRv6 TE Policy â PE-Source-2 -> PE-Dest-2 (via P-Core-2)
set protocols source-packet-routing srv6
set protocols source-packet-routing segment-list Blue-SIDList srv6
set protocols source-packet-routing segment-list Blue-SIDList hop1 srv6-sid
2001:db8:beef:102::
set protocols source-packet-routing segment-list Blue-SIDList hop2 srv6-sid
2001:db8:beef:6::
set protocols source-packet-routing source-routing-path Source-to-Dest-Blue srv6
set protocols source-packet-routing source-routing-path Source-to-Dest-Blue
color 200
set protocols source-packet-routing source-routing-path Source-to-Dest-Blue to
2001:db8:beef:6::
set protocols source-packet-routing source-routing-path Source-to-Dest-Blue
primary Blue-SIDList
set routing-options rib inet6.3 static route 2001:db8:beef:6::/128 discard
set routing-options rib inet6.3 static route 2001:db8:beef:6::/128 color 200
## CE Integration (Blue Path)
set interfaces xe-0/0/0 unit 0 description "to CE-Source-2"
set interfaces xe-0/0/0 unit 0 family inet address 10.10.1.3/31
set routing-options static route 10.10.1.0/24 next-hop 10.10.1.2
## GRE Interface (Blue - Source to Dest)
set interfaces gr-0/0/0 unit 0 tunnel source 2001:db8:beef:2::
set interfaces gr-0/0/0 unit 0 tunnel destination 2001:db8:beef:6::
set interfaces gr-0/0/0 unit 0 family inet address 10.254.1.2/31
## Service Steering (Blue)
## Traffic from CE destined to Remote Service (10.10.2.0/24) steered into GRE
Tunnel
## The IPv6 GRE encapsulation is then steered by SRv6 Policy via inet6.3 color
set routing-options static route 10.10.2.0/24 next-hop gr-0/0/0.0
################################################################################
# PE-Dest-1
# Role: Edge (PE) â Red Path Destination
# Locator: 2001:db8:beef:5::/64
################################################################################
set routing-options forwarding-table srv6-chain-merge
set protocols source-packet-routing srv6 preserve-nexthop-hierarchy
set interfaces lo0 unit 0 family inet6 address 2001:db8:beef:5::/128
set routing-options source-packet-routing srv6 locator SRV6-LOC
2001:db8:beef:5::/64
set protocols isis source-packet-routing srv6 locator SRV6-LOC
set protocols isis source-packet-routing srv6 locator SRV6-LOC end-sid
2001:db8:beef:5:: flavor usd
## Core Uplinks (Full Mesh)
set interfaces et-0/0/1 unit 0 description "to P-Core-1"
set interfaces et-0/0/1 unit 0 family inet6
set protocols isis interface et-0/0/1.0
set interfaces et-0/0/2 unit 0 description "to P-Core-2"
set interfaces et-0/0/2 unit 0 family inet6
set protocols isis interface et-0/0/2.0
## SRv6 TE Policy â PE-Dest-1 -> PE-Source-1 (Return Traffic via P-Core-1)
set protocols source-packet-routing srv6
set protocols source-packet-routing segment-list Dest-Red-SIDList srv6
set protocols source-packet-routing segment-list Dest-Red-SIDList hop1 srv6-sid
2001:db8:beef:101::
set protocols source-packet-routing segment-list Dest-Red-SIDList hop2 srv6-sid
2001:db8:beef:1::
set protocols source-packet-routing source-routing-path Dest-to-Source-Red srv6
set protocols source-packet-routing source-routing-path Dest-to-Source-Red
color 100
set protocols source-packet-routing source-routing-path Dest-to-Source-Red to
2001:db8:beef:1::
set protocols source-packet-routing source-routing-path Dest-to-Source-Red
primary Dest-Red-SIDList
set routing-options rib inet6.3 static route 2001:db8:beef:1::/128 discard
set routing-options rib inet6.3 static route 2001:db8:beef:1::/128 color 100
## Service Steering (Return Red)
## Traffic destined to Source Service (10.10.1.0/24) steered into GRE Tunnel
set routing-options static route 10.10.1.0/24 next-hop gr-0/0/0.0
## GRE Interface (Red - Dest to Source)
set interfaces gr-0/0/0 unit 0 tunnel source 2001:db8:beef:5::
set interfaces gr-0/0/0 unit 0 tunnel destination 2001:db8:beef:1::
set interfaces gr-0/0/0 unit 0 family inet address 10.254.1.1/31
## CE Integration (Dest Side - Red Path)
set interfaces xe-0/0/0 unit 0 description "to CE-Dest-1"
set interfaces xe-0/0/0 unit 0 family inet address 10.10.2.1/31
set routing-options static route 10.10.2.0/24 next-hop 10.10.2.0
################################################################################
# PE-Dest-2
# Role: Edge (PE) â Blue Path Destination
# Locator: 2001:db8:beef:6::/64
################################################################################
set routing-options forwarding-table srv6-chain-merge
set protocols source-packet-routing srv6 preserve-nexthop-hierarchy
set interfaces lo0 unit 0 family inet6 address 2001:db8:beef:6::/128
set routing-options source-packet-routing srv6 locator SRV6-LOC
2001:db8:beef:6::/64
set protocols isis source-packet-routing srv6 locator SRV6-LOC
set protocols isis source-packet-routing srv6 locator SRV6-LOC end-sid
2001:db8:beef:6:: flavor usd
## Core Uplinks (Full Mesh)
set interfaces et-0/0/1 unit 0 description "to P-Core-1"
set interfaces et-0/0/1 unit 0 family inet6
set protocols isis interface et-0/0/1.0
set interfaces et-0/0/2 unit 0 description "to P-Core-2"
set interfaces et-0/0/2 unit 0 family inet6
set protocols isis interface et-0/0/2.0
## SRv6 TE Policy â PE-Dest-2 -> PE-Source-2 (Return Traffic via P-Core-2)
set protocols source-packet-routing srv6
set protocols source-packet-routing segment-list Dest-Blue-SIDList srv6
set protocols source-packet-routing segment-list Dest-Blue-SIDList hop1
srv6-sid 2001:db8:beef:102::
set protocols source-packet-routing segment-list Dest-Blue-SIDList hop2
srv6-sid 2001:db8:beef:2::
set protocols source-packet-routing source-routing-path Dest-to-Source-Blue srv6
set protocols source-packet-routing source-routing-path Dest-to-Source-Blue
color 200
set protocols source-packet-routing source-routing-path Dest-to-Source-Blue to
2001:db8:beef:2::
set protocols source-packet-routing source-routing-path Dest-to-Source-Blue
primary Dest-Blue-SIDList
set routing-options rib inet6.3 static route 2001:db8:beef:2::/128 discard
set routing-options rib inet6.3 static route 2001:db8:beef:2::/128 color 200
## Service Steering (Return Blue)
## Traffic destined to Source Service (10.10.1.0/24) steered into GRE Tunnel
set routing-options static route 10.10.1.0/24 next-hop gr-0/0/0.0
## GRE Interface (Blue - Dest to Source)
set interfaces gr-0/0/0 unit 0 tunnel source 2001:db8:beef:6::
set interfaces gr-0/0/0 unit 0 tunnel destination 2001:db8:beef:2::
set interfaces gr-0/0/0 unit 0 family inet address 10.254.1.3/31
## CE Integration (Dest Side - Blue Path)
set interfaces xe-0/0/0 unit 0 description "to CE-Dest-2"
set interfaces xe-0/0/0 unit 0 family inet address 10.10.2.3/31
set routing-options static route 10.10.2.0/24 next-hop 10.10.2.2
################################################################################
# End of Configuration
################################################################################
PLAN E: SRv6 GRE-over-SRv6 Alt (Anonymized Topology)
======================================================
+-------------+ +-------------+ +-------------+
+-------------+ +-------------+
| CE-Source-1 |--------| PE-Source-1 |-----------| P-Core-1
|--------------| PE-Dest-1 |--------| CE-Dest-1 |
| 10.10.1.0/24| | 2001:db8:1 | \ / | 2001:db8:101| \ /
| 2001:db8:5 | | 10.10.2.0/24|
+------+------+ +------+------+ \ / +------+------+ \ /
+------+------+ +------+------+
| | \ / | \ /
| |
| | \ / | \ /
| |
| | X | X
| |
| | / \ | / \
| |
| | / \ | / \
| |
+------+------+ +------+------+ / \ +------+------+ / \
+------+------+ +------+------+
| CE-Source-2 |--------| PE-Source-2 |-----------| P-Core-2
|--------------| PE-Dest-2 |--------| CE-Dest-2 |
| 10.10.1.0/24| | 2001:db8:2 | | 2001:db8:102|
| 2001:db8:6 | | 10.10.2.0/24|
+-------------+ +-------------+ +-------------+
+-------------+ +-------------+
LOGICAL FLOWS:
1. RED PATH (Color 100):
CE-Source-1 -> PE-Source-1 -> P-Core-1 -> PE-Dest-1 -> CE-Dest-1
2. BLUE PATH (Color 200):
CE-Source-2 -> PE-Source-2 -> P-Core-2 -> PE-Dest-2 -> CE-Dest-2
################################################################################
# SR-MPLS/SR-TE Network Configuration â Plan F (Anonymized)
################################################################################
################################################################################
# P-Core-1
# Role: Transport (P)
# SR-MPLS Node-SID: 201 (Label 900201)
################################################################################
set interfaces lo0 unit 0 family inet address 10.255.0.101/32
## SR-MPLS base
set protocols isis source-packet-routing srgb start-label 900000 index-range
8000
set protocols isis source-packet-routing node-segment ipv4-index 201
set interfaces lo0 unit 0 family mpls
set protocols mpls interface all
## Core Mesh Interfaces
set interfaces et-0/0/0 unit 0 description "to P-Core-2"
set interfaces et-0/0/0 unit 0 family mpls
set protocols isis interface et-0/0/0.0
set interfaces et-0/0/1 unit 0 description "to PE-Source-1"
set interfaces et-0/0/1 unit 0 family mpls
set protocols isis interface et-0/0/1.0
set interfaces et-0/0/2 unit 0 description "to PE-Source-2"
set interfaces et-0/0/2 unit 0 family mpls
set protocols isis interface et-0/0/2.0
set interfaces et-0/0/3 unit 0 description "to PE-Dest-1"
set interfaces et-0/0/3 unit 0 family mpls
set protocols isis interface et-0/0/3.0
set interfaces et-0/0/4 unit 0 description "to PE-Dest-2"
set interfaces et-0/0/4 unit 0 family mpls
set protocols isis interface et-0/0/4.0
################################################################################
# P-Core-2
# Role: Transport (P)
# SR-MPLS Node-SID: 202 (Label 900202)
################################################################################
set interfaces lo0 unit 0 family inet address 10.255.0.102/32
## SR-MPLS base
set protocols isis source-packet-routing srgb start-label 900000 index-range
8000
set protocols isis source-packet-routing node-segment ipv4-index 202
set interfaces lo0 unit 0 family mpls
set protocols mpls interface all
## Core Mesh Interfaces
set interfaces et-0/0/0 unit 0 description "to P-Core-1"
set interfaces et-0/0/0 unit 0 family mpls
set protocols isis interface et-0/0/0.0
set interfaces et-0/0/1 unit 0 description "to PE-Source-1"
set interfaces et-0/0/1 unit 0 family mpls
set protocols isis interface et-0/0/1.0
set interfaces et-0/0/2 unit 0 description "to PE-Source-2"
set interfaces et-0/0/2 unit 0 family mpls
set protocols isis interface et-0/0/2.0
set interfaces et-0/0/3 unit 0 description "to PE-Dest-1"
set interfaces et-0/0/3 unit 0 family mpls
set protocols isis interface et-0/0/3.0
set interfaces et-0/0/4 unit 0 description "to PE-Dest-2"
set interfaces et-0/0/4 unit 0 family mpls
set protocols isis interface et-0/0/4.0
################################################################################
# PE-Source-1
# Role: Edge (PE) â Red Path Source (SR-MPLS/SR-TE)
# Status: PE
# SR-MPLS Node-SID: 301 (Label 900301)
################################################################################
set interfaces lo0 unit 0 family inet address 10.255.0.1/32
## SR-MPLS base
set protocols isis source-packet-routing srgb start-label 900000 index-range
8000
set protocols isis source-packet-routing node-segment ipv4-index 301
set interfaces lo0 unit 0 family mpls
set protocols mpls interface all
## Core Uplinks (Full Mesh)
set interfaces et-0/0/1 unit 0 description "to P-Core-1"
set interfaces et-0/0/1 unit 0 family mpls
set protocols isis interface et-0/0/1.0
set interfaces et-0/0/2 unit 0 description "to P-Core-2"
set interfaces et-0/0/2 unit 0 family mpls
set protocols isis interface et-0/0/2.0
## SRâMPLS SRâTE â Red path PE-Source-1 -> P-Core-1 -> PE-Dest-1
set protocols source-packet-routing segment-list RED-PATH hop1 label 900201
set protocols source-packet-routing segment-list RED-PATH hop2 label 900501
set protocols source-packet-routing source-routing-path RED-TE to 10.255.0.5
set protocols source-packet-routing source-routing-path RED-TE color 100
set protocols source-packet-routing source-routing-path RED-TE primary RED-PATH
## CE Integration (Red Path)
set interfaces xe-0/0/0 unit 0 description "to CE-Source-1"
set interfaces xe-0/0/0 unit 0 family inet address 10.10.1.1/31
set routing-options static route 10.10.1.0/24 next-hop 10.10.1.0
## Service Steering (Red)
set routing-options static route 10.10.2.0/24 next-hop 10.255.0.5 color 100
################################################################################
# PE-Source-2
# Role: Edge (PE) â Blue Path Source (SR-MPLS/SR-TE)
# Status: PE
# SR-MPLS Node-SID: 302 (Label 900302)
################################################################################
set interfaces lo0 unit 0 family inet address 10.255.0.2/32
## SR-MPLS base
set protocols isis source-packet-routing srgb start-label 900000 index-range
8000
set protocols isis source-packet-routing node-segment ipv4-index 302
set interfaces lo0 unit 0 family mpls
set protocols mpls interface all
## Core Uplinks (Full Mesh)
set interfaces et-0/0/1 unit 0 description "to P-Core-1"
set interfaces et-0/0/1 unit 0 family mpls
set protocols isis interface et-0/0/1.0
set interfaces et-0/0/2 unit 0 description "to P-Core-2"
set interfaces et-0/0/2 unit 0 family mpls
set protocols isis interface et-0/0/2.0
## SRâMPLS SRâTE â Blue path PE-Source-2 -> P-Core-2 -> PE-Dest-2
set protocols source-packet-routing segment-list BLUE-PATH hop1 label 900202
set protocols source-packet-routing segment-list BLUE-PATH hop2 label 900502
set protocols source-packet-routing source-routing-path BLUE-TE to 10.255.0.6
set protocols source-packet-routing source-routing-path BLUE-TE color 200
set protocols source-packet-routing source-routing-path BLUE-TE primary
BLUE-PATH
## CE Integration (Blue Path)
set interfaces xe-0/0/0 unit 0 description "to CE-Source-2"
set interfaces xe-0/0/0 unit 0 family inet address 10.10.1.3/31
set routing-options static route 10.10.1.0/24 next-hop 10.10.1.2
## Service Steering (Blue)
set routing-options static route 10.10.2.0/24 next-hop 10.255.0.6 color 200
################################################################################
# PE-Dest-1
# Role: Edge (PE) â Red Path Destination (SR-MPLS/SR-TE)
# SR-MPLS Node-SID: 501 (Label 900501)
################################################################################
set interfaces lo0 unit 0 family inet address 10.255.0.5/32
## SR-MPLS base
set protocols isis source-packet-routing srgb start-label 900000 index-range
8000
set protocols isis source-packet-routing node-segment ipv4-index 501
set interfaces lo0 unit 0 family mpls
set protocols mpls interface all
## Core Uplinks (Full Mesh)
set interfaces et-0/0/1 unit 0 description "to P-Core-1"
set interfaces et-0/0/1 unit 0 family mpls
set protocols isis interface et-0/0/1.0
set interfaces et-0/0/2 unit 0 description "to P-Core-2"
set interfaces et-0/0/2 unit 0 family mpls
set protocols isis interface et-0/0/2.0
## SRâMPLS SRâTE â Red path PE-Dest-1 -> P-Core-1 -> PE-Source-1
set protocols source-packet-routing segment-list DEST-RED-PATH hop1 label 900201
set protocols source-packet-routing segment-list DEST-RED-PATH hop2 label 900301
set protocols source-packet-routing source-routing-path DEST-RED-TE to
10.255.0.1
set protocols source-packet-routing source-routing-path DEST-RED-TE color 100
set protocols source-packet-routing source-routing-path DEST-RED-TE primary
DEST-RED-PATH
## Service Steering (Return Red)
set routing-options static route 10.10.1.0/24 next-hop 10.255.0.1 color 100
## CE Integration (Dest Side - Red Path)
set interfaces xe-0/0/0 unit 0 description "to CE-Dest-1"
set interfaces xe-0/0/0 unit 0 family inet address 10.10.2.1/31
set routing-options static route 10.10.2.0/24 next-hop 10.10.2.0
################################################################################
# PE-Dest-2
# Role: Edge (PE) â Blue Path Destination (SR-MPLS/SR-TE)
# SR-MPLS Node-SID: 502 (Label 900502)
################################################################################
set interfaces lo0 unit 0 family inet address 10.255.0.6/32
## SR-MPLS base
set protocols isis source-packet-routing srgb start-label 900000 index-range
8000
set protocols isis source-packet-routing node-segment ipv4-index 502
set interfaces lo0 unit 0 family mpls
set protocols mpls interface all
## Core Uplinks (Full Mesh)
set interfaces et-0/0/1 unit 0 description "to P-Core-1"
set interfaces et-0/0/1 unit 0 family mpls
set protocols isis interface et-0/0/1.0
set interfaces et-0/0/2 unit 0 description "to P-Core-2"
set interfaces et-0/0/2 unit 0 family mpls
set protocols isis interface et-0/0/2.0
## SRâMPLS SRâTE â Blue path PE-Dest-2 -> P-Core-2 -> PE-Source-2
set protocols source-packet-routing segment-list DEST-BLUE-PATH hop1 label
900202
set protocols source-packet-routing segment-list DEST-BLUE-PATH hop2 label
900302
set protocols source-packet-routing source-routing-path DEST-BLUE-TE to
10.255.0.2
set protocols source-packet-routing source-routing-path DEST-BLUE-TE color 200
set protocols source-packet-routing source-routing-path DEST-BLUE-TE primary
DEST-BLUE-PATH
## Service Steering (Return Blue)
set routing-options static route 10.10.1.0/24 next-hop 10.255.0.2 color 200
## CE Integration (Dest Side - Blue Path)
set interfaces xe-0/0/0 unit 0 description "to CE-Dest-2"
set interfaces xe-0/0/0 unit 0 family inet address 10.10.2.3/31
set routing-options static route 10.10.2.0/24 next-hop 10.10.2.2
################################################################################
# End of Configuration
################################################################################
PLAN F: SR-MPLS/SR-TE Network (Anonymized Topology)
==========================================================
+-------------+ +-------------+ +-------------+
+-------------+ +-------------+
| CE-Source-1 |--------| PE-Source-1 |-----------| P-Core-1
|--------------| PE-Dest-1 |--------| CE-Dest-1 |
| 10.10.1.0/24| | SID: 900301 | \ / | SID: 900201 | \ /
| SID: 900501 | | 10.10.2.0/24|
+------+------+ +------+------+ \ / +------+------+ \ /
+------+------+ +------+------+
| | \ / | \ /
| |
| | \ / | \ /
| |
| | X | X
| |
| | / \ | / \
| |
| | / \ | / \
| |
+------+------+ +------+------+ / \ +------+------+ / \
+------+------+ +------+------+
| CE-Source-2 |--------| PE-Source-2 |-----------| P-Core-2
|--------------| PE-Dest-2 |--------| CE-Dest-2 |
| 10.10.1.0/24| | SID: 900302 | | SID: 900202 |
| SID: 900502 | | 10.10.2.0/24|
+-------------+ +-------------+ +-------------+
+-------------+ +-------------+
LOGICAL FLOWS:
1. RED PATH (Color 100):
CE-Source-1 -> PE-Source-1 -> P-Core-1 -> PE-Dest-1 -> CE-Dest-1
2. BLUE PATH (Color 200):
CE-Source-2 -> PE-Source-2 -> P-Core-2 -> PE-Dest-2 -> CE-Dest-2
_______________________________________________
NANOG mailing list
https://lists.nanog.org/archives/list/[email protected]/message/ZDACLMELAQ64R6763W4OZNYG4XKLSQE3/