分类: 系统运维
2010-11-16 10:28:43
Synchronization is encoded in bit 3. If TRUE (encoded as a 1), the System considers this link to be IN_SYNC; i.e., it has been allocated to the correct Link Aggregation Group, the group has been associated with a compatible Aggregator, and the identity of the Link Aggregation Group is consistent with the System ID and operational Key information transmitted. If FALSE (encoded as a 0), then this link is currently OUT_OF_SYNC; i.e., it is not in the right Aggregation.
看这意思说的,就是,如果对方端口,首先发生自己认为自己已经处于synchronization状态,并且对方对自己的了解也是正确的(matched)的。Partner_Oper_Port_State.Synchronization is set to TRUE if all of these parameters match, Actor_State.Synchronization in the received PDU is set to TRUE, and LACP will actively maintain the link in the aggregation.Partner_Oper_Port_State.Synchronization is also set to TRUE if the value of Actor_State.Aggregation in the received PDU is set to FALSE (i.e., indicates an Individual link), Actor_State.Synchronization in the received PDU is set to TRUE, and LACP will actively maintain the link.
Since all operational parameters are now set to locally administered values, there can be no disagreement as to the Link Aggregation Group, so the Partner_Oper_Port_State.Synchronization variable is set to TRUE.
但是这样赋值是否有意义呢?至少我看到有些系统的代码,就没有按照协议来设置synchronziation的值,而且我觉得协议在这一块,是有些不一致的。既然在default状态下,recordDefault会导致synchronization被置,那么,其它情况下使用recordDefault也一样要置位。
本端系统在mux使用partner.sync时,决定是否使能collecting。那说明default状态下置synchronizaiton会影响到mux状态机,但是有一个条件:LAG-ID信息不能变。在LAG-ID信息不变的情况下,清除synchronization会导致mux状态机最终回退到attached状态,而不是再enable collecting。