cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
589
Views
12
Helpful
2
Replies

Segment routing, OSPF, and labeled interarea routes

tomc.pnnl
Level 1
Level 1

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
!
2 Replies 2

Harold Ritter
Cisco Employee
Cisco Employee

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,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Elvin Arias
Level 1
Level 1

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

Getting Started

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:

Review Cisco Networking products for a $25 gift card