R3303-HP HSR6800 Routers Layer 3 - IP Services Configuration Guide

112
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 device allows a maximum of 8 routes for load sharing.
Static routing/IPv6 static routing, RIP/RIPng, OSPF/OSPFv3, BGP/IPv6 BGP, and IS-IS/IPv6 IS-IS
support load sharing.
Configuring bandwidth-based load sharing
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 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 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
4. Specify the bandwidth of the
interface for load sharing.
load-bandwidth bandwidth
Optional.
The default is the physical
bandwidth of the interface.
A bandwidth of 0 disables routing
on the interface, and the interface
is not selected for load sharing.
Other states of the interface are not
affected.
5. Return to user view.
return N/A
6. Display statistics about
bandwidth-based load
sharing.
display fib [ vpn-instance
vpn-instance-name ]
bandwidth-based-sharing [ |
{ begin | exclude | include }
regular-expression ]
Optional.
Available in any view.