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

Claim 7:
8. A routing information processing apparatus, comprising:
a processor and a memory, wherein the processor is coupled to the memory, wherein
the memory is configured to store a computer program; and
the processor is configured to execute the computer program stored in the memory, to enable the apparatus to:
obtain 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 (IP) address, the first ESI identifies the second network device, and the first destination IP address points to the second network device; and
allocate, based on the fact that the first identifier exists only in the local route, a first segment identifier corresponding to the second network device, wherein
obtain 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;
allocate, 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
send routing information, wherein the routing information comprises the first segment identifier and the second segment identifier.