摘要 |
Disclosed are a method and apparatus for processing data and a network device, wherein the method for processing data includes: stripping a label switch path (LSP) label of first data to obtain second data having a first pseudo-wire (PW) label, wherein the first data are data of a first network, and the first PW label is a label of the first network; performing label switch on the second data to obtain third data having a second PW label, wherein the second PW label is a label of a second network; encapsulating the third data according to the second network to obtain fourth data, wherein the fourth data are data of the second network; and sending the fourth data to the second network. Through the abovementioned method, data transmission from the first network to the second network is achieved. |