WO2016101444A1 - 一种建立pw链路的方法及装置 - Google Patents

一种建立pw链路的方法及装置 Download PDF

Info

Publication number
WO2016101444A1
WO2016101444A1 PCT/CN2015/076583 CN2015076583W WO2016101444A1 WO 2016101444 A1 WO2016101444 A1 WO 2016101444A1 CN 2015076583 W CN2015076583 W CN 2015076583W WO 2016101444 A1 WO2016101444 A1 WO 2016101444A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
link
information
element device
l2vpn
Prior art date
Application number
PCT/CN2015/076583
Other languages
English (en)
French (fr)
Inventor
姚杰
张利锋
赵光耀
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016101444A1 publication Critical patent/WO2016101444A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for establishing a PW link.
  • the MPLS Multiple Protocol Label Switching
  • ATM Asynchronous Transfer Mode
  • TDM Time-Division Multiplexing
  • FR Full Relay
  • the backbone network of the telephone network various service flows are collected on a unified MPLS network platform for high-speed switching.
  • ATM, TDM, and FR protect existing network
  • L2VPNs L2VPNs
  • the configuration data of the manufacturer is basically similar.
  • Figure 1 describes the configuration parameters of the networking device.
  • the configuration of the BFD (bidirectional forwarding detection) and the quality of service (QoS) are not included.
  • OAM Operaation Administration and Maintenance
  • a virtual link (PW) link is configured between the network element devices in the network.
  • PW virtual link
  • the present invention provides a method for establishing a pseudowire PW link, in order to solve the problem of configuring a PW link between the network element devices in the network, and manually configuring a large amount of data and parameters on the network device, resulting in complicated configuration. Method and device.
  • a method for establishing a pseudowire PW link includes: acquiring L2VPN resource information and routing topology relationship of a Layer 2 virtual private network of each network element device; The label forwarding protocol LSP tunnel information between the network element devices; obtaining the L2VPN service configuration command input by the user; and according to the L2VPN resource information, the routing topology relationship, the LSP tunnel information, and the L2VPN service configuration command of each network element device, The PW link information of the pseudo-wire PW link of the primary network element device and the other network element device is calculated; the PW link information is sent to the network element devices.
  • the method before the sending the PW link information to each network element device, the method further includes: detecting whether the L2VPN service configuration command input by the user is correct; if not, reporting the error information and the cause, Obtain the L2VPN service configuration command modified by the user.
  • the sending the PW link information to the network element device includes: calculating a number of failed delivery failures when a failure occurs in the sending process; When the value is set, the PW link information is sent to the network element device again. When the number of failed delivery times reaches a preset value, the PW link information is sent and the fault information is reported.
  • the method further includes: detecting whether a routing topology relationship of the network element device changes; and acquiring a routing topology relationship of the new network element device when the routing topology relationship of the network element device changes; recalculating PW link information of the PW link of the primary NE device and other NE devices.
  • the method further includes: detecting whether the LSP tunnel connection relationship indicated in the LSP tunnel information is changed, and/or whether the LSP tunnel resource usage rate indicated in the LSP tunnel information exceeds a predetermined threshold; If the LSP tunnel connection relationship changes, and/or the LSP tunnel resource usage exceeds a predetermined threshold, the PW link information of the PW link is recalculated.
  • the L2VPN service configuration command input by the user includes at least one of the following: an L2VPN networking service type, an NE device port access port AC point, and a designated active/standby link.
  • the PW link information of the PW link of the primary network element device and the other network element device is further included in the calculation of the primary network, in the case that the user-entered L2VPN service configuration command includes the designated primary and backup links.
  • PW link information of the primary and backup PW links of the meta-device and other network element devices is further included in the calculation of the primary network, in the case that the user-entered L2VPN service configuration command includes the designated primary and backup links.
  • the PW link information of the active and standby PW links of the primary network element device and the other network element devices is calculated, and the PW link information of the active and standby PW links is calculated according to the preset constraint conditions. .
  • the constraint includes at least one of the following: a route metric, a bandwidth reservation, and a user-specified priority.
  • the PW link information of the PW link of the primary network element device and the other network element device is calculated by using the CSPF algorithm to calculate the PW link of the PW link of the primary network element device and other network element devices. Road information.
  • an apparatus for establishing a pseudowire PW link including: a first acquiring module, configured to acquire L2VPN resource information and routing of a layer 2 virtual private network of each network element device.
  • the second obtaining module is configured to obtain the label forwarding protocol LSP tunnel information between the network element devices, and the third obtaining module is configured to obtain the L2VPN service configuration command input by the user;
  • the first calculating module is set to Calculating PW link information of the pseudowire PW link of the primary network element device and other network element devices according to the L2VPN resource information, the routing topology relationship, the LSP tunnel information, and the L2VPN service configuration command of each network element device;
  • the sending module is configured to send the PW link information to the network element devices.
  • the apparatus further includes: a first detecting module, configured to detect whether the L2VPN service configuration command input by the user is correct before the sending the PW link information to the respective network element devices;
  • the fourth obtaining module is configured to report the error information and the reason, and obtain the modified L2VPN service configuration command.
  • the sending module includes: a counting unit configured to calculate the number of times the delivery fails when a failure occurs in the sending process; and the rollback unit is set to when the number of failed delivery fails to reach a preset value, The PW link information is sent to the network element device again, and the reporting unit is configured to terminate the sending of the PW link information and report the fault information when the number of failed delivery times reaches a preset value.
  • the device further includes: a second detecting module, configured to detect whether a routing topology relationship of the network element device changes; and a fifth acquiring module, configured to: when the routing topology relationship of the network element device changes The routing topology relationship of the new network element device is obtained.
  • the second computing module is configured to recalculate the PW link information of the PW link of the primary network element device and other network element devices.
  • the apparatus further includes: a third detecting module, configured to detect whether the LSP tunnel connection relationship indicated in the LSP tunnel information is changed, and/or the LSP tunnel resource usage rate indicated in the LSP tunnel information Whether the predetermined threshold is exceeded; the third calculating module is configured to recalculate the PW link information of the PW link if the LSP tunnel connection relationship changes, and/or the LSP tunnel resource usage rate exceeds a predetermined threshold.
  • the apparatus further includes: a fourth calculating module, configured to calculate the active/standby of the primary network element device and other network element devices when the L2VPN service configuration command input by the user includes the designated primary and backup links PW link information of the PW link.
  • a fourth calculating module configured to calculate the active/standby of the primary network element device and other network element devices when the L2VPN service configuration command input by the user includes the designated primary and backup links PW link information of the PW link.
  • the L2VPN resource information and the routing topology relationship of each network element device are obtained; the LSP tunnel information between the network element devices is obtained; the L2VPN service configuration command input by the user is obtained; The L2VPN resource information, the routing topology relationship, the LSP tunnel information, and the L2VPN service configuration command, calculate PW link information of the PW link of the primary network element device and other network element devices; and deliver the PW link information to the
  • the technical solution of each network element device solves the problem that the PW link is configured between the network element devices in the network in the related art, and a large number of data and parameters need to be manually configured, resulting in complicated configuration and reduced configuration PW. The cumbersomeness of the link.
  • FIG. 1 is a schematic diagram of an L2VPN service configuration command and configuration data when a PW link is established in the related art
  • FIG. 2 is a flow chart of a method for establishing a PW link according to an embodiment of the present invention
  • FIG. 3 is a flow chart of another method of establishing a PW link according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an apparatus for establishing a PW link according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an apparatus for establishing a PW link according to a preferred embodiment of the present invention.
  • FIG. 6 is a schematic diagram of networking of a network element device for establishing a PW link according to a preferred embodiment of the present invention
  • FIG. 7 is a schematic diagram of a service configuration channel NETCONFIG between networking devices for establishing a PW link according to a preferred embodiment of the present invention
  • FIG. 8 is a schematic diagram of network tunnel forwarding generation of a networking device for establishing a PW link according to a preferred embodiment of the present invention.
  • FIG. 9 is a schematic diagram of service configuration for establishing a PW link according to a preferred embodiment of the present invention.
  • FIG. 1 is a schematic diagram of an L2VPN service configuration command and configuration data when a PW link is established in the related art; as shown in FIG. 1 , when a PW link is established in the related art, a large number of service configurations need to be input on the network element device. Command and configuration data.
  • This embodiment provides a method for establishing a PW link.
  • 2 is a flow chart of a method of establishing a PW link according to an embodiment of the present invention. As shown in FIG. 2, the method may include the following steps:
  • Step S200 Obtain L2VPN resource information and routing topology relationship of each network element device.
  • the NE device is powered on, and the physical network is set up.
  • the devices are directly connected to each other. This stage is mainly the configuration of the basic network construction work, and the initialization of the network element is powered on.
  • the network element device can be a network device such as a router or a gateway.
  • the network element device configures network inter-domain routing, network topology generation, routing forwarding table formation, and basic route forwarding has been opened.
  • the device After being connected to a directly connected A network element device, the device communicates through the protocol.
  • the other network element devices in the network can also directly establish a connection and then communicate through the A network element device transfer, that is, through any one of the network element devices.
  • Connected, and other routing network element devices communicate by means of in-band (distinguishing out-of-band mode: all devices have separate physical lines directly linked).
  • the communication protocol can be SNMP (Simple Network Management Protocol), network configuration NETCONFIG protocol, remote terminal protocol telnet protocol or any other communication protocol that can transmit configuration data, and obtain L2VPN resource information of each network element device. And obtain the current routing topology relationship.
  • SSH protocol Secure Shell, which is a secure shell protocol
  • the L2VPN resource information of the network element device is referred to as the configuration capacity support information, and may include, for example, the maximum service configuration amount supported by the network element device, the label allocation range of the service, the service PW interface resource that can be allocated, and the accessible Service configuration information such as port type.
  • Step S202 Acquire LSP tunnel information between the network element devices.
  • a network element device can form an LSP (Label Switching Path) tunnel between the inter-domain routes, that is, the adjacent routes.
  • An LSP forwarding tunnel can be formed between any NE device.
  • the dynamic protocol can be generated or directly configured. The tunnel is used here. You can set some configuration parameters when creating an LSP tunnel.
  • the notification function can be released through the notify function of the NETCONFIG protocol.
  • the notification function of other protocols can also be used.
  • the tunnel information of each device node is recorded, which is mainly the head and tail nodes of the tunnel, and the directionality, etc., so that the LSP tunnel information between the network element devices can be obtained.
  • Step S204 Acquire an L2VPN service configuration command input by the user.
  • the network element device or the independent PW link establishing device can directly accept the input of the user's L2VPN service configuration command.
  • the L2VPN service configuration command input by the user may include an L2VPN network service type, for example, a VPWS (Virtual Private Wire Service) or a VPLS (Virtual Private LAN Service). It can also include the network element device to which the access point (AC) of the specified access port belongs, for example, the AC point of the network element device, that is, the AC1 belongs to the A1 network element, the primary network element, the AC2 belongs to the A3 network element device, and the AC3 belongs to the A4 network. Meta device.
  • the primary NE node is required to be configured, such as the PW protection group, and the AC2 and AC3 are bound to the access port.
  • the L2VPN service configuration command also specifies the primary and backup links.
  • Step S206 Calculate the PW chain of the pseudowire PW link of the primary network element device and other network element devices according to the L2VPN resource information, the routing topology relationship, the LSP tunnel information, and the L2VPN service configuration command of each network element device.
  • Road information
  • step S200, step S202, and step S204 is not defined in succession.
  • the network route and the LSP tunnel pass path calculation method may be a CSPF algorithm, and calculate pseudowire PW link information between the primary network element device node and other network element devices.
  • the PW interface information of the specific network element device is generated according to the L2VPN resource information of each network element device according to the network element device node and the primary network element device; and the calculation between the primary network element device node and other network element devices according to the network route and the LSP tunnel PW link information.
  • the user-entered L2VPN configuration command provided by the embodiment of the present invention is a simplified service configuration command, and the PW link information calculated according to the path calculation method is a relatively complicated and unsimplified service configuration command in the related art.
  • PW link information of the pseudowire PW link of the primary NE device and other network element devices is a relatively complicated and unsimplified service configuration command in the related art.
  • Table 2 the method for establishing a PW link provided in this embodiment, which converts the L2VPN configuration command input by the simplified user into a service configuration command before the simplification, that is, the pseudowire PW of the primary network element device and other network element devices.
  • the PW link information of the link is sent to the network element devices.
  • Simplified user L2VPN service configuration commands a total of 4;
  • Step 1 Requires a more service type and name.
  • the NE device needs to create the same service type and name on each device.
  • the second step is to determine whether each network element device exists, and whether each network element device port exists. If yes, the port is bound to the service corresponding to each network element device, and the port binding is performed before the simplification;
  • the third step is: generating a pw interface according to the primary network element device and other network element devices, and if the resource is already empty, the prompt cannot continue to be created;
  • the fourth step is: calculating the respective link information of the calculated pw interface, and generating the necessary parameter peer, the virtual link identifier vcid, and the label label parameter. If there is an lsp tunnel binding, the related tunnel information needs to be bound; and the shortest path is prioritized.
  • the algorithm CSPF algorithm compares the priorities of the respective links to obtain the active and standby pws on the primary network element device.
  • Step 5 The respective business configurations are integrated, such as the configuration before the simplification.
  • the L2VPN service configuration command of the simplified user provided in this embodiment includes: who is the primary network element device and the access point of each network element device, which effectively simplifies the complicated service configuration command.
  • Step S208 The PW link information is sent to the network element devices.
  • the calculated PW link information is sent to each network element device, and can be sent to each network element node through the NETCONFIG protocol.
  • Each of the network element devices receives the PW link information, and binds the PW link information to the LSP tunnel to establish a PW link.
  • the PW link information may include PW interface information of each network element device, PW link information such as label, QoS, detection, and protection group configuration.
  • the method provided by the embodiment of the present invention uses the L2VPN resource information of each network element device in the networking, the routing topology relationship of each network element device, the LSP tunnel information between the network element devices, and the simplified manner provided by the embodiment of the present invention.
  • the L2VPN service configuration command input by the user calculates the PW link information through the path calculation algorithm, and sends the PW link information to each network element device in the networking, which effectively solves the problem in the related technology.
  • a PW link is configured between the NEs. You need to manually configure and input a large number of parameters and service configuration commands. This poses an unprecedented operational pressure for the carrier.
  • the PW link can be established by entering a simple service configuration command. It can quickly add services, and the results of the configuration can also meet the user requirements, effectively reducing the operator's operating costs.
  • Embodiments of the present invention provide another method of establishing a PW link.
  • 3 is a flow chart of another method of establishing a PW link in accordance with an embodiment of the present invention.
  • the method may refer to the steps shown in FIG. 2, in order to be able to solve the error that may occur in the L2VPN service configuration command input by the user, in a preferred example of this embodiment, in step S206 shown in FIG. 2 and A step S300 is added between the steps S208 to detect whether the L2VPN service configuration command input by the user is correct.
  • steps S300, S302, S304, and S310 can refer to steps S200, S202, S204, and S206 respectively shown in FIG. 2, and details are not described herein again.
  • Step S300 Detect whether the L2VPN service configuration command input by the user is correct.
  • the L2VPN service configuration command entered by the user may be incorrect. For example, input a non-existent network element device, incorrect L2VPN resource information, and so on. If the detection is not performed, the calculated PW link information is problematic, and even the PW link information cannot be calculated at all.
  • step S312 is executed, that is, the error information and the reason are reported, and the modified L2VPN service configuration command is obtained.
  • step S312 the detected information of the user input L2VPN service configuration command error and the reason report are displayed to the user, and the newly input L2VPN service configuration command is received, and as shown in FIG. 3, the process proceeds to step S306.
  • the method provided by the preferred embodiment can effectively solve the problem that the user inputs the L2VPN service configuration command error, avoids blindly calculating the PW link information, and saves resources and time.
  • the configuration is increased. Error rollback processing. That is, when a failure occurs in the delivery process, the number of failures of the delivery is calculated; whether the number of failures of the delivery fails to reach a preset value; and when the number of failures fails to reach a preset value, the execution shown in FIG. 2 is performed.
  • the PW link information is sent to the network element device again. When the number of failed delivery times reaches a preset value, the PW link information is sent and the fault information is reported. With the preferred embodiment, the problem that the PW link information is sent out is effectively solved, and the cumbersome manual operation is reduced.
  • the method for establishing a PW link may further include: detecting whether a routing topology relationship of the network element device changes; and when the routing topology relationship of the network element device changes, acquiring The routing topology relationship of the new NE device; recalculate the PW link information of the PW link of the primary NE device and other NE devices.
  • the method for providing a PW link in the embodiment of the present invention may further include: detecting whether the LSP tunnel connection relationship indicated in the LSP tunnel information is changed, and/or the LSP indicated in the LSP tunnel information. Whether the tunnel resource usage rate exceeds a predetermined threshold; if the LSP tunnel connection relationship changes, and/or the LSP tunnel resource usage rate exceeds a predetermined threshold, the PW link information of the PW link is recalculated.
  • the PW link After the PW link is successfully sent, the PW link is successfully established.
  • the NEs can go online and offline, change the topology relationship, and change the LSP tunnel. You can obtain the change information through the protocol. For example, it may receive the status change information of the NETCONFIG protocol and respond in time.
  • the PW link information is recalculated according to the current topology relationship or the LSP tunnel information, and the new PW link information is sent to each network element device, and each network element device deletes the original PW link information and binds the new one.
  • PW link information dynamically calculates and adjusts the PW link according to the situation to ensure that the forwarding link and information are correct.
  • the path can be dynamically adjusted according to the configured information such as Qos, ensuring that the optimal forwarding path is selected and the network resources are utilized reasonably. For example, when the LSP1 tunnel of the network path PW1 starts to meet the forwarding, the service is more and more, and the service on LSP2 is gradually reduced. Assume that the bandwidth of LSP1 is 90%, and the bandwidth utilization of LSP2 is less than 30%. Dynamically adjust the service PW1 to take LSP2 to ensure the rational use of resources.
  • the configured information such as Qos
  • the L2VPN service configuration command input by the user may include at least one of the following: an L2VPN networking service type, a network element device port access port AC point, and a designated active/standby link.
  • the PW link information of the PW link of the primary network element device and the other network element device may be included in the calculation of the primary network, where the user-entered L2VPN service configuration command includes the designated primary and backup links.
  • the present invention can calculate the link information of the active and standby PWs in the case that the active/standby link and/or the user-defined primary and backup links exist by default.
  • the PW link information of the active and standby PW links of the primary network element device and the other network element devices may be calculated according to the pre-set constraints.
  • the constraint may include at least one of the following: a route metric, a bandwidth reservation, and a user-specified priority.
  • the PW link information of the PW link of the primary network element device and the other network element device is calculated by using the CSPF algorithm to calculate the PW link information of the PW link of the primary network element device and other network element devices.
  • the CSPF algorithm to calculate the PW link information of the PW link of the primary network element device and other network element devices.
  • FIG. 4 is a schematic structural diagram of an apparatus for establishing a PW link according to an embodiment of the present invention. As shown in FIG. 4, the apparatus may include the following modules:
  • the first obtaining module 40 is connected to the first computing module 46, and is configured to obtain the L2VPN resource information and the routing topology relationship of each network element device.
  • the second obtaining module 42 is connected to the first computing module 46, and is configured to obtain the foregoing The LSP tunnel information between the network element devices;
  • the third obtaining module 44 is connected to the first computing module 46, and is configured to obtain the L2VPN service configuration command input by the user;
  • the first calculating module 46 is connected to the sending module 48; And calculating the PW link information of the PW link of the primary network element device and the other network element device according to the L2VPN resource information, the routing topology relationship, the LSP tunnel information, and the L2VPN service configuration command of the network element device;
  • the module 48 is configured to send the PW link information to the network element devices.
  • the device in order to solve the error that may occur in the L2VPN service configuration command input by the user, the device may further include:
  • the first detection module is connected to the first calculation module 46, and is configured to detect whether the L2VPN configuration command input by the user is correct before the sending the PW link information to the respective network element devices; And connecting to the first computing module 46, if the L2VPN configuration command input by the user is incorrect, reporting the error information and the reason, and obtaining the modified L2VPN service configuration command by the user.
  • the problem that the user inputs the L2VPN service configuration command error is effectively solved, and the PW link information is blindly calculated, which saves resources and time.
  • the sending module 48 may further include:
  • the counting unit is configured to calculate the number of times the delivery fails when the failure occurs during the delivery process; the rollback unit is connected to the counting unit, and is set to set the PW link when the number of failed failures does not reach a preset value The information is sent to the network element device again; the reporting unit is connected to the rollback unit, and is configured to terminate the delivery of the PW link information and report the fault information when the number of failed delivery times reaches a preset value.
  • the device provided by the preferred embodiment effectively solves the problem that the PW link information is faulty, and reduces the cumbersome manual operation.
  • the device may further include:
  • the second detecting module is connected to the second computing module, and is configured to detect whether the routing topology relationship of the network element device changes; the fifth obtaining module is connected to the second computing module, and is set to be the routing topology of the network element device. When the relationship is changed, the routing topology relationship of the new network element device is obtained.
  • the second computing module is configured to recalculate the PW link information of the PW link of the primary network element device and other network element devices.
  • the device may further include:
  • the third detection module is connected to the second calculation module, and is configured to detect whether the LSP tunnel connection relationship indicated in the LSP tunnel information is changed, and/or whether the LSP tunnel resource usage rate indicated in the LSP tunnel information exceeds a predetermined threshold.
  • the third computing module is connected to the sending module 48, and is configured to recalculate the PW chain of the PW link when the LSP tunneling relationship changes, and/or the LSP tunnel resource usage exceeds a predetermined threshold. Road information.
  • the PW link After the PW link is successfully sent, the PW link is successfully established.
  • the NEs can go online and offline, change the topology relationship, change the LSP tunnel, and so on. Or the LSP tunnel information, recalculate the PW link information, and dynamically adjust the path according to the configured information such as Qos to ensure that the optimal forwarding path is selected and the network resources are utilized reasonably. Dynamically calculate and adjust the PW link according to the different situations that occur during the operation to ensure that the forwarding link and information are correct and the PW resources are allocated reasonably.
  • the device may further include:
  • the fourth computing module is connected to the sending module 48, and is configured to calculate the PW of the active and standby PW links of the primary network element device and other network element devices when the L2VPN service configuration command inputting the user input includes the designated primary and backup links. Link information.
  • first, second, third, and fourth computing modules mentioned in the above embodiments, the first, second, and third acquisition modules, the first, second, and third detection modules have similar or identical functions. It can be the same physical device or the same virtual module, or it can be a different physical device or a different virtual module.
  • the device provided by the embodiment of the present invention obtains the L2VPN resource information and the routing topology relationship of each network element device, acquires the LSP tunnel information between the network element devices, and obtains the L2VPN service configuration command input by the user;
  • the LWVPN resource information, the routing topology relationship, the LSP tunnel information, and the L2VPN service configuration command of each network element device, and the PW link information of the PW link of the primary network element device and the other network element device are calculated; the PW chain is delivered.
  • Road information to the network element devices It effectively solves the problem that in the related technology, the PW link is configured between the NEs in the networking, and a large number of parameters and service configuration commands need to be manually configured and input, which poses an unprecedented operational pressure on the operator. You can create a PW link by entering a simple service configuration command, which enables you to quickly add services. The configuration results can also meet user requirements, effectively reducing the operator's operating costs.
  • FIG. 5 is a schematic structural diagram of an apparatus for establishing a PW link according to a preferred embodiment of the present invention.
  • the preferred embodiment provides an apparatus for quickly establishing a PW link, and the apparatus may include the following functional modules:
  • the network topology module 50 is connected to the L2VPN configuration management module 58 and configured to implement the function of the first acquiring module 40, and is mainly responsible for acquiring the network topology relationship of the network element device, and setting the PW link information.
  • the LSP tunnel management module 52 is connected to the L2VPN configuration management module 58 and configured to implement the functions of the second obtaining module 42, and is mainly responsible for creating and managing an LSP tunnel for calculating PW link information.
  • the network resource management module 54 is connected to the L2VPN configuration management module 58 and is configured to manage the L2VPN resource information of each network element device node device, and is configured to calculate the PW link information, and is configured to assist in implementing the first acquiring module 40 and the second obtaining.
  • the configuration transmission protocol module 56 is connected to the L2VPN configuration management module 58 and configured to communicate, and is configured to assist in implementing the functions of the first obtaining module 40 and the second obtaining module 42. For example, the network topology relationship of the network element device is acquired, and the L2VPN resource information of the network element device node device is set to obtain the PW link information that is generated to be sent to each network element device node.
  • the protocol can be NETCONF standard protocol, telnet protocol or any other protocol that can transmit configuration data);
  • the L2VPN configuration management module 58 is configured to implement the foregoing third obtaining module 44, the fourth first calculating module 46, the second calculating module, the sending module 48, the obtaining module, the first detecting module, the second detecting module, and the fifth obtaining
  • the functions of the module, the second calculation module, the third detection module, the fourth calculation module, and the fourth calculation module are mainly responsible for the L2VPN service configuration command, the network topology relationship, the LSP tunnel, and the L2VPN resource of the network element device.
  • the information is used to calculate the PW link information and is converted into the generation of the service command on the specific device, and is sent to each network element device in the network by configuring the transmission protocol module.
  • FIG. 6 is a group diagram of a network element device according to an embodiment of the present invention.
  • the device, the L2VPN configuration management module can be a service management process unit embedded in any router device, and is a separately operated management process independently of the router.
  • the method of the present invention is applied to quickly establish a PW link, and may include the following steps:
  • FIG. 6 is a schematic diagram of a network element device for establishing a PW link according to a preferred embodiment of the present invention.
  • the device is powered on, and the physical network is set up, and the network element devices are directly connected to each other.
  • This stage is mainly the configuration of the basic network construction work, and the initialization of the network element device is powered on. At this time, there is no relationship between the L2VPN configuration management module and the network;
  • FIG. 7 is a schematic diagram of a service configuration channel NETCONFIG between networking devices for establishing a PW link according to a preferred embodiment of the present invention; a network element device configuring a network routing protocol, a network topology Generated, route forwarding table is formed, basic route forwarding has been opened.
  • the L2VPN configuration management module communicates with a directly connected A-network element device and communicates with the other network element devices through the A-network element device transfer.
  • the L2VPN management module passes through and communicates with the L2VPN management module. Any network element device is connected, and other routing network element devices communicate by means of in-band (distinguishing out-of-band mode: all devices have separate physical lines directly linked).
  • the L2VPN configuration management module obtains the L2VPN resource information of each network element device and the current route between each network element device through the SNMP or NETCONFIG protocol (the NETCONFIG protocol is used to obtain and deliver the configuration information by using the SSH protocol). Topological relationship. And when the routing topology changes, the L2VPN configuration management module can also be notified through the notify function of the NETCONFIG protocol.
  • the L2VPN resource information of the network element device may be, for example, the maximum service configuration amount supported by the network element device, the label allocation range of the PW service, the number of service PW interface resources that the network element device can allocate, and the port type that can be accessed.
  • FIG. 8 is a schematic diagram of network tunnel forwarding generation of a networking device for establishing a PW link according to a preferred embodiment of the present invention
  • an LSP tunnel is established between each network element device, where It is a tunnel management module that can be created by a tunnel management module. It can be a dynamic protocol or a static tunnel.
  • a tunnel can be formed between any two NEs.
  • the tunnel configuration and formation are mainly performed by the tunnel management module.
  • the block is responsible, mainly the head and tail nodes of the tunnel, directionality and so on.
  • the notification function is issued through the notify function of the NETCONFIG protocol.
  • the L2VPN configuration management module responds to the change notification and records the LSP tunnel information of each network element device node. When there is any change in the tunnel management module, the L2VPN configuration management module can be notified through the NETCONFIG protocol.
  • Step 4 The L2VPN service configuration command input by the user can be directly configured by the L2VPN configuration management module to perform service data delivery (as shown in Table 2, the user needs to deliver the simplified configuration), and the L2VPN service configuration command input by the user may include
  • the service type such as VPWS, VPLS
  • the network element device to which the AC port of the access port belongs for example, the AC1 belongs to the A1.
  • the NE1 is the primary NE
  • the AC2 belongs to the A3 NE
  • the AC3 belongs to the A4 NE.
  • the L2VPN configuration management module determines whether the PW link service is legal according to the obtained L2VPN resource information and the device port resource information of each network element device. After the user is configured, the L2VPN configuration management module can also obtain the forwarding state information of the service. As shown in FIG. 9, FIG. 9 is a schematic diagram of service configuration for establishing a PW link according to a preferred embodiment of the present invention. The user interacts directly with the L2VPN configuration management module in the figure;
  • Step 5 Check whether the L2VPN service configuration command input by the user is true.
  • Step 6 Calculate the primary network element device and the CSPF algorithm (or other path calculation method) according to the L2VPN resource information of each network element device, the LSP tunnel information, the network topology relationship of each network element device, and the L2VPN service configuration command input by the user. PW link information between other network element devices.
  • the metric, the bandwidth reservation, the shortest path, and the priority are used to calculate the relationship between the two NEs.
  • the private network label of the PW, the protection group relationship, and the LSP tunnel that may be bound to the PW are calculated.
  • the LSP tunnel may not be formed yet.
  • the basic configuration parameters of the service are available. Only the service can be used for actual traffic forwarding. After the LSP is formed, the service update can be used for forwarding. If the user has information such as QoS and detection, the user's configuration input needs to be converted into a traditional service configuration.
  • Step 7 The L2VPN configuration management module delivers the calculated PW link information (the simplified configuration is converted to the pre-simplified configuration as shown in Table 2) to each network element device.
  • This step requires the L2VPN configuration management module to be delivered to each NE device node through the NETCONFIG protocol. You must ensure that the configuration succeeds in the configuration. The error that occurs during the delivery process needs to be configured for error rollback and multiple attempts are made. If the delivery fails When the number of times reaches the preset value, the PW link information is sent and the specific information is reported (such as unreachable communication, timeout, etc.);
  • Step 8 During the operation of the networking device, each network element device sends a state change information to the L2VPN configuration management module through the notify of the NETCONFIG protocol, and the L2VPN configuration management module can timely detect the change of the uplink and the line and the network topology of each network element device node. , LSP changes, and responds in a timely manner.
  • the link information of the optimal forwarding path can be calculated again according to the current state and sent to each network element device.
  • the network element device deletes the original configuration information and binds the new PW link information to ensure that the forwarding information is correct.
  • Step 9 Perform path dynamic adjustment according to the configured information such as Qos, ensure that the optimal forwarding path is selected, and use network resources reasonably. For example, when the LSP1 tunnel of the network path PW1 starts to meet the forwarding, the service is more and more, and the service on LSP2 is gradually reduced. Assume that the bandwidth of LSP1 is 90%, and the bandwidth utilization of LSP2 is less than 30%. Dynamically adjust the service PW1 to take LSP2 to ensure the rational use of resources.
  • the configured information such as Qos
  • Table 2 compares the user input L2VPN service configuration commands before and after the simplification.
  • the service configuration command that the user needs to input before simplification includes the following four items;
  • Step 1 Requires a more service type and name.
  • the NE device needs to create the same service type and name on each device.
  • the second step is to determine whether each network element device exists, and whether each network element device port exists. If yes, the port is bound to the service corresponding to each network element device, and the port binding is performed before the simplification;
  • the third step is: generating a pw interface according to the primary network element device and other network element devices, and if the resource is already empty, the prompt cannot continue to be created;
  • Step 4 Calculate the respective link information of the calculated pw interface, and generate the necessary parameters of the peer, vcid, and label parameters. If there is an lsp tunnel binding, you need to bind the relevant tunnel information; and compare the priorities of the respective links according to CSPF. , the master and backup pw on the primary network element device;
  • Step 5 Calculate the information of the generated PW link, such as the simplified L2VPN service i configuration command.
  • the method provided in this embodiment is effective in simplifying the user input of the L2VPN service configuration command, as shown in the left column of Table 2:
  • the preferred embodiment can implement a PW link by inputting a simple service configuration command, which can quickly add service power, reduce the opening cost of the L2VPN service, fully utilize the network resources of the network port, and improve the utilization of each network. Rate, get the most value from existing resources.
  • the method and apparatus for rapidly establishing a PW link are provided by the foregoing embodiments, preferred embodiments, and implementation manners of the present invention, and the PW is configured between the network element devices in the networking in the related art.
  • the link needs to manually configure and input a large number of parameters and service configuration commands, which poses an unprecedented operational pressure for the operator.
  • the CSPF algorithm performs dynamic adjustment of the forwarding path to ensure the quality of the service and fully utilize the network resources. Forwarding to improve resource utilization.
  • the L2VPN resource information and the routing topology relationship of each network element device are obtained, the LSP tunnel information between the network element devices is obtained, and the L2VPN service configuration command input by the user is obtained.
  • the technical solution of the PW link information to the network element devices solves the problem that the PW link is configured between the network element devices in the network in the related art, and a large number of data and parameters need to be manually configured.
  • the cumbersome problem reduces the cumbersomeness of configuring a PW link.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明实施例公开了一种建立PW链路的方法及装置,该方法可以包括:获取各网元设备的L2VPN资源信息和路由拓扑关系;获取所述各网元设备之间的LSP隧道信息;获取用户输入的L2VPN业务配置命令;根据所述的各网元设备的L2VPN资源信息、路由拓扑关系、LSP隧道信息和所述L2VPN业务配置命令,计算主网元设备和其他网元设备的PW链路的PW链路信息;下发所述PW链路信息至所述各网元设备的技术方案,解决了在相关技术里,组网中各网元设备之间配置PW链路,需要人工配置大量的数据和参数,导致的配置繁琐的问题,降低了配置PW链路的繁琐程度。

