3Com Switch 7750 Series
Command Reference Guide – Routing Protocol
Chapter 3 OSPF Configuration Commands
3-32
3.1.25 filter-policy export
Syntax
filter-policy
{
acl-number
|
ip-prefix
ip-prefix-name
}
export
[
protocol
]
undo
filter-policy
{
acl-number
|
ip-prefix
ip-prefix-name
}
export
[
protocol
]
View
OSPF view
Parameter
acl-number
: Basic or advanced ACL number, in the range of 2,000 to 3,999.
ip-prefix-name:
Name of the address prefix list, containing 1 to 19 characters.
protocol:
Routing protocol advertising the routing information. At present, it can be
direct
,
rip
,
bgp, isis
or
static
.
Description
Use the
filter-policy export
command to enable the ASBR routers to filter the
external routes imported to OSPF. This command is applicable only to ASBR routers
Use the
undo filter-policy export
command to cancel the filtering rule configured.
By default, OSPF does not receive routes advertised by the other routing protocols.
Note:
z
The
filter-policy export
command take effect on only the routes imported to the
local device through the
import-route
command. If the
filter-policy export
command is configured while the
import-route
command is not configured to
import other external routes (including OSPF routes in different processes), the
filter-policy export
command does not take effect.
z
If the
protocol
argument is not specified in the
filter-policy export
command, this
command takes effect on all the routes imported to the local device through the
import-route
command.
Related command:
acl
,
ip ip-prefix
.
Example
# Configure OSPF to advertise only the routing information permitted by acl 2000.
<3Com> system-view
System View: return to User View with Ctrl+Z.
[3Com] acl number 2000
[3Com-acl-basic-2000] rule permit source 11.0.0.0 0.255.255.255
Содержание 7750 Series
Страница 520: ...3Com Switch 7750 Series Command Reference Guide Multicast Table of Contents iii 5 1 22 static rp 5 20 ...
Страница 808: ...3Com Switch 7750 Series Command Reference Guide ACL Chapter 1 ACL Commands 1 27 3Com time range test from 0 0 2000 1 1 ...
Страница 1177: ...3Com Switch 7750 Series Command Reference Guide Command Index Appendix A Command Indexx A 45 ...