Command Reference Guide
3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 6 IP Routing Policy Configuration
Commands
3Com Corporation
6-14
Description
Use the if-match interface command to match the route whose next hop is designated
interface.
Use the undo if-match interface command to cancel the setting of match condition.
By default, no if-match clause is defined.
This if-match clause of the route-policy is used to match the corresponding interface of
the route next hop when it filters the route.
Related command: if-match acl, if-match ip-prefix, if-match ip next-hop, if-match
cost, if-match tag, route-policy, apply ip-address, apply cost, apply
local-preference, apply origin, and apply tag.
Example
# Display how to define one if-match clause to match the route whose next hop
interface is ethernet 1/0/2.
[3Com -route-policy] if-match interface Ethernet1/0/2
6.1.19 if-match ip next-hop
Syntax
if-match ip next-hop { acl acl-number | ip-prefix ip-prefix-name }
undo if-match ip next-hop [ ip-prefix ]
View
Routing policy view
Parameter
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.
Description
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.
By default, no if-match clause is defined.
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.










