Operation Manual - Routing Protocol
Quidway S3500 Series Ethernet Switches Chapter 6 IP Routing Policy Configuration
Huawei Technologies Proprietary
6-4
route-policy. If all the nodes in the route-policy are in deny mode, all routing information
will be denied by the route-policy.
6.2.2 Defining If-match clauses for a Route-policy
The if-match clauses define the matching rules. That is, the filtering conditions that the
routing information should satisfy for passing the route-policy. The matching objects are
some attributes of routing information.
Perform the following configurations in Route policy view.
Table 6-2 Defining if-match conditions
Operation Command
Match the AS path domain of the BGP
routing information
if-match as-path acl-number
Cancel the matched AS path domain of
the BGP routing information
undo if-match as-path
Match the community attribute of the
BGP routing information
if-match community
{ basic-community-number
[ whole-match ] |
adv-community-number }
Cancel the matched community
attribute of the BGP routing information
undo if-match community
Match the destination address of the
routing information
if-match { acl acl-number | ip-prefix
ip-prefix-name }
Cancel the matched destination
address of the routing information
undo if-match { acl | ip-prefix }
Match the next-hop interface of the
routing information
if-match interface { interface-type
interface-number }
Cancel the matched next-hop interface
of the routing information
undo if-match interface
Match the next-hop of the routing
information
if-match ip next-hop { acl acl-number |
ip-prefix ip-prefix-name }
Cancel the matched next-hop of the
routing information set by ACL
undo if-match ip next-hop
Cancel the matched next-hop of the
routing information set by address
prefix list
undo if-match ip next-hop ip-prefix
Match the routing cost of the routing
information
if-match cost cost
Cancel the matched routing cost of the
routing information
undo if-match cost
Match the tag domain of the OSPF
routing information
if-match tag value