65
link-aggregation load-sharing mode
Syntax
System view:
link-aggregation load-sharing mode
{
destination-ip
|
destination-mac
|
destination-port
|
source-ip
|
source-mac
|
source-port
} *
undo link-aggregation load-sharing mode
View
System view
Default level
2: System level
Parameters
destination-ip
: Performs load sharing in link aggregation groups based on destination IP address.
destination-mac
: Performs load sharing in link aggregation groups based on destination MAC address.
destination-port
: Performs load sharing in link aggregation groups based on destination port.
source-ip
: Performs load sharing in link aggregation groups based on source IP address.
source-mac
: Performs load sharing in link aggregation groups based on source MAC address.
source-port
: Performs load sharing in link aggregation groups based on source port.
Description
Use the
link-aggregation load-sharing mode
command to configure the global link-aggregation load
sharing criteria.
Use the
undo link-aggregation load-sharing mode
command to restore the default.
By default, the global aggregation load sharing criteria are source MAC address and destination MAC
address for Layer 2 packet types, such as ARP, and source IP addresses, destination IP addresses source
MAC address and destination MAC address for Layer 3 packet types, such as IP packet.
This command applies to only unicast packets, and can change the load sharing criteria for unicast
packets. Broadcast packets and multicast packets always use the default load sharing criteria.
Examples
# Configure the destination MAC address as the global link-aggregation load sharing criterion.
<Sysname> system-view
[Sysname] link-aggregation load-sharing mode destination-mac
link-aggregation load-sharing mode local-first
Syntax
link-aggregation load-sharing mode
local-first
undo link-aggregation load-sharing mode local-first
View
System view