In the previous article on BGP Auto-Steering, we implemented SR-TE path steering on Cisco IOS-XR. In this lab, we move over to Juniper Junos (vMX) to deploy SPRING (Source Packet Routing in Networking) SR-TE and Dynamic Tunnel Mapping (DTM) for automated on-demand traffic engineering.
Getting this lab fully working took four days of intense debugging thanks to several subtle Junos-specific caveats—from RSVP admin-group injection and the default maximum-labels 3 interface limit to include-any differences and inetcolor.0 fallback behavior. Here is the complete configuration and troubleshooting guide.
Lab Topology & Baseline SPRING Configuration
All IGP metrics, TE metrics, and admin-groups (blue / orange) are configured as annotated in Figure 1. Begin by applying the baseline chassis enhanced-ip, protocols isis, and protocols mpls configuration across all vMX nodes:
// Common baseline configuration across all vMX routers
root@R1# show chassis
network-services enhanced-ip; // Required on both vMX and hardware MX routers to enable Segment Routing
root@R1# show protocols isis
interface ge-0/0/1.0 {
level 2 {
te-metric 5; // Configure link TE metric as shown in the topology
ipv4-adjacency-segment {
unprotected label 15001; // Assign static unprotected Adj-SID from SRLB
}
metric 20; // Configure link IGP metric as shown in the topology
}
point-to-point; // Force point-to-point mode to avoid DIS election on P2P links
}
interface ge-0/0/4.0 {
level 2 {
te-metric 2;
ipv4-adjacency-segment {
unprotected label 15004;
}
}
point-to-point;
}
interface lo0.0;
source-packet-routing {
srgb start-label 16000 index-range 8000; // Configure SRGB 16000-23999 (equivalent to Cisco IOS-XR SRGB)
node-segment ipv4-index 1; // Advertise globally unique Node-SID index 1
}
level 1 disable; // Disable Level 1
level 2 wide-metrics-only; // Mandatory Level 2 wide-metrics-only to carry SR sub-TLVs
traffic-engineering l3-unicast-topology; // Populate local TEDB from IS-IS (required on headend routers)
root@R1# show protocols mpls
traffic-engineering; // Enable MPLS traffic-engineering
admin-groups {
blue 0; // Map admin-group color names to bit positions
orange 1;
}
icmp-tunneling; // Enable ICMP tunneling on all routers so transit MPLS hops appear in traceroute
label-range {
static-label-range 15000 15999; // Define local SRLB range 15000-15999
}
interface ge-0/0/1.0 {
admin-group [ blue orange ]; // Tag interface admin-groups and enable MPLS
}
interface ge-0/0/4.0; // Enable MPLS on interface
Verify the IS-IS Level-2 database and inet.3 SPRING label table on R1:
root@R1> show isis database
IS-IS level 1 link-state database:
0 LSPs
IS-IS level 2 link-state database:
LSP ID Sequence Checksum Lifetime Attributes
R1.00-00 0x46 0xd946 1165 L1 L2
R2.00-00 0x48 0xef4 917 L1 L2
R3.00-00 0x49 0x5176 527 L1 L2
R4.00-00 0x48 0x5c9a 942 L1 L2
R5.00-00 0x47 0xaee8 589 L1 L2
R6.00-00 0x49 0xb94e 492 L1 L2
R7.00-00 0x49 0x5afd 928 L1 L2
R8.00-00 0x49 0xd9c5 938 L1 L2
8 LSPs
root@R1> show route table inet.3
inet.3: 7 destinations, 7 routes (7 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.0.0.2/32 *[L-ISIS/14] 04:33:26, metric 20
> to 10.10.12.2 via ge-0/0/1.0
10.0.0.3/32 *[L-ISIS/14] 04:33:26, metric 40
to 10.10.12.2 via ge-0/0/1.0, Push 16003
> to 10.10.15.5 via ge-0/0/4.0, Push 16003
10.0.0.4/32 *[L-ISIS/14] 04:33:26, metric 60
> to 10.10.15.5 via ge-0/0/4.0, Push 16004
10.0.0.5/32 *[L-ISIS/14] 04:33:26, metric 10
> to 10.10.15.5 via ge-0/0/4.0
10.0.0.6/32 *[L-ISIS/14] 04:33:26, metric 20
> to 10.10.15.5 via ge-0/0/4.0, Push 16006
10.0.0.7/32 *[L-ISIS/14] 04:33:26, metric 30
> to 10.10.15.5 via ge-0/0/4.0, Push 16007
10.0.0.8/32 *[L-ISIS/14] 04:33:26, metric 40
> to 10.10.15.5 via ge-0/0/4.0, Push 16008
All remote loopback Prefix-SIDs now appear in inet.3. Note that 10.0.0.3/32 shows ECMP load-balancing across equal IGP paths, while directly attached neighbors 10.0.0.2/32 and 10.0.0.5/32 pop their transport labels via PHP (their advertised SIDs remain 16002 and 16005).
Step 1: Configuring Junos SR-TE Policies & Troubleshooting Pitfalls
Configure a dynamically computed SR-TE LSP named blue on headend R1 (color 10, binding-sid 15555, admin-group include-any blue, metric-type te):
root@R1# show
compute-profile dynamic_blue { // Define compute-profile constraints
admin-group include-any blue; // Constraint 1: include-any blue admin-group
metric-type {
te; // Constraint 2: optimize path using TE metric
}
}
source-routing-path blue { // Define static SR-TE LSP 'blue'
to 10.0.0.8; // Tailend destination 10.0.0.8
color 10; // Color 10
binding-sid 15555; // Static Binding-SID from SRLB
primary { // Primary candidate path
blue { // Path name 'blue'
compute { // Dynamic CSPF computation
dynamic_blue; // Reference compute-profile dynamic_blue
}
}
}
}
Inspecting show spring-traffic-engineering lsp detail reveals an unexpected surprise: the LSP stays Down with Compute Result: failure:
root@R1> show spring-traffic-engineering lsp detail
Name: blue
Tunnel-source: Static configuration
To: 10.0.0.8-10<c>
State: Down
Path: blue
Outgoing interface: NA
Auto-translate status: Disabled Auto-translate result: N/A
Compute Status:Enabled , Compute Result:failure , Compute-Profile Name:dynamic_blue
Total number of computed paths: 0
Pitfall 1: Enabling RSVP Is Mandatory to Inject Admin-Groups into IS-IS TLVs
Checking show isis database R1.00-00 extensive confirms the root cause: IS-IS carries TE metrics and Adj-SIDs, yet no Administrative-Group sub-TLVs are present in the TEDB:
root@R1> show isis database R1.00-00 extensive
{..snip..}
TLVs:
{..snip..}
IS extended neighbor: R2.00, Metric: default 20 SubTLV len: 34
IP address: 10.10.12.1
Neighbor's IP address: 10.10.12.2
Local interface index: 336, Remote interface index: 334
Traffic engineering metric: 5
P2P IPV4 Adj-SID - Flags:0x34(F:0,B:0,V:1,L:1,S:0,P:1), Weight:0, Label: 15001
P2P IPv4 Adj-SID: 15001, Weight: 0, Flags: --VL-P
{..snip..}
IP extended prefix: 10.0.0.1/32 metric 0 up
8 bytes of subtlvs
Node SID, Flags: 0x40(R:0,N:1,P:0,E:0,V:0,L:0), Algo: SPF(0), Value: 1
IP extended prefix: 10.10.12.0/24 metric 20 up
IP extended prefix: 10.10.15.0/24 metric 10 up
Router Capability: Router ID 10.0.0.1, Flags: 0x00
{..snip..}
Even though admin-groups are defined under protocols mpls, Junos requires RSVP enabled on every router interface to inject MPLS admin-groups into IS-IS:
root@R1# show protocols rsvp interface all; // Note: passive interface is not supported here on Junos; evaluate carefully in production
Re-checking the IS-IS database confirms Administrative groups: 0x3 orange blue now floods properly inside the IS-IS neighbor sub-TLVs:
root@R1> show isis database R1.00-00 extensive
{..snip..}
IS extended neighbor: R2.00, Metric: default 20 SubTLV len: 86
IP address: 10.10.12.1
Neighbor's IP address: 10.10.12.2
Local interface index: 336, Remote interface index: 334
{..snip..}
Administrative groups: 0x3 orange blue
P2P IPV4 Adj-SID - Flags:0x34(F:0,B:0,V:1,L:1,S:0,P:1), Weight:0, Label: 15001
P2P IPv4 Adj-SID: 15001, Weight: 0, Flags: --VL-P
{..snip..}
IP extended prefix: 10.0.0.1/32 metric 0 up
8 bytes of subtlvs
Node SID, Flags: 0x40(R:0,N:1,P:0,E:0,V:0,L:0), Algo: SPF(0), Value: 1
IP extended prefix: 10.10.12.0/24 metric 20 up
IP extended prefix: 10.10.15.0/24 metric 10 up
Router Capability: Router ID 10.0.0.1, Flags: 0x00
{..snip..}
Checking show spring-traffic-engineering lsp detail again shows blue is Up along R1 → R2 → R3 → R4 → R8 (16002, 16003, 15003, 16008)—matching our earlier Cisco IOS-XR walkthrough:
root@R1> show spring-traffic-engineering lsp detail
Name: blue
Tunnel-source: Static configuration
To: 10.0.0.8-10<c>
State: Up
Path: blue
Outgoing interface: NA
Auto-translate status: Disabled Auto-translate result: N/A
Compute Status:Enabled , Compute Result:success , Compute-Profile Name:dynamic_blue
Total number of computed paths: 1
Computed-path-index: 1
BFD status: N/A BFD name: N/A
TE metric: 23, IGP metric: 110; Metric optimized by type: TE
computed segments count: 4
computed segment : 1 (computed-node-segment):
node segment label: 16002
router-id: 10.0.0.2
computed segment : 2 (computed-node-segment):
node segment label: 16003
router-id: 10.0.0.3
computed segment : 3 (computed-adjacency-segment):
label: 15003
source router-id: 10.0.0.3, destination router-id: 10.0.0.4
source interface-address: 10.10.34.3, destination interface-address: 10.10.34.4
computed segment : 4 (computed-node-segment):
node segment label: 16008
router-id: 10.0.0.8
Next, create two more LSPs: orange (color 20, include-any orange) and te (color 30, TE-metric only). Pitfall 2: unlike Cisco IOS-XR, Junos admin-group include-any orange still fails CSPF if any traversed link lacks orange (which is why R1–R2 and R2–R3 carry both BLUE and ORANGE in Figure 1). All three LSPs compute cleanly:
root@R1> show spring-traffic-engineering lsp detail
Name: blue
Tunnel-source: Static configuration
To: 10.0.0.8-10<c>
State: Up
Path: blue
{..snip..}
computed segments count: 4
computed segment : 1 (computed-node-segment):
node segment label: 16002
router-id: 10.0.0.2
computed segment : 2 (computed-node-segment):
node segment label: 16003
router-id: 10.0.0.3
computed segment : 3 (computed-adjacency-segment):
label: 15003
source router-id: 10.0.0.3, destination router-id: 10.0.0.4
source interface-address: 10.10.34.3, destination interface-address: 10.10.34.4
computed segment : 4 (computed-node-segment):
node segment label: 16008
router-id: 10.0.0.8
Name: orange
Tunnel-source: Static configuration
To: 10.0.0.8-20<c>
State: Up
Path: orange
{..snip..}
computed segments count: 3
computed segment : 1 (computed-node-segment):
node segment label: 16002
router-id: 10.0.0.2
computed segment : 2 (computed-node-segment):
node segment label: 16003
router-id: 10.0.0.3
computed segment : 3 (computed-adjacency-segment):
label: 15000
source router-id: 10.0.0.3, destination router-id: 10.0.0.8
source interface-address: 10.10.38.3, destination interface-address: 10.10.38.8
Name: te
Tunnel-source: Static configuration
To: 10.0.0.8-30<c>
State: Up
Path: te
{..snip..}
computed segments count: 3
computed segment : 1 (computed-node-segment):
node segment label: 16007
router-id: 10.0.0.7
computed segment : 2 (computed-node-segment):
node segment label: 16003
router-id: 10.0.0.3
computed segment : 3 (computed-adjacency-segment):
label: 15000
source router-id: 10.0.0.3, destination router-id: 10.0.0.8
source interface-address: 10.10.38.3, destination interface-address: 10.10.38.8
blue:R1 → R2 → R3 → R4 → R8(TE Metric = 23)orange:R1 → R2 → R3 → R8(TE Metric = 20)te:R1 → R5 → R6 → R7 → R3 → R8(TE Metric = 2+2+2+2+10 = 18)
Pitfall 3: Default Interface Maximum-Labels (3) Marks 4-Label Stacks Unusable
Inspecting Junos’s color-indexed table inetcolor.0 exposes another surprise: only orange is installed, while blue and te report Route Nexthop Type: Unusable:
root@R1> show route table inetcolor.0
inetcolor.0: 10 destinations, 10 routes (9 active, 0 holddown, 1 hidden)
+ = Active Route, - = Last Active, * = Both
10.0.0.8-20<c>/64
*[SPRING-TE/8] 00:00:08, metric 1, metric2 40
> to 10.10.12.2 via ge-0/0/1.0, Push 15000, Push 16003(top)
root@R1> show spring-traffic-engineering lsp
To State LSPname
10.0.0.8-10<c> Up blue
10.0.0.8-20<c> Up orange
10.0.0.8-30<c> Up te
root@R1> show spring-traffic-engineering route detail label 15555 // Inspect BSID 15555 route state
To : 15555
Tunnel-source : Static configuration
Route Nexthop Type: Unusable
Route Metric2 : 0
LSP Name: blue
{..snip..}
Any SR-TE path requiring more than three MPLS labels fails interface validation because Junos interfaces default to Maximum labels: 3 under family mpls:
root@R1> show interfaces ge-0/0/1.0
Logical interface ge-0/0/1.0 (Index 336) (SNMP ifIndex 547)
{..snip..}
Protocol mpls, MTU: 1974, Maximum labels: 3
{..snip..}
Raise the MPLS label imposition limit to 16 across all ge-* interfaces using a configuration group:
root@R1# show groups
if-group {
interfaces {
<ge-*> {
unit <*> {
family mpls {
maximum-labels 16;
}
}
}
}
}
apply-groups if-group;
Once committed, Maximum labels: 16 takes effect and all three SR-TE tunnels (10.0.0.8-10<c>/64, -20<c>/64, and -30<c>/64) install cleanly into inetcolor.0:
root@R1> show interfaces ge-0/0/1.0
Logical interface ge-0/0/1.0 (Index 336) (SNMP ifIndex 547)
{..snip..}
Protocol mpls, MTU: 1974, Maximum labels: 16
{..snip..}
root@R1> show route table inetcolor.0
inetcolor.0: 10 destinations, 10 routes (10 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.0.0.8-10<c>/64
*[SPRING-TE/8] 00:00:52, metric 1, metric2 40
> to 10.10.12.2 via ge-0/0/1.0, Push 16008, Push 15003, Push 16003(top) // Logically 4 SR labels: 16002 is popped at R1 (PHP) before forwarding to R2
10.0.0.8-20<c>/64
*[SPRING-TE/8] 00:00:52, metric 1, metric2 40
> to 10.10.12.2 via ge-0/0/1.0, Push 15000, Push 16003(top) // Same PHP behavior for 16002 on orange LSP
10.0.0.8-30<c>/64
*[SPRING-TE/8] 00:00:52, metric 1, metric2 40
> to 10.10.15.5 via ge-0/0/4.0, Push 15000, Push 16003, Push 16007(top) // Multi-hop IGP to R7 (16007), so top label is pushed without PHP at R1
Step 2: L3VPN Traffic Steering & inetcolor.0 Fallback
Just as on Cisco, routes are tagged with BGP Color extended communities. On Junos, attach a resolution-map (mode ip-color) to the VRF import policy so colored L3VPN prefixes resolve their next-hops in inetcolor.0 instead of inet.3 (for background on Junos routing tables, see What Does the inet.3 Table Do? (ZH)):
root@R1# show policy-options
{..snip..}
policy-statement l3vpn-import {
term accept-all {
from community l3vpn;
then {
accept;
resolution-map odn; // Apply resolution-map so colored L3VPN prefixes resolve via inetcolor.0
// Matches BGP next-hop + Color community against LSP [endpoint + color]
}
}
}
resolution-map odn {
mode ip-color; // Standard ip-color resolution mode
}
Checking l3vpn.inet.0 confirms each prefix resolves onto its designated SR-TE label stack above inner VPN service label 16:
root@R1> show route table l3vpn.inet.0
l3vpn.inet.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
100.64.0.0/24 *[Direct/0] 15:14:41
> via ge-0/0/8.0
100.64.0.1/32 *[Local/0] 15:14:41
Local via ge-0/0/8.0
100.64.1.0/24 *[BGP/170] 00:41:52, localpref 100, from 10.0.0.8
AS path: I, validation-state: unverified
> to 10.10.12.2 via ge-0/0/1.0, Push 16, Push 16008, Push 15003, Push 16003(top)
100.64.2.0/24 *[BGP/170] 15:13:32, localpref 100, from 10.0.0.8
AS path: I, validation-state: unverified
> to 10.10.12.2 via ge-0/0/1.0, Push 16, Push 15000, Push 16003(top)
100.64.3.0/24 *[BGP/170] 00:26:40, localpref 100, from 10.0.0.8
AS path: I, validation-state: unverified
> to 10.10.15.5 via ge-0/0/4.0, Push 16, Push 15000, Push 16003, Push 16007(top)
Pitfall 4: VRF Routes Become Hidden When an SR-TE LSP Goes Down
Watch what happens if we deactivate protocols source-packet-routing to simulate an LSP outage: all three colored L3VPN prefixes turn Hidden / Unusable because inetcolor.0 no longer holds any fallback transport route:
root@R1# deactivate protocols source-packet-routing
root@R1> show route table inetcolor.0
root@R1>
root@R1> show route table l3vpn.inet.0 hidden
l3vpn.inet.0: 5 destinations, 5 routes (2 active, 0 holddown, 3 hidden)
+ = Active Route, - = Last Active, * = Both
100.64.1.0/24 [BGP/170] 00:00:15, localpref 100, from 10.0.0.8
AS path: I, validation-state: unverified
Unusable
100.64.2.0/24 [BGP/170] 00:00:15, localpref 100, from 10.0.0.8
AS path: I, validation-state: unverified
Unusable
100.64.3.0/24 [BGP/170] 00:00:15, localpref 100, from 10.0.0.8
AS path: I, validation-state: unverified
Unusable
To guarantee graceful fallback, configure a rib-group under protocols isis that copies L-ISIS transport routes from inet.3 into inetcolor.0 (installed as 10.0.0.x-0<c>/32):
root@R1# show | compare
[edit protocols isis]
+ rib-group inet3 inetcolor-fallback; // Attach rib-group under IS-IS to copy inet.3 routes into inetcolor.0
[edit routing-options rib-groups]
+ inetcolor-fallback {
+ import-rib [ inet.3 inetcolor.0 ]; // Leak inet.3 transport routes into inetcolor.0 as LSP-down fallback
+ }
Now inetcolor.0 holds both the specific /64 SPRING-TE tunnels (preferred while up) and the shorter /32 L-ISIS fallback entries (activated automatically as Push 16, Push 16008(top) if any tunnel goes down):
root@R1> show route table inetcolor.0
inetcolor.0: 10 destinations, 10 routes (10 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.0.0.2-0<c>/32
*[L-ISIS/14] 00:00:06, metric 20
> to 10.10.12.2 via ge-0/0/1.0
10.0.0.3-0<c>/32
*[L-ISIS/14] 00:00:06, metric 40
to 10.10.12.2 via ge-0/0/1.0, Push 16003
> to 10.10.15.5 via ge-0/0/4.0, Push 16003
10.0.0.4-0<c>/32
*[L-ISIS/14] 00:00:06, metric 60
> to 10.10.15.5 via ge-0/0/4.0, Push 16004
10.0.0.5-0<c>/32
*[L-ISIS/14] 00:00:06, metric 10
> to 10.10.15.5 via ge-0/0/4.0
10.0.0.6-0<c>/32
*[L-ISIS/14] 00:00:06, metric 20
> to 10.10.15.5 via ge-0/0/4.0, Push 16006
10.0.0.7-0<c>/32
*[L-ISIS/14] 00:00:06, metric 30
> to 10.10.15.5 via ge-0/0/4.0, Push 16007
10.0.0.8-0<c>/32
*[L-ISIS/14] 00:00:06, metric 40
> to 10.10.15.5 via ge-0/0/4.0, Push 16008
10.0.0.8-10<c>/64
*[SPRING-TE/8] 00:00:06, metric 1, metric2 40
> to 10.10.12.2 via ge-0/0/1.0, Push 16008, Push 15003, Push 16003(top)
10.0.0.8-20<c>/64
*[SPRING-TE/8] 00:00:06, metric 1, metric2 40
> to 10.10.12.2 via ge-0/0/1.0, Push 15000, Push 16003(top)
10.0.0.8-30<c>/64
*[SPRING-TE/8] 00:00:06, metric 1, metric2 40
> to 10.10.15.5 via ge-0/0/4.0, Push 15000, Push 16003, Push 16007(top)
root@R1# run show route table l3vpn.inet.0
l3vpn.inet.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
100.64.1.0/24 *[BGP/170] 00:07:38, localpref 100, from 10.0.0.8
AS path: I, validation-state: unverified
> to 10.10.15.5 via ge-0/0/4.0, Push 16, Push 16008(top)
100.64.2.0/24 *[BGP/170] 00:07:38, localpref 100, from 10.0.0.8
AS path: I, validation-state: unverified
> to 10.10.15.5 via ge-0/0/4.0, Push 16, Push 16008(top)
100.64.3.0/24 *[BGP/170] 00:07:38, localpref 100, from 10.0.0.8
AS path: I, validation-state: unverified
> to 10.10.15.5 via ge-0/0/4.0, Push 16, Push 16008(top)
Step 3: On-Demand SR Policies via Dynamic Tunnel Mapping (DTM)
Configuring static SR-TE LSPs per destination quickly becomes unmanageable at scale. By replacing static blue with Dynamic Tunnel Mapping (DTM) under routing-options dynamic-tunnels and a source-routing-path-template, Junos automatically instantiates an SR-TE Policy whenever a BGP route arrives carrying color 10 and a next-hop within 10.0.0.0/24:
root@R1# show routing-options dynamic-tunnels
ODN-blue { // Define Dynamic Tunnel Module (DTM) profile ODN-blue
spring-te { // Enable on-demand SPRING-TE tunnel creation
source-routing-path-template {
auto_blue color 10; // Trigger template auto_blue when a BGP route carries Color 10
}
destination-networks {
10.0.0.0/24; // Match BGP next-hops inside 10.0.0.0/24 (both clauses required)
}
}
}
root@R1# show protocols source-packet-routing
compute-profile dynamic_blue { // Reuse existing compute-profile dynamic_blue
admin-group include-any blue;
metric-type {
te;
}
}
source-routing-path-template auto_blue { // Define ODN source-routing-path-template auto_blue
primary {
blue {
compute {
dynamic_blue; // Reference dynamic_blue constraints
}
}
}
}
Verify via show spring-traffic-engineering route that 10.0.0.8-10<c> is dynamically spawned by Dynamic Tunnel Module(DTM) (10.0.0.8:a:dt-srte-ODN-blue) and resolves 100.64.1.0/24 identically:
root@R1> show spring-traffic-engineering route
To Source SR Override Pref/Pref LSP Name Segment Lists
10.0.0.8-10<c> Dynamic Tunnel Module(DTM) 100 / 100 10.0.0.8:a:dt-srte-ODN-blue blue
10.0.0.8-20<c> Static configuration 100 / 100 orange orange
10.0.0.8-30<c> Static configuration 100 / 100 te te
15666 Static configuration 100 / 100 orange orange
15777 Static configuration 100 / 100 te te
root@R1> show route table l3vpn.inet.0 100.64.1.0/24
l3vpn.inet.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
100.64.1.0/24 *[BGP/170] 00:23:35, localpref 100, from 10.0.0.8
AS path: I, validation-state: unverified
> to 10.10.12.2 via ge-0/0/1.0, Push 16, Push 16008, Push 15003, Push 16003(top)
Step 4: End-to-End Customer MTR Verification
Finally, run mtr from L3VPN-Client-A to all three destination prefixes on L3VPN-Client-B (intermediate hops are visible thanks to icmp-tunneling):
root@L3VPN-Client-A:~# mtr 100.64.1.2 -n --report Start: 2021-06-18T14:29:10+0000 HOST: L3VPN-Client-A Loss% Snt Last Avg Best Wrst StDev 1.|-- 100.64.0.1 0.0% 10 2.6 25.4 1.6 230.9 72.2 2.|-- 10.10.12.2 0.0% 10 7.7 23.0 7.5 74.8 26.0 3.|-- 10.10.23.3 0.0% 10 10.5 15.5 7.2 65.6 17.8 4.|-- 10.10.34.4 0.0% 10 17.9 21.5 7.6 73.2 22.1 5.|-- 100.64.1.1 0.0% 10 7.1 70.1 6.5 481.6 151.9 6.|-- 100.64.1.2 0.0% 10 8.1 9.3 7.6 13.4 2.1 // Steered via DTM Blue LSP: R1 -> R2 -> R3 -> R4 -> R8 root@L3VPN-Client-A:~# mtr 100.64.2.2 -n --report Start: 2021-06-18T14:29:28+0000 HOST: L3VPN-Client-A Loss% Snt Last Avg Best Wrst StDev 1.|-- 100.64.0.1 0.0% 10 1.6 45.3 1.6 387.3 121.1 2.|-- 10.10.12.2 0.0% 10 81.1 18.8 7.5 81.1 22.8 3.|-- 10.10.23.3 0.0% 10 10.6 59.9 5.5 515.3 160.0 4.|-- 100.64.1.1 0.0% 10 20.9 31.7 5.6 213.4 64.4 5.|-- 100.64.2.2 0.0% 10 8.3 8.1 6.5 12.7 1.9 // Steered via Orange LSP: R1 -> R2 -> R3 -> R8 root@L3VPN-Client-A:~# mtr 100.64.3.2 -n --report Start: 2021-06-18T14:29:45+0000 HOST: L3VPN-Client-A Loss% Snt Last Avg Best Wrst StDev 1.|-- 100.64.0.1 0.0% 10 2.1 15.4 1.9 132.6 41.2 2.|-- 10.10.15.5 0.0% 10 71.4 55.8 8.8 334.2 100.7 3.|-- 10.10.56.6 0.0% 10 9.3 39.9 7.4 210.6 68.2 4.|-- 10.10.67.7 0.0% 10 8.2 41.2 7.3 289.3 88.0 5.|-- 10.10.37.3 0.0% 10 8.0 16.4 7.7 56.0 14.3 6.|-- 100.64.1.1 0.0% 10 10.3 11.1 6.7 37.7 9.4 7.|-- 100.64.3.2 0.0% 10 7.4 9.1 6.4 13.6 2.2 // Steered via TE LSP (TE-metric optimal, no affinity): R1 -> R5 -> R6 -> R7 -> R3 -> R8
Summary: Four Junos SR-TE Pitfalls to Remember
- Enable RSVP for admin-groups: Junos requires
protocols rsvp interface allto inject MPLS admin-groups into IS-IS TLVs for constrained SR-TE CSPF. include-anylink-matching quirk: Unlike Cisco IOS-XR, Junos failsinclude-anyCSPF if links along the path lack the specified admin-group.- Raise
maximum-labels 16: Interfaces default to 3 MPLS labels, rendering 4+ label SR-TE stacksUnusable. - Configure
inet.3 → inetcolor.0fallback: Always copyinet.3routes viarib-groupso VRF routes survive an SR-TE LSP failure.