主权项 |
1. A protection switching method, wherein a protection group comprises a first protection switching node and a second protection switching node, and at least two transmission paths between the first protection switching node and the second protection switching node; a mapping relationship between a path bandwidth combination and a channel allocation policy is configured on the first protection switching node; and the path bandwidth combination is formed by bandwidths of the at least two transmission paths; the switching method comprises:
determining, by the first protection switching node, that the bandwidth of at least one of the transmission paths changes; obtaining, by the first protection switching node, a final path bandwidth combination according to the bandwidth of the transmission path whose bandwidth changes, wherein the final path bandwidth combination is formed by bandwidths of the at least two transmission paths after the bandwidth of at least one transmission path changes; querying, by the first protection switching node, the stored mapping relationship between the path bandwidth combination and the channel allocation policy according to the final path bandwidth combination, and determining the channel allocation policy corresponding to the final path bandwidth combination; and performing, by the first protection switching node, channel switching according to the channel allocation policy corresponding to the final path bandwidth combination. |