R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference
363
Examples
# Apply IPsec policy policy001 to OSPFv3 area 0.
<Sysname> system-view
[Sysname] ospfv3 1
[Sysname-ospfv3-1] area 0
[Sysname-ospfv3-1-area-0.0.0.0] enable ipsec-policy policy001
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 up 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 specified by its ID in the range of 1
to 65535.
ospfv3 process-id: Filters the routes of an OSPFv3 process, which is specified by its ID in the range of 1
to 65535.
ripng process-id: Filters the routes of a RIPng process, which is specified by its ID 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.