Command Reference
Protocol-independent Configuration Commands
set interface
Set the outgoing interface.
set ip next-hop
Set the next hop of the packets.
set ip precedence
Set the priority of the packets.
6.30 set ip next-hop
Use this command to specify the next-hop IP address for the packets that meet the matching rule.
Use the
no
form of this command to remove the setting. This command is only used to configure
policy-based routing.
set ip next-hop
ip-address
[
weight
] [
…ip-address
[
weight
] ]
no set ip next-hop
[
ip-address
[
weight
] [
…ip-address
[
weight
] ] ]
Parameter
description
Parameter
Description
ip-address
Indicates the next-hop IP address.
weight
Indicates the weight of this next hop.
Default
configuration
None
Command
mode
Route map configuration mode
Usage
guideline
This command supports two operation modes: WCMP load balancing mode and non-WCMP load
balancing mode. In the former mode, the system implements WCMP load balancing according to the
weight entered by the user.
Multiple IP addresses may follow set ip next-hop and the number of addresses should be less than 32.
If weight follows any next-hop, the operation mode of this command will be
automatically switched to the WCMP load balancing mode. In the WCMP load
balancing mode, for the nexthop address without configuring the corresponding
weight, the weight is 1 by default.
If weight follows ip address, up to 4 next hop addresses can be configured.
This command can be used to set different routes for the traffic that meets different match rule. If
multiple IP addresses are configured, they can be used in turn.
Policy-based routing is a packet forwarding mechanism more flexible than the routing based on the
target network. After the policy-based routing is used, the device will decide how to process the packets
that need be routed according to the route map, which decides the next-hop device of the packets.
To use the policy-based routing, you must specify the route map for it and create the route map. A route
map contains multiple policies, and each policy defines one or more match rules and the corresponding
operations. After policy-based routing is applied to an interface, the packets received by the interface will
be checked. The packets that do not match any policy in the route map will be forwarded to the usual
route. The packets that match a policy in the route map will be processed according to the operation
defined in the policy.
Содержание RG-S29 Series
Страница 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Страница 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Страница 93: ...Command Reference Line Commands Description...
Страница 236: ...Command Reference PoE Management Commands Related Commands Command Description N A N A Platform Description N A...
Страница 248: ...Command Reference PKG_MGMT Commands...
Страница 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Страница 350: ...Command Reference Voice VLAN Commands Description...
Страница 430: ...Command Reference LLDP Commands Description...
Страница 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Страница 541: ...Command Reference IPv6 Commands Platform Description N A...
Страница 858: ...Command Reference NSM Commands Description N A N A Defaults N A Command Mode Privileged EXEC mode Usage guideline N A...
Страница 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Страница 1092: ...Configuration Guide SCC Commands Platforms N A...
Страница 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Страница 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...