################################################################################ # 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 ################################################################################