3Com S7902E Command Reference Manual - page 1092
1-22
criteria of the node and the apply clauses define the actions to be taken on packets passing the node.
The relation between the if-match clauses of a node is logic AND, namely, all the if-match clauses must
be satisfied. The relation between different route policy nodes is logic OR, namely, a packet passing a
node passes the route policy.
Related commands:
if-match interface
,
if-match acl
,
if-match ip-prefix
,
if-match ip next-hop
,
if-match cost
,
if-match tag
,
apply ip-address next-hop
,
apply local-preference
,
apply cost
,
apply
origin
,
apply tag
.
Examples
# Configure node 10 in permit mode of route policy
policy1
and enter route policy view.
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy]
IPv4 Route Policy Configuration Commands
apply ip-address next-hop
Syntax
apply ip-address next-hop
ip-address
undo apply ip-address
next-hop
View
Route policy view
Default Level
2: System level
Parameters
ip-address
: IP address of the next hop.
Description
Use the
apply ip-address next-hop
command to set a next hop for IPv4 routing information.
Use the
undo apply ip-address next-hop
command to remove the clause configuration.
No next hop is set for IPv4 routing information by default.
This command cannot set a next hop for redistributed routes.
Related commands:
if-match interface
,
if-match acl
,
if-match ip-prefix
,
if-match ip next-hop
,
if-match cost
,
if-match tag
,
route-policy
,
apply local-preference
,
apply cost
,
apply origin,
apply
tag
.
Examples
# Configure node 10 in permit mode of route policy
policy1
to set next hop 193.1.1.8 for routes
matching AS-PATH list 1.
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match as-path 1