96
destination-mac: Distributes traffic based on destination MAC addresses.
destination-port: Distributes traffic based on destination ports.
ingress-port: Distributes traffic based on ingress ports.
source-ip: Distributes traffic based on source IP addresses.
source-mac: Distributes traffic based on source MAC addresses.
source-port: Distributes traffic based on source ports.
Usage guidelines
If you execute this command multiple times, the most recent configuration takes effect.
If an unsupported load sharing mode is set, the device displays an error message.
The following are global load sharing modes supported on the device:
• Default mode (load sharing mode automatically determined based on the packet type).
• Source IP.
• Destination IP.
• Source MAC.
• Destination MAC.
• Ingress port.
• Source IP and destination IP.
• Source IP and source port.
• Destination IP and destination port.
• Source IP, source port, destination IP, and destination port.
• Any combination of ingress port, source MAC, and destination MAC.
Examples
# Set the global load sharing mode to load share packets based on destination MAC addresses.
<Sysname> system-view
[Sysname] link-aggregation global load-sharing mode destination-mac
Related commands
link-aggregation load-sharing mode
link-aggregation ignore vlan
Use link-aggregation ignore vlan to configure a Layer 2 aggregate interface to ignore the
specified VLANs.
Use undo link-aggregation ignore vlan to remove the specified ignored VLANs for a
Layer 2 aggregate interface.
Syntax
link-aggregation ignore vlan vlan-id-list
undo link-aggregation ignore vlan
vlan-id-list
Default
A Layer 2 aggregate interface does not ignore any VLANs.
Views
Layer 2 aggregate interface view