US 11,799,778 B1
Processing segment routing packets with two policy processing instructions in a segment routing domain
Sri Karthik Goud Gadela, Campbell, CA (US); Swamy Sadashivaiah Renu Kananda, Cupertino, CA (US); Jamsheed R Wania, Palo Alto, CA (US); Alex Baban, San Jose, CA (US); Amit Kumar Shrivastava, Bangalore (IN); and Mohan Tatineni, Bangalore (IN)
Assigned to Juniper Networks, Inc., Sunnyvale, CA (US)
Filed by Juniper Networks, Inc., Sunnyvale, CA (US)
Filed on Oct. 11, 2022, as Appl. No. 18/45,655.
Application 18/045,655 is a continuation of application No. 17/112,545, filed on Dec. 4, 2020, granted, now 11,502,954.
This patent is subject to a terminal disclaimer.
Int. Cl. H04L 12/26 (2006.01); H04L 12/715 (2013.01); H04L 12/721 (2013.01); H04L 12/723 (2013.01); H04L 29/06 (2006.01); H04L 45/74 (2022.01); H04L 69/22 (2022.01); H04L 69/167 (2022.01); H04L 45/741 (2022.01)
CPC H04L 45/74 (2013.01) [H04L 45/741 (2013.01); H04L 69/167 (2013.01); H04L 69/22 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method, comprising:
receiving, by a network device, a packet;
determining, by the network device, whether a next header of the packet is an Internet protocol (IP) header, an Internet control message protocol (ICMP) header, or a segment routing header;
determining, by the network device and when the next header of the packet is the ICMP header, that the packet is an operations, administration, and maintenance (OAM) packet;
determining, by the network device and when the next header of the packet is the ICMP header, whether policy processing of the packet is set to ultimate segment decapsulation;
discarding, by the network device, the packet when the policy processing of the packet is not set to ultimate segment decapsulation;
providing, by the network device and when the policy processing of the packet is set to ultimate segment decapsulation, the packet to a routing component of the network device for OAM processing;
performing, by the routing component of the network device, the OAM processing to generate a processed packet; and
forwarding, by the network device, the processed packet toward a destination.