The filter import command filters the incoming summary LSAs of the local area.
The undo filter import command restores the default setting.
By default, the incoming summary LSAs cannot be filtered.
filter { acl-number | ip-prefix ip-prefix-name | route-policy route-policy-name } import
undo filter [ acl-number| ip-prefix ip-prefix-name | route-policy route-policy-name ] import
| Parameter | Description | Value |
|---|---|---|
| acl-number | Specifies the number of a basic ACL. | The value is an integer that ranges from 2000 to 2999. |
| ip-prefix ip-prefix-name | Specifies the name of an IP prefix list. | It must be the name of an existing IP prefix list. |
| route-policy route-policy-name | Specifies the name of a routing policy. | It must be the name of an existing routing policy. |
Usage Scenario
After filtering conditions are set for the incoming summary LSAs to be advertised using the filter import command, only the incoming summary LSAs that pass the filtering can be received.
Configuration Impact
The command can be used to filter out invalid LSAs sent to neighbors to reduce the size of the LSDB and speed up network convergence.
Precautions
Creating an ACL before it is referenced is recommended. If a nonexistent ACL is referenced using the command, OSPF receives all Type 3 LSAs.
Creating an IP prefix list or route-policy before it is referenced is recommended. By default, nonexistent IP prefix lists or route-policies cannot be referenced using the command. If the route-policy nonexistent-config-check disable command is run in the system view and a nonexistent IP prefix list or route-policy is referenced using the current command, OSPF receives all Type 3 LSAs.