Patent ID: 11909650
Assignee: JUNIPER NETWORKS, INC.
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 15:
16. A non-transitory computer-readable medium storing instructions, the instructions comprising:
one or more instructions that, when executed by one or more processors of a network device, cause the one or more processors to:
receive, from a different network device that is not an intended recipient of an internet protocol (IP) packet, the IP packet that includes an IP packet header,
wherein the IP packet header includes a source IP address and a destination IP address,

wherein the IP packet header is supplemented with at least one extension header that includes an Operations and Management capabilities (OAM) option that indicates one or more actions to be performed by the network device; determine an IP address of the network device,
wherein the intended recipient is a particular network device to ultimately receive the IP packet and not transmit the IP packet to another network device, and
wherein the different network device transmitted the IP packet to the network device without processing the OAM option based on the IP address of the different network device failing to match the destination IP address;

determine that the network device is the intended recipient and that the at least one extension header includes the OAM option based on parsing the at least one extension header,
wherein the one or more instructions, that cause the one or more processors to determine that the at least one extension header comprises the OAM option, causes the one or more processors to one or more of:
determine that a first destination options header includes the OAM option and determine that the IP address of the network device matches the destination IP address, or
determine that a second destination options header includes the OAM option and determine that the IP address of the network device matches the destination IP address, and

wherein the intended recipient includes the network device to ultimately receive the IP packet;

process, based on determining that the network device is the intended recipient and that the at least one extension header includes the OAM option, the OAM option to determine the one or more actions in a field of the OAM option,
generate, based on determining the one or more actions in the field of the OAM option, an Internet Control Message Protocol (ICMP) OAM message,
wherein sending the ICMP OAM message is an action, of the one or more actions, indicated in the field of the OAM option; and

send the ICMP OAM message to the source IP address included in the IP packet header.