1133
Related commands: import-route (OSPF view).
Examples # Filter redistributed routes using ACL 2000.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] filter-policy 2000 export
filter-policy import (OSPF view)
Syntax filter-policy { acl-number | ip-prefix ip-prefix-name | gateway ip-prefix-name }
import
undo filter-policy import
View OSPF view
Parameters acl-number: Number of the basic or advanced ACL used to filter routing
information by destination address, in the range 2000 to 3999.
ip-prefix-name: Name of an IP address prefix list used to filter received routes, a
string of up to 19 characters.
gateway ip-prefix-name: Name of an IP address prefix list used to filter routes
received from the specified neighbors, a string of up to 19 characters.
Description Use the
filter-policy import command to configure the filtering of incoming
routes.
Use the
undo filter-policy import command to disable the filtering.
By default, no filtering of incoming routes is configured.
Examples # Filter received routes using ACL 2000.
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 192.168.10.0 0.0.0.255
[Sysname-acl-basic-2000] quit
[Sysname] ospf 100
[Sysname-ospf-100] filter-policy 2000 import
graceful-restart (OSPF view)
Syntax graceful-restart [ nonstandard | ietf ]
undo graceful-restart
View OSPF view