MLAG Switch In-Service Software Update via Stateful Switchover

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Software updates on switches in a multichassis link aggregation (MLAG) domain typically require the switch to be taken offline, leading to packet drops and decreased network performance due to the need for restarting with updated software.

Innovation Solution

A method for in-service software update (ISSU) is implemented, where a second switch detects the first switch's restart and performs a stateful switch-over (SSO), setting non-peer ports to an error-disabled state, selecting a common MLAG protocol version, and reestablishing the peering relationship, allowing for graceful reinsertion and synchronization of the control plane state.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the switch is taken offline for software update, then the software version is updated, but packet drops occur and network performance decreases

Engineering Contradiction:
Improvesoftware update capabilityVSAvoidnetwork performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system segments the MLAG domain into two independent switches that can operate autonomously. When one switch needs software updates, the other switch continues to handle traffic, dividing the system's operational continuity across multiple independent units that can be updated sequentially without stopping the overall service.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The peer-link acts as an intermediary between the two MLAG switches, enabling state synchronization and control plane communication. During software updates, this intermediary channel allows the active switch to maintain traffic flow while the other switch is updated, mediating the transition without interrupting network services.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If the switch is restarted with updated software, then the software version is upgraded, but the switch must be taken offline

Engineering Contradiction:
Improvesoftware versionVSAvoidswitch offline time
Core Design Contradiction:
ReliabilityVSDuration of action of moving object

Solution Approach 1:

The system performs preliminary actions by maintaining a standby switch that is already synchronized and ready to take over immediately when the active switch is updated. This pre-positioned redundancy eliminates the need for the entire system to be offline during software updates, as the standby switch can seamlessly assume control.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system changes the operational state parameters of the switches dynamically. One switch transitions to an updated software version while the other maintains the previous version during the transition period. This parameter differentiation allows continuous operation with mixed software versions, avoiding complete system downtime.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If the switch is restarted, then software update is performed, but packets are dropped resulting in decreased performance

Engineering Contradiction:
Improvesoftware updateVSAvoidpacket drops
Core Design Contradiction:
ReliabilityVSObject-generated harmful factors

Solution Approach 1:

The system creates a copy of the active switch's functionality in the standby switch, maintaining identical control plane states and forwarding information bases. This copied state allows the standby switch to immediately assume the active role without packet loss when the original active switch is updated, as the copy is already prepared and synchronized.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The system ensures continuous useful action by maintaining traffic flow through the standby switch during the active switch's update process. The peer-link continuously synchronizes states, and traffic is seamlessly redirected to maintain uninterrupted network service, eliminating the harmful effect of packet drops during software updates.

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentUS9306804B2Method and system for multichassis link aggregation in-service software update
Publication Date: 2016.04.05 ARISTA NETWORKS INC
  • US9306804B2 patent drawing
  • US9306804B2 patent drawing
  • US9306804B2 patent drawing

AI summary

A method for performing an in-service software update in a MLAG domain. The method includes restarting the first switch using a second version of software, detecting by a second switch that the first switch is restarting and, in response to the detection, SSO. After restarting the first switch, prior to the first switch performing graceful reinsertion into the MLAG domain, setting all non-peer ports on the first switch to an error-disabled state and selecting a common MLAG protocol version supported by the first switch and the second switch and performing graceful reinsertion, which includes reestablishing a peering relationship between the first switch and the second switch using the common MLAG protocol, and after reestablishing the peering relationship, synchronizing a control plane state of the first switch with the control plane state of the second switch and setting all non-peer ports on the first switch to an active state.