03-02-2018 09:21 AM - edited 02-21-2020 07:27 AM
Running ASA 9.5(3)9. I'm trying to redistribute a D EX route, 10.1.1.0, into OSPF. It's not sending this route to OSPF neighbors. Anyone know why?
access-list 1-to-2-acl standard permit 10.1.1.0 255.255.255.0
route-map 1-to-2 permit 10
match ip address 1-to-2-acl
match route-type external type-1 external type-2 internal local nssa-external type-1 nssa-external type-2
router ospf 1 network 192.168.1.0 255.255.255.0 area 0 area 0 log-adj-changes redistribute eigrp 1 metric 2 metric-type 1 subnets route-map 1-to-2
#sh route
D EX 10.1.1.0 255.255.255.0
Solved! Go to Solution.
03-04-2018 04:32 AM
Hi Esa,
It's been a while since I've used the route-type keyword, but I think what's going on is since you're specifying a type-1 or type-2, you're actually matching on OSPF external routes which is not what you're intending.
To match on EIGRP external, try using "match route-type external" by itself. Or just eliminate the route-type.
Also it's preferred to use prefix-lists over ACLs (if available) when dealing with routes. See below for an example:
prefix-list PL-EIGRP-TO-OSPF permit 10.1.1.0/24 route-map RM-EIGRP-TO-OSPF permit 10 match ip address prefix-list PL-EIGRP-TO-OSPF match route-type external (Optionally remove altogether) router ospf 1 redistribute eigrp 1 metric 2 metric-type 1 subnets route-map RM-EIGRP-TO-OSPF
03-04-2018 04:32 AM
Hi Esa,
It's been a while since I've used the route-type keyword, but I think what's going on is since you're specifying a type-1 or type-2, you're actually matching on OSPF external routes which is not what you're intending.
To match on EIGRP external, try using "match route-type external" by itself. Or just eliminate the route-type.
Also it's preferred to use prefix-lists over ACLs (if available) when dealing with routes. See below for an example:
prefix-list PL-EIGRP-TO-OSPF permit 10.1.1.0/24 route-map RM-EIGRP-TO-OSPF permit 10 match ip address prefix-list PL-EIGRP-TO-OSPF match route-type external (Optionally remove altogether) router ospf 1 redistribute eigrp 1 metric 2 metric-type 1 subnets route-map RM-EIGRP-TO-OSPF
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