The load-balance command configures a load balancing mode for packet forwarding.
The undo load-balance command restores the default mode.
The default load balancing mode for packet forwarding is per-flow.
The default load balancing mode for packet forwarding is per-flow.
Parameter | Description | Value |
---|---|---|
packet |
Configures the per-packet load balancing mode for packet forwarding. |
- |
flow |
Configures the per-flow load balancing mode for packet forwarding. |
- |
slot slot-id |
Specifies the slot ID of a board for which a load balancing mode is to be configured. |
The value is a string of 1 to 256 case-sensitive characters, spaces not supported. |
all |
Indicates that a load balancing mode is to be configured for all boards. |
- |
Usage Scenario
The device supports per-packet and per-flow load balancing modes.
Precautions
On the forwarding plane, this command takes effect on MPLS packets only on the P node.
On the control plane, this command takes effect on both IP and MPLS packets delivered by the CPU.