11-04-2002 04:46 AM - edited 03-02-2019 02:36 AM
Hi together,
we want to redistribute our static routes into the OPSF Process.
So far so good for this we used the "redistribute static" command.
But now we want to filter some static routes out so that they are not propagated via OSPF.
For this issue we configured an distribute-list. But the Router don´t accept the command with the "out" keyword (distrbute-list 1 out serial 0.1).
Is there another possibility to prevent that some static routes are distribute over particular Subinterfaces. ???
Maybe with route-maps ??
For this issue , it would be very kind from you to deliver a sample configuration.
Thanks.
11-04-2002 05:31 AM
This will deny network 192.168.31.0 from being injected into OSPF but will allow all other statics to be injected
ip route 192.168.31.0 255.255.255.0 10.200.2.1
ip route 192.168.32.0 255.255.255.0 10.201.2.1
access-list 1 deny 192.168.31.0
access-list 1permit any
route-map deny192.168 10
match ip-address 1
router ospf 1
redistribute static metric x metric-type x subnets route-map deny192.168
11-05-2002 04:34 AM
We have configured the Route map like described.
But we still have this route in the OSPF Database under external LSA´s and therefore the external LSA will be forwarded to all Routers in the Area. And that is what we like to prevent.
Is it possible to filter some LSA´s ??
Or can we prevent that the router insert the (filtered) static route in the LSA database ??
11-05-2002 05:37 AM
is the routing bit set in the LSA ?
You can try to clear the type 5's out of the database by using the 'clear ip o redistribution' command . This is non intrusive and clears all the type 5's out of the database. After you clear the type 5's see if it comes back, If it comes back see who is advertising the route .
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