A method and device for storing table entries

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

Active Publication Date: 2022-07-22
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
  • A method and device for storing table entries
  • A method and device for storing table entries
  • A method and device for storing table entries

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art based on the present application fall within 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 this embodiment of the present invention, the IP address of the network device is an IPv6 address. Usually, the components of an IPv6 address and the arrangement relationship between the components are as follows Figure 1a shown.

[0064] from Figure 1a It can be seen that the IPv6 address includes a network par...

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

Embodiments of the present invention provide a method and device for storing entries, which relate to the field of network technology and are applied to network equipment. The first network mask of the IPv6 address configured by the network equipment includes: the first identifier of the network equipment. The above method includes: : obtain the forwarding table entry learned by the network device; determine whether the target mask recorded in the forwarding table entry contains the first identifier, where the target mask is: the network mask of the IPv6 address of the next hop device; if no, Publish the forwarding entry, and store the forwarding entry in the hardware storage resource of the network device; if yes, directly store the forwarding entry in the hardware storage resource of the network device. When the solution provided by the embodiment of the present invention is applied to store table entries, the problem of shortage of storage resources of network equipment can be alleviated.

Description

technical field [0001] The present invention relates to the field of network technologies, and in particular, to a method and device for storing table entries. Background technique [0002] Hosts on the network can forward packets through network devices such as switches and routers. In order to realize packet forwarding, from the hardware level, network devices generally store forwarding entries. When the network device receives the packets to be forwarded, it matches the forwarding entries in the forwarding entries stored by itself, and then matches the forwarding entries based on the matching. Successful forwarding entries are used to forward packets. [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 a network device is an IPv6 (Internet Protocol version 6, Internet Protocol version ...

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 Patents(China)
IPC IPC(8): H04L45/745H04L101/659H04L45/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