3Com S7902E Command Reference Manual - page 765
1-33
filter-policy export (OSPF view)
Syntax
filter-policy
{
acl-number
|
ip-prefix
ip-prefix-name
}
export
[
protocol
[
process-id
] ]
undo filter
-
policy export
[
protocol
[
process-id
] ]
View
OSPF view
Default Level
2: System level
Parameters
acl-number
: Number of an ACL used to filter redistributed routes, in the range 2000 to 3999.
ip-prefix-name
: Name of an IP prefix list used to filter redistributed routes, a string of up to 19
characters.
protocol
: Specifies a protocol from which to filter redistributed routes. The protocol can be
direct
,
static
,
rip
,
ospf
,
isis
or
bgp
. If no protocol is specified, all redistributed routes are filtered.
process-id
: Process ID, which is required when the
protocol
is
rip
,
ospf
or
isis
, in the range 1 to 65535.
Description
Use the
filter-policy export
command to configure the filtering of redistributed routes.
Use the
undo filter-policy export
command to disable the filtering.
By default, the filtering of redistributed routes is not configured.
You can use this command to filter redistributed routes as needed.
Related commands:
import-route
.
Examples
# Filter redistributed routes using ACL2000.
[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
Default Level
2: System level