Description

一种建立PW链路的方法及装置 技术领域
本发明涉及通信技术领域,尤其涉及一种建立PW链路的方法及装置。
背景技术
在网络演进过程中,MPLS(Multiple Protocol Label Switching,即多协议标记交换技术)网络逐渐成为现有的ATM(Asynchronous Transfer Mode,即异步传输模式)、TDM(Time-Division Multiplexing,即分时多工)、FR(Frame Relay,即帧中继)和电话网的骨干网,各种业务流汇集到统一的MPLS网络平台上进行高速交换。对于运营商而言,利用MPLS技术作为多业务网络平台的能力,可以充分利用已有设备资源,保护现有网络(ATM、TDM和FR)投资,并在MPLS网络基础上实现扩容,扩大业务覆盖面,还能同时实现其ATM、TDM或FR用户互通。这样既节省投资和又降低运营维护费用。
如图1所示,相关技术在IP RAN(Internet Protocol Radio Access Network,即无线接入网IP化)网络典型的组网方式中,网络组网时需要有大量的L2VPN(L2 Virtual Private Network,即二层虚拟专用网)配置,需要对每个组网设备进行规划和配置大量数据。现在厂商配置数据基本类似,图1描述了组网设备的配置参数,这其中还没有包括相关的BFD(Bidirectional forwarding detection,即双向转发检测)检测配置、Qos(Quality of Service,即服务质量)、OAM(Operation Administration and Maintenance,即操作、管理及维护)检测、保护组属性等相关一大堆配置参数。特别现在网络的高速发展,设备发散分布,网络接入设备与汇聚设备之间存在多种协议配合。在运营时,需要人工配置大量的数据和参数。往往需要专业人员进行长时间配置和调试设备。
针对相关技术中,组网中各网元设备之间配置虚链路(pseudowire,简称为PW)链路,在网络设备上需要人工配置大量的数据和参数,导致的配置繁琐的问题,目前尚未提出有效的解决方案。
发明内容
为了至少解决组网中各网元设备之间配置PW链路,在网络设备上需要人工配置大量的数据和参数,导致的配置繁琐的问题,本发明提供了一种建立伪线PW链路的方法及装置。
为实现发明目的,根据本发明的一个实施例,提供了一种建立伪线PW链路的方法包括:获取各网元设备的二层虚拟专用网L2VPN资源信息和路由拓扑关系;获取所述各网元设备之间的标签转发协议LSP隧道信息;获取用户输入的L2VPN业务配置命令;根据所述的各网元设备的L2VPN资源信息、路由拓扑关系、LSP隧道信息和所述L2VPN业务配置命令,计算主网元设备和其他网元设备的伪线PW链路的PW链路信息;下发所述PW链路信息至所述各网元设备。
在本实施例中,在所述下发所述PW链路信息至各个网元设备之前,该方法还包括:检测用户输入的L2VPN业务配置命令是否正确;如果否,则上报错误信息和原因,获取用户修改后的L2VPN业务配置命令。
在本实施例中,所述的将所述PW链路信息下发到所述各个网元设备包括:在下发过程中出现故障时,计算下发失败的次数;在下发失败的次数未达到预先设置的数值时,将所述PW链路信息再次下发到所述各个网元设备;在下发失败次数达到预先设置的数值时,终止下发所述PW链路信息,上报故障信息。
在本实施例中,该方法还包括:检测网元设备的路由拓扑关系是否发生变化;当所述网元设备的路由拓扑关系发生变化时,获取新的网元设备的路由拓扑关系;重新计算主网元设备和其他网元设备的PW链路的PW链路信息。
在本实施例中,该方法还包括:检测所述LSP隧道信息中指示的LSP隧道连接关系是否改变,和/或所述LSP隧道信息中指示的LSP隧道资源使用率是否超过预定阈值;当所述LSP隧道连接关系发生变化,和/或所述LSP隧道资源使用率超过预定阈值的情况下,重新计算所述PW链路的PW链路信息。
在本实施例中,所述用户输入的L2VPN业务配置命令包括以下至少之一:L2VPN组网业务类型、网元设备端口接入口AC点、指定主备链路。
在本实施例中,在获取用户输入的L2VPN业务配置命令包括指定主备链路的情况下,计算主网元设备和其他网元设备的PW链路的PW链路信息还包括:计算主网元设备和其他网元设备的主备PW链路的PW链路信息。
在本实施例中,所述的计算主网元设备和其他网元设备的主备PW链路的PW链路信息包括:根据预先设置的约束条件计算出主备PW链路的PW链路信息。
在本实施例中,所述约束条件包括以下至少之一:路由metric、带宽预留、用户指定优先级。
在本实施例中,所述的计算主网元设备和其他网元设备的PW链路的PW链路信息包括:采用CSPF算法计算主网元设备和其他网元设备的PW链路的PW链路信息。
根据本发明的另一实施例,还提供了一种用于建立伪线PW链路的装置,包括:第一获取模块,设置为获取各网元设备的二层虚拟专用网L2VPN资源信息和路由拓扑关系;第二获取模块,设置为获取所述各网元设备之间的标签转发协议LSP隧道信息;第三获取模块,设置为获取用户输入的L2VPN业务配置命令;第一计算模块,设置为根据所述的各网元设备的L2VPN资源信息、路由拓扑关系、LSP隧道信息和所述L2VPN业务配置命令,计算主网元设备和其他网元设备的伪线PW链路的PW链路信息;下发模块,设置为下发所述PW链路信息至所述各网元设备。
在本实施例中,该装置还包括:第一检测模块,设置为在所述的下发所述PW链路信息至所述各个网元设备之前,检测用户输入的L2VPN业务配置命令是否正确;第四获取模块,设置为如果否,则上报错误信息和原因,获取用户修改后的L2VPN业务配置命令。
在本实施例中,下发模块包括:计数单元,设置为在下发过程中出现故障时,计算下发失败的次数;回滚单元,设置为在下发失败的次数未达到预先设置的数值时,将所述PW链路信息再次下发到所述各个网元设备;上报单元,设置为在下发失败次数达到预先设置的数值时,终止下发所述PW链路信息,上报故障信息。
在本实施例中,该装置还包括:第二检测模块,设置为检测网元设备的路由拓扑关系是否发生变化;第五获取模块,设置为所述当网元设备的路由拓扑关系发生变化时,获取新的网元设备的路由拓扑关系;第二计算模块,设置为重新计算主网元设备和其他网元设备的PW链路的PW链路信息。
在本实施例中,该装置还包括:第三检测模块,设置为检测所述LSP隧道信息中指示的LSP隧道连接关系是否改变,和/或所述LSP隧道信息中指示的LSP隧道资源使用率是否超过预定阈值;第三计算模块,设置为当所述LSP隧道连接关系发生变化,和/或LSP隧道资源使用率超过预定阈值的情况下,重新计算所述PW链路的PW链路信息。
在本实施例中,该装置还包括:第四计算模块,设置为在获取用户输入的L2VPN业务配置命令包括指定主备链路的情况下,计算主网元设备和其他网元设备的主备PW链路的PW链路信息。
通过本发明,采用获取各网元设备的L2VPN资源信息和路由拓扑关系;获取所述各网元设备之间的LSP隧道信息;获取用户输入的L2VPN业务配置命令;根据所述的各网元设备的L2VPN资源信息、路由拓扑关系、LSP隧道信息和所述L2VPN业务配置命令,计算主网元设备和其他网元设备的PW链路的PW链路信息;下发所述PW链路信息至所述各网元设备的技术方案,解决了在相关技术里,组网中各网元设备之间配置PW链路,需要人工配置大量的数据和参数,导致的配置繁琐的问题,降低了配置PW链路的繁琐程度。
附图说明
附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发明的实施例一起用于解释本发明,并不构成对本发明的限制。
图1是相关技术中在建立PW链路时,L2VPN业务配置命令以及配置数据的示意图;
图2是根据本发明实施例的一种建立PW链路的方法的流程图;
图3是根据本发明实施例的另一种建立PW链路的方法的流程图;
图4是根据本发明实施例的一种用于建立PW链路的装置的结构示意图;
图5是根据本发明优选实施例的一种用于建立PW链路的装置的结构示意图;
图6是根据本发明优选实施例的一种用于建立PW链路的网元设备组网示意图;
图7是根据本发明优选实施例的一种用于建立PW链路的组网设备之间的业务配置通道NETCONFIG示意图;
图8是根据本发明优选实施例的一种用于建立PW链路的组网设备的网络隧道转发生成示意图;
图9是根据本发明优选实施例的一种用于建立PW链路的业务配置下发示意图。
具体实施方式
下文将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。下面将参考附图并结合实施例来详细说明本发明。
图1是相关技术中在建立PW链路时,L2VPN业务配置命令以及配置数据的示意图;如表1,所示相关技术中在建立PW链路时,需要在网元设备上输入大量的业务配置命令和配置数据。
表1
Figure PCTCN2015076583-appb-000001
本实施例提供了一种建立PW链路的方法。图2是根据本发明实施例的一种建立PW链路的方法的流程图。如图2所示,该方法可以包括如下步骤:
步骤S200:获取各网元设备的L2VPN资源信息和路由拓扑关系;
网元设备上电,搭建物理网络,设备间相互直连,这个阶段主要是基础网络构建工作的配置,网元的初始化上电。网元设备可以是路由器、网关等网络设备。网元设备配置网络域间路由,网络拓扑生成,路由转发表形成,基本路由转发已经打通。
通过和直接连接的某个A网元设备连接后通过协议进行通信,网络中的其他网元设备通过A网元设备中转也可以直接建立连接后进行通信,即可以通过和其中任意一个网元设备相连接,和其他路由网元设备通过带内(区分带外模式:所有的设备都有单独物理线直接链接)方式通信。
通过通信协议,可以是SNMP(Simple Network Management Protocol,即简单网络管理协议)、网络配置NETCONFIG协议、远程终端协议telnet协议或者其他可以传送配置数据的任何通信协议,获取各网元设备的L2VPN资源信息以及获取当前的路由拓扑关系。下面主要以NETCONFIG协议方式使用SSH协议(Secure Shell,即安全外壳协议)获取和下发配置信息为例描述本发明实施例的内容。这里所说的网元设备的L2VPN资源信息是指配置容量支持信息,例如可以包括:网元设备支持最大的业务配置量,业务的标签分配范围,可以分配的业务PW接口资源、可接入的端口类型等业务配置信息。
步骤S202:获取所述各网元设备之间的LSP隧道信息;
网元设备可以在域间路由即相邻路由之间形成LSP(Label Switching Path,即标签转换路径协议)隧道。任何网元设备之间能形成LSP转发隧道,可以是动态协议生成或者直接配置静态隧道;这里主要是使用隧道,就不做详细介绍。创建LSP隧道的时候可以设置一些配置参数。
LSP隧道生成后可以通过NETCONFIG协议的notify功能对外发布通知,当然也可以使用其他协议的通知功能。通过获取该通知信息,记录各设备节点的隧道信息,主要是隧道的头尾节点,方向性等,即可获取各网元设备之间的LSP隧道信息。
步骤S204:获取用户输入的L2VPN业务配置命令;
网元设备或独立存在的PW链路建立装置可以直接接受用户的L2VPN业务配置命令的输入。用户输入的L2VPN业务配置命令可以包含L2VPN组网业务类型,例如可以是VPWS(Virtual Private Wire Service,即虚拟专线服务)、VPLS(Virtual Private Lan Service,即虚拟专用局域网业务)等。也可以包含指定接入端口AC(access point)点所属的网元设备,例如网元设备端口AC点,即AC1属于A1网元设备是主网元、AC2属于A3网元设备、AC3属于A4网元设备。即标明主网元节点,是否需要形成PW保护组等用户需求配置、AC2、AC3是绑定接入端口。在某些业务组网类型中,如果没有默认指定主备PW链路,L2VPN业务配置命令还库包指定主备链路。
步骤S206:根据所述的各网元设备的L2VPN资源信息、路由拓扑关系、LSP隧道信息和所述L2VPN业务配置命令,计算主网元设备和其他网元设备的伪线PW链路的PW链路信息;
步骤S200、步骤S202、步骤S204的顺序是没有先后限定之分的。根据步骤S200、S202、S204分别获取的各网元设备的L2VPN资源信息、路由拓扑关系、LSP隧道信息和所述L2VPN业务配置命令,计算主网元设备和其他网元设备的PW链路的PW链路信息。网络路由、LSP隧道通过路径计算方法,例如可以是CSPF算法,计算主网元设备节点和其他网元设备间的伪线PW链路信息。根据不同网元设备节点、主网元设备,根据各网元设备的L2VPN资源信息生成具体网元设备的PW接口信息;根据网络路由、LSP隧道计算主网元设备节点和其他网元设备间的PW链路信息。
本发明实施例提供的用户输入的L2VPN配置命令是经过简化后的业务配置命令,根据路径计算方法计算出来的PW链路信息是相关技术中比较复杂的、未经过简化的业务配置命令即所述主网元设备和其他网元设备的伪线PW链路的PW链路信息。
表2,本实施例提供的建立PW链路的方法,将所示将简化后用户输入的L2VPN配置命令转换成简化前的业务配置命令,即主网元设备和其他网元设备的伪线PW链路的PW链路信息,并将所述PW链路信息下发给各网元设备。
简化后用户的L2VPN业务配置命令共4条;
第一步:需要更加业务类型和名称已经网元设备需要在各设备上创建相同的业务类型和名称。
第二步:判断各网元设备是否存在,各网元设备端口是否存在,存在则进行端口绑定到各网元设备对应的业务下面,对应简化前就是端口绑定;
第三步:根据主网元设备和其他网元设备计算生成pw接口,如果资源已经耗空,则提示不能继续创建;
第四步:对计算出的pw接口计算各自链路信息,生成必要参数peer、虚拟链路标志vcid、标签label参数,如存在lsp隧道绑定,需要绑定相关隧道信息;并根据最短路径优先算法CSPF算法比较各自链路的优先级,得出主网元设备上的主备pw;
第五步:各自业务配置综合形成,如简化前的配置。
本实施例提供的简化后用户的L2VPN业务配置命令包括:谁是主网元设备以及各网元设备的接入点,有效地简化了繁杂的业务配置命令。
具体简化前后的业务配置信息参考如下表2。
表2
Figure PCTCN2015076583-appb-000002
步骤S208:下发所述PW链路信息至所述各网元设备。
将计算出的PW链路信息下发到各网元设备,可以通过NETCONFIG协议下发到各个网元节点。各网元设备接收到所述的PW链路信息,将所述PW链路信息绑定到所述LSP隧道,即可建立PW链路。PW链路信息可以包括各网元设备的PW接口信息,标签、Qos、检测、保护组配置等PW链路信息。
本发明实施例提供的方法,采用获取组网中各网元设备的L2VPN资源信息、各网元设备的路由拓扑关系、各网元设备之间的LSP隧道信息以及本发明实施例提供的简化后用户输入的L2VPN业务配置命令,通过路径计算算法计算出PW链路信息,将所述PW链路信息下发至组网中的各个网元设备,有效地解决了在相关技术里,组网中各网元设备之间配置PW链路,需要人工配置和输入大量的参数和业务配置命令,对运营商构成空前的运营压力的问题,实现了通过输入简单的业务配置命令即可建立PW链路,能够实现快速添加业务,同时配置的结果也能很好的满足用户要求,有效地减少运营商的运营成本。
本发明的实施例提供了另一种建立PW链路的方法。图3是根据本发明实施例的另一种建立PW链路的方法的流程图。如图3所示,该方法可以参考图2所示的步骤,为了能够解决用户输入的L2VPN业务配置命令可能出现的错误,在本实施例的一个优选实例中在图2所示的步骤S206和步骤S208之间增加了一个步骤S300,即检测用户输入的L2VPN业务配置命令是否正确。
如图3所示,步骤S300、S302、S304、S310可以分别参考图2所示的步骤S200、S202、S204、S206,在此不再赘述。
步骤S300:检测用户输入的L2VPN业务配置命令是否正确;
获取到的用户输入的L2VPN业务配置命令,有可能错误。例如输入不存在的网元设备、错误的L2VPN资源信息等问题。如果不进行检测,计算出来的PW链路信息是有问题的,甚至根本无法计算出PW链路信息。
如果,检测用户输入的L2VPN业务配置命令是正确的,则执行下一步骤S310。
如果,检测用户输入的L2VPN业务配置命令是不正确的,则执行步骤S312,即上报错误信息和原因,获取用户修改后的L2VPN业务配置命令。
步骤S312,将检测到的用户输入L2VPN业务配置命令错误的信息和原因上报,展示给用户,并接收用户新输入的L2VPN业务配置命令,并如图3所示,跳转执行步骤S306。
通过本优选实施例提供的方法,可以有效解决用户输入L2VPN业务配置命令错误的问题,避免了盲目计算PW链路信息,节约了资源和时间。
在优选的实施方式中,为了能够解决在下发根据本发明计算的PW链路信息的过程中可能出现的错误,在下发所述PW链路信息至所述各网元设备之后,增加了配置的错误回滚处理。即当下发过程中出现故障的情况下,计算下发失败的次数;判断下发失败的次数是否达到预先设置的数值;在下发失败的次数未达到预先设置的数值时,执行图2所示的步骤S208,即将所述PW链路信息再次下发到所述各个网元设备;在下发失败次数达到预先设置的数值时,终止下发所述PW链路信息,上报故障信息。通过本优选实施方式,有效地解决了下发PW链路信息出现故障的问题,减少了繁琐的人工操作。
在优选的实施方式中,本发明实施例提供的建立PW链路的方法还可以包括:检测网元设备的路由拓扑关系是否发生变化;当所述网元设备的路由拓扑关系发生变化时,获取新的网元设备的路由拓扑关系;重新计算主网元设备和其他网元设备的PW链路的PW链路信息。
在优选的实施方式中,本发明实施例提供立PW链路的方法还可以包括:检测所述LSP隧道信息中指示的LSP隧道连接关系是否改变,和/或所述LSP隧道信息中指示的LSP隧道资源使用率是否超过预定阈值;当所述LSP隧道连接关系发生变化,和/或所述LSP隧道资源使用率超过预定阈值的情况下,重新计算所述PW链路的PW链路信息。
在下发PW链路信息成功建立PW链路之后,在运行过程中,可能会出现各网元设备上下线的情况、及其拓扑关系变化、LSP隧道发生改变等情况,可以通过协议获取上述变化信息,比如可以是接收NETCONFIG协议的notify发送状态变化信息,及时响应。并能根据当前的拓扑关系或LSP隧道信息,重新计算生成PW链路信息,下发新的PW链路信息至各网元设备,各网元设备删除原来的PW链路信息,绑定新的PW链路信息,根据情况动态计算和调整PW链路,保证转发链路和信息正确。
同时能够根据配置的Qos等相关信息进行路径动态调整,保证选择最优转发路径,合理利用网络资源。比如:网络路径PW1的LSP1隧道开始时候资源满足转发,但是业务越来越多,LSP2上的业务慢慢的降低,假设LSP1带宽90%的利用率,LSP2带宽利用率不足30%,这样就可以动态调整业务PW1走LSP2,保证资源合理利用。
在优选的实施方式中,所述用户输入的L2VPN业务配置命令可以包括以下至少之一:L2VPN组网业务类型、网元设备端口接入口AC点、指定主备链路。
优选的实施方式中,在获取用户输入的L2VPN业务配置命令包括指定主备链路的情况下,计算主网元设备和其他网元设备的PW链路的PW链路信息可以包括:计算主网元设备和其他网元设备的主备PW链路的PW链路信息。在默认存在主备链路和/或用户指定主备链路的情况下,本发明可以计算出主备PW的链路信息。
在优选的实施方式中,计算主网元设备和其他网元设备的主备PW链路的PW链路信息可以包括:根据预先设置的约束条件计算出主备PW链路的PW链路信息。
优选的实施方式中,约束条件可以包括以下至少之一:路由metric、带宽预留、用户指定优先级。在计算主备PW的链路信息时,可以根据用户不同的需求,设置不同的约束条件,以满足用户日常运营需要。
优选的实施方式中,计算主网元设备和其他网元设备的PW链路的PW链路信息包括:采用CSPF算法计算主网元设备和其他网元设备的PW链路的PW链路信息。相关技术中,路径计算算法有很多,本发明优选实施例可以采用CSPF路径算法。
图4是根据本发明实施例的一种用于建立PW链路的装置的结构示意图。如图4所示,该装置可以包括如下模块:
第一获取模块40,连接至第一计算模块46,设置为获取各网元设备的L2VPN资源信息和路由拓扑关系;第二获取模块42,连接至第一计算模块46,设置为获取所述各网元设备之间的LSP隧道信息;第三获取模块44,连接至第一计算模块46,设置为获取用户输入的L2VPN业务配置命令;第一计算模块46,连接至下发模块48;设置为根据所述的各网元设备的L2VPN资源信息、路由拓扑关系、LSP隧道信息和所述L2VPN业务配置命令,计算主网元设备和其他网元设备的PW链路的PW链路信息;下发模块48,,设置为下发所述PW链路信息至所述各网元设备。
在优选的实施方式中,为了解决用户输入的L2VPN业务配置命令可能出现的错误,该装置还可以包括:
第一检测模块,连接至第一计算模块46,设置为在所述的下发所述PW链路信息至所述各个网元设备之前,检测用户输入的L2VPN配置命令是否正确;第四获取模块,连接至第一计算模块46,设置为如果用户输入的L2VPN配置命令是不正确的,则上报错误信息和原因,获取用户修改后的L2VPN业务配置命令。通过本优选实施方式,可以有效解决用户输入L2VPN业务配置命令错误的问题,避免了盲目计算PW链路信息,节约了资源和时间。
在优选的实施方式中,为了能够解决在下发根据本发明计算的PW链路信息的过程中可能出现的错误,下发模块48还可以包括:
计数单元,设置为在下发过程中出现故障时,计算下发失败的次数;回滚单元,连接至计数单元,设置为在下发失败的次数未达到预先设置的数值时,将所述PW链路信息再次下发到所述各个网元设备;上报单元,连接至回滚单元,设置为在下发失败次数达到预先设置的数值时,终止下发所述PW链路信息,上报故障信息。通过本优选实施例提供的装置,有效地解决了下发PW链路信息出现故障的问题,减少了繁琐的人工操作。
在优选的实施方式中,除了图4所示模块以外,该装置还可以包括:
第二检测模块,连接至第二计算模块,设置为检测网元设备的路由拓扑关系是否发生变化;第五获取模块,连接至第二计算模块,,设置为所述当网元设备的路由拓扑关系发生变化时,获取新的网元设备的路由拓扑关系;第二计算模块,设置为重新计算主网元设备和其他网元设备的PW链路的PW链路信息。
在优选的实施方式中,除了图4所示模块以外,该装置还可以包括:
第三检测模块,连接至第二计算模块,设置为检测所述LSP隧道信息中指示的LSP隧道连接关系是否改变,和/或所述LSP隧道信息中指示的LSP隧道资源使用率是否超过预定阈值;第三计算模块,连接下发模块48,,设置为当所述LSP隧道连接关系发生变化,和/或LSP隧道资源使用率超过预定阈值的情况下,重新计算所述PW链路的PW链路信息。
在下发PW链路信息成功建立PW链路之后,在运行过程中,可能会出现各网元设备上下线的情况、及其拓扑关系变化、LSP隧道发生改变等情况,并能根据当前的拓扑关系或LSP隧道信息,重新计算生成PW链路信息,同时能够根据配置的Qos等相关信息进行路径动态调整,保证选择最优转发路径,合理利用网络资源。根据运行过程中出现的不同情况,动态计算和调整PW链路,保证转发链路和信息正确以及PW资源合理分配。
在优选的实施方式中,除了图4所示模块以外,该装置还可以包括:
第四计算模块,连接下发模块48,设置为在获取用户输入的L2VPN业务配置命令包括指定主备链路的情况下,计算主网元设备和其他网元设备的主备PW链路的PW链路信息。
在此需要注意的是,在以上实施例中提及的第一、二、三、四计算模块,第一、二、三获取模块,第一、二、三检测模块等功能相似或相同的模块,可以是同一个实体装置或同一个虚拟模块,也可以是不同的实体装置或不同的虚拟模块。
本发明实施例提供的装置,采取获取各网元设备的L2VPN资源信息和路由拓扑关系;获取所述各网元设备之间的LSP隧道信息;获取用户输入的L2VPN业务配置命令;根据所述的各网元设备的L2VPN资源信息、路由拓扑关系、LSP隧道信息和所述L2VPN业务配置命令,计算主网元设备和其他网元设备的PW链路的PW链路信息;下发所述PW链路信息至所述各网元设备。有效地解决了在相关技术里,组网中各网元设备之间配置PW链路,需要人工配置和输入大量的参数和业务配置命令,对运营商构成空前的运营压力的问题,实现了通过输入简单的业务配置命令即可建立PW链路,能够实现快速添加业务,同时配置的结果也能很好的满足用户要求,有效地少了运营商的运营成本。
下面再结合一个优选实施例对本发明进行说明。
图5是根据本发明优选实施例的一种用于建立PW链路的装置的结构示意图。本优选实施例提供一种快速建立PW链路的装置,该装置可以包括以下功能模块:
网络拓扑模块50,连接至L2VPN配置管理模块58,设置为实现上述第一获取模块40的功能,主要负责获取网元设备的网络拓扑关系,设置为计算PW链路信息;
LSP隧道管理模块52,连接至L2VPN配置管理模块58,设置为实现上述第二获取模块42的功能,主要负责用于创建和管理LSP隧道,用于计算PW链路信息;
网络资源管理模块54,连接至L2VPN配置管理模块58,主要用管理各网元设备节点设备的L2VPN资源信息,设置为计算PW链路信息,设置为协助实现上述第一获取模块40、第二获取模块42的功能;
配置传输协议模块56,连接至L2VPN配置管理模块58,设置为通信,设置为协助实现上述第一获取模块40、第二获取模块42的功能。比如设置为获取网元设备的网络拓扑关系,网元设备节点设备的L2VPN资源信息;还设置为获取将生成的PW链路信息下发至到各网元设备节点。(注:该协议可以是NETCONF标准协议、telnet协议或者其他可以传送配置数据的任何协议);
L2VPN配置管理模块58,设置为实现上述第三获取模块44、第四第一计算模块46、第二计算模块、下发模块48、获取模块、第一检测模块、第二检测模块、第五获 取模块、第二计算模块、第三检测模块、第四计算模块以及第四计算模块的功能,主要负责根据用户输入的L2VPN业务配置命令,结合网络拓扑关系、LSP隧道、网元设备的L2VPN资源信息,计算PW链路信息,并转换成具体设备上业务命令的生成,通过配置传输协议模块发送到网络中的各网元设备。
图6为本发明实施例的网元设备组图,图中A1和A2、A2和A3、A3和A4、A4和A1之间可以有多个相同的路由器设备,这里简化描述就没显示其他路由设备,L2VPN配置管理模块可以是内嵌在任何一个路由器设备中的业务管理进程单元,也是是独立在路由器外的其它单独运行的管理进程,这里为了描述方便在图中展现为独立在外的一个管理模块。本发明的方法应用于快速建立PW链路,可以包括如下步骤:
步骤1,如图6所示,图6是根据本发明优选实施例的一种用于建立PW链路的网元设备组网示意图;设备上电,搭建物理网络,网元设备间相互直连,这个阶段主要是基础网络构建工作的配置,网元设备的初始化上电,此时L2VPN配置管理模块和网络间还没有任何关系;
步骤2,如图7所示,图7是根据本发明优选实施例的一种用于建立PW链路的组网设备之间的业务配置通道NETCONFIG示意图;网元设备配置网络路由协议,网络拓扑生成,路由转发表形成,基本路由转发已经打通。L2VPN配置管理模块通过和直接连接的某个A网元设备连接后通过协议进行通信,和其他网元设备通过A网元设备中转也是直接建立连接后进行通信,即此时L2VPN管理模块通过和其中任意一个网元设备相连接,和其他路由网元设备通过带内(区分带外模式:所有的设备都有单独物理线直接链接)方式通信。
本实施例中的假定和A1路由器直接连接。L2VPN配置管理模块通过SNMP或者NETCONFIG协议(本发明下面介绍的主要用NETCONFIG协议方式使用SSH协议获取和下发配置信息)获取各网元设备的L2VPN资源信息、当前的各网元设备之间的路由拓扑关系。并且在当路由拓扑发生变化时,还可以通过NETCONFIG协议的notify功能通知到L2VPN配置管理模块。网元设备的L2VPN资源信息,可以是例如网元设备支持最大的业务配置量,PW业务的标签分配范围,网元设备可以分配的业务PW接口资源数量、可接入的端口类型等
步骤3,如图8所示,图8是根据本发明优选实施例的一种用于建立PW链路的组网设备的网络隧道转发生成示意图;在各网元设备之间建立LSP隧道,这里是隧道配置管理方面,可以由隧道管理模块创建,可以是动态协议生成或者直接配置静态隧道;就是任何两个网元设备间能形成转发隧道,隧道的配置和形成主要由隧道管理模 块负责,主要是隧道的头尾节点,方向性等。隧道生成后通过NETCONFIG协议的notify功能对外发布通知,L2VPN配置管理模块响应变化通知,记录各网元设备节点的LSP隧道信息。当隧道管理模块有任何变化都能通过NETCONFIG协议对外通知到L2VPN配置管理模块;
步骤4,用户输入的L2VPN业务配置命令可以直接通过L2VPN配置管理模块进行业务数据下发配置(如表2所示,用户需要下发简化后的配置),在用户输入的L2VPN业务配置命令可以包括一下内容:例如业务类型(如VPWS、VPLS),接入端口AC点所属的网元设备,如AC1属于A1网元设备是主网元、AC2属于A3网元设备、AC3属于A4网元设备。
L2VPN配置管理模块根据获取到的各网元设备上L2VPN资源信息和设备端口资源信息判断PW链路业务是否合法,在用户配置后也可以通过L2VPN配置管理模块获取业务的转发状态信息。如图9所示,图9是根据本发明优选实施例的一种用于建立PW链路的业务配置下发示意图。用户是和图中的L2VPN配置管理模块直接进行交互;
步骤5,检查用户输入的L2VPN业务配置命令是否真确。
当前用户输入的业务配置命令错误时,反馈错误信息和出错原因,并重新接收用书输入的L2VPN业务配置命令。
步骤6,根据各网元设备的L2VPN资源信息、LSP隧道信息、各网元设备的网络拓扑关系以及用户输入的L2VPN业务配置命令,通过CSPF算法(或其他路径计算方法)计算主网元设备和其他网元设备间的PW链路信息。
在默认或指定主备PW链路的情况下,可以通过路由metric、带宽预留、最短路径、优先级等约束条件进行计算,在某两个网元设备间是主还是备PW链路,同时计算出PW的私网标签,保护组关系以及可能需要绑定的LSP隧道,因为LSP隧道可能还没有形成,但此时业务的基本配置参数已经有了,仅业务还没有能够用于实际流量转发,等LSP形成后业务更新一下就可以用于转发。如果用户存在Qos、检测等信息,也需要将用户的配置输入转换成传统业务配置;
步骤7,L2VPN配置管理模块将计算出的PW链路信息(如表2所示将简化后的配置转换成简化前的配置)下发到各网元设备。该步骤需要L2VPN配置管理模块通过NETCONFIG协议下发到各个网元设备节点,需要保证配置下发生成成功,在下发过程中发生的错误需要进行配置的错误回滚处理,并尝试多次下发。如果下发失败的 次数到达预先设置的数值时,则停止下发PW链路信息,并上报错具体信息(如通信不可达,超时等);
步骤8,在组网设备运行过程中,各网元设备通过NETCONFIG协议的notify发送状态变化信息到L2VPN配置管理模块,L2VPN配置管理模块能及时感知各网元设备节点的上下线、网络拓扑的变化、LSP变化,并及时响应。能够根据当前状态再次计算生成最优转发路径链路信息,下发至各个网元设备,网元设备删除原来配置信息,绑定新的PW链路信息,保证转发信息正确。
步骤9,根据配置的Qos等相关信息进行路径动态调整,保证选择最优转发路径,合理利用网络资源。比如:网络路径PW1的LSP1隧道开始时候资源满足转发,但是业务越来越多,LSP2上的业务慢慢的降低,假设LSP1带宽90%的利用率,LSP2带宽利用率不足30%,这样就可以动态调整业务PW1走LSP2,保证资源合理利用。
表2对比简化前后用户输入L2VPN业务配置命令。简化前用户需要输入的业务配置命令包含如下4条;
第一步:需要更加业务类型和名称已经网元设备需要在各设备上创建相同的业务类型和名称。
第二步:判断各网元设备是否存在,各网元设备端口是否存在,存在则进行端口绑定到各网元设备对应的业务下面,对应简化前就是端口绑定;
第三步:根据主网元设备和其他网元设备计算生成pw接口,如果资源已经耗空,则提示不能继续创建;
第四步:对计算出的pw接口计算各自链路信息,生成必要参数peer、vcid、label参数,如存在lsp隧道绑定,需要绑定相关隧道信息;并根据CSPF比较各自链路的优先级,得出主网元设备上的主备pw;
第五步:计算生成PW链路信息,如简化前的L2VPN业务i配置命令。而本实施例提供方法在简化用户输入L2VPN业务配置命令的效果十分明显,如表2左列所示:
vpws zte_test
access-point A1/ac1 master
access-point A3/ac2
access-point A4/ac3
本优选实施例实现了通过输入简单的业务配置命令即可建立PW链路,能够实现快速添加业务力,降低了L2VPN业务的开通成本,充分利用了网络端口的网络资源,提高每个网络的利用率,在现有资源上获取最大的价值。
综上所述,通过本发明的上述实施例、优选实施例和实施方式,提供的快速建立PW链路的方法及装置,解决了在相关技术里,组网中各网元设备之间配置PW链路,需要人工配置和输入大量的参数和业务配置命令,对运营商构成空前的运营压力的问题,同时根据CSPF算法进行转发路径的动态调整,保证了服务的质量同时能充分利网络资源进行转发,提高资源的利用率。
显然,以上所述仅为本发明的优选实施例而已,并不用于限制本发明。本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
基于本发明实施例提供的上述技术方案,通过采用获取各网元设备的L2VPN资源信息和路由拓扑关系;获取所述各网元设备之间的LSP隧道信息;获取用户输入的L2VPN业务配置命令;根据所述的各网元设备的L2VPN资源信息、路由拓扑关系、LSP隧道信息和所述L2VPN业务配置命令,计算主网元设备和其他网元设备的PW链路的PW链路信息;下发所述PW链路信息至所述各网元设备的技术方案,解决了在相关技术里,组网中各网元设备之间配置PW链路,需要人工配置大量的数据和参数,导致的配置繁琐的问题,降低了配置PW链路的繁琐程度。

