Defining If-Match Clauses And Apply Clauses - Huawei Quidway S3900 Series Operation Manual

Hide thumbs Also See for Quidway S3900 Series:
Table of Contents

Advertisement

Operation Manual – Routing Protocol
Quidway S3900 Series Ethernet Switches-Release 1510
Note:
The permit argument specifies the matching mode for a defined node in the
route-policy to be in permit mode. If a route matches the rules for the node, the
apply clauses for the node will be executed and the test of the next node will not
be taken. If not, however, the route takes the test of the next node.
The deny argument specifies the matching mode for a defined node in the
route-policy to be in deny mode. In this mode, no apply clause is executed. If a
route satisfies all the if-match clauses of the node, no apply clause for the node
will be executed and the test of the next node will not be taken. If not, however, the
route takes the test of the next node.
If multiple nodes are defined in a route-policy, at least one of them should be in
permit mode. When a route-policy is applied to filtering routing information, if a
piece of routing information does not match any node, the routing information will
be denied by the route-policy. If all the nodes in the route-policy are in deny mode,
all routing information will be denied by the route-policy.

5.3.3 Defining if-match Clauses and apply Clauses

Table 5-3 Define if-match clauses and apply clauses
Operation
Enter system view
Define a route-policy
and
route-policy view
Define
match the IP address
of routing information
Define
match
cost
information
system-view
route-policy
enter
the
{ permit | deny } node node-number
a
rule
to
if-match { acl acl-number | ip-prefix
ip-prefix-name }
a
rule
to
the
routing
if-match cost value
of
routing
Huawei Technologies Proprietary
Chapter 5 IP Routing Policy Configuration
Command
route-policy-name
5-4
Description
Required
Optional
By
default,
no
matching
is
performed on the
address of routing
information.
Optional
By
default,
no
matching
is
performed on the
routing
cost
of
routing information.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents