Patent ID: 8559318

Claim:
A method for obtaining link aggregation group (LAG) information, comprising: sending, by an ingress node of a label switched path (LSP), an echo request message to another node on the LSP, and carrying identification information in the echo request message, wherein the identification information is for identifying the LAG information on the LSP which needs to be obtained; and receiving, by the ingress node, an echo reply message returned by said another node, wherein the echo reply message carries the LAG information between said another node and a next hop node on the LSP; wherein after the ingress node of the LSP sends the echo request message to said another node on the LSP, the method further comprises: receiving, by said another node, the echo request message; determining according to the identification information in the echo request message, by said another node, whether the LAG information needs to be obtained; and if the LAG information needs to be obtained, obtaining the LAG information between said another node and the next hop node on the LSP, carrying the LAG information in the echo reply message, and returning the echo reply message to the ingress node; if the LAG information does not need to be obtained, not obtaining the LAG information between said another node and the next hop node on the LSP.