Other related questions:

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

The method of configuring local policy routing of an AR router is as follows:
1. Configure IP addresses of different interfaces.
2. Configure a static route.
3. Configure policy-based routing.
For details about the configuration, see the URL: Example for Configuring Local PBR.