R2511-HP MSR Router Series Layer 3 - IP Services Command Reference(V5)

336
Load sharing commands
bandwidth-based-sharing
Use bandwidth-based-sharing to enable bandwidth-based load sharing.
Use undo bandwidth-based-sharing to disable bandwidth-based load sharing.
Syntax
bandwidth-based-sharing
undo bandwidth-based-sharing
Default
Bandwidth-based load sharing is disabled.
Views
System view
Default command level
2: System level
Usage guidelines
If multiple outbound interfaces/next hops to a destination are available:
When bandwidth-based load sharing is disabled, all the interfaces are used for packet forwarding
in turn.
When bandwidth-based load sharing is enabled, the device calculates the workload proportions
for interfaces based on their bandwidths, 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.
Examples
# Enable bandwidth-based load sharing.
<Sysname> system-view
[Sysname] bandwidth-based-sharing
display load-sharing ip address
Use display load-sharing ip address to display bandwidth-based load sharing statistics for a destination.
Syntax
display load-sharing ip address ip-address { mask | mask-length } [ | { begin | exclude | include }
regular-expression ]
Views
Any view
Default command level
2: System level