Switch Cluster Loop Prevention via LAG ID Tagging

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for preventing loops in multi-node switch clusters, such as using two Multicast Group IDs per VLAN ID, face limitations in scalability and require complex inter-switch control plane synchronizations during port failures, leading to potential packet loss and loop creation challenges.

Innovation Solution

Assigning a global Link Aggregation Group/Multi-Link Trunk Identifier (LAG/MLT ID) to each LAG/MLT, tagging packets on IST ports with this ID, and using a single Multicast Group Identifier (MGID) per VLAN ID to differentiate packet forwarding, thereby preventing loops and conserving resources.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If two Multicast Group IDs per VLAN ID are used to prevent loops, then loop prevention is achieved, but the number of MGIDs increases and device complexity increases

Engineering Contradiction:
Improveloop preventionVSAvoidnumber of MGIDs
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments the MGID management by creating separate MGID sets for IST ports and user ports. Each set is independently managed, allowing the system to prevent loops without requiring two MGIDs per VLAN. This segmentation reduces the total number of MGIDs needed while maintaining loop prevention capability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary mechanism - the IST port identification and special forwarding rule - that acts as a mediator between packet reception and forwarding decisions. This intermediary layer prevents loops by intercepting packets at the IST port level and applying specific forwarding rules, eliminating the need for multiple MGIDs per VLAN.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If two Multicast Group IDs per VLAN ID are used, then loop prevention is achieved, but scalability is limited due to increased MGID requirements

Engineering Contradiction:
Improveloop preventionVSAvoidscalability
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

By segmenting MGID management into separate sets for IST and user ports, the patent enables the system to scale more efficiently. Each segment is independently managed, allowing the network to accommodate more VLANs and ports without a proportional increase in total MGID consumption, thereby improving scalability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent makes each MGID multi-functional by designing it to handle both IST port forwarding and user port forwarding within its scope. A single MGID can serve multiple purposes across different port types, reducing the overall number of MGIDs required and enhancing the system's ability to scale.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Reliability

If inter-switch control plane synchronizations are implemented during port failures, then loop prevention is maintained, but packet loss occurs and operation complexity increases

Engineering Contradiction:
Improveloop prevention during failuresVSAvoidsynchronization complexity
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The patent implements preliminary action by pre-configuring special forwarding rules for IST ports that automatically prevent loop formation. These rules are established in advance and execute automatically upon packet reception, eliminating the need for real-time control plane synchronizations during port failures and preventing packet loss.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The forwarding rules enable the system to be self-service during failure scenarios. Each switch independently applies the predefined IST port forwarding rules without requiring coordination or synchronization with other switches, automatically maintaining loop prevention while simplifying operation.

Inventive Principle:
Principle #25Self-service

4Productivity

If packets are broadcast to all IST ports, then other nodes receive packet copies for broadcasting, but loop formation risk increases

Engineering Contradiction:
Improvepacket distribution efficiencyVSAvoidloop formation risk
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent applies local quality by implementing different forwarding behaviors for different packet destinations. Packets received on IST ports are subjected to special local processing - they are forwarded to user ports according to specific rules while preventing re-transmission back to IST ports. This localized quality control at the forwarding decision level enables efficient packet distribution while preventing loops.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent uses preliminary action by pre-establishing forwarding rules that differentiate between IST port packets and user port packets. These rules are configured in advance to direct IST port packets to appropriate user ports while blocking any path that would return packets to IST ports, thereby enabling efficient distribution without loop formation risk.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS8750122B1Method and apparatus for layer 2 loop prevention in a multi-node switch cluster
Publication Date: 2014.06.10 EXTREME NETWORKS INC
  • US8750122B1 patent drawing
  • US8750122B1 patent drawing
  • US8750122B1 patent drawing

AI summary

A LAG/MLT ID is assigned to each LAG/MLT connecting to a switch cluster. Packets transmitted on the IST port are tagged with the LAG/MLT ID. Each switch in the switch cluster maintains a single MGID per VLAN ID. The MGID includes all IST ports as well as VLAN ID user port members. If a broadcast packet is received on an IST, any packet copy destined to the receiving IST port is dropped and any packet copy destined to a LAG/MLT port that matches the incoming tag is dropped. The LAG/MLT ID is preserved when the packet is sent to other IST ports and is removed when the packet is sent to a user port. By using a global ID for the LAG/MLT differentiated treatment of packets forwarded on the IST may be achieved using a single MGID per VLAN ID thus conserving resources.