| CPC H04L 45/02 (2013.01) [H04L 45/20 (2013.01); H04L 45/74 (2013.01); H04L 2212/00 (2013.01)] | 20 Claims |

|
8. A first network device, comprising:
one or more memories; and
one or more processors to:
receive an advertisement destined for a second network device;
when a next hop is one hop away, modify the advertisement to include a first segment identifier;
when the next hop is multiple hops away, modify the advertisement to include a second segment identifier;
forward the modified advertisement with either the first segment identifier or the second segment identifier toward the second network device;
receive a packet transmitted by the second network device and destined for a third network device;
update a destination address of the packet to include the second segment identifier when the packet is associated with the first segment identifier; and
forward the packet toward the third network device,
wherein the first network device provides segment identifiers (SIDs) that support end-to-end (E2E) segment routing with color extended community.
|