Huawei Quidway S8500 Series Command Manual page 351

Routing switches
Hide thumbs Also See for Quidway S8500 Series:
Table of Contents

Advertisement

Command Manual – Routing Protocol
Quidway S8500 Series Routing Switches
routing-protocol: Protocol advertising the routing information, including direct, isis,
bgp, rip and static at present.
Description
Use the filter-policy export command to configure the rule used by OSPF to filter
advertised routing information.
Use the undo filter-policy export command to cancel the filtering rules that have been
set.
By default, no filtering of the advertised routing information is performed.
In some cases, it may be required that only the routing information meeting some
conditions can be advertised. Then, the filter-policy command can be used to set the
filtering conditions for the routing information to be advertised. Only the routing
information passing the filtration can be advertised.
This command takes effect on the routes imported by OSPF using the import-route
command. If the routing-protocol argument is specified, only the routes imported from
this specified protocol are filtered. If the routing-protocol argument is not specified, all
imported routes are filtered.
Related command: acl, ip ip-prefix.
Example
# Configure OSPF to advertise only the routing information permitted by acl 2000.
[Quidway] acl number 2000
[Quidway-acl-basic-2000] rule permit source 11.0.0.0
[Quidway-acl-basic-2000] rule deny source any
[Quidway-ospf-1] filter-policy 2000 export
3.1.29 filter-policy export
Syntax
filter-policy { acl-number | ip-prefix ip-prefix-name } export
undo filter-policy { acl-number | ip-prefix ip-prefix-name} export
View
OSPF area view
Parameter
acl-number: Specifies the number of the basic or advanced ACL used for filtering
Type-3 LSAs.
ip-prefix-name: Specifies the name of the address prefix list used for filtering Type-3
LSAs.
Huawei Technologies Proprietary
3-31
Chapter 3 OSPF Configuration Commands
0.255.255.255

Advertisement

Table of Contents
loading

Table of Contents