-
公开(公告)号:US20240314040A1
公开(公告)日:2024-09-19
申请号:US18669198
申请日:2024-05-20
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Zhuliang WU , Zhongyu WANG , Yuming XIE
IPC: H04L41/12 , H04L41/22 , H04L45/745
CPC classification number: H04L41/12 , H04L41/22 , H04L45/745
Abstract: A method for restoring a network topology and an apparatus are disclosed. A topology computing apparatus obtains MAC entries of a plurality of network devices; determines a port on which an uplink destination MAC address is learned as an uplink port of the plurality of network devices, where the uplink destination MAC address is a MAC address that appears most frequently in the MAC entries of the plurality of network devices; then determines a plurality of initial sets, and determines a connection relationship between the plurality of network devices based on the plurality of initial sets; and finally determines, based on the connection relationship between the plurality of network devices and the uplink port, a network topology corresponding to the plurality of network devices.