Transmission path switching
AssigneeHangzhou H3C Technologies Co., Ltd.
InventorsHaifeng Zhang, Changwang Lin
Life of this patent
Estimating the term…
Abstract
According to an example, a virtual next-hop is created and a destination identity corresponding to each virtual next-hop is stored. Each virtual next-hop comprises one best next-hop and one second-best next-hop, and a next-hop of the best path of the destination identity corresponding to a virtual next-hop is the best next-hop of the virtual next-hop, and a next-hop of the second-best path of the destination identity corresponding to the virtual next-hop is the second-best next-hop of the virtual next-hop. Path forwarding may be performed using the best next-hop of each virtual next-hop. If the best next-hop of a virtual next-hop is determined to be failed, path forwarding may be performed using the second-best next-hop of the virtual next-hop.
Claims15
A method for implementing transmission path switching, comprising:
- creating at least one virtual next-hop;
- recording at least one destination identity corresponding to each virtual next-hop, wherein each virtual next-hop comprises one best next-hop and one second-best next-hop, a next-hop of the best path of all the at least one destination identity corresponding to each virtual next-hop is the best next-hop of each virtual next-hop, and a next-hop of the second-best path of all the at least one destination identity corresponding to each virtual next-hop is the second-best next-hop of each virtual next-hop;
- performing path forwarding for all the at least one destination identity corresponding to each virtual next-hop using the best next-hop of each virtual next-hop;
- performing failure detection for the best next-hop of each virtual next-hop;
- and
- performing, after detecting that the best next-hop of a virtual next-hop is failed with the failure detection, the path forwarding for all the at least one destination identity corresponding to the virtual next-hop using the second-best next-hop of the virtual next-hop.
A device for implementing transmission path switching, comprising:
- a processor and a memory;
- wherein
- the processor communicates with the memory, and executes instructions saved in the memory;
- wherein
- the instructions comprise:
- a virtual creating instruction to create at least one virtual next-hop, and record at least one destination identity corresponding to each virtual next-hop, wherein each virtual next-hop comprises one best next-hop and one second-best next-hop, a next-hop of the best path of all the at least one destination identity corresponding to each virtual next-hop is the best next-hop of the virtual next-hop, and a next-hop of the second-best path of all the at least one destination identity corresponding to each virtual next-hop is the second-best next-hop of each virtual next-hop;
- a path sending instruction to perform path forwarding for all the at least one destination identity corresponding to each virtual next-hop using the best next-hop of each virtual next-hop;
- a failure detecting instruction to perform failure detection for the best next-hop of each virtual next-hop;
- and
- a path switching instruction to perform, after detecting that the best next-hop of a virtual next-hop is failed with the failure detection, the path forwarding for all the at least one destination identity corresponding to the virtual next-hop using the second-best next-hop of the virtual next-hop.
Dependencies are inferred from the claim text.