Table item storage method and device

A table entry and forwarding table entry technology, applied in the network field, can solve problems such as the shortage of storage resources of network equipment, and achieve the effect of alleviating the shortage of storage resources and reducing the number

Active Publication Date: 2021-10-08
NEW H3C SECURITY TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to provide a table item storage method and device to solve the problem of shortage of storage resources of network equipment

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
  • Table item storage method and device
  • Table item storage method and device
  • Table item storage method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art based on the present application belong to the protection scope of the present invention.

[0062] First, the IP address of the network device in the embodiment of the present invention is described.

[0063] In the embodiment of the present invention, the IP address of the network device is an IPv6 address. Usually, the various components of an IPv6 address and the arrangement relationship between each component are as follows: Figure 1a shown.

[0064] from Figure 1a It can be seen that the IPv6 address includes a network part and an interface ...

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

The embodiment of the invention provides a table item storage method and device, relates to the technical field of networks, and is applied to network equipment. A first network mask of an IPv6 address configured by the network equipment comprises a first identifier of the network equipment, and the method comprises the following steps: obtaining a forwarding table item learned by the network equipment; judging whether a target mask recorded by the forwarding table item contains a first identifier, wherein the target mask is a network mask of an IPv6 address of next-hop equipment; if not, issuing the forwarding table item, and storing the forwarding table item in a hardware storage resource of the network equipment; and if yes, directly storing the forwarding table item in a hardware storage resource of the network equipment. When the scheme provided by the embodiment of the invention is used for storing the table items, the problem of shortage of storage resources of the network equipment can be relieved.

Description

technical field [0001] The present invention relates to the field of network technology, in particular to a table item storage method and device. Background technique [0002] Hosts in the network can forward packets through network devices such as switches and routers. In order to realize message forwarding, from the hardware level, forwarding table entries are generally stored in network devices. When a network device receives a message to be forwarded, it matches the forwarding table items in the forwarding table items stored by itself, and then based on the matching The successful forwarding table entry forwards the message. [0003] However, when the number of forwarding entries is large, the network device needs to consume more hardware storage resources to store the forwarding entries. Especially when the IP (Internet Protocol, Internet Protocol) address of the network device is an IPv6 (Internet Protocol version 6, Internet Protocol version 6) address, because the ...

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
IPC IPC(8): H04L12/741H04L29/12H04L45/74
CPCH04L45/745H04L2101/659
Inventor 汪洪远赵海峰
Owner NEW H3C SECURITY 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