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

Claim 0:
1. A routing information processing method, comprising:
obtaining, by a first network device, a local route corresponding to a second network device, wherein the local route comprises a first identifier, the first identifier comprises a first Ethernet segment identifier (ESI) or a first destination Internet protocol LIP address, the first ESI identifies the second network device, and the first destination IP address points to the second network device;
allocating, by the first network device based on the fact that the first identifier exists only in the local route, a first segment identifier corresponding to the second network device;
obtaining, by the first network device, a local route and a remote route that correspond to a third network device, wherein each of the local route and the remote route comprises a second identifier, the second identifier comprises a second ESI or a second destination IP address, the second ESI identifies the third network device, and the second destination IP address points to the third network device;
allocating, by the first network device based on the fact that the second identifier exists at least in the local route and the remote route, a second segment identifier corresponding to the third network device; and
sending, by the first network device, routing information, wherein the routing information comprises the first segment identifier and the second segment identifier.