07-28-2017 10:53 AM - edited 03-05-2019 08:55 AM
I have two devices with OSPF but the connecovity it is going to the secondary decive and we need it in the primary.
Can we do something similar as clear ip bgp * soft for OSPF?
Solved! Go to Solution.
07-28-2017 03:29 PM
Hello
I can reach 10.154.1.10 from my PC but when I try to connect to 10.154.1.13 is not letting me connect
As you can reach 10.154.1.10 , I am assuming .13 is in the same network and if that's the case then your pc has reachabilty to that subnet., is you pc in the same ip range?
and the last hop that can reach is the one of one of the core switches that has an OSPF redistribute
If the cores ping both of these address then try pinging again sourced from the same vlan as your pc
ping 10.154.1.13 source vlan xxx (pc vlan )
sh arp | in 10.154.1.10
sh arp | in 10.154.1.13
Whats routing protocols are your running for redistribution?
Are you performing mutual redistribution?
res
Paul
07-28-2017 11:11 AM
* clear ip ospf process
this will just drop the adjacency and re-establish it. Can you be more clear what's happening because I didn't quite understand your problem.
In order to run enable ospf on a particular interface/ip address, you can use the following method:
router ospf 1
net 192.168.1.1 0.0.0.0 area x
or
int s1/1
ip ospf x area x
ip add 192.168.1.1 255.255.255.0
07-28-2017 08:25 PM
Hi Pablo,
This command clear ip bgp * soft is used for BGP in order to refresh the entries into the RIB, now coffe@400 provided the command to refresh the OSPF relationship.
Now if you have not selected the OSPF DR and BDR routers yet (it was selected by default) you should configure the highest router id on your router selected to be the DR and the lowest router id for the BDR. Example:
PRIMARY ROUTER
router ospf 1
router-id 10.10.10.10
SECONDARY ROUTER
router ospf 1
router-id 9.9.9.9
Then you can clear the process
clear ip ospf process [then press Yes]
Also you can configure the following command from the DROTHER under the interface facing to the DR and BDR routers to avoid allow them become DR or BDR
ip ospf priority 0
*It is just an idea I don't know your network or the OSPF network type you are using.
:-)
07-28-2017 11:26 AM
For example I have two IP addresses 10.154.1.10 and 10.154.1.13
I can reach 10.154.1.10 from my PC but when I try to connect to 10.154.1.13 is not letting me connect and the last hop that can reach is the one of one of the core switches that has an OSPF redistribute
07-28-2017 12:22 PM
What are you redistributing on the core switches that you can reach as last hop ? OSPF into what ? Or what into OSPF ?
07-28-2017 03:29 PM
Hello
I can reach 10.154.1.10 from my PC but when I try to connect to 10.154.1.13 is not letting me connect
As you can reach 10.154.1.10 , I am assuming .13 is in the same network and if that's the case then your pc has reachabilty to that subnet., is you pc in the same ip range?
and the last hop that can reach is the one of one of the core switches that has an OSPF redistribute
If the cores ping both of these address then try pinging again sourced from the same vlan as your pc
ping 10.154.1.13 source vlan xxx (pc vlan )
sh arp | in 10.154.1.10
sh arp | in 10.154.1.13
Whats routing protocols are your running for redistribution?
Are you performing mutual redistribution?
res
Paul
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