The filter export command filters outgoing Type-3 LSAs (Inter-Area-Prefix-LSAs) of the local area.
The undo filter export command restores the default setting.
The filter import command filters the incoming Type-3 LSAs (Inter-Area-Prefix-LSAs) of the local area.
The undo filter import command restores the default setting.
By default, outgoing Type-3 LSAs of the local area are not filtered.
By default, the incoming Type-3 LSAs are not filtered.
filter { acl6-name acl6-name | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name | route-filter route-filter-name } export
filter { acl6-name acl6-name | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name | route-filter route-filter-name } import
filter acl6-number export
filter acl6-number import
undo filter [ acl6-name acl6-name | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name | route-filter route-filter-name | acl6-number ] export
undo filter [ acl6-name acl6-name | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name | route-filter route-filter-name | acl6-number ] import
Parameter | Description | Value |
---|---|---|
acl6-name acl6-name |
Specifies the name of a named basic ACL6. |
The value is a string of 1 to 64 case-sensitive characters without spaces. The value must start with a letter (a to z or A to Z, case sensitive). |
ipv6-prefix ipv6-prefix-name |
Specifies the name of an IP 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. |
route-policy route-policy-name |
Specifies the name of a route-policy. |
The name is a string of 1 to 200 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
route-filter route-filter-name |
Specifies the name of a route-filter. Only the routes that match the route-filter can be accepted. |
The value is a string of 1 to 200 case-sensitive characters, spaces not supported. If parameters are included in the referenced route-filter, specify values for them in the format of (var1, var2, ...var8) behind the route-filter name. A maximum of eight parameters can be specified, and each value ranges from 1 to 200 characters. |
acl6-number |
Specifies a basic ACL6 number. |
The value is an integer ranging from 2000 to 2999. |
Usage Scenario
The filter export command can be used to filter out the LSAs that do not need to be sent to neighbors to reduce the size of the LSDB and speed up network convergence.
The filter import command can be used to filter out the unneeded LSAs learned from neighbors to reduce the size of the LSDB and speed up network convergence.Configuration Impact
After filtering conditions are set for the outgoing Type-3 LSAs to be advertised using the filter export command, only the outgoing Type-3 LSAs that match the filtering conditions can be advertised.
After filtering conditions are set for the incoming Type-3 LSAs using the filter import command, only the incoming Type-3 LSAs that match the filtering conditions can be accepted.Precautions
<HUAWEI> system-view [~HUAWEI] ip ipv6-prefix my-prefix deny 2001:db8::1 64 [*HUAWEI] ospfv3 100 [*HUAWEI-ospfv3-100] area 1 [*HUAWEI-ospfv3-100-area-0.0.0.1] filter ipv6-prefix my-prefix import
<HUAWEI> system-view [~HUAWEI] acl ipv6 2000 [*HUAWEI-acl6-basic-2000] quit [*HUAWEI] ospfv3 100 [*HUAWEI-ospfv3-100] area 1 [*HUAWEI-ospfv3-100-area-0.0.0.1] filter 2000 export