-
公开(公告)号:US20210160168A1
公开(公告)日:2021-05-27
申请号:US17100530
申请日:2020-11-20
Applicant: Huawei Technologies Co., Ltd.
Inventor: Dongdong LI , Pu CHENG , Ying XIE
IPC: H04L12/721 , H04L12/803
Abstract: This application provides a path switching method and a related apparatus. In the path switching process, an ECMP table includes a first ECMP index of a first path group and a second ECMP index of a second path group; when all paths in the first path group have failed, a path group identifier corresponding to the first ECMP index may be changed from valid to invalid in the ECMP table, indicating that all paths in the first path group are unavailable. In this case, a path group identifier corresponding to the second ECMP index is valid, indicating that the second path group includes an available path, thereby completing switching between an active path and a standby path. In this process, only an identifier corresponding to the ECMP index needs to be updated, and therefore, the time consumed is relatively short, and the path switching delay can be effectively reduced.
-
公开(公告)号:US20220231942A1
公开(公告)日:2022-07-21
申请号:US17577579
申请日:2022-01-18
Applicant: Huawei Technologies Co., Ltd.
Inventor: Weiguo HAO , Dongdong LI , Huafeng WEN
IPC: H04L45/00 , H04L61/103 , H04L45/745
Abstract: This application provides a packet processing method and a network device. A third network device is multi-homed to a first network device and a second network device, the first network device is configured with a first physical MAC address and a virtual MAC address, the second network device is configured with a second physical MAC address and the virtual MAC address, and the virtual MAC address is used to forward a user data packet to a network side. The method includes: a first network device receives a protocol packet from a third network device, where the protocol packet includes the second physical MAC address; and the first network device forwards the protocol packet to the second network device based on the second physical MAC address. Thus, the protocol packet can be normally forwarded without special configuration on a server, so that a cumbersome configuration process is avoided.
-