Method and device for establishing pw link
暂无分享,去创建一个
Disclosed in an embodiment of the present invention are a method and device for establishing a PW link, the method comprising: acquiring L2VPN resource information and routing topology relationship of each network cell device; acquiring LSP tunnel information between each of the network cell devices; acquiring an L2VPN service configuration command input by a user; according to the L2VPN resource information, routing topology relationship, LSP tunnel information and L2VPN service configuration command of the each network cell device, calculating the PW link information of PW links of a main network cell device and other network cell devices; and issuing the PW link information to each of the network cell devices. The technical solution of issuing the PW link information to each of the network cell devices addresses the problem of complex configurations in related techniques in which a great amount of data and parameters needs to be artificially configured during the configuration of a PW link between network cell devices in a network, thus reducing the degree of complexity of the PW link configuration.