When using link protection of aggregated Ethernet interfaces, a primary and backup link is designated to support link protection. Egress traffic passes only through the designated primary link. This includes transit traffic and locally generated traffic on the router or switch. When the primary link fails, traffic is routed through the backup link.
When LAG links are configured on virtual chassis (VC) configurations, they are typically configured in distributed fashion, having one member link on one VC member while the other member link is on another member. If link protection of aggregated Ethernet interfaces are used in these VC configurations, users need to be aware of how VC split scenarios may influence link protection convergence on distributed aggregated interfaces. In certain split-brain scenarios, it is possible that both parts of the VC declare themselves as active and designate their local LAG link member as primary link.
If Virtual chassis is configured with "no-split-detection" knob, during split-brain state scenarios, both VC parts will continue to work independently from one another. In an example with two-member VC during split-brain state, both members will claim primary role and declare the other member of the VC as non-present. This will effectively make each member declare itself as Primary Routing Engine, inherit the configuration and declare interfaces from the other member as down. This will have an unfavorable effect on the LAG link protection feature as each Primary member will make it's LAG link member a primary link and put it in active state.
Upstream/Downstream sides of LAG link will see this change moving from active/standby state to active/active state which defeats the purpose of LAG link protection and can have a negative effect on traffic forwarding.
The LAG link protection feature designates one link as primary (active) and other as backup (standby). This decision is made by the RE based on active configuration. If the RE notices primary link is lost (port goes down), the backup link becomes active. In order this transition to happen, the RE needs to see the primary link as down. If the situation is different, where the primary link is up while backup is down, the RE will keep the primary link as active and no changes will be made.
On the other hand, the virtual chassis with "no-split-detection" configuration knob ensures that in the event of split-brain state, both parts of the VC claims primary role, inherit the configuration and continue to operate as legitimate inheritor of VC.
Using the LAG link protection feature on VC deployments with "no-split-detection" configuration knob can create undesirable LAG link protection convergence in the event of split-brain state. For example, in a two-member VC (Member 0 and Member 1), where LAG link protection is configured so that primary link is located on Member 0 while backup is located on Member 1 if VCP connections are suddenly lost between VC members, it will cause the following chain of events:
When using the LAG link protection feature on Virtual-Chassis configurations, be aware how split-brain scenarios affect the convergence of this feature. In order to avoid active/active scenarios on LAG links with link protection feature, do not use the "no-split-detection" configuration knob in the VC configuration.
In summary, it is a best practice to take into consideration the pros and cons before deciding whether to use the LAG link protection feature on Virtual-Chassis configurations.