How to configure OSPF to filter routes based on a routing policy

OSPF can use routing policies to filter routes. By default, OSPF does not filter routes. To configure OSPF to filter the routes to be received, run the filter-policy import command. To configure OSPF to filter the routes to be sent, run the filter-policy export command.
You can use one of the following routing policies:
1. Basic ACL
2. Advanced ACL
3. IP prefix list
4. Route-policy

Scroll to top