Command Reference Guide

154if-match ip next-hop 3Com Router 5000 Family and Router 6000 Family
Command Reference
if-match ip next-hop
Purpose Use the if-match ip next-hop command to configure one of the match rules of
route-policy on the next hop address of the routing information.
Use the undo if-match ip next-hop command to cancel the setting of match
condition.
Syntax if-match ip next-hop { acl acl-number | ip-prefix ip-prefix-name }
undo if-match ip next-hop [ ip-prefix ]
Parameters acl-number
Specifies the number of the access control list used for
filtering. The range is 2000 to 2999.
ip-prefix-name
Specifies the name of the prefix address list used for
filtering. The range is 1 to 19.
Default By default, no if-match clause is defined.
Example Define an if-match clause. It permits the routing information, whose route next hop
address passes the filtering of the prefix address list p1, to pass this if-match clause.
[3Com -route-policy] if-match ip next-hop ip-prefix p1
View This command can be used in the following views:
Routing Policy view
Description This if-match clause of the route-policy is used to specify the next hop address field
matching the routing information when it filters the routing information and
implement its filtering function by referring to an ACL or address prefix list.