摘要 |
Provided are a method and an apparatus for accessing a shortest path bridging network in a multi-homing manner. The method comprises: receiving an LSP message flooded by an edge node containing an inter-node LAG port in the network, wherein the LSP message carries a B-MAC, a Base VID, and a Portal System Number of the edge node; generating, according to the Base VID and the Portal System Number, a B-VID corresponding to the edge node; and establishing a forwarding table according to the B-MAC and the B-VID; the edge node containing the inter-node LAG port in the network acquiring the B-MAC, the Base VID, and the Portal System Number of the edge node; generating, according to the Base VID and the Portal System Number, the B-VID corresponding to the edge node; and establishing, according to the B-MAC and the B-VID, a mapping table for PBB encapsulation and decapsulation. The present invention solves the technical problem in the related art that the implementation of the method for accessing a shortest path bridging network in a multi-homing manner is excessively complicated, thereby achieving the technical effect of implementing access to the shortest path bridging network in a multi-homing manner without changing the existing protocol message. |