01-25-2025 06:13 AM
Hi
I am currently learning the SR-TE. My explicit path runs from R1 to R6. I wanted to use the command “traceroute sr-mpls nil-fec policy binding-sid XXXX” , unfortunately IOS XR Version 6.3.1 does not seem to support such a command (at least in the demo version), so I found a seemingly similar one
- traceroute mpls nil-fec labels 16002,16004,16006 output interface GigabitEthernet 0/0/0/0/0 nexthop 10.10.12.2
Unfortunately, the result of the command looks like below, I wonder if I use this command correctly , or maybe I forgot something in my configuration? Please give me some hints
below the confiugration of R1 and R2 ( the rest of the nodes have a similar configuration)
----------------R1 config----------------------
hostname R1
interface Loopback0
ipv4 address 1.1.1.1 255.255.255.255
!
interface GigabitEthernet0/0/0/0
cdp
ipv4 address 10.10.12.1 255.255.255.0
!
interface GigabitEthernet0/0/0/1
cdp
ipv4 address 10.10.13.1 255.255.255.0
!
router ospf 100
distribute link-state
router-id 1.1.1.1
segment-routing mpls
segment-routing sr-prefer
area 0
interface Loopback0
network point-to-point
prefix-sid index 1
!
interface GigabitEthernet0/0/0/0
network point-to-point
!
interface GigabitEthernet0/0/0/1
network point-to-point
!
mpls oam
!
segment-routing
traffic-eng
segment-list name SR-PATH-R1-R6
index 10 mpls label 16002
index 20 mpls label 16004
index 30 mpls label 16006
!
policy EXPLICIT
color 20 end-point ipv4 6.6.6.6
candidate-paths
preference 100
explicit segment-list SR-PATH-R1-R6
!
----------------R2 config----------------------
hostname R2
interface Loopback0
ipv4 address 2.2.2.2 255.255.255.255
!
interface GigabitEthernet0/0/0/0
cdp
ipv4 address 10.10.12.2 255.255.255.0
!
interface GigabitEthernet0/0/0/1
cdp
ipv4 address 10.10.24.1 255.255.255.0
!
interface GigabitEthernet0/0/0/2
cdp
ipv4 address 10.10.23.1 255.255.255.0
!
router ospf 100
distribute link-state
router-id 2.2.2.2
segment-routing mpls
segment-routing sr-prefer
area 0
interface Loopback0
network point-to-point
prefix-sid index 2
!
interface GigabitEthernet0/0/0/0
network point-to-point
!
interface GigabitEthernet0/0/0/1
network point-to-point
!
interface GigabitEthernet0/0/0/2
network point-to-point
!
02-02-2025 11:01 PM
Hello @quad99 ,
your traceroute does not show intermediate MPLS nodes you may need to work on MPLS TTL propagate concept.
the MPLS TTL can be the copy of the payload and it can be decremented at each MPLS hop or the network details can be hidden.
Hope to help
Giuseppe
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide