72Aggregating links in dynamic modeLACP is automatically enabled on all member ports in a dynamic aggregation group. The protocolautomatically maintains the aggregation state of ports.The dynamic link aggregation procedure comprises:• Selecting a reference port• Setting the aggregation state of each member portSelecting a reference portThe local system (the actor) and the remote system (the partner) negotiate a reference port using thefollowing workflow:1. Compare the system ID (comprising the system LACP priority and the system MAC address). Thesystem with the lower LACP priority value wins out. If they are the same, compare the system MACaddresses. The system with the lower MAC address wins.2. The system with the smaller system ID selects the port with the smallest port ID as the reference port.A port ID comprises a port aggregation priority and a port number. The port with the loweraggregation priority value wins out. If two ports have the same aggregation priority, the systemcompares their port numbers. The port with the smaller port number wins.Setting the aggregation state of each member portAfter the reference port is selected, the system with the lower system ID sets the state of each member portin the dynamic aggregation group on its side as shown in Figure 25.