Patent ID: 11882022
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A method applied to a first network device in a communication network, the method comprising:
determining, by the first network device, a second route source being superior to a first route source, wherein both the first route source and the second route source are nodes for advertising an address prefix;
based on the second route source being superior to the first route source, adding, by the first network device, first explicit path information to a target packet, wherein a destination address of the target packet matches the address prefix, and the first explicit path information is used to indicate a forwarding path from the first network device to the second route source, the first explicit path information comprises one or more of the following: a prefix label or a node label of the second route source, a node label or a prefix label of a node on a first forwarding path, and a link label of a link on the first forwarding path, and the first forwarding path is a forwarding path from the first network device to the second route source; and
forwarding, by the first network device, the target packet to the second route source through the forwarding path, wherein the target packet comprises the first explicit path information.