Setting the bandwidth ratio and maximum protection bandwidth

When the traffic exceeds the maximum protection bandwidth multiplied by the bandwidth ratio of a link, new traffic (traffic that does not match any sticky entries) is not distributed to the link. When the traffic drops below the maximum protection bandwidth multiplied by the bandwidth recovery ratio of the link, the link participates in scheduling again.

To set the bandwidth ratio and maximum protection bandwidth:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter link view.

loadbalance link link-name

N/A

3. Set the bandwidth ratio.

bandwidth [ inbound | outbound ] busy-rate busy-rate-number [ recovery recovery-rate-number ]

By default, the total bandwidth ratio is 70.

4. Set the maximum protection bandwidth.

max-bandwidth [ inbound | outbound ] bandwidth-value

By default, the maximum protection bandwidth, maximum uplink protection bandwidth, and maximum downlink protection bandwidth are 0 KBps. The bandwidths are not limited.