filter (OSPFv3 area view)
Use filter to configure inbound/outbound Inter-Area-Prefix-LSA filtering on an ABR.
Use undo filter to remove the configuration.
Syntax
filter { ipv6-acl-number | prefix-list prefix-list-name | route-policy route-policy-name } { export | import }
undo filter { export | import }
Default
Inter-Area-Prefix-LSAs are not filtered.
Views
OSPFv3 area view
Predefined user roles
network-admin
Parameters
ipv6-acl-number: Specifies an IPv6 ACL by its number in the range of 2000 to 3999 to filter inbound/outbound Inter-Area-Prefix-LSAs.
prefix-list prefix-list-name: Specifies an IPv6 prefix list by its name, a case-sensitive string of 1 to 63 characters, to filter inbound/outbound Inter-Area-Prefix-LSAs.
route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters, to filter inbound/outbound Inter-Area-Prefix-LSAs.
export: Filters Inter-Area-Prefix-LSAs advertised to other areas.
import: Filters Inter-Area-Prefix-LSAs advertised into the local area.
Usage guidelines
This command applies only to an ABR.
Examples
# Use IPv6 prefix list my-prefix-list to filter inbound Inter-Area-Prefix-LSAs. Use IPv6 basic ACL 2000 to filter outbound Inter-Area-Prefix-LSAs in OSPFv3 Area 1.
<Sysname> system-view [Sysname] ospfv3 1 [Sysname-ospfv3-1] area 1 [Sysname-ospfv3-1-area-0.0.0.1] filter prefix-list my-prefix-list import [Sysname-ospfv3-1-area-0.0.0.1] filter 2000 export