R21xx-HP FlexFabric 11900 Layer 2 LAN Switching Command Reference

89
flexible: Performs load sharing in link aggregation groups flexibly based on packet types (Layer 2, IPv4,
IPv6, or MPLS for example).
Usage guidelines
This command takes effect on only unicast packets and can change the load sharing criteria for known
unicast packets. Broadcast packets, multicast packets, and unknown unicast packets always use the
default load sharing criteria.
The load sharing criteria that you configure overwrites the previous criteria.
If unsupported load sharing criteria are configured, an error prompt appears.
In Layer 2 aggregate interface view, the switch supports the following load-sharing criteria and
combinations:
Load-sharing criteria automatically determined based on the packet type
Source IP address
Destination IP address
Source MAC address
Destination MAC address
Layer 1 MPLS label
Destination IP address and source IP address
Destination MAC address and source MAC address
Layer 1 MPLS label and Layer 2 MPLS label
Examples
# Configure the destination MAC address as the load sharing criterion that is specific to the link
aggregation group of aggregate interface Bridge-Aggregation 1.
<Sysname> system-view
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] link-aggregation load-sharing mode destination-mac
Related commands
link-aggregation global load-sharing mode
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
Default level
2: System level
Parameters
None