R2511-HP MSR Router Series Layer 3 - IP Routing Command Reference(V5)

376
filter-policy export (OSPFv3 view)
Use filter-policy export to filter redistributed routes.
Use undo filter-policy export to remove the configuration.
Syntax
filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } export [ bgp4+ | direct | isisv6 process-id |
ospfv3 process-id | ripng process-id | static ]
undo filter-policy export [ bgp4+ | direct | isisv6 process-id | ospfv3 process-id | ripng process-id |
static ]
Default
IPv6 OSPFv3 does not filter redistributed routes.
Views
OSPFv3 view
Default command level
2: System level
Parameters
acl6-number: Specifies an IPv6 ACL by its number in the range of 2000 to 3999.
ipv6-prefix ipv6-prefix-name: Specifies the name of an IPv6 prefix list, a string of 1 to 19 characters.
bgp4+: Filters IPv6 BGP routes.
direct: Filters direct routes.
isisv6 process-id: Filters the routes of an IPv6 IS-IS process, which is in the range of 1 to 65535.
ospfv3 process-id: Filters the routes of an OSPFv3 process, which is in the range of 1 to 65535.
ripng process-id: Filters the routes of a RIPng process, which in the range of 1 to 65535.
static: Filters static routes.
Usage guidelines
If no protocol is specified, all redistributed routes will be filtered.
To reference an advanced ACL (with a number from 3000 to 3999) in the command, configure the ACL
in one of the following ways:
To deny/permit a route with the specified destination, use rule [ rule-id ] { deny | permit } ipv6
source sour sour-prefix.
To deny/permit a route with the specified destination and prefix, use rule [ rule-id ] { deny | permit }
ipv6 source sour sour-prefix destination dest dest-prefix.
The source keyword specifies the destination address of a route, and the destination keyword specifies
the prefix of the route. (The prefix must be valid; otherwise, the configuration is ineffective.)
Using the filter-policy export command filters only routes redistributed by the import-route command. If
the import-route command is not configured to redistribute routes from other protocols and other OSPFv3
processes, use of the filter-policy export command does not take effect.
Examples
# Filter all redistributed routes using IPv6 ACL 2001.