Command Manual – Routing Protocol 
Quidway S8500 Series Routing Switches  Chapter 6  IP Routing Policy Configuration Commands
 
Huawei Technologies Proprietary 
6-10 
Parameter 
acl-number: Number of the access control list used for matching the destination 
address field of the routing information. 
ip-prefix-name: Address prefix list used for matching the routing information destination 
address field. 
routing-protocol: The routing information of which kind of route protocol to be filtered. 
Description 
Use the filter-policy export command to configure to set the filtering conditions of the 
routing information advertised by a certain type of routing protocols. 
Use the undo filter-policy export command to cancel the filtering conditions set.  
By default, the advertised routing information is not filtered. 
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. 
Related command: filter-policy import. 
Example 
# Define the filtering rules for advertising the routing information of RIP. Only the routing 
information passing the filtering of address prefix list p1 will be advertised by RIP. 
[Quidway-rip] filter-policy ip-prefix p1 export 
6.1.13  filter-policy import 
Syntax 
filter-policy gateway ip-prefix-name import 
undo filter-policy gateway ip-prefix-name import 
filter-policy { acl-number | ip-prefix ip-prefix-name } import 
undo filter-policy { acl-number | ip-prefix ip-prefix-name } import 
View 
Routing protocol view 
Parameter 
acl-number: The access control list number used for matching the destination address 
field of the routing information. 
ip-prefix  ip-prefix-name:  The prefix address list name. Its matching object is the 
destination address field of the routing information.