Command Manual – Routing Protocol
Quidway S8500 Series Routing Switches Chapter 6 IP Routing Policy Configuration Commands
Huawei Technologies Proprietary
6-16
By default, no if-match sub-statement is defined.
This command is an if-match sub-statement of route-policy used to filter the routing
information based on next hop address by referencing an ACL or an address prefix list.
Related command: if-match interface, if-match acl, if-match ip-prefix, if-match
cost, if-match tag, route-policy, apply ip next-hop, apply cost, apply
local-preference, apply origin, apply tag.
Example
# Define an if-match sub-statement, allowing the routing information whose route next
hop address passes the filtration of the prefix address list p1 to pass this if-match
sub-statement.
[Quidway-route-policy] if-match ip next-hop ip-prefix p1
6.1.20 if-match tag
Syntax
if-match tag value
undo if-match tag
View
Route policy view
Parameter
value: Specifies the value in tag field of OSPF route information.
Description
Use the if-match tag command to configure to match the tag field of OSPF route
information.
Use the undo if-match tag command to cancel the existing matching rules.
Related command: if-match interface, if-match acl, if-match ip-prefix, if-match ip
next-hop, if-match cost, route-policy, apply ip next-hop, apply cost, apply
local-preference, apply origin, apply tag.
Example
# Define an if-match sub-statement, allowing the OSPF routing information whose tag
is 8 to pass the if-match sub-statement.
[Quidway-route-policy] if-match tag 8
6.1.21 ip as-path-acl
Syntax