4-34
export
: Filters Type-3 LSAs advertised to other areas.
import
: Filters Type-3 LSAs advertised into the area.
Description
Use the
filter
command to configure incoming/outgoing Type-3 LSAs filtering on an ABR.
Use the
undo filter
command to disable Type-3 LSA filtering.
By default, Type-3 LSAs filtering is disabled.
This command is only available on an ABR.
Examples
# Apply IP prefix list
my-prefix-list
to filter inbound Type-3 LSAs, and apply ACL 2000 to filter
outbound Type-3 LSAs in OSPF Area 1.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] area 1
[Sysname-ospf-100-area-0.0.0.1] filter ip-prefix my-prefix-list import
[Sysname-ospf-100-area-0.0.0.1] filter 2000 export
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.