12-16-2009 06:41 AM - edited 03-04-2019 06:59 AM
I am trying to redistribute a single IP from OSPF into BGP...
You can see the ACL where I want to redistribute the single IP and not the entire subnet...but I don't see it in the BGP routing table...
Any ideas?
router ospf 100
log-adjacency-changes
area 0 authentication message-digest
redistribute bgp 65001 subnets
network 10.10.10.0 0.0.0.255 area 0
default-information originate metric 100
!
router bgp 65001
no synchronization
bgp log-neighbor-changes
network 0.0.0.0
redistribute ospf 100 match internal external 1 external 2 route-map redistributeospf
neighbor 12.92.177.113 remote-as 7018
no auto-summary
ip access-list standard redistributeospf
deny 10.10.11.254
permit 10.10.11.0 0.0.0.255
route-map redistributeospf deny 10
match ip address redistributeospf
!
route-map redistributeospf permit 20
Solved! Go to Solution.
12-16-2009 08:58 AM
I am still trying to understand what you are trying to do. Can you explain why the first clause of the route-map is a 'deny' clause?
route-map redistributeospf deny 10
match ip address redistributeospf
12-16-2009 07:11 AM
Can you post the output of show ip bgp?
Regards,
jerry
12-16-2009 07:22 AM
When I do a 'sh ip bgp' all my ospf routes are being redistributed except the subnet 10.10.11.0/24. (Which is what I want minus the single IP)
12-16-2009 08:19 AM
Then your redistribution should work since the OSPF routes make it into the BGP table. Can you have someone verify the remote side?
Regards,
jerry
12-16-2009 08:58 AM
I am still trying to understand what you are trying to do. Can you explain why the first clause of the route-map is a 'deny' clause?
route-map redistributeospf deny 10
match ip address redistributeospf
12-16-2009 09:35 AM
Hi Maria,
You are right on spot. I've missed that totally (read it too fast).
If 10.10.11.254 is the only IP address that should not be redistributed into BGP the route map should look like this
route-map redistributeospf permit 10
match ip address redistributeospf
!
+5 for you Maria.
Regards,
jerry
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