Command Manual - Routing Protocol
Quidway S6500 Series Ethernet Switches
Chapter 3 OSPF Configuration Commands
Huawei Technologies Proprietary
3-31
Description
Using
filter-policy export
command, you can configure the ASBR router to filter the
external routes imported to the OSPF. This command only takes effect on ASBR
routers.
Using
undo filter-policy export
command, you can cancel the filtering rules that have
been set.
By default, OSPF does not receive the routes distributed by other routing protocol.
Note:
z
The
filter-policy export
command only takes effect to the routes imported by the
import-route
command. If you configure the switch with only the
filter-policy
export
command, but without configuring the
import-route
command to import
other external routes (including OSPF routes of different process), then the
filter-policy export
command does not take effect.
z
If the
filter-policy export
command does not specify to filter which type of routes, it
takes effect for all the routes imported by the
import-route
.
For the related commands, see
acl, ip ip-prefix
.
Example
# Configure ospf to only import the routes by acl 2000.
[Quidway] acl number 2000
[Quidway-acl-basic-2000] rule permit source 11.0.0.0 0.255.255.255
[Quidway-acl-basic-2000] rule deny source any
[Quidway-ospf-1] filter-policy 2000 export
3.1.28 filter-policy import
Syntax
filter-policy
{
acl-number
|
ip-prefix
ip-prefix-name
|
gateway
ip-prefix-name
}
import
undo filter-policy
{
acl-number
|
ip-prefix
ip-prefix-name
|
gateway
ip-prefix-name
}
import
View
OSPF view
Содержание Quidway S6500 Series
Страница 38: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual Port ...
Страница 75: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual VLAN ...
Страница 102: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual Network Protocol ...
Страница 169: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual Routing Protocol ...
Страница 378: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual Multicast Protocol ...
Страница 436: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual QoS ACL ...
Страница 499: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual STP ...
Страница 547: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual Security ...
Страница 613: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual Reliability ...
Страница 630: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual System Management ...
Страница 793: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual PoE ...
Страница 818: ...Huawei Technologies Proprietary HUAWEI Quidway S6500 Series Ethernet Switches Command Manual Appendix ...