Claims (16)

  1. 一种建立伪线PW链路的方法,包括:
    获取各网元设备的二层虚拟专用网L2VPN资源信息和路由拓扑关系;
    获取所述各网元设备之间的标签转发协议LSP隧道信息;
    获取用户输入的L2VPN业务配置命令;
    根据所述的各网元设备的L2VPN资源信息、路由拓扑关系、LSP隧道信息和所述L2VPN业务配置命令,计算主网元设备和其他网元设备的PW链路的PW链路信息;
    下发所述PW链路信息至所述各网元设备。
  2. 根据权利要求1所述的方法,其中,在所述下发所述PW链路信息至各个网元设备之前,该方法还包括:
    检测用户输入的L2VPN业务配置命令是否正确;
    如果否,则上报错误信息和原因,获取用户修改后的L2VPN业务配置命令。
  3. 根据权利要求1所述的方法,其中,所述的将所述PW链路信息下发到所述各个网元设备包括:
    在下发过程中出现故障时,计算下发失败的次数;
    在下发失败的次数未达到预先设置的数值时,将所述PW链路信息再次下发到所述各个网元设备;
    在下发失败次数达到预先设置的数值时,终止下发所述PW链路信息,上报故障信息。
  4. 根据权利要求1所述的方法,其中,该方法还包括:
    检测网元设备的路由拓扑关系是否发生变化;
    当所述网元设备的路由拓扑关系发生变化时,获取新的网元设备的路由拓扑关系;
    重新计算主网元设备和其他网元设备的PW链路的PW链路信息。
  5. 根据权利要求1所述的方法,其中,该方法还包括:
    检测所述LSP隧道信息中指示的LSP隧道连接关系是否改变,和/或所述LSP隧道信息中指示的LSP隧道资源使用率是否超过预定阈值;
    当所述LSP隧道连接关系发生变化,和/或所述LSP隧道资源使用率超过预定阈值的情况下,重新计算所述PW链路的PW链路信息。
  6. 根据权利要求1所述的方法,其中,所述用户输入的L2VPN业务配置命令包括以下至少之一:
    L2VPN组网业务类型、网元设备端口接入口AC点、指定主备链路。
  7. 根据权利要求6所述的方法,其中,在获取用户输入的L2VPN业务配置命令包括指定主备链路的情况下,计算主网元设备和其他网元设备的PW链路的PW链路信息还包括:
    计算主网元设备和其他网元设备的主备PW链路的PW链路信息。
  8. 根据权利要求7所述的方法,其中,所述的计算主网元设备和其他网元设备的主备PW链路的PW链路信息包括:
    根据预先设置的约束条件计算出主备PW链路的PW链路信息。
  9. 根据权利要求8所述的方法,其中,所述约束条件包括以下至少之一:
    路由metric、带宽预留、用户指定优先级。
  10. 根据权利要求1-9任一项所述的方法,其中,所述的计算主网元设备和其他网元设备的PW链路的PW链路信息包括:
    采用CSPF算法计算主网元设备和其他网元设备的PW链路的PW链路信息。
  11. 一种用于建立PW链路的装置,包括:
    第一获取模块,设置为获取各网元设备的二层虚拟专用网L2VPN资源信息和路由拓扑关系;
    第二获取模块,设置为获取所述各网元设备之间的标签转发协议LSP隧道信息;
    第三获取模块,设置为获取用户输入的L2VPN业务配置命令;
    第一计算模块,设置为根据所述的各网元设备的L2VPN资源信息、路由拓扑关系、LSP隧道信息和所述L2VPN业务配置命令,计算主网元设备和其他网元设备的PW链路的PW链路信息;
    下发模块,设置为下发所述PW链路信息至所述各网元设备。
  12. 根据权利要求11所述的装置,其中,该装置还包括:
    第一检测模块,设置为在所述的下发所述PW链路信息至所述各个网元设备之前,检测用户输入的L2VPN配置命令是否正确;
    第四获取模块,设置为如果否,则上报错误信息和原因,获取用户修改后的L2VPN业务配置命令。
  13. 根据权利要求11所述的装置,其中,所述下发模块包括:
    计数单元,设置为在下发过程中出现故障时,计算下发失败的次数;
    回滚单元,设置为在下发失败的次数未达到预先设置的数值时,将所述PW链路信息再次下发到所述各个网元设备;
    上报单元,设置为在下发失败次数达到预先设置的数值时,终止下发所述PW链路信息,上报故障信息。
  14. 根据权利要求11所述的装置,其中,该装置还包括:
    第二检测模块,设置为检测网元设备的路由拓扑关系是否发生变化;
    第五获取模块,设置为所述当网元设备的路由拓扑关系发生变化时,获取新的网元设备的路由拓扑关系;
    第二计算模块,设置为重新计算主网元设备和其他网元设备的PW链路的PW链路信息。
  15. 根据权利要求11所述的方法,其中,该装置还包括:
    第三检测模块,设置为检测所述LSP隧道信息中指示的LSP隧道连接关系是否改变,和/或所述LSP隧道信息中指示的LSP隧道资源使用率是否超过预定阈值;
    第三计算模块,设置为当所述LSP隧道连接关系发生变化,和/或LSP隧道资源使用率超过预定阈值的情况下,重新计算所述PW链路的PW链路信息。
  16. 根据权利要求11所述的装置,其中,该装置还包括:
    第四计算模块,设置为在获取用户输入的L2VPN业务配置命令包括指定主备链路的情况下,计算主网元设备和其他网元设备的主备PW链路的PW链路信息。
