06-24-2021 07:55 PM
Good day -
I'm experimenting changing a network to segment routing from LDP. I'm struggling with an issue where the ABRs are advertising interarea routes in area 0, but those routes are not associated with a MPLS label. I can successfully sr-mpls ping the ABRs loopback addresses. This behavior is different from LDP, which labels the prefixes. What can I configure to have these routes labeled?
router ospf 1 router-id 10.100.235.10 address-family ipv4 unicast area 0 network point-to-point mpls traffic-eng segment-routing mpls interface Loopback0 passive enable prefix-sid index 1001 ! interface GigabitEthernet0/0/0/1 ! ! area 10 interface GigabitEthernet0/0/0/0 ! ! mpls traffic-eng router-id Loopback0 !
06-25-2021 12:20 AM
Hi @tomc.pnnl ,
You need to enable SR MPLS for all areas by configuring "segment-routing mpls" at the global ospf level.
router ospf 1
segment-routing mpls
!
Regards,
06-25-2021 03:43 AM
Hi tomc.pnnl,
As Harold said, you just need the `segment-routing mpls` keyword globally and Segment Routing should be enabled. Beyond that, please also check the `show mpls interface` command as well as the OSPF link-state database (LSDB) for the adjacency SIDs that should be generated there.
Looking forward to hearing back from you.
Regards,
Elvin
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