SNMP MIB Index Persistence via Hash Collision Handling

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The persistence of management information indexes across multiple network elements is problematic due to potential hash value collisions during Stateful Switch Over (SSO) and network element reloads, especially in systems using Simple Network Management Protocol (SNMP) for Quality of Service (QoS) data management, which can lead to synchronization issues and storage limitations in non-volatile random-access memory (NVRAM).

Innovation Solution

A hash algorithm is applied to a network element configuration string to generate a unique integer representing an object identifier (OID) for indexing in the Management Information Base (MIB), with collision handling mechanisms using a global counter file and saving hash collisions in NVRAM, reducing the need for data synchronization and maintaining persistence across network elements.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If hash values are used to index MIB objects across multiple network elements, then data synchronization between active and standby sides is improved, but hash value collisions cause persistence problems and increase system complexity

Engineering Contradiction:
Improvedata synchronizationVSAvoidcollision handling mechanisms
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

A global counter file serves as an intermediary mechanism to resolve hash collisions across network elements. When a collision is detected, the system checks the global counter file to determine whether the collision is significant (affecting multiple network elements) or insignificant (isolated to one element), enabling differentiated handling strategies that maintain synchronization while managing complexity.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system changes the parameter of hash value interpretation by distinguishing between significant and insignificant collisions based on the global counter value. This parameter change allows the same hash collision to be handled differently depending on its scope, resolving the contradiction between maintaining synchronization reliability and managing system complexity.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If all hash collisions are persisted in NVRAM to maintain index persistence, then reliability during reloads is improved, but storage space in NVRAM is consumed and limits other persistent data

Engineering Contradiction:
Improveindex persistenceVSAvoidNVRAM storage space
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The system applies local quality by differentiating the persistence requirements of different hash collisions based on their significance. Insignificant collisions (those not affecting multiple network elements) are not persisted in NVRAM, while only significant collisions are stored. This selective approach maintains index persistence for critical cases while conserving NVRAM storage space.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system extracts only the necessary collision information for persistence by using the global counter file to identify significant collisions. Instead of persisting all hash collisions, the system extracts and stores only those that affect multiple network elements, reducing NVRAM storage requirements while maintaining reliability.

Inventive Principle:
Principle #2Taking out (Extraction)

3Measurement precision

If extensive collision checking is performed across peer network elements, then measurement precision of collision significance is improved, but processing time and system performance are reduced

Engineering Contradiction:
Improvecollision significance detectionVSAvoidsystem performance
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The system performs partial collision checking by using the global counter file to quickly identify significant collisions without examining every peer network element in detail. This partial action approach maintains measurement precision for significant collisions while avoiding the excessive processing overhead of comprehensive checking, thus preserving system performance.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS7716320B2Method and apparatus for persisting SNMP MIB integer indexes across multiple network elements
Publication Date: 2010.05.11 CISCO TECHNOLOGY INC
  • US7716320B2 patent drawing
  • US7716320B2 patent drawing
  • US7716320B2 patent drawing

AI summary

Disclosed are systems and methods for persisting management information indexes across multiple network elements. In particular, methods of detecting and curing potential collisions among a peer group of network elements by use of a hashing function can be provided in accordance with embodiments. For example, a method for maintaining persistence across network elements can include: (i) configuring one of the network elements, and providing a configuration string therefrom; (ii) performing a hashing algorithm on the configuration string to provide a hash value; (iii) determining if any collisions exists between the hash value and corresponding values from among a peer group of network elements; and (iv) assigning the hash value as a management table index when no collision is found, or assigning a new value for the management table index when a collision is found.