131
Views
System view
Predefined user roles
network-admin
Usage guidelines
Local-first load sharing takes effect only in an IRF fabric.
Examples
# Disable local-first load sharing.
<Sysname> system-view
[Sysname] undo ip load-sharing local-first enable
ip load-sharing mode per-flow
Use ip load-sharing mode per-flow to configure per-flow load sharing.
Use undo ip load-sharing mode per-flow to restore the default.
Syntax
ip load-sharing mode per-flow [ tunnel { inner | outer } | algorithm algorithm-number | [ dest-ip |
dest-port | ingress-port | ip-pro | src-ip | src-port ] * ] [ slot slot-number ]
undo ip load-sharing mode [ slot slot-number ]
Default
The device performs per-flow load sharing based on the following criteria: source IP address,
destination IP address, source port number, destination port number, IP protocol number, ingress
port, and VLAN.
Views
System view
Predefined user roles
network-admin
Parameters
algorithm algorithm-number: Enables flow-based load sharing algorithm switching. The
algorithm-number argument specifies the algorithm to be switched, and is in the range of 0 to 8.
Value 0 indicates the default algorithm.
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 ID.
src-ip: Identifies flows by source IP address.
src-port: Identifies flows by source port.
tunnel: Performs load sharing for IP tunnel packets.
inner: Identifies flows by inner IP header information.
outer: Identifies flows by outer IP header information.
slot slot-number: Specifies an IRF member device by its member ID or a PEX by its virtual slot
number.