Command Reference Guide

3Com Router 5000 Family and Router 6000 Family if-match interface 153
Command Reference
if-match interface
Purpose 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.
Syntax if-match interface interface-type interface-number
undo if-match interface
Parameters interface-type
Specifies the type of the interface.
interface-number
Specifies the number of the interface.
Default By default, no if-match clause is defined.
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
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 match the corresponding interface
of the route next hop when it filters the route.
Related Commands 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
apply tag