PCT/CN2015/076583 2014-12-25 2015-04-14 一种建立pw链路的方法及装置 WO2016101444A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410828985.7A CN105791074A (zh) 2014-12-25 2014-12-25 一种建立pw链路的方法及装置
CN201410828985.7 2014-12-25

Publications (1)

Publication Number Publication Date
WO2016101444A1 true WO2016101444A1 (zh) 2016-06-30

Family

ID=56149057

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/076583 WO2016101444A1 (zh) 2014-12-25 2015-04-14 一种建立pw链路的方法及装置

Country Status (2)

Country Link
CN (1) CN105791074A (zh)
WO (1) WO2016101444A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110351188A (zh) * 2019-07-05 2019-10-18 迈普通信技术股份有限公司 一种报文转发方法、数据处理方法、装置及网络系统
CN114389952A (zh) * 2020-10-15 2022-04-22 中国移动通信集团设计院有限公司 面向多层网的移动通信网络容量配置方法和装置
CN115834436A (zh) * 2022-11-24 2023-03-21 中国联合网络通信集团有限公司 网络连通性检测方法、装置及存储介质
CN114389952B (zh) * 2020-10-15 2024-05-31 中国移动通信集团设计院有限公司 面向多层网的移动通信网络容量配置方法和装置

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107872338B (zh) * 2016-09-26 2022-06-07 中兴通讯股份有限公司 网络管理系统,业务配置、业务配置请求方法及装置
CN107959612B (zh) * 2016-10-18 2022-04-15 中兴通讯股份有限公司 一种业务隧道在网络变迁下的自适应调整的方法及装置
CN107995015B (zh) * 2016-10-27 2021-11-12 中兴通讯股份有限公司 获取twamp端到端检测路径的方法和装置
CN110087252B (zh) * 2019-05-30 2022-08-30 深圳市中航比特通讯技术股份有限公司 一种通信网络业务动态变更技术
CN110661666B (zh) * 2019-09-29 2022-02-18 中国联合网络通信集团有限公司 一种分组传送网的环网资源建立方法和装置
CN112532515A (zh) * 2020-12-21 2021-03-19 安徽皖通邮电股份有限公司 一种基于e1业务线路切换的方法
CN116074190A (zh) * 2021-10-29 2023-05-05 华为技术有限公司 网络配置特征提取方法及相关装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159668A (zh) * 2007-10-23 2008-04-09 中兴通讯股份有限公司 伪线和基于包交换传送设备网的创建方法
CN101505227A (zh) * 2009-03-11 2009-08-12 华为技术有限公司 一种实现点到多点伪线的方法、设备和系统
US7715310B1 (en) * 2004-05-28 2010-05-11 Cisco Technology, Inc. L2VPN redundancy with ethernet access domain

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7715310B1 (en) * 2004-05-28 2010-05-11 Cisco Technology, Inc. L2VPN redundancy with ethernet access domain
CN101159668A (zh) * 2007-10-23 2008-04-09 中兴通讯股份有限公司 伪线和基于包交换传送设备网的创建方法
CN101505227A (zh) * 2009-03-11 2009-08-12 华为技术有限公司 一种实现点到多点伪线的方法、设备和系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ED, F.J. ET AL.: "Requirements and Framework for Point-to-Multipoint Pseudowires over MPLS Packet Switched Networks", ENGINEERING TASK FORCE (IETF), 30 September 2014 (2014-09-30) *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110351188A (zh) * 2019-07-05 2019-10-18 迈普通信技术股份有限公司 一种报文转发方法、数据处理方法、装置及网络系统
CN114389952A (zh) * 2020-10-15 2022-04-22 中国移动通信集团设计院有限公司 面向多层网的移动通信网络容量配置方法和装置
CN114389952B (zh) * 2020-10-15 2024-05-31 中国移动通信集团设计院有限公司 面向多层网的移动通信网络容量配置方法和装置
CN115834436A (zh) * 2022-11-24 2023-03-21 中国联合网络通信集团有限公司 网络连通性检测方法、装置及存储介质
CN115834436B (zh) * 2022-11-24 2024-05-03 中国联合网络通信集团有限公司 网络连通性检测方法、装置及存储介质

