If-Match { Acl | Ip-Prefix - Huawei quidway s3526 series Getting Started

Hide thumbs Also See for quidway s3526 series:
Table of Contents

Advertisement

Command Manual - Routing Protocol
Quidway S3500 Series Ethernet Switches
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
Using filter-policy gateway import command, you can filter the received routing
information advertised by a specified router. Using undo filter-policy gateway import
command, you can cancel the setting of the filtering condition.
Using filter-policy import command, you can set the condition for filtering the routing
information. Using undo filter-policy import command, you can cancel the setting of
filter condition
By default, the received routing information is not filtered.
In some cases, it may be required that only the routing information meeting some
conditions can be received. 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 received.
For the related commands, see 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

5.1.13 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: Specify the number of the access control list used for filtration
ip-prefix-name: Specify the prefix address list used for filtration
Description
Using if-match { acl | ip-prefix } command, you can configure the IP address range to
match the Route-policy. Using undo if-match { acl | ip-prefix } command, you can
cancel the setting of the match rule.
Chapter 5 IP Routing Policy Configuration Commands
Huawei Technologies Proprietary
5-10

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents