08-21-2020 03:19 PM
Hi,
I'm testing a topology for an SR TE tunnel. While the tunnel works, it only works when I declared all the labels in the SR path.
ip explicit-path name XE-PE3 enable
index 1 next-label 16003
index 2 next-label 16001
index 3 next-label 16002
index 4 next-label 16004
These labels are absolute and tied to each hop's looback interface. My question is: is there a way to declare only one of the labels in the path like:
ip explicit-path name XE-PE3 enable
index 1 next-label 16003
(the configuration above doesn't bring the tunnel up)
So that the tunnel is setup in a way that it only has to pass through PE3, then any other available route?
Thanks!
c.
08-22-2020 06:42 PM - edited 08-22-2020 06:42 PM
You should not need to specify all the nodes between the head-end and tail-end. Could you post your ospf or isis configuration.
Regards,
08-23-2020 03:52 AM
Thanks, Harold. Just so you know, my lab is a mix of XR and XE, but the headend for this particular tunnel is XE.
XE-PE6.
segment-routing mpls
!
set-attributes
address-family ipv4
sr-label-preferred
exit-address-family
!
!
connected-prefix-sid-map
address-family ipv4
10.0.0.6/32 absolute 16006 range 1
exit-address-family
[snip]
!
interface Loopback0
ip address 10.0.0.6 255.255.255.255
ip ospf 1 area 0
!
interface Tunnel100
ip unnumbered Loopback0
tunnel source Loopback0
tunnel mode mpls traffic-eng
tunnel destination 10.0.0.4
tunnel mpls traffic-eng path-option 10 explicit name XE-PE3 segment-routing
!
interface GigabitEthernet1
ip address 10.1.6.6 255.255.255.0
ip ospf network point-to-point
ip ospf 1 area 0
negotiation auto
cdp enable
mpls ip
mpls traffic-eng tunnels
no mop enabled
no mop sysid
!
interface GigabitEthernet2
no ip address
negotiation auto
no mop enabled
no mop sysid
service instance 11 ethernet
encapsulation dot1q 100 second-dot1q 1-4094
!
!
interface GigabitEthernet3
ip address 10.3.6.6 255.255.255.0
ip ospf network point-to-point
ip ospf 1 area 0
negotiation auto
mpls ip
mpls traffic-eng tunnels
no mop enabled
no mop sysid
!
interface GigabitEthernet4
ip address 172.17.0.6 255.255.255.0
negotiation auto
no mop enabled
no mop sysid
!
router ospf 1
router-id 10.0.0.6
segment-routing area 0 mpls
segment-routing mpls
mpls traffic-eng router-id Loopback0
mpls traffic-eng area 0
!
[snip]
!
ip explicit-path name XE-PE3 enable
index 1 next-label 16003
index 2 next-label 16001
index 3 next-label 16002
index 4 next-label 16004
!
!
!
!
mpls ldp router-id Loopback0 force
l2vpn xconnect context prueba
member GigabitEthernet2 service-instance 11
member 10.0.0.7 11 encapsulation mpls
[snip]
XE-PE6#
XR-P1:
08-24-2020 01:30 PM
Can you revert back to the configuration where you have only label 16003 in the explicit path and provide the output from "sh mpls traffic-eng tunnels det".
Regards,
08-24-2020 02:10 PM
08-24-2020 02:54 PM - edited 08-24-2020 03:17 PM
And the output from "sh mpls traffic-eng topology path destination 10.0.0.4 " and "sh mpls traffic-eng topology segment-routing".
Regards,
08-24-2020 03:34 PM
08-24-2020 08:33 PM
Hi Carlos,
> Just a quick comment. The tunnel does come up if I leave the transit router (that I want) label and the (final)destination label in > the explicit-path, while removing all the other hops.
Glad to hear it is now working.
> So it looks I would need a minimum of two labels.
Normally you would need one label for the intermediate node and one of the egress node.
Regards,
08-25-2020 06:47 AM
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: