摘要 |
The present invention discloses a method and system for processing an MPLS-TP tunnel protection, including: a tail node of a multiprotocol label switching transport profile (MPLS-TP) tunnel, after receiving a data message, querying a private network label table of the tail node according to a private network label carried in the data message, and acquiring a value of a protection flag field; when judging that a protection type of the MPLS-TP tunnel is 1+1 according to the value of the protection flag field, acquiring a value of a difference bit number field, and determining a value of a corresponding difference bit in a public network label of the MPLS-TP tunnel; and acquiring a value of a decision field, and carrying out corresponding processing on the data message according to a comparison result of the value of the difference bit and the value of the decision field. With the present invention, the processing performance of the data message on the MPLS-TP tunnel can be improved. |