Also Published As

Publication number Publication date
CN105791074A (zh) 2016-07-20

Similar Documents

Publication Publication Date Title
WO2016101444A1 (zh) 一种建立pw链路的方法及装置
EP2878105B1 (en) System and method using rsvp hello suppression for graceful restart capable neighbors
KR100693059B1 (ko) Mpls 기반의 vpn 제공 장치 및 방법
US10250459B2 (en) Bandwidth on-demand services in multiple layer networks
EP3113417B1 (en) Method and device for determining to establish multi-protocol label switching traffic engineering tunnel
CN111492627B (zh) 为不同应用建立不同隧道的基于控制器的服务策略映射
EP2319209B1 (en) Methods for establishing a traffic connection and an associated monitoring connection
EP2701342A1 (en) Method and system for implementing elastic network interface and interconnection
CN102263699B (zh) 一种应用于mpls tp的负载均衡实现方法及其装置
US11563680B2 (en) Pseudo wire load sharing method and device
WO2009056034A1 (fr) Procédé, système et équipement pour établir une détection bfd pour un tunnel lsp
WO2018233580A1 (zh) 一种网络中建立转发路径的方法、控制器及系统
WO2015010518A1 (zh) 确定业务传输路径的方法、装置及系统
CN103026663B (zh) 分布式连通性验证协议冗余
EP2689563B1 (en) Use of sub path maintenance elements (spmes) for multiprotocol label switching (mpls) shared mesh protection
EP2319210B1 (en) Methods for establishing a traffic connection and an associated monitoring connection
WO2012065466A1 (zh) 一种包交换网络中聚合链路带宽的分配方法及装置
US9596176B2 (en) Pseudowire selection in a pseudowire redundancy network
WO2012103729A1 (zh) 隧道配置方法及装置
CN111885630B (zh) 数据传输方法及通信装置
CN105119795A (zh) 一种组播隧道的建立方法及装置
CN106856446B (zh) 用于提高虚拟网络可靠性的方法和系统
WO2024104171A1 (zh) 一种资源配置方法和装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15871521

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15871521

Country of ref document: EP

Kind code of ref document: A1