The filter-policy import command sets the OSPFv3 rules to filter the received routes.
The undo filter-policy import command removes the filtering rules.
By default, the received routes are not filtered.
filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } import
undo filter-policy [ acl6-number | ipv6-prefix ipv6-prefix-name ] import
| Parameter | Description | Value |
|---|---|---|
| acl6-number | Specifies the ACL6 number. | The value is an integer ranging from 2000 to 2999. |
| ipv6-prefix ipv6-prefix-name | Specifies the name of the IPv6 address prefix list. | The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
Usage Scenario
The filter-policy import command only filters the routes calculated by OSPFv3. Routes that do not pass the filtering are neither added to the OSPFv3 routing table nor advertised.
Precautions
Creating an ACL6 or IPv6 prefix list before it is referenced is recommended. If a nonexistent ACL6 or IPv6 prefix list is referenced using the command, all IPv6 routes received by OSPFv3 are delivered to the IPv6 routing table.