CPC H04L 45/72 (2013.01) | 17 Claims |
1. A message generation method comprising:
obtaining, by a first device, a locator identifier corresponding to each of one or more segment identifiers (SIDs) in a segment identifier list (SID list), wherein the locator identifier is used to identify a locator part of an SID corresponding to the locator identifier, and a length of the locator identifier is less than a length of the locator part;
generating, by the first device, a first message, wherein the first message comprises (i) the locator identifier corresponding to each of the one or more SIDs in the SID list and (ii) a function part of each of the one or more SIDs; and
sending, by the first device, the first message to a second device;
wherein the first message is a Border Gateway Protocol (BGP) update message.
|