6-7
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
]
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...