04-08-2021 06:18 PM - edited 04-08-2021 06:20 PM
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
Solved! Go to Solution.
04-08-2021 08:48 PM
Hi John,
Just clearing the ospf process is sufficient. No need to clear anything else.
Regards,
04-09-2021 01:25 AM
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
04-08-2021 08:48 PM
Hi John,
Just clearing the ospf process is sufficient. No need to clear anything else.
Regards,
04-08-2021 09:10 PM
awesome! thank you!
04-08-2021 11:20 PM
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
04-08-2021 11:33 PM
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
04-09-2021 01:25 AM
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
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