Link discovery method and device

A link discovery and device technology, applied in the field of network management, can solve problems such as device information leakage, and achieve the effects of saving link overhead, reducing device information leakage, and reasonable LLDP packets

Active Publication Date: 2013-08-07
HUAWEI TECH CO LTD
View PDF3 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In order to solve the problem of device information leakage in the prior a...

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
  • Link discovery method and device
  • Link discovery method and device
  • Link discovery method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0084] The embodiment of the present invention provides a link discovery method, see Figure 5 , the method includes:

[0085] 101: When the LLDP packet sent by the directly connected device received by the network device is the first LLDP packet, determine the security level of the directly connected device according to the authentication TLV in the first LLDP packet, and the security level includes security and non-secure Security, the first LLDP message includes an authentication TLV and a minimum security level TLV, where the minimum security level TLV includes: Chassis ID TLV, Port ID TLV, Time to Live TLV and End of LLDPDU TLV.

[0086] 102: If the security level of the directly connected device is security, determine the device type of the directly connected device according to the first LLDP message, and send a second LLDP message to the directly connected device according to the device type of the directly connected device, and the second LLDP message is sent to the d...

Embodiment 2

[0089] In this embodiment of the present invention, the link discovery method provided by the present invention will be further described by taking the first network device and the second network device directly connected to the first network device as examples, see Figure 6 , the method includes:

[0090] 201: The first network device receives the LLDP packet from the second network device.

[0091] Wherein, the LLDP message includes several TLVs. As mentioned above, several TLVs include at least the lowest security level TLV, and the lowest security level TLV includes: Chassis ID TLV, Port ID TLV, Time to Live TLV and End of LLDPDU TLV.

[0092] 202: Determine whether the authentication TLV is carried in the LLDP packet. If the authentication TLV is carried in the LLDP packet, the LLDP packet is the first LLDP packet, and go to 203; if the LLDP packet does not carry the authentication TLV, go to 204.

[0093] 203: Determine the security level of the second network device ...

Embodiment 3

[0126] see Figure 7 , an embodiment of the present invention provides a link discovery device, which is suitable for the link discovery method provided in Embodiment 1, and the device includes:

[0127] The first determining module 301 is configured to determine the security level of the directly connected device according to the authentication TLV in the first LLDP message when the received LLDP packet sent by the directly connected device is the first LLDP packet, the security level Including security and non-security; the first LLDP message includes an authentication TLV and a minimum security level TLV, and the minimum security level TLV includes: Chassis ID TLV, Port ID TLV, Time to Live TLV and End of LLDPDU TLV;

[0128] The second determining module 302 is configured to determine the device type of the directly connected device according to the first LLDP message when the first determining module 301 determines that the security level of the directly connected device ...

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 discloses link discovery method and device, and belongs to the technical field of network management. The link discovery method includes determining security level of a network device according to authentication TLV (type, length and value) when a first LLDP (link layer discovery protocol) message sent by a directly connected device is received by a network device; and if the security level of the network device is security, determining the device type of the directly connected device, and sending a second LLDP message to the directly connected device according to corresponding relationship between the device type of the directly connected device and the TLV. According to the link discovery method, the security level of the network device is determined, when the security level of the network device is security, the device type of the directly connected device is determined, and corresponding TLV is selected to send according to the device type of the directly connected device, so that the situation that all types of TLVs are sent to the directly connected device in the prior art is avoided, possibility of device information linkage is reduced, the sent LLDP message is more reasonable, and link cost is saved.

Description

technical field [0001] The invention relates to the technical field of network management, in particular to a link discovery method and device. Background technique [0002] With the development of Ethernet technology, the types of network devices are becoming more and more complicated. How to obtain the topology of devices in the entire network, how to resolve configuration conflicts between devices, and how to enable devices from different manufacturers to discover each other in the network and perform system and The exchange of configuration information has become an important issue in network management. [0003] LLDP (Link Layer Discovery Protocol, Link Layer Discovery Protocol), provides a data link layer neighbor discovery protocol, which organizes the main capabilities of the device, management address, device identification, port number and other information into different TLVs (Type-Length-Value, Type-Length-Value), and encapsulated in LLDPDU (Link Layer Discovery...

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/24H04L29/06
CPCY02B60/43H04L12/6418H04L41/0806H04L41/28H04L63/0876H04L63/105Y02D30/00H04L12/4625H04L45/26H04L47/286H04L63/162
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