EasyManua.ls Logo

H3C S7500E Series

H3C S7500E Series
1565 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches Chapter 6 Routing Policy Configuration Commands
6-23
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
# Create routing policy 1 with node 10 and matching mode as permit, and then enter
routing policy view.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy]
6.2 IPv4 Routing Policy Configuration Commands
6.2.1 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, 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

Table of Contents

Other manuals for H3C S7500E Series

Related product manuals