Segment routing techniques
First Claim
Patent Images
1. A method comprising:
- receiving a first packet at a first node, whereinthe first packet comprises a segment stack,the segment stack comprises a plurality of segment identifiers (IDs) that define a segment-switched path across a provider network,a first segment ID of the plurality of segment IDs is an adjacency segment ID, whereinthe adjacency segment ID identifies a first segment that is a first sub-path of the segment-switched path, andthe first segment is an adjacency segment linking two adjacent nodes, anda second segment ID of the plurality of segment IDs is a nodal segment ID, whereinthe nodal segment ID identifies a second segment that is a second sub-path of the segment-switched path, andthe second segment is a nodal segment comprising a plurality of hops within the provider network;
analyzing the segment stack to determine a segment type identified by an active segment ID in the segment stack;
in response to determining that the segment type identified by the active segment ID is that of the adjacency segment, sending the first packet to an adjacent node as identified by the adjacency segment ID; and
in response to determining that the segment type identified by the active segment ID is that of the nodal segment, sending the first packet to a non-adjacent node via the nodal segment.
0 Assignments
0 Petitions
Accused Products
Abstract
An apparatus and method is disclosed for segment routing (SR). In one embodiment, the method includes a node creating a segment stack that identifies one segment calculated using a first algorithm and a second segment calculated using a second, different algorithm. The node then attaches this header to a packet and sends it to another node.
230 Citations
14 Claims
-
1. A method comprising:
-
receiving a first packet at a first node, wherein the first packet comprises a segment stack, the segment stack comprises a plurality of segment identifiers (IDs) that define a segment-switched path across a provider network, a first segment ID of the plurality of segment IDs is an adjacency segment ID, wherein the adjacency segment ID identifies a first segment that is a first sub-path of the segment-switched path, and the first segment is an adjacency segment linking two adjacent nodes, and a second segment ID of the plurality of segment IDs is a nodal segment ID, wherein the nodal segment ID identifies a second segment that is a second sub-path of the segment-switched path, and the second segment is a nodal segment comprising a plurality of hops within the provider network; analyzing the segment stack to determine a segment type identified by an active segment ID in the segment stack; in response to determining that the segment type identified by the active segment ID is that of the adjacency segment, sending the first packet to an adjacent node as identified by the adjacency segment ID; and in response to determining that the segment type identified by the active segment ID is that of the nodal segment, sending the first packet to a non-adjacent node via the nodal segment. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A network device comprising:
-
one or more network interface cards; a memory storing a segment routing (SR) forwarding table; and a processor configured to a method comprising; receiving a first packet at a first node, wherein the first packet comprises a segment stack, the segment stack comprises a plurality of segment identifiers (IDs) that define a segment-switched path across a provider network, a first segment ID of the plurality of segment IDs is an adjacency segment ID, wherein the adjacency segment ID identifies a first segment that is a first sub-path of the segment-switched path, and the first segment is an adjacency segment linking two adjacent nodes, and a second segment ID of the plurality of segment IDs is a nodal segment ID, wherein the nodal segment ID identifies a second segment that is a second sub-path of the segment-switched path, and the second segment is a nodal segment comprising a plurality of hops within the provider network; analyzing the segment stack to determine a segment type identified by an active segment ID in the segment stack; in response to determining that the segment type identified by the active segment ID is that of the adjacency segment, sending the first packet to an adjacent node as identified by the adjacency segment ID; and in response to determining that the segment type identified by the active segment ID is that of the nodal segment, sending the first packet to a non-adjacent node via the nodal segment. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A system comprising:
-
a first node configured to receive a first packet at a first node, wherein the first packet comprises a segment stack, the segment stack comprises a plurality of segment identifiers (IDs) that define a segment-switched path across a provider network, a first segment ID of the plurality of segment IDs is an adjacency segment ID, wherein the adjacency segment ID identifies a first segment that is a first sub-path of the segment-switched path, and the first segment is an adjacency segment linking two adjacent nodes, and a second segment ID of the plurality of segment IDs is a nodal segment ID, wherein the nodal segment ID identifies a second segment that is a second sub-path of the segment-switched path, and the second segment is a nodal segment comprising a plurality of hops within the provider network; and a forwarding module configured to; analyze the segment stack to determine a segment type identified by an active segment ID in the segment stack, and in response to determining that the segment type identified by the active segment ID is that of the adjacency segment, send the first packet to an adjacent node as identified by the adjacency segment ID, and in response to determining that the segment type identified by the active segment ID is that of the nodal segment, sending the first packet to a non-adjacent node via the nodal segment. - View Dependent Claims (12, 13, 14)
-
Specification