Examples
# Configure node 10 in permit mode of route policy policy1 and enter route policy view.
<Sysname> system-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 exsting ACL 2000.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match acl 2000
[Sysname-route-policy] apply ip-address next-hop 193.1.1.8
display ip ip-prefix
Syntax
display ip ip-prefix [ ip-prefix-name ]
6-7