Configuring a filtering policy allows OSPFv3 to determine whether to add the calculated routes to the local routing table when receiving LSAs.
Perform the following operations on the switch that runs OSPFv3.
The system view is displayed.
The OSPFv3 view is displayed.
OSPFv3 is configured to filter the imported routes.
Using the filter-policy command, you can only filter the routes calculated by OSPFv3. Routes that do not pass the filtering criteria are neither added to the OSPFv3 routing table nor advertised.