aggregation priority, duplex, and speed in the following order (with the one at the top selected as the reference port):

Lowest aggregation priority value

Full duplex/high speed

Full duplex/low speed

Half duplex/high speed

Half duplex/low speed

Consider the ports in up state with the same port attributes and class-two configurations as the reference port as candidate Selected ports, and set all others in the Unselected state.

Static aggregation limits the number of Selected ports in an aggregation group. When the number of the candidate Selected ports is under the limit, all the candidate Selected ports become Selected ports. When the limit is exceeded, set the candidate Selected ports with smaller port numbers in the Selected state and those with greater port numbers in the Unselected state.

If all the member ports are down, set their states to Unselected.

Set the ports that cannot aggregate with the reference port to the Unselected state.

NOTE:

If a static aggregation group has reached the limit on Selected ports, any port that joins the group is placed in the Unselected state to avoid traffic interruption on the current Selected ports. Avoid this situation, however, because it may cause the aggregation state of a port to change after a reboot.

Dynamic aggregation mode

LACP is automatically enabled on all member ports in a dynamic aggregation group.

In a dynamic aggregation group, the following rules apply:

A Selected port can receive and transmit LACPDUs.

An Unselected port can receive and send LACPDUs only if it is up and with the same configurations as those on the aggregate interface.

In a dynamic aggregation group, the system sets the ports to Selected or Unselected state using the following workflow:

Table 52 The local system (the actor) negotiates with the remote system (the partner) to determine port state based on the port IDs on the end with the preferred system ID. The following is the detailed negotiation procedure:

Compare the system ID (comprising the system LACP priority and the system MAC address) of the actor with that of the partner. The system with the lower LACP priority wins out. If they are the same, compare the system MAC addresses. The system with the smaller MAC address wins out.

Compare the port IDs of the ports on the system with the smaller system ID. A port ID comprises a port LACP priority and a port number. First compare the port LACP priorities. The port with the lower LACP priority wins out. If two ports are with the same LACP priority, compare their port numbers. The port with the smaller port ID, that is, the port with smaller port number, is selected as the reference port.

If a port (in an up state) is with the same port attributes and class-two configuration as the reference port, and the peer port of the port is with the same port attributes and class-two configurations as the peer port of the reference port, consider the port as a candidate selected port; otherwise set the port to the Unselected state.

207