< Home

Configuring a Load Balancing Mode for IP Packet Forwarding

Context

If flow-based load balancing is used, the hash algorithm is used to calculate a value for selecting a link to forward packets. The value is calculated based on the protocol type, source IP address, destination IP address, source port number, and destination port number.

If packet-based load balancing is used, packets are forwarded through different links. Packet-based load balancing can be implemented only for packets forwarded by the CPU such as protocol packets.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run load-balance { flow | packet } [ all | slot slot-id ]

    The flow-based load balancing mode is configured for IP packet forwarding.

    By default, flow-based load balancing is used.

    The load-balance command can also be used for MPLS packets.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >