Method and device for setting up neighborhood on basis of OSPF protocol

A neighbor relationship and protocol technology, applied in the field of communication, can solve the problems of not carrying interface type, establishment and maintenance of invalid neighbors, etc., to achieve the effect of improving efficiency, avoiding the establishment of invalid neighbors, and reducing maintenance information

Active Publication Date: 2014-05-28
NEW H3C TECH CO LTD
View PDF4 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] See figure 1 , the OSPFv3 protocol sends hello packets on the interface to establish and maintain the neighbors of adjacent devices, and to synchronize the LSDB. The hello contains the configuration parameters of the current interface, area information, and protocol router-id. However, the The hello packet does not carry information such as the interface type, so interfaces of different types can also exchange packets and establish neighbor relationships, resulting in the establishment and maintenance of invalid neighbors.

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 and device for setting up neighborhood on basis of OSPF protocol
  • Method and device for setting up neighborhood on basis of OSPF protocol
  • Method and device for setting up neighborhood on basis of OSPF protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] Aiming at the problems raised in the background technology, the embodiment of the present invention proposes a method for establishing a neighbor relationship based on the OSPF protocol. In the process of establishing a neighbor relationship through message exchange between network devices supporting the OSPF protocol, the method uses the The reserved field in the message is used to mark the interface type, and the neighbor relationship can only be established between devices with the same type of interface, avoiding the establishment and maintenance of invalid neighbors.

[0025] Various embodiments of the present application will be described in further detail below with reference to the accompanying drawings.

[0026] see figure 2 , in an exemplary embodiment of the present invention, a method for establishing a neighbor relationship based on the OSPF protocol is provided, which is applied to a network device supporting the OSPF protocol, and the method performs the...

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 invention provides a method and device for setting up neighborhood on the basis of an OSPF protocol. The method and the device are applied to a network device supporting the OSPF protocol. The method includes the steps that a neighbor announcement message is sent to an opposite terminal device through an OSPF interface, wherein the neighbor announcement message carries a preset mark used for marking the type of the OSPF interface through which the neighbor announcement message is sent; the neighbor announcement message from the opposite terminal device is received, interface type matching check is conducted according to the preset mark carried in the received neighbor announcement message, and the neighborhood is continued to be set up between the device and the opposite terminal device according to the protocol and neighborhood maintenance is conducted when the type of the interface marked with the preset mark carried by the neighbor announcement message is checked out to be the same as the type of the interface, through which the neighbor announcement message is received, of the device. By means of the method and the device, setting up and maintenance of ineffective neighborhood can be limited.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a method and a device for establishing a neighbor relationship based on the OSPF protocol. Background technique [0002] OSPFv3 (Open Shortest Path First version 3, open shortest path first version 3) is a link state-based autonomous system internal routing protocol developed by IETF (Internet Engineering Task Force, Internet Engineering Task Force). The working mechanism of the protocol is that each The neighbor relationship is established and maintained between the devices by periodically advertising Hello packets, and the LSA (Link State Advertisement, Link State Advertisement) describing the link state is diffused between the devices forming the adjacency relationship, and each device finally forms the same LSDB (Link State Data Base, link state database), based on LSDB, route calculation is performed to generate routing information and save it in RIB (Routing Informati...

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): H04L12/24
Inventor 魏志广曹伟
Owner NEW H3C 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