Class-Based MAC Learning for Layer 2 Loop Prevention

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In Layer 2 switched networks, existing loop prevention techniques are inadequate in consistently safeguarding against both provider and customer network loops, often resulting in network degradation or shutdown due to transient and unintentional loops, and lack the ability to selectively address only problematic flows.

Innovation Solution

Implementing a class-based Media Access Control (MAC) learning method that enables higher priority learning on certain ports, disables MAC movements from higher to lower priority ports, and manages Source MAC address priorities to discard frames from lower priority ports, allowing for selective flow management and loop direction determination using Down MEP Continuity Check Messages.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If port shutdown action is applied to force operational down, then network loops are prevented, but all traffic on that UNI is disrupted

Engineering Contradiction:
Improveloop preventionVSAvoidtraffic flow
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent applies different operational states to different ports based on their involvement in loops. Instead of shutting down entire ports, the system selectively places specific ports in discarding state only when they are identified as part of a loop, allowing non-loop ports to continue normal traffic flow. This localized approach prevents loops while preserving productivity of unaffected ports.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent segments the network into multiple spanning tree instances (MSTIs), each handling specific VLANs or traffic types independently. Loop prevention actions are applied per-MSTI rather than globally, allowing selective isolation of looped traffic segments while maintaining connectivity for other segments. This segmentation enables granular control over which traffic flows are protected from loop prevention actions.

Inventive Principle:
Principle #1Segmentation

2Reliability

If STP block action is enabled per service, then loops are prevented for that service, but all frames of the problematic service are dropped even if the problem is limited to certain flows

Engineering Contradiction:
Improveloop preventionVSAvoidflow selectivity
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent implements loop prevention at the finest granularity by applying actions to individual MAC addresses and specific ports rather than entire services. When a loop is detected for a particular Source MAC address on a specific port, only that port-MAC combination is blocked, while other ports and MAC addresses within the same service continue to operate normally. This enables selective flow management with high adaptability.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent segments services into multiple spanning tree instances (MSTIs), where each MSTI can have independent loop prevention settings. This allows different services or VLANs to be handled by different MSTIs, enabling selective application of loop prevention actions to specific service segments rather than blocking entire services uniformly.

Inventive Principle:
Principle #1Segmentation

3Reliability

If port shutdown or service block action is applied, then loops are prevented, but the user cannot determine whether the loop condition has been resolved

Engineering Contradiction:
Improveloop preventionVSAvoidloop status information
Core Design Contradiction:
ReliabilityVSLoss of information

Solution Approach 1:

The patent implements comprehensive monitoring and logging mechanisms that continuously track loop conditions, detection events, and resolution status. The system provides detailed feedback through logs, alarms, and status indicators that inform users about loop detection, the specific ports and MAC addresses involved, and when loops have been resolved. This feedback enables users to determine loop resolution status without manual intervention.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS10237088B2Systems and methods for avoiding inadvertent loops in a layer 2 switched network
Publication Date: 2019.03.19 CIENA CORP
  • US10237088B2 patent drawing
  • US10237088B2 patent drawing
  • US10237088B2 patent drawing

AI summary

Loop prevention systems and methods implemented in a switch to prevent loops in a Layer 2 packet switched network based on Media Access Control (MAC) movement in a forwarding database include enabling class based MAC learning on one or more ports with all of the one or more ports initially in a higher priority learning class; disabling MAC movements from the higher priority learning class to a lower priority learning class and disabling MAC movements in the lower priority learning class such that the switch discards frames attempting to perform MAC movement to ports which are in the lower priority learning class; and managing a priority for specific Source MAC addresses between a source port belonging to the higher priority learning class and the lower priority learning class based on detected loops for the specific Source MAC addresses.