cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
543
Views
10
Helpful
5
Replies

Change OSPF router-id - clearp OSPF and MPLS?

johnlloyd_13
Level 9
Level 9

hi,

i'll standardize core routers from using public IP and change it to a private IP on its OSPF router-id.

the loopback0 IP is tied to the OSPF router-id.

we also run MPLS (LDP) on top of OSPF IGP, so my question is do i also need to clear MPLS neighbor after the 'clear ip ospf process'?

 

CSRv#clear mpls ?
 counters Clear MPLS forwarding counters
 ip Clear MPLS IP information
 l2transport MPLS circuit transport info
 ldp Clear LDP state
 mldp Clear MLDP routing protocol parameters
 oam Clear MPLS OAM information
 tp MPLS transport
 traffic-eng Clear MPLS Traffic-Engineering statistical information
 uni Clear uni client connections and configuration

 

CSRv#clear mpls ldp ?
 checkpoint Clear LDP checkpoint state
 neighbor Clear LDP neighbor sessions
 nsr Clear LDP NSR

 

CSRv#clear mpls ldp neighbor

 

2 Accepted Solutions

Accepted Solutions

Harold Ritter
Level 12
Level 12

Hi John,

 

Just clearing the ospf process is sufficient. No need to clear anything else.

 

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

View solution in original post

Hello ,

the force is just to avoid reload.

You can add it just to make the router config aligned with the other ones , it has no practical effect

About the proposed procedure it is fine but at the end you need to remove the max-metric router-lsa to use it again as a transit router.

router ospf 1

no max-metric router-lsa

 

Hope to help

Giuseppe

 

View solution in original post

5 Replies 5

Harold Ritter
Level 12
Level 12

Hi John,

 

Just clearing the ospf process is sufficient. No need to clear anything else.

 

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

johnlloyd_13
Level 9
Level 9

awesome! thank you!

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello ,

if you were already using loop0 as your mpls ldp router-id you are fine.

 

If you need to change also the MPLS LDP router-id you can use

 

conf t

mpls ldp router-id loop0 force

 

without the force parameter in the past a reload was needed to change the MPLS LDP RID.

 

Hope to help

Giuseppe

 

johnlloyd_13
Level 9
Level 9

hi giuseppe,

thanks for jumping in!

there seem to be an inconsistency on the MPLS config on this router. it only has 'mpls ldp router-id Loopback0' while most have 'mpls ldp router-id Loopback0 force'. do i need to configure/add "force" since i'll be changing the IGP/OSPF router-id?

i plan to execute below. can you please confirm?

 

router ospf 1
 max-metric router-lsa

 

mpls ldp router-id Loopback0 force

 

interface Loopback0

 ip address 10.1.1.12 255.255.255.255

 

router ospf 1
 router-id 10.1.1.12


#clear ip ospf process

Hello ,

the force is just to avoid reload.

You can add it just to make the router config aligned with the other ones , it has no practical effect

About the proposed procedure it is fine but at the end you need to remove the max-metric router-lsa to use it again as a transit router.

router ospf 1

no max-metric router-lsa

 

Hope to help

Giuseppe

 

Review Cisco Networking for a $25 gift card