A method for delivering OAM configuration information for path detection, applied to a control node in a communication network, wherein the communication network further comprises a plurality of nodes, and the method comprises: obtaining, by the control node, advertisement packets sent by at least two of the plurality of nodes, wherein the advertisement packet comprises indication information used to indicate a path detection mode supported by the sender of the advertisement packet; determining, by the control node, a detection path based on a path detection mode that needs to be used and the advertisement packets sent by the at least two nodes; and delivering, by the control node, OAM configuration information to a head node and a tail node in the detection path; wherein the determining, by the control node, a detection path based on a path detection mode that needs to be used and the advertisement packets sent by the at least two nodes comprises: determining the head node and the tail node in the detection path based on nodes that are in the at least two nodes and that support the path detection mode that needs to be used; the method being characterised in that the advertisement packet further comprises indication information used to indicate a type of a protocol used when a packet header carrying data detection instructions is encapsulated into a packet that is for path detection; and before the determining the head node and the tail node in the detection path based on nodes that are in the at least two nodes and that support the path detection mode that needs to be used, the method further comprises: determining a type of a protocol used when a packet header carrying data detection instructions is encapsulated into the packet that is for path detection; and for nodes whose advertisement packets indicate types of protocols that are consistent with the determined protocol type, performing the step of determining the head node and the tail node in the detection path based on the nodes that are in the at least two nodes and that support the path detection mode that needs to be used. obtaining, by the control node, advertisement packets sent by at least two of the plurality of nodes, wherein the advertisement packet comprises indication information used to indicate a path detection mode supported by the sender of the advertisement packet; determining, by the control node, a detection path based on a path detection mode that needs to be used and the advertisement packets sent by the at least two nodes; and delivering, by the control node, OAM configuration information to a head node and a tail node in the detection path; wherein the determining, by the control node, a detection path based on a path detection mode that needs to be used and the advertisement packets sent by the at least two nodes comprises: determining the head node and the tail node in the detection path based on nodes that are in the at least two nodes and that support the path detection mode that needs to be used; the method being characterised in that the advertisement packet further comprises indication information used to indicate a type of a protocol used when a packet header carrying data detection instructions is encapsulated into a packet that is for path detection; and before the determining the head node and the tail node in the detection path based on nodes that are in the at least two nodes and that support the path detection mode that needs to be used, the method further comprises: determining a type of a protocol used when a packet header carrying data detection instructions is encapsulated into the packet that is for path detection; and for nodes whose advertisement packets indicate types of protocols that are consistent with the determined protocol type, performing the step of determining the head node and the tail node in the detection path based on the nodes that are in the at least two nodes and that support the path detection mode that needs to be used. determining the head node and the tail node in the detection path based on nodes that are in the at least two nodes and that support the path detection mode that needs to be used; the method being characterised in that the advertisement packet further comprises indication information used to indicate a type of a protocol used when a packet header carrying data detection instructions is encapsulated into a packet that is for path detection; and before the determining the head node and the tail node in the detection path based on nodes that are in the at least two nodes and that support the path detection mode that needs to be used, the method further comprises: determining a type of a protocol used when a packet header carrying data detection instructions is encapsulated into the packet that is for path detection; and for nodes whose advertisement packets indicate types of protocols that are consistent with the determined protocol type, performing the step of determining the head node and the tail node in the detection path based on the nodes that are in the at least two nodes and that support the path detection mode that needs to be used. determining a type of a protocol used when a packet header carrying data detection instructions is encapsulated into the packet that is for path detection; and for nodes whose advertisement packets indicate types of protocols that are consistent with the determined protocol type, performing the step of determining the head node and the tail node in the detection path based on the nodes that are in the at least two nodes and that support the path detection mode that needs to be used.