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