A SERVICE OF

logo

79
IPV4 ROUTING POLICY
CONFIGURATION COMMANDS
apply ip-address next-hop
Syntax apply ip-address next-hop ip-address
undo apply ip-address next-hop
View Routing policy view
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 address is set for IPv4 routing information by default.
It is invalid to use the apply ip-address next-hop command to set a next hop
when redistributing 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 and apply tag.
Examples # Create routing policy policy1 with node 10, matching mode permit. If passing
AS path ACL 1, a routeā€˜s next hop is set to 193.1.1.8.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match as-path 1
[Sysname-route-policy] apply ip-address next-hop 193.1.1.8
display ip ip-prefix
Syntax display ip ip-prefix [ ip-prefix-name ]
View Any view
Parameters ip-prefix-name: IP prefix list name, a string of 1 to 19 characters.