ip load-sharing mode

Syntax

ip load-sharing mode { all | slot slot-number } per-flow [ algorithm algorithm-number | dest-ip | dest-port | ingress-port | ip-pro | src-ip | src-port ] *

undo ip load-sharing mode { all | slot slot-number }

View

System view

Default level

2: System level

Parameters

all: Specifies all IRF member devices.

slot slot-number: Specifies an IRF member device by its ID.

per-flow: Implements per-flow load sharing.

algorithm algorithm-number: Specifies an algorithm for per-flow load sharing. The value range for the algorithm-number argument is 0 to 1, and the default value is 0.

dest-ip: Identifies flows by destination IP address.

dest-port: Identifies flows by destination port.

ingress-port: Identifies flows by ingress port.

ip-pro: Identifies flows by protocol number.

src-ip: Identifies flows by source IP address.

src-port: Identifies flows by source port.

Description

Use ip load-sharing mode to configure per-flow load sharing.

Use undo ip load-sharing mode to restore the default.

By default, the device performs per-flow load sharing based on the source IP address, destination IP address, source port, destination port, IP protocol number, ingress port, and VLAN.

Examples

# Configure per-flow load sharing on IRF member device 3.

<Sysname> system-view
[Sysname] ip load-sharing mode slot 3 per-flow