1-10
sharing mode. You can change the load sharing mode of a link aggregation group for different types of
traffic as needed.
Follow these steps to configure load sharing mode for link aggregation groups:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Configure the link
aggregation load
sharing mode
link-aggregation
load-sharing mode
{
destination-ip
|
destination-mac
|
destination-port
|
ingress-port
|
source-ip
|
source-mac
|
source-port
}
*
Optional
By default, the hash keys for Layer 2 packets
are source/destination MAC addresses, and
those for Layer-3 packets are
source/destination IP addresses.
The setting you made applies to all
load-sharing link aggregation groups.
Currently, when you configure load sharing mode for link aggregation groups in system view, the switch
supports configuring hash keys in the following modes:
z
Use a source IP address, a destination IP address, a source MAC address, or a destination MAC
address alone as a hash key.
z
Combine a source IP address and a destination IP address, a source IP address and a source port
number, or a destination IP address and a destination port number to form a hash key.
z
Combine any two or all three of the following elements to form a hash key:
ingress port number,
source MAC address, and destination MAC address.
Displaying and Maintaining Link Aggregation
To do...
Use the command...
Remarks
Display the local system ID
display lacp system-id
Available in any view
Display the aggregation
group-specific load sharing
mode
display link-aggregation
load-sharing mode
Available in any view
Display link aggregation details
of ports
display link-aggregation
member-port
[
interface-type
interface-number
[
to interface-type
interface-number
] ]
Available in any view
Display the summary
information of all aggregation
groups
display link-aggregation
summary
Available in any view
Display detailed information of
aggregation groups
display link-aggregation
verbose
[
bridge-aggregation
[
interface-number
] ]
Available in any view
Clear the LACP statistics of
ports
reset lacp statistics
[
interface
interface-type interface-number
[
to
interface-type interface-number
] ]
Available in user view