发明名称 LINK DISCOVERY METHOD AND APPARATUS
摘要 The present application discloses a link discovery method and apparatus. The method includes: when a network device receives a first LLDP packet sent by a directly connected device, determining a security level of the directly connected device according to an authentication TLV; if the security level of the directly connected device is secure, determining a device type of the directly connected device, and sending a second LLDP packet to the directly connected device according to a correspondence between the device type of the directly connected device and a TLV. In the present application, a corresponding TLV is selected according to the device type and sent, which avoids that all types of TLVs are sent to a directly connected device every time, and reduces a possibility of device information leakage. It is ensured that a sent LLDP packet is more proper, and a link overhead is reduced.
申请公布号 US2016014142(A1) 申请公布日期 2016.01.14
申请号 US201514864464 申请日期 2015.09.24
申请人 Huawei Technologies Co., Ltd. 发明人 WANG Cheng;ZI Kang
分类号 H04L29/06;H04L12/24;H04L12/841;H04L12/46;H04L12/721 主分类号 H04L29/06
代理机构 代理人
主权项 1. A link discovery method, comprising: in response to a network device receiving a first Link Layer Discovery Protocol (LLDP) packet sent by a directly connected device, determining a security level of the directly connected device according to an authentication type-length-value (TLV) in the first LLDP packet, the security level comprises either a secure security level or an insecure security level, wherein the first LLDP packet comprises the authentication TLV and a minimum security level TLV, and the minimum security level TLV comprises a Chassis ID TLV, a Port ID TLV, a Time to Live TLV, and an End of LLDP Data Unit TLV; and in response to determining that the security level of the directly connected device is the secure security level, determining a device type of the directly connected device according to the first LLDP packet, and sending a second LLDP packet to the directly connected device according to the device type of the directly connected device, wherein the second LLDP packet comprises a TLV corresponding to the device type of the directly connected device.
地址 Shenzhen CN