Command Manual – Routing Protocol 
Quidway S8500 Series Routing Switches  Chapter 6  IP Routing Policy Configuration Commands
 
Huawei Technologies Proprietary 
6-11 
gateway ip-prefix-name: The prefix address list name of the neighbor router address. 
Its matching object is the routing information advertised by the specified neighbor 
router. 
Description 
Use the filter-policy gateway import command to filter the received routing 
information advertised by a specified router. 
Use the undo filter-policy gateway import command to cancel the setting of the 
filtering condition.  
Use the filter-policy import command to set the condition for filtering the routing 
information. 
Use the undo filter-policy import command to cancel the setting of filter condition.  
By default, the received routing information is not filtered. To ignore some routing 
information received, you can use the filter-policy command to set the filter condition. 
Related command: filter-policy export. 
Example 
# Define the filtering rule for receiving routing information of RIP. Only the routing 
information filtered through the address prefix list p1 can be received by RIP. 
[Quidway-rip] filter-policy ip-prefix p1 import 
6.1.14  if-match { acl | ip-prefix } 
Syntax 
if-match { acl acl-number | ip-prefix ip-prefix-name } 
undo if-match { acl | ip-prefix } 
View 
Route policy view 
Parameter 
acl-number: Specifies the number of the access control list used for filtration. 
ip-prefix-name: Specifies the name of the prefix address list used for filtration. 
Description 
Use the if-match { acl | ip-prefix } command to specify one matching rule for the 
route-policy and configure the IP address range to match the Route-policy. 
Use the undo if-match { acl | ip-prefix } command to cancel the setting of the match 
rule.  
Filtration is performed by quoting an ACL or a prefix address list.