03-27-2015 03:22 AM - edited 03-05-2019 01:06 AM
Hello Guys
I am trying to redistribute a static route from one CE device into OSPF on another CE device, but it seems to be redistributing all other static routes except for one. It does not seem to be advertised either. I have checked the associated route-map, but I am unable to pin-point the issue.
Config on CE1:
S 10.34.29.51/32 [1/0] via 10.34.10.2, GigabitEthernet1/43.1343
S 10.34.29.52/32 [1/0] via 10.34.6.82, Port-channel5.285
show run | s ospf 2
router ospf 2 vrf Signaling-A
nsf cisco
capability vrf-lite
area 0 authentication message-digest
timers throttle spf 1 5 5000
timers throttle lsa 1 50 5000
timers lsa arrival 1
timers pacing lsa-group 1440
timers pacing flood 100
timers pacing retransmission 200
redistribute static subnets route-map control-static
redistribute connected subnets
network 10.0.1.0 0.0.0.3 area 0
network 10.0.1.56 0.0.0.3 area 0
network 10.0.5.0 0.0.0.3 area 0
default-information originate always
bfd all-interfaces
#######################
show ip ro vrf Signaling-A 10.34.29.51
Routing Table:Signaling-A
Routing entry for 10.34.29.51/32
Known via "static", distance 1, metric 0
Redistributing via ospf 2
Advertised by ospf 2 subnets route-map control-static
Routing Descriptor Blocks:
* 10.34.10.2, via GigabitEthernet1/43.1343
Route metric is 0, traffic share count is 1
show ip ro vrf Signaling-A 10.34.29.52
Routing Table:Signaling-A
Routing entry for 10.34.29.52/32 <--------------------------------------Does not seem to be advertised.
Known via "static", distance 1, metric 0
Redistributing via ospf 2
Routing Descriptor Blocks:
* 10.34.6.82, via Port-channel5.285
Route metric is 0, traffic share count is 1
###############
show route-map control-static
route-map control-static, deny, sequence 10
Match clauses:
ip address (access-lists): 11
Set clauses:
Policy routing matches: 0 packets, 0 bytes
route-map control-static, permit, sequence 20
Match clauses:
Set clauses:
Policy routing matches: 0 packets, 0 bytes
################
Under access-list 11, I haven't permitted 10.34.29.52, therefore it should not be denied from being redistributed.
Any tips on the above?
03-27-2015 07:19 AM
What troubleshooting has been done on the other side? can you see the prefix in the OSPF database on CE2? Check for things like distribute-lists, or route-tagging that might be blocking the prefix from being learnt. At first sight, config seems OK.
03-27-2015 07:56 AM
Was interface po5.285 up or down when you ran those commands?
03-27-2015 08:03 AM
I wonder why that matters (though its a valid point for end to end flow), the static route has made it to the routing table, so as far as I understand, it should be redistributed. Might we worth having a look at the ACL.
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