H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 6 IP Routing Policy Configuration Commands
6-14
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] route-policy policy permit node 1
%New sequence of this list
[H3C-route-policy] if-match interface Vlan-interface 1
6.1.17 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
Parameters
acl-number: Number of the ACL used for filtering, ranging from 2,000 to 2,999.
ip-prefix-name: Name of the prefix address list used for filtering.
Description
Use the if-match ip next-hop command to configure a match rule for the route-policy
to match the next hop address of routing information.
Use the undo if-match ip next-hop command to remove the configuration of using an
ACL to match the next hop address of routing information.
Use the undo if-match ip next-hop ip-prefix command to remove the configuration of
using an ip-prefix list to match the next hop address of routing information.
By default, no if-match clause is defined.
This clause is one of the if-match clauses of the route-policy used to specify the next
hop address matching the routing information. It performs filter by referencing an ACL
or an ip-prefix list.
Related commands: if-match interface, if-match acl, if-match ip-prefix, if-match
cost, if-match tag, route-policy, apply ip next-hop, apply cost, apply
local-preference, apply origin, apply tag.
Examples
# Define an if-match clause. It permits the routing information whose next hop address
filtered through ip-prefix list p1 to pass this if-match clause.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] route-policy policy permit node 1