cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
887
Views
0
Helpful
15
Replies

Opspf default-information originate and Static routing resdistribution

Sasquatch_13
Level 1
Level 1

Hello all,

I am doing OSPF config.

Fortinate is connected to Core Switch, using deafult route.

On Core Switch has many static routes, I want to Redistribute Static route into OSPF and filter Static route using access list and route-map.

But in ospf default-information originate in ospf causes all route to pass Via Core Switch.

Please Help to me filter Redistributed Static Route.

******Core Switch

router ospf 10
log-adjacency-changes detail
redistribute static metric 20 metric-type 1 subnets tag 13 route-map BlockStatic
network 172.17.254.1 0.0.0.0 area 0
network 172.17.254.5 0.0.0.0 area 0
network 172.17.254.255 0.0.0.0 area 0
default-information originate
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 172.17.254.150       #### (Fortinate default route)
ip route 10.1.1.1 255.255.255.255 172.17.254.130
ip route 192.168.13.13 255.255.255.255 172.17.254.130
ip route 192.168.14.10 255.255.255.255 172.17.254.130
!
ip access-list standard Route
permit 10.1.1.1
deny any
!
!
!
route-map BlockStatic permit 10
match ip address Route
set metric 200

15 Replies 15

Your config fir CIT is correct,  
but you check the prefix in same router that the subnet is static learn? this not right, 
you check in any other OSPF neighbor router.

Review Cisco Networking for a $25 gift card