40You can choose one of the following criteria or any combination for load sharing:• Source/Destination MAC addresses• Source/Destination service port numbers• Ingress ports• Source/Destination IP addressesAlternatively, you can let the system automatically choose link-aggregation load-sharing criteria basedon packet types (Layer 2, IPv4, or IPv6 for example).Configuration restrictions and guidelinesFollow these guidelines when you configure a link aggregation group:• To ensure stable aggregation state and service continuity, do not change port attributes or class-twoconfigurations on any member port. If you must, make sure you understand its impact on the livenetwork. Any port attribute or class-two configuration change might affect the aggregation state oflink aggregation member ports and ongoing traffic.Avoid assigning ports to a static aggregation group that has reached the limit on Selected ports. Theseports will be placed in Unselected state to avoid traffic interruption on the current Selected ports.However, a device reboot can cause the aggregation state of member ports to change.Ethernet link aggregation configuration task listTask RemarksConfiguring anaggregation groupConfiguring a static aggregation groupSelect either taskConfiguring a dynamic aggregation groupConfiguring anaggregate interfaceConfiguring the description of an aggregate interface OptionalConfiguring the MTU of a Layer 3 aggregate interface OptionalEnabling link state traps for an aggregate interface OptionalLimiting the number of Selected ports for an aggregationgroup OptionalShutting down an aggregate interface OptionalRestoring the default settings for an aggregate interface OptionalConfiguring loadsharing for linkaggregation groupsConfiguring load-sharing criteria for link aggregation groups OptionalEnabling local-first load sharing for link aggregation OptionalEnabling link-aggregation traffic redirection OptionalConfiguring an aggregation groupYou can choose to create a Layer 2 or Layer 3 link aggregation group depending on the ports to beaggregated:• To aggregate Layer 2 Ethernet interfaces, create a Layer 2 link aggregation group.• To aggregate Layer 3 Ethernet interfaces, create a Layer 3 link aggregation group.