Method of three-layer conversion information down transmitting hardware LPM table

A three-layer forwarding and hardware technology, applied in the direction of electrical components, digital transmission systems, transmission systems, etc., can solve problems such as forwarding errors, achieve the effect of improving utilization, improving forwarding efficiency, and facilitating forwarding

Inactive Publication Date: 2005-01-05
HUAWEI TECH CO LTD
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the route matching algorithm is the longest prefix match, for the same prefix with different mask lengths, if the prefix with the short mask is delivered successfully, but the prefix with the corresponding long mask is not delivered successfully, a data packet needs to be matched. To the prefix of the long mask, only the short mask prefix can be matched at this time. In this way, the data packet that should be forwarded according to the long mask prefix is ​​sent according to the matching relationship of the short mask prefix, which is easy to cause forwarding mistake

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method of three-layer conversion information down transmitting hardware LPM table
  • Method of three-layer conversion information down transmitting hardware LPM table

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The present invention first creates a storage unit related to the hardware LPM table, the capacity of the storage unit is greater than or equal to the capacity of storing the IP prefix value in the FIB, and two arrays S and F are set in the storage unit, which are respectively used to store the success of the FIB delivery and the IP prefix value that fails to be delivered;

[0019] When FIB is delivered, first search the array F according to the network prefix value to check whether there is an item matching the IP prefix; if it exists, insert the routing table item directly into the array F and return it;

[0020] Otherwise, the IP prefix value is inserted into the LPM table; if the insertion is successful, it is stored in the array S; if the insertion fails, it is inserted into the array F, and all the IP prefixes in the array S All IP short prefix entries are moved to array F, and the corresponding IP prefix values ​​in the LPM table are deleted;

[0021] After dele...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

This invention discloses a method for delivering a three-layer forward information to hardware LPM list, among which, the top layer FIB is delivered to said hardware LPM list and tuple S and F of IP prefix value are designed for storing FIB successful or failed delivery. When FIB is delivered, tuple F is searched first to see if there is item matched to said IP prefix, if so, the route item list is inserted into tuple F, otherwise, the IP prefix value is inserted into LPM list. If the insertion is done, it is stored in tuple S, if its failed, it's inserted into tuple F and all short prefix lists of the IP prefix values in LPM are cancelled. After that, other prefix values in F are tried to insert into LPM, if it's done, all short prefixes related to IP are inserted into LPM and S.

Description

Technical field: [0001] The invention relates to a method for issuing a hardware LPM table with three-layer forwarding information. Background technique: [0002] Generally, the LPM (Longest-Prefix-Match, longest prefix match) table space in the forwarding chip on the interface board of the three-layer switch is very limited. When the upper layer FIB (Forwarding Information Base, routing and forwarding table) is sent to this hardware table, it often happens that the table is full and the insertion fails. In addition, the current routing and forwarding matching algorithm is the longest match. If a long mask prefix is ​​not inserted successfully, all corresponding short mask prefixes must be deleted from the hardware table. Although the deletion of these short masks frees up space, the The insertion of this long mask does not bring any benefit. At this time, we can only try to insert other network prefixes. In this way, the hardware table must be frequently accessed, thereby...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L45/748
Inventor 柴新忠
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products