< Home

Configuring OSPFv3 to Filter the Received Routes

Context

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.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ospfv3 [ process-id ]

    The OSPFv3 view is displayed.

  3. Run filter-policy { acl6-number | acl6-name acl6-name | ipv6-prefix ipv6-prefix-name } import

    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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >