I have a strange problem with route resdistribution. I am running BGP as my egp and OSPF internally.
I have multiple sites all connected by BGP. I also have cisco ASA firewalls which connect to the network via OSPF.
The problem is that the firewalls are failing to route traffic to a site other than the one they are connected to. Route redistribution has been set up but doesn't appear to be working.
When viewing a route from one of the core switches we get the following report.
BRE-CABH-CORE01#sh ip route 172.29.80.0
Routing entry for 172.29.80.0/21
Known via "bgp 64550", distance 200, metric 5
Tag 64521, type internal
Redistributing via ospf 1
Last update from 192.168.255.5 1w2d ago
Routing Descriptor Blocks:
* 192.168.255.5, from 192.168.255.2, 1w2d ago
Route metric is 5, traffic share count is 1
AS Hops 4
Route tag 64521
Now reading this I would expect that an ospf node would see the route being advertised as an E2 route.
The problem is it doesn't appear (the ospf output is attached). I have also attached the routing code from the core for both OSPF and BGP and the firewall setup code as well.
I am slightly confused here...