Switch 7700 Command reference Guide, v2.0

Table Of Contents
238 CHAPTER 5: USING ROUTING PROTOCOL COMMANDS
View
Route policy view
Parameter
interface_type: Specify interface type.
interface_number: Specify interface number.
interface_name: Specify interface name.
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 match sub-statement is defined.
It matches the corresponding interface of route next hop when filtering 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 next-hop,
apply cost, apply local-preference, apply origin, apply tag.
Example
Define one match sub-statement to match the route whose next hop interface is
Vlan-interface 1.
[SW7700-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: Specify the number of the access control list used for filtration. The
range is 1 to 99.
ip_prefix_name: Specify the name of the prefix address list used for filtration.
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
matching condition.
Filtration is performed by quoting an ACL or a address prefix list.