Command Manual - Routing Protocol
Quidway S6500 Series Ethernet Switches Chapter 6 IP Routing Policy Configuration Commands
Huawei Technologies Proprietary
6-15
View
Route policy view
Parameter
acl-number: Specify the number of the access control list used for filtration. The range
is 2000 to 2999.
ip-prefix-name: Specify the name of the prefix address list used for filtration. The length
of ip-prefix-name ranges from 1 to 19 character string.
Description
Using if-match ip next-hop command, you can configure one of the match rules of
route-policy on the next hop address of the routing information. Using undo if-match ip
next-hop command, you can cancel the setting of ACL matching condition. Using
undo if-match ip next-hop ip-prefix command, you can cancel the setting of address
prefix list matching condition.
Filtration is performed by quoting an ACL or a address prefix list.
For the related commands, see 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 and apply tag.
Example
# Define a if-match sub-statement. It permits 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: Specify the value in tag field of OSPF route information.