IP Routing Policy Configuration Commands
559
Parameter
interface-type: Specifies interface type.
interface-number: Specifies interface number.
Description
Use the if-match interface command to configure to match the route whose
next hop is designated interface.
Use the undo if-match interface command to cancel the setting of matching
condition.
By default, no if-match sub-statement is defined.
This command is an if-match sub-statement of route-policy, used to match the
interface corresponding to the route next hop in route filtering.
Related commands: if-match acl, if-match ip-prefix, if-match ip next-hop,
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 to match the route whose next hop interface
is Vlan-interface 1
[3Com-route-policy] if-match interface Vlan-interface 1
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
Route policy view
Parameter
acl-number: Specifies the number of the access control list used for filtration. The
range is 2000 to 2999.
ip-prefix-name: Specifies the name of the prefix address list used for filtration. Its
length ranges from 1 to 19.
Description
Use the if-match ip next-hop command to configure one match rule on next
hop address of routing information for the route-policy.
Use the undo if-match ip next-hop command to cancel the setting of ACL
matching condition.
Use the undo if-match ip next-hop ip-prefix command to cancel the setting of
address prefix list matching condition.
Filtration is performed by quoting an ACL or an address prefix list.
Need help?
Do you have a question about the 8807 and is the answer not in the manual?
Questions and answers