R3166-R3206-HP High-End Firewalls High Availability Command Reference-6PW101

82
[Sysname] lacp system-priority 64
link-aggregation load-sharing mode
Syntax
link-aggregation load-sharing mode { destination-ip | destination-port | ip-protocol | source-ip |
source-port } *
undo link-aggregation load-sharing mode
View
System view, Layer 2 aggregate interface view, Layer 3 aggregate interface view
Default Level
2: System level
Parameters
destination-ip: Specifies to perform load sharing in link aggregation groups based on destination IP
address.
destination-port: Specifies to perform load sharing in link aggregation groups based on destination
port.
ip-protocol: Specifies to perform load sharing in link aggregation groups based on IP protocol type.
source-ip: Specifies to perform load sharing in link aggregation groups based on source IP address.
source-port: Specifies to perform load sharing in link aggregation groups based on source port.
Description
Use the link-aggregation load-sharing mode command to configure the global or group-specific
link-aggregation load sharing criterion or criteria.
Use the undo link-aggregation load-sharing mode command to restore the default.
Note that:
The load sharing criterion or criteria you configured overwrite the old ones, if any.
In case an unsupported load sharing criterion is configured, you will be prompted of the error.
Examples
# Configure the destination IP address as the global link-aggregation load sharing criterion.
<Sysname> system-view
[Sysname] link-aggregation load-sharing mode destination-ip
# Configure the destination IP address as the load sharing criterion specific to the link aggregation group
of the Bridge-Aggregation 1 interface.
<Sysname> system-view
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] link-aggregation load-sharing mode destination-ip
link-aggregation mode
Syntax
link-aggregation mode dynamic