H3C LS-3100-52P-OVS-H3 Operation Manual - page 62
1-10
traffic as needed. For example, for Layer 3 traffic, you can use IP addresses as hash keys for load
sharing calculation.
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, the hash keys for a switch are source IP addresses, destination IP addresses, source MAC
addresses, destination MAC addresses, source ports, destination ports, or the combination of these
fields carried in packets (excluding the combination of MAC addresses with IP addresses, source ports,
or destination ports). The ingress-port parameter can only be used as a hash key when combined with
a MAC address, not when combined with an IP address, source port, or destination port. The parameter
alone cannot be used as a hash key either.
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