DES-7200 CLI Reference Guide
Chapter 34 Protocol-independent Configuration Commands
34-53
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
inputted.
Up to 32 IP addresses may follow the set ip default next-hop
command.
If a weight follows ip address, up to 4 next hop IP addresses can be
configured.
Note: If a weight follows any next-hop, the operation mode of this
command will be automatically switched to the WCMP load balancing
mode. In this mode, the weight of those next hop IP addresses whose
weight is not configured is 1 by default.
Differences between set ip next-hop and set ip default next-hop: After
the set ip next-hop command is configured, the policy-based routing
takes precedence over the routing table; while after the set ip default
next-hop command is configured, the routing table takes precedence
over the policy-based routing.
Use this command to customize a default route for a specified user. If
the software fails to find the forwarding route, the packet will be
forwarded to the nexthop set with this command.
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 through
the usual route. The packets that match a policy in the route map will
be processed according to the operation defined in the policy.
A route-map policy may contain multiple
set
operations.
Examples
The following example forwards the packets from two different nodes
through different routes.
For the messages received on the synchronous interface 1 from
1.1.1.1, if the software cannot find the forwarding route, they are
forwarded to device 6.6.6.6. For the messages received from 2.2.2.2,
if the software cannot find the forwarding route, they are forwarded to
device 7.7.7.7. The other messages will be discarded if the software
cannot find the forwarding route.
access-list 1 permit ip 1.1.1.1 0.0.0.0
access-list 2 permit ip 2.2.2.2 0.0.0.0
interface async 1
Summary of Contents for DES-7200
Page 1: ...DES 7200 CLI Reference Guide Version 10 3 5 ...
Page 40: ......
Page 70: ......
Page 76: ......
Page 80: ......
Page 114: ......
Page 128: ...Chapter 11 Protocol VLAN Configuration Commands DES 7200 CLI Reference Guide 11 4 ...
Page 142: ......
Page 166: ......
Page 180: ......
Page 216: ......
Page 244: ......
Page 306: ......
Page 312: ......
Page 332: ......
Page 352: ......
Page 360: ......
Page 400: ......
Page 474: ......
Page 710: ......
Page 738: ......
Page 776: ......
Page 854: ......
Page 864: ...Chapter 43 Port based Flow Control Configuration Commands DES 7200 CLI Reference Guide 43 10 ...
Page 936: ......
Page 960: ......
Page 970: ......
Page 976: ......
Page 986: ......
Page 990: ......
Page 1100: ......
Page 1108: ......
Page 1118: ......
Page 1126: ......
Page 1134: ......
Page 1172: ......