R2511-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V5)

328
Configuring load sharing
If a routing protocol finds multiple equal-cost best routes to the same destination, the router forwards
packets over the equal-cost routes to implement load sharing.
The maximum number of routes for load sharing is eight.
Static routing/IPv6 static routing, RIP/RIPng, OSPF/OSPFv3, BGP/IPv6 BGP, and IS-IS/IPv6 IS-IS
support load sharing.
Configuring load sharing
Load sharing is implemented in the following ways:
Bandwidth-based load sharing—Packets are forwarded based on the configurable bandwidths of
the interfaces. The greater bandwidth an interface has, the more packets it forwards.
User-based load sharing—Load sharing based on the source IP address of packets.
Configuring bandwidth-based load sharing
Before you configure this feature, disable fast forwarding. For information about fast forwarding, see
"Configuring fast forwarding."
If multiple outbound interfaces/next hops to a destination are found during packet forwarding:
When bandwidth-based load sharing is enabled, the device calculates the workload proportion for
each interface based on the bandwidths of all the interfaces, and then determines through which
interface to forward subsequent packets based on both the interfaces' workload proportions and
the number of packets the current interface has forwarded.
When bandwidth-based load sharing is disabled, all the interfaces are used for packet forwarding
in turn.
To configure bandwidth-based load sharing:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure bandwidth-based
load sharing.
bandwidth-based-sharing Disabled by default.
3. Enter interface view.
interface interface-type
interface-number
N/A