CN111865798B - Method and system for realizing MPLS-TP dual-homing protection of AC side message communication of main and auxiliary nodes - Google Patents

Method and system for realizing MPLS-TP dual-homing protection of AC side message communication of main and auxiliary nodes Download PDF

Info

Publication number
CN111865798B
CN111865798B CN202010610722.4A CN202010610722A CN111865798B CN 111865798 B CN111865798 B CN 111865798B CN 202010610722 A CN202010610722 A CN 202010610722A CN 111865798 B CN111865798 B CN 111865798B
Authority
CN
China
Prior art keywords
node
auxiliary
main
message
main node
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202010610722.4A
Other languages
Chinese (zh)
Other versions
CN111865798A (en
Inventor
徐可
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Information And Communication Technology Group Co ltd
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
China Information And Communication Technology Group Co ltd
Fiberhome Telecommunication Technologies Co Ltd
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 China Information And Communication Technology Group Co ltd, Fiberhome Telecommunication Technologies Co Ltd filed Critical China Information And Communication Technology Group Co ltd
Priority to CN202010610722.4A priority Critical patent/CN111865798B/en
Publication of CN111865798A publication Critical patent/CN111865798A/en
Application granted granted Critical
Publication of CN111865798B publication Critical patent/CN111865798B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing

Abstract

A realization method of MPLS-TP dual-homing protection main and auxiliary node AC side message communication relates to the MPLS-TP network service protection field, a management PW associated with a pseudo wire dual-homing protection system is arranged between a main node and an auxiliary node, and after AC side message messages are configured, the AC side message messages are transmitted between the main node and the auxiliary node through the management PW to realize the switching of the main and auxiliary nodes. Compared with the prior art, the AC side data interaction mechanism between the dual-homed main and auxiliary nodes fills the blank of the AC side communication scheme of the dual-homed main and auxiliary nodes, the management PW supports the superposition with tunnel protection, ring network protection or port protection, the additional protection of the AC communication channel for the dual-homed main and auxiliary nodes is realized, the configuration mode is simple, and the application requirements under various different protection configuration modes can be met.

Description

Method and system for realizing MPLS-TP dual-homing protection of AC side message communication of main and auxiliary nodes
Technical Field
The invention relates to the field of MPLS-TP (Transport Profile for MPLS, multiprotocol label switching-Transport architecture) network service protection, in particular to a method and a system for realizing message communication at an AC (Access Controller) side of an MPLS-TP dual-homing protection main and auxiliary node.
Background
An Operation, Administration and Maintenance (OAM) mechanism for transmitting concepts is added to the MPLS-TP Network on the basis of multi-Protocol label switching, the MPLS-TP Network is a general label switching technology for avoiding unnecessary processing of Internet Protocol (IP) addresses, powerful OAM functions and a multi-layer label processing mechanism provide powerful guarantee for realizing Network reliability, and the technology is widely applied to PTN (Packet Transport Network) transmission networks.
With the continuous increase of network capacity and the increasingly complex networking situation, the end-to-end protection mode is difficult to meet the complex protection scene requirements, and protection mechanisms for supporting node power failure, such as protection superposition or ring protection, gradually introduced by operators all have certain application limitations. Firstly, the existing network access nodes form a ring, the chaining condition is more, the topology is complex, and many existing networks cannot be configured with ring network protection or can form a ring only by needing a large engineering transformation amount. Secondly, when the number of nodes on the ring is large, the requirement of carrier class 50 milliseconds is difficult to be met in practical application, and the risk of switching timeout exists.
The dual homing protection based on PW (Pseudo Wire) technology can solve the above problems well, aiming at CE (Customer Edge device),/RNC (Radio Network Controller ) and dual PE (Provider Edge router) node docking scenarios in operator applications, or dual node two-layer service to three-layer service bridging scenarios, generally completing the protection function for lines and nodes through dual homing protection, currently, the MPLS-TP dual homing protection standard based on RFC8184/8185 has become the reference standard for dual homing protection in the SPN (Slicing Packet Network) technical specification, but this standard only describes the switching state communication mechanism in the Network, does not describe the dual-master-slave node AC side message communication mechanism, and can not complete the coordination of master and slave node states in the Network when AC side failure or AC side issuing control command, thereby realizing MPLS-TP dual-homing protection based on RFC 8184/8185.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a method and a system for realizing MPLS-TP dual-homing protection of AC side message communication of main and auxiliary nodes.
The invention provides a realization method of MPLS-TP dual-homing protection main and auxiliary node AC side message communication, which comprises the following steps:
configuring a management PW associated with the pseudo wire dual-homing protection system between the main node and the auxiliary node; the management PW is a static PW, and the management PW does not undertake the dual-homing service;
when the main node receives a switching signal, configuring a field corresponding to an AC interface type in a control information part in an AC side message, sending the AC side message to the auxiliary node through the management PW, carrying out switching preparation by the auxiliary node according to the AC side message, and switching a forwarding path of data into a mode of forwarding the data to a user side node through the auxiliary node after the main node receives the data sent by a network side node;
when the main node receives a recovery signal, configuring a field corresponding to an AC interface type in control information in an AC side message, and sending the AC side message to the auxiliary node through the management PW, wherein after the auxiliary node receives data sent by the network side node, a forwarding path of the data is switched to forward the data to the user side node through the main node;
the AC message carries specific AC side information data in a form of TLV (Type-Length-value), different types of AC side interfaces are distinguished through the value of Type in the AC side information data, and each Type of AC interface corresponds to a Type value.
Preferably, the encapsulation process of the AC side message is as follows:
packaging the label for managing the PW;
packaging the ACH frame header, wherein the DHC Channel Type value of the ACH frame header is 0x 9;
packaging the double-homing protection group ID of the line double-homing protection system;
packaging and carrying specific AC side information data in a TLV (Type-Length-value) mode, and distinguishing different types of AC side interfaces according to the value of Type in the AC side information data, wherein each Type of AC interface corresponds to a Type value;
and encapsulating the control information.
Preferably, when the AC side interface is an ETH port, the forwarding direction of the master node in a normal state is NNI-AC;
when the main node receives the switching signal, the main node configures an AC side message and fills a Port 1 Link State field of control information into a first numerical value, the main node sends the AC side message to the auxiliary node through the management PW and changes the forwarding direction of the main node into NNI-DNI, and the auxiliary node sets the forwarding direction of the auxiliary node into DNI-AC after receiving the AC side message;
when the main node receives the recovery signal, the main node configures an AC side message and fills a Port 1 Link State field in control information into a second numerical value, the first numerical value is different from the second numerical value, the main node sends the AC side message to the auxiliary node through the management PW, the auxiliary node performs switchback at preset time according to a local return type after receiving the AC side message, and the main node changes a forwarding direction into NNI-AC after receiving a switchback signal fed back by the auxiliary node.
Preferably, when the AC side interface is an ETH port, the implementation method further includes configuring an OAM/BFD detection means for the AC side interface in advance;
and when the main node configures the message at the AC side, filling the latest detection result of OAM/BFD into a Port 1 Bfd/Oam State field in the control information.
Preferably, when the AC side interface is an LAG port, the forwarding direction of the master node in a normal state is NNI-AC;
when the main node receives the switching signal, the main node configures an AC side message, fills the State of each LAG member interface into a Port 1 Link State field in control information, fills the State of the LAG interface into the LAG State field in the control information, sends the AC side message to the auxiliary node through the main node through the management PW, changes the forwarding direction of the main node into NNI-DNI, and sets the forwarding direction of the auxiliary node as DNI-AC after the auxiliary node receives the AC side message;
when the main node receives the recovery signal, the main node configures an AC side message, fills the State of each LAG member interface into a Port 1 Link State field in control information, fills the State of the LAG interface into the LAG State field in the control information, sends the AC side message to the auxiliary node through the management PW, and switches back according to the local return type in preset time after the auxiliary node receives the AC side message, and changes the forwarding direction into NNI-AC after the main node receives a switch-back signal fed back by the auxiliary node.
Preferably, when the AC-side interface is a LAG port, the implementation method further includes configuring an OAM/BFD detection means for the AC-side interface in advance;
and when the main node configures the message at the AC side, filling the latest detection result of the OAM/BFD into the LAG State field in the control information.
Preferably, when the AC side interface is an STM-N port, the forwarding direction of the master node in a normal state is NNI-AC;
when the main node receives the switching signal, the main node configures an AC side message, STM-N Rs/Ms/Port Alarm fields in control information are filled with a third numerical value, K1K2 fields are not filled, the main node sends the AC side message to the auxiliary node through the management PW, the forwarding direction of the main node is changed into NNI-DNI, the auxiliary node sets the forwarding direction of the auxiliary node to DNI-AC after receiving the AC side message, and if a K1K2 protocol is enabled, the auxiliary node feeds back the AC side message to the main node after filling the received K1K2 into a K1K2 field in the control information;
when the main node receives the recovery signal, the main node configures an AC side message and fills an STM-N Rs/Ms/Port Alarm field in control information into a fourth numerical value, the third numerical value is different from the fourth numerical value, the main node sends the AC side message to the auxiliary node through the management PW, the auxiliary node performs switchback according to a local return type in preset time after receiving the AC side message, the main node changes a forwarding direction into NNI-AC after receiving a switchback signal fed back by the auxiliary node, and if a K1K2 protocol is enabled, the auxiliary node combines the local return type and the received K1K2 to process to obtain preset time.
Preferably, when the AC side interface is a virtual logical port, the forwarding direction of the host node in a normal state is NNI-AC;
when the main node receives the switching signal, the main node configures an AC side message, fills a Link State field of control information into a fifth numerical value, sends the AC side message to the auxiliary node through the management PW, changes the forwarding direction of the main node into NNI-DNI, and sets the forwarding direction of the auxiliary node into DNI-AC after the auxiliary node receives the AC side message;
when the main node receives the recovery signal, the main node configures an AC side message and fills Link State in control information into a sixth numerical value, the main node sends the AC side message to the auxiliary node through the management PW, the auxiliary node performs back-switching at preset time according to a local return type after receiving the AC side message, and the main node changes a forwarding direction into NNI-AC after receiving a back-switching signal fed back by the auxiliary node;
the virtual logical ports include VE, PVE and FLEXE TUNNEL.
Preferably, the implementation method further includes:
overlapping tunnel protection on the outer layer of the management PW; or
And overlapping NNI-LAG on the outer layer of the management PW.
The invention also provides a realization system of the MPLS-TP dual-homing protection main and auxiliary node AC side message communication, the system comprises a pseudo wire dual-homing protection system and a management PW associated with the pseudo wire dual-homing protection system, a main node of the pseudo wire dual-homing protection system is connected with an auxiliary node of the pseudo wire dual-homing protection system through the management PW, the control information comprises a field corresponding to the AC interface type through configuring an AC side message containing the control information, and the AC side message is transmitted between the main node and the auxiliary node through the management PW to realize the switching of the main node and the auxiliary node;
the management PW is a static PW, and the management PW does not undertake the dual-homing service;
the AC message carries specific AC side information data in a form of TLV (Type-Length-value), different types of AC side interfaces are distinguished through the value of Type in the AC side information data, and each Type of AC interface corresponds to a Type value.
The invention has the beneficial effects that:
1. the establishment of the management PW fills a gap of an AC state main and auxiliary node mutual transmission mechanism in the RFC8184/8185 standard, so that the RFC8184/8185 can support the main and auxiliary node cooperative switching when an AC side fails.
2. The establishment process of the managed PW is similar to that of the ordinary PW, only the double-homing protection group needs to be associated after the establishment is completed, the configuration process is simple, detection mechanisms such as TPOAM/BFD and the like can be configured for the managed PW, the DNI-PW in the double-homing protection group can multiplex the TPOAM/BFD example of the managed PW, and TPOAM/BFD detection does not need to be established for each DNI-PW, so that the system overhead is reduced.
3. The AC message of the main node and the auxiliary node adopts the ACH frame header plus TLV form, the forwarding realization of the message receiving and sending process can keep the same process as RFC8184/8185, and the realization is simpler and more convenient.
4. The method adopts a PW management mode to bear the AC message communication messages of the main and auxiliary nodes, distinguishes the dual-homing service PW messages from the AC message messages on a PW label layer, can not delete the management PW even after the service PW and TPOAM/BFD thereof are dynamically deleted under the scene that the service is borne by the dynamic PW, can also keep the message communication at the AC side of the main and auxiliary nodes uninterrupted, and simultaneously supports the superposition tunnel protection, the ring network protection, the port protection and the like, and has extremely high reliability.
5. The information of the AC side of the main node and the auxiliary node is distinguished from the TPOAM/BFD in message format, so that the message is easier to filter, fault location is facilitated, and maintainability is stronger.
Drawings
Fig. 1 is a configuration model diagram of a pseudo-wire dual homing protection system according to a first embodiment of the present invention.
Fig. 2 is a message format of an AC side message according to a first embodiment of the present invention.
Fig. 3 shows AC side message formats when the AC side interface is an ETH port according to the second embodiment of the present invention and when the AC side interface is an LAG port according to the third embodiment of the present invention.
Fig. 4 is a diagram illustrating an AC side message format when an AC side interface is an STM-N port according to a fourth embodiment of the present invention.
Fig. 5 is a diagram illustrating an AC side message format when an AC side interface is a virtual logical port according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
The existing pseudo wire dual-homing protection group comprises a main node, an auxiliary node, a network side node and a user side node, wherein one side of the main node and the auxiliary node is a network side (namely NNI side), the other side of the main node and the auxiliary node is a user side (namely AC side), and the DNI side is arranged between the main node and the auxiliary node. And the network side node is connected with the main node through the working PW and is connected with the auxiliary node through the protection PW. The user side node is connected with the main node through the main AC link and is connected with the auxiliary node through the auxiliary AC link. And the primary node and the secondary node are connected through DNI-PW. Since the current RFC 8184/8185-based MPLS-TP dual homing protection standard does not describe a mechanism for communicating messages at the AC side of the main and auxiliary nodes, and cannot complete the coordination of the switching states of the main and auxiliary nodes in the network when a failure occurs at the AC side or an AC side switching control command is issued, a channel needs to be established for the communication of the messages at the AC side of the main and auxiliary nodes.
Example one
This embodiment provides a method for implementing MPLS-TP dual-homing protection of AC-side message communication of a primary node and an auxiliary node, as shown in fig. 1-2, the method includes:
a static PW is established between a main node and an auxiliary node as a management PW, an AC side interface of the static PW is a virtual interface, and the management PW does not bear any service and only serves as a communication channel of messages at the AC sides of the main node and the auxiliary node.
After the management PW is established, a dual-homing protection group is established and associated to the dual-homing protection group, the same management PW can only belong to one dual-homing protection group at the same time, for example, n DNI-PWs used for bearing services in the dual-homing protection group described by RFC8184/8185 are provided, 1 management PW is additionally established, and at the moment, n +1 PWs exist on a transverse connection path between the main node and the auxiliary node.
And configuring service PWs and DNI-PWs thereof one by one, and designating a dual-homing protection group to which the service PWs belong, wherein the service PWs comprise working PWs between a service side node and a main node and protection PWs between the service side node and an auxiliary node. Specifically, referring to fig. 1, in the dual homing protection group, one side of the primary node PE2 and the secondary node PE3 is a network side (i.e., NNI side), and a network side node PE1 is provided, and the other side is a user side (i.e., AC side), and a user side node CE is provided. A DNI side is arranged between the main node PE2 and the auxiliary node PE 3. The network side node PE1 connects the primary node PE2 with a working PW group including a plurality of working PWs, and connects the secondary node PE3 with a protection PW group including a plurality of protection PWs. The user side node CE is connected to the master node PE2 through the primary AC link, and is connected to the slave node PE3 through the slave AC link. The primary node PE2 connects to the secondary node PE3 through a DNI-PW group consisting of a plurality of DNI-PWs.
The main nodes and the auxiliary nodes bear the received and transmitted AC side message through the management PW, and the protection switching operation between the main nodes and the auxiliary nodes is controlled by configuring the management information part in the AC side message. The method for encapsulating the AC side message includes encapsulating a label for managing a PW, encapsulating an ACH frame header (the Channel Type of which is 0x9 and is the same as the DHC message described in RFC 8184/8185), encapsulating a 4-byte dual homing protection group ID, encapsulating specific AC side information data in a TLV format, and encapsulating control information.
When a network side fails, a user side fails or an AC side switching control command is received, the main node receives a switching signal. And then, the master node configures control information and sends an AC side message to the auxiliary node through a management PW, the auxiliary node performs switching preparation, after receiving data sent by the network side node, the master node switches a forwarding path of the data from forwarding to the main AC link to forwarding to the auxiliary node, and the auxiliary node forwards the data to the user side node. Wherein, the dual-homing master and slave nodes can respectively set the PW forwarding paths of the nodes according to the switching mechanism described in RFC 8184/8185. For example, the forwarding direction of the master node in a normal state is NNI-AC, after the master node receives the switching signal, an AC side message packet is configured and sent to the slave node, and when the master node sends the AC side message packet, the forwarding direction should be changed from the original NNI-AC to NNI-DNI. After the auxiliary node receives the message from the AC side, the forwarding direction of the auxiliary node is set as DNI-AC, and the forwarding path of the service at the dual-home main and auxiliary nodes is as follows: the main node NNI-main node DNI-auxiliary node is consistent with the switching state described by RFC 8184/8185.
When a network side fault is recovered, a user side fault is recovered, or an AC side switching recovery control command is received, the main node receives a recovery signal. And then the main node configures control information and sends an AC side message to the auxiliary node through a management PW, the auxiliary node performs back-cut at preset time according to a local return type after receiving the AC side message, and the main node changes the forwarding direction into NNI-AC after receiving a back-cut signal fed back by the auxiliary node. Wherein, the dual-homing master and slave nodes can respectively set the PW forwarding paths of the nodes according to the switching mechanism described in RFC 8184/8185. When the switching or switching recovery conversion occurs, the message at the AC side is immediately sent.
In this embodiment, the establishment of the management PW fills a gap in the RFC8184/8185 standard for the AC state master-slave node mutual transmission mechanism, so that the RFC8184/8185 can support the cooperative switching of the master-slave nodes when an AC side fails or when an AC side switching control command is issued. The establishing process of the management PW is similar to that of the common PW, only the dual homing protection group needs to be associated after the establishment is finished, and the configuration process is simple. The AC message of the main and auxiliary nodes adopts the ACH frame header plus TLV form, the forwarding of the message receiving and transmitting process can keep the same process as RFC8184/8185, and the realization is simpler and more convenient.
Example two
On the basis of the first embodiment, taking an AC side interface as a single ETH port as an example, and the forwarding direction of the master node in a normal state is NNI-AC, as shown in fig. 3, the implementation method of MPLS-TP dual-homing protection for AC side message communication of the primary and secondary nodes is as follows:
when the main node receives the switching signal, the main node configures an AC side message and fills a Port 1 Link State field of a control information part of the AC side message into a first numerical value, the main node sends the AC side message to the auxiliary node through a management PW, the main node also changes a forwarding direction into NNI-DNI when sending the AC side message to the auxiliary node, the auxiliary node sets the forwarding direction of the auxiliary node into DNI-AC after receiving the AC side message, and a forwarding path of a service at the double-home-auxiliary node is the main node NNI-main node DNI-auxiliary node, and is consistent with a switching State described by RFC 8184/8185.
When the main node receives the recovery signal, the main node configures an AC side message and fills a Port 1 Link State field of a control information part of the AC side message into a second numerical value, the main node sends the AC side message to the auxiliary node through a management PW, the auxiliary node performs backward switching at preset time according to a local return type after receiving the AC side message, and the main node changes a forwarding direction into NNI-AC after receiving a backward switching signal fed back by the auxiliary node. The first value and the second value are different.
Further, an OAM/BFD detection means may be arranged in advance in the AC side port. When the main node receives the switching signal and configures an AC side message to be sent to the auxiliary node, the main node also fills the detection result of OAM/BFD into a Port 1 Bfd/Oam State field of a control information part in the AC side message. And after the auxiliary node receives the AC side message, if an alarm exists in the OAM/BFD state or the port state field, setting the PW forwarding direction as DNI-AC.
When the main node receives the recovery signal and configures an AC side message to be sent to the auxiliary node, the main node also fills the latest detection result of OAM/BFD into a Port 1 Bfd/Oam State field of a control information part in the AC side message, and sends the updated AC side message to the auxiliary node, and after receiving the updated AC side message, the auxiliary node waits for the recovery time to judge the switching-back time according to the local return type.
According to the technical scheme, when the information data of the AC side is packaged and carried, different types of the AC side interfaces are distinguished through the value of the Type in the information data of the AC side, and each Type of the AC interface corresponds to one Type value, so that the communication message carried in the AC side message communication channel of the main node and the auxiliary node can cover various AC interface types to meet the requirements of different networking scenes. Specifically, in this embodiment, if the AC side port is an ETH port, the Type is set to 0xa1, so as to cover the ETH port Type. In this embodiment, by configuring detection mechanisms such as TPOAM/BFD for the managed PW, the DNI-PW in the dual homing protection group may multiplex the TPOAM/BFD instance of the managed PW, and it is not necessary to establish TPOAM/BFD detection for each DNI-PW, thereby reducing system overhead. The information of the AC side of the main node and the auxiliary node is distinguished from the TPOAM/BFD in message format, so that the message is easier to filter, fault location is facilitated, and maintainability is stronger.
EXAMPLE III
On the basis of the first embodiment, taking an AC side interface as an LAG port as an example, and the forwarding direction of the master node in a normal state is NNI-AC, as shown in fig. 3, an implementation method of MPLS-TP dual-homing protection for AC side message communication of the master and slave nodes is as follows:
when the main node receives the switching signal, the main node configures an AC side message, fills the State of each LAG member interface to a Port 1 Link State field of a control information part in the AC side message, fills the State of each LAG member interface to a LAG State field of the control information part in the AC side message, sends the AC side message to the auxiliary node through a management PW, changes the forwarding direction to NNI-DNI when the main node sends the AC side message to the auxiliary node, sets the forwarding direction of the auxiliary node to be DNI-AC after the auxiliary node receives the AC side message, and sets the forwarding path of the service at the double-homed auxiliary node to be the main node NNI-DNI-auxiliary node, which is consistent with the switching State described in RFC 8184/8185. Here, after the secondary node receives the AC side message, if the LAG port itself has a failure, it considers that the AC side of the primary node has a failure, which is the same as the processing mode when a single ETH port is used as the AC side. If the LAG port has no fault but part of the LAG member ports have faults, judging whether the number of the fault-free LAG member ports is smaller than the minimum number of the activated members, if so, considering that the AC side of the main node has faults, and entering protection switching action processing.
When the main node receives the recovery signal, the main node configures an AC side message, fills the State of each LAG member interface to a Port 1 Link State field of a control information part in the AC side message, fills the State of each LAG member interface to a LAG State field of the control information part in the AC side message, sends the AC side message to the auxiliary node through a management PW, performs back switching at preset time according to a local return type after the auxiliary node receives the AC side message, and changes the forwarding direction to NNI-AC after the main node receives a back switching signal fed back by the auxiliary node.
Further, an OAM/BFD detection means may be arranged in advance in the AC side port. And when the main node receives the switching signal and configures an AC side message to be sent to the auxiliary node, the main node also needs to fill the OAM/BFD State associated with the LAG into the LAG BFD/Oam State field of the control information part in the AC side message. And after the auxiliary node receives the AC side message, if an alarm exists in the OAM/BFD state or the port state field, setting the PW forwarding direction as DNI-AC.
When the main node receives the recovery signal, the main node configures an AC side message to be sent to the auxiliary node, the OAM/BFD State associated with the LAG is filled into an LAG BFD/Oam State field of a control information part in the AC side message, the updated AC side message is sent to the auxiliary node, the auxiliary node performs switching back at a preset time according to a local return type after receiving the updated AC side message, and the main node changes a forwarding direction to NNI-AC after receiving a switching back signal fed back by the auxiliary node.
According to the technical scheme, when the information data of the AC side is packaged and carried, different types of the AC side interfaces are distinguished through the value of the Type in the information data of the AC side, and each Type of the AC interface corresponds to one Type value, so that the communication message carried in the AC side message communication channel of the main node and the auxiliary node can cover various AC interface types to meet the requirements of different networking scenes. Specifically, in this embodiment, if the AC-side port is an LAG port, the Type is set to 0xa1, so as to cover the LAG port Type. In this embodiment, by configuring detection mechanisms such as TPOAM/BFD for the managed PW, the DNI-PW in the dual homing protection group may multiplex the TPOAM/BFD instance of the managed PW, and it is not necessary to establish TPOAM/BFD detection for each DNI-PW, thereby reducing system overhead. The information of the AC side of the main node and the auxiliary node is distinguished from the TPOAM/BFD in message format, so that the message is easier to filter, fault location is facilitated, and maintainability is stronger.
Example four
On the basis of the first embodiment, taking an AC side interface as an STM-N port as an example, and the forwarding direction of the master node in a normal state is NNI-AC, as shown in fig. 4, an implementation method of MPLS-TP dual homing protection for AC side message communication of the master and slave nodes is as follows:
when the main node receives the switching signal, the main node configures an AC side message, STM-N Rs/Ms/Port Alarm fields of a control information part in the AC side message are filled to be a third numerical value, K1K2 fields are not filled, the main node sends the AC side message to the auxiliary node through management PW, the main node changes the forwarding direction to NNI-DNI when sending the AC side message to the auxiliary node, after receiving the AC side message, the auxiliary node sets the forwarding direction of the auxiliary node to be DNI-AC, if a K1K2 protocol is enabled, the auxiliary node also fills the received K1K2 to the K1K2 fields in the control information and feeds back the AC side message to the main node, and at the moment, the forwarding path of the service at the dual-home and auxiliary nodes is the NNI-main node DNI-auxiliary node, consistent with the switch state described in RFC 8184/8185.
When the main node receives the recovery signal, the main node configures an AC side message and fills an STM-N Rs/Ms/Port Alarm field of a control information part of the AC side message into a fourth numerical value, the main node sends the AC side message to the auxiliary node through a management PW, the auxiliary node performs backward switching at preset time according to a local return type after receiving the AC side message, the main node changes a forwarding direction into NNI-AC after receiving a backward switching signal fed back by the auxiliary node, and if a K1K2 protocol is enabled, the auxiliary node combines the local return type and the received K1K2 to process to obtain the preset time. The third value and the fourth value are different.
According to the technical scheme, when the information data of the AC side is packaged and carried, different types of the AC side interfaces are distinguished through the value of the Type in the information data of the AC side, and each Type of the AC interface corresponds to one Type value, so that the communication message carried in the AC side message communication channel of the main node and the auxiliary node can cover various AC interface types to meet the requirements of different networking scenes. Specifically, in this embodiment, if the AC side port is an STM-N port, the Type is set to 0xa2, thereby covering the STM-N port Type.
EXAMPLE five
On the basis of the first embodiment, taking the AC side interface as the virtual logical port as an example, since the UP/DOWN state of the virtual port cannot be directly associated with a certain physical port, other software/hardware modules in the device are required to determine the UP/DOWN state and notify the UP/DOWN state to the dual-homing protection group of the primary and secondary nodes, and a specific determination mechanism thereof is the prior art. In a normal state, the forwarding direction of the master node is NNI-AC, and as shown in fig. 5, the method for implementing the MPLS-TP dual-homing protection of the message communication at the AC side of the master and slave nodes is as follows:
when the main node receives the switching signal, the main node configures an AC side message and fills a Link State field in a control information part of the AC side message into a fifth numerical value, the main node sends the AC side message to the auxiliary node through a management PW, the main node also needs to change the forwarding direction to NNI-DNI when sending the AC side message to the auxiliary node, the auxiliary node sets the forwarding direction of the auxiliary node to DNI-AC after receiving the AC side message, and the forwarding path of the service at the dual-home main and auxiliary node is the main node NNI-main node DNI-auxiliary node, and is consistent with the switching State described in RFC 8184/8185.
When the main node receives the recovery signal, the main node configures an AC side message and fills a Link State of a control information part of the AC side message into a sixth numerical value, the main node sends the AC side message to the auxiliary node through a management PW, the auxiliary node performs backward switching at preset time according to a local return type after receiving the AC side message, and the main node changes a forwarding direction into NNI-AC after receiving a backward switching signal fed back by the auxiliary node. The fifth numerical value is different from the sixth numerical value.
The types of the virtual logical ports include VE, PVE, FLEXE TUNNEL, and the like.
According to the technical scheme, when the information data of the AC side is packaged and carried, different types of the AC side interfaces are distinguished through the value of the Type in the information data of the AC side, and each Type of the AC interface corresponds to one Type value, so that the communication message carried in the AC side message communication channel of the main node and the auxiliary node can cover various AC interface types to meet the requirements of different networking scenes. Specifically, in this embodiment, if the AC side port is a virtual logical port, the Type is set to 0xa3, so as to cover the virtual logical port Type.
Example six
On the basis of the first embodiment, since the forwarding flow of the management PW is the same as that of the service bearer PW, a tunnel protection LSP1:1 or NNI-LAG may be superimposed on the outer layer of the management PW. And when the main node and the auxiliary node are in a fault, the management PW enters a standby LSP tunnel. When the LSP1:1 primary path is restored, the management PW returns to the original traverse path. Other network side fault switching scenarios the same as those of RFC8184/8185 are not described in detail.
The PW is managed as a main node and auxiliary node AC side message communication channel, under the scene that the channel between the main node and the auxiliary node has fault hidden danger, the channel supports the protection of a superposition tunnel, the protection of a ring network, the protection of a port and the like, and when an outer link fault occurs, the channel can be switched to a standby path, so that the main node and auxiliary node AC side message communication channel has higher reliability.
Furthermore, detection mechanisms such as TPOAM/BFD and the like can be configured for the managed PW, the DNI-PW in the dual-homing protection group can multiplex TPOAM/BFD examples of the managed PW, and TPOAM/BFD detection does not need to be established for each DNI-PW, so that the system overhead is reduced.
The method adopts a PW management mode to bear the AC message communication messages of the main and auxiliary nodes, distinguishes the double-homing service PW messages and the AC side message messages on a PW label layer, and can not delete the management PW even after the service PW and TPOAM/BFD thereof are dynamically deleted under the scene that the service is borne by the dynamic PW, and also can keep the AC side message communication of the main and auxiliary nodes from being interrupted.
The information of the AC side of the main node and the auxiliary node is distinguished from the TPOAM/BFD in message format, so that the message is easier to filter, fault location is facilitated, and maintainability is stronger.
EXAMPLE seven
On the basis of the first to sixth embodiments, this embodiment provides a system for implementing MPLS-TP dual homing protection of AC side message communication of a primary node and a secondary node, as shown in fig. 1, where the system includes a pseudo wire dual homing protection system and a management PW associated with the pseudo wire dual homing protection system, a primary node of the pseudo wire dual homing protection system connects to the secondary node of the pseudo wire dual homing protection system through the management PW, and switches between the primary node and the secondary node by configuring an AC side message including control information and transmitting the AC side message between the primary node and the secondary node through the management PW.
When a network side fails, a user side fails or an AC side switching control command is received, the main node receives a switching signal. And then, the master node configures control information and sends an AC side message to the auxiliary node through a management PW, the auxiliary node performs switching preparation, after receiving data sent by the network side node, the master node switches a forwarding path of the data from forwarding to the main AC link to forwarding to the auxiliary node, and the auxiliary node forwards the data to the user side node. Wherein, the dual-homing master and slave nodes can respectively set the PW forwarding paths of the nodes according to the switching mechanism described in RFC 8184/8185. For example, the forwarding direction of the master node in a normal state is NNI-AC, after the master node receives the switching signal, an AC side message packet is configured and sent to the slave node, and when the master node sends the AC side message packet, the forwarding direction should be changed from the original NNI-AC to NNI-DNI. After the auxiliary node receives the message from the AC side, the forwarding direction of the auxiliary node is set as DNI-AC, and the forwarding path of the service at the dual-home main and auxiliary nodes is as follows: the main node NNI-main node DNI-auxiliary node is consistent with the switching state described by RFC 8184/8185.
When a network side fault is recovered, a user side fault is recovered, or an AC side switching recovery control command is received, the main node receives a recovery signal. And then the main node configures control information and sends an AC side message to the auxiliary node through a management PW, the auxiliary node performs back-cut at preset time according to a local return type after receiving the AC side message, and the main node changes the forwarding direction into NNI-AC after receiving a back-cut signal fed back by the auxiliary node. Wherein, the dual-homing master and slave nodes can respectively set the PW forwarding paths of the nodes according to the switching mechanism described in RFC 8184/8185.
The message at the AC side is sent at the rate of 1 frame per second when the message is not changed, and is continuously sent for 3 frames at the interval of 3.3ms when the switching or the switching recovery is changed.
In this embodiment, the establishment of the management PW fills a gap in the RFC8184/8185 standard for the AC state master-slave node mutual transmission mechanism, so that the RFC8184/8185 can support the cooperative switching of the master-slave nodes when an AC side fails or when an AC side switching control command is issued. The establishing process of the management PW is similar to that of the common PW, only the dual homing protection group needs to be associated after the establishment is finished, and the configuration process is simple. The AC message of the main and auxiliary nodes adopts the ACH frame header plus TLV form, the forwarding of the message receiving and transmitting process can keep the same process as RFC8184/8185, and the realization is simpler and more convenient.
Further, when the AC side of the auxiliary node fails, the AC side message packet of the main and auxiliary nodes is also updated and sent, the operation when the AC side of the auxiliary node fails (or when an AC side switching control command is received) is the same as the operation when the AC side of the main node fails (or when an AC side switching control command is received), and the main and auxiliary nodes all set the switching action according to the latest state of the AC side according to the switching state described in RFC 8184/8185.
The present invention is not limited to the above-described embodiments, and it will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and such modifications and improvements are also considered to be within the scope of the present invention. Those not described in detail in this specification are within the skill of the art.

Claims (10)

1. A realization method for MPLS-TP dual homing protection of message communication at the AC side of a main node and an auxiliary node is characterized in that the realization method comprises the following steps:
configuring a management PW associated with the pseudo wire dual-homing protection system between the main node and the auxiliary node; the management PW is a static PW, and the management PW does not undertake the dual-homing service;
when the main node receives a switching signal, configuring a field corresponding to an AC interface type in a control information part in an AC side message, sending the AC side message to the auxiliary node through the management PW, carrying out switching preparation by the auxiliary node according to the AC side message, and switching a forwarding path of data into a mode of forwarding the data to a user side node through the auxiliary node after the main node receives the data sent by a network side node;
when the main node receives a recovery signal, configuring a field corresponding to an AC interface type in control information in an AC side message, and sending the AC side message to the auxiliary node through the management PW, wherein after the auxiliary node receives data sent by the network side node, a forwarding path of the data is switched to forward the data to the user side node through the main node;
the AC message side message carries specific AC side information data in a TLV (Type-Length-value) form, different types of AC side interfaces are distinguished through the value of Type in the AC side information data, and each Type of AC interface corresponds to a Type value.
2. The method for implementing MPLS-TP dual homing protection of a primary and secondary node AC side message communication of claim 1, wherein: the packaging process of the message at the AC side comprises the following steps:
packaging the label for managing the PW;
packaging the ACH frame header, wherein the DHC Channel Type value of the ACH frame header is 0x 9;
packaging the double-homing protection group ID of the line double-homing protection system;
packaging and carrying specific AC side information data in a TLV (Type-Length-value) mode, and distinguishing different types of AC side interfaces according to the value of Type in the AC side information data, wherein each Type of AC interface corresponds to a Type value;
and encapsulating the control information.
3. The method for implementing MPLS-TP dual homing protection of a primary and secondary node AC side message communication of claim 1, wherein: when the AC side interface is an ETH port, the forwarding direction of the main node is NNI-AC in a normal state;
when the main node receives the switching signal, the main node configures an AC side message and fills a Port 1 Link State field in control information into a first numerical value, the main node sends the AC side message to the auxiliary node through the management PW and changes the forwarding direction of the main node into NNI-DNI, and the auxiliary node sets the forwarding direction of the auxiliary node into DNI-AC after receiving the AC side message;
when the main node receives the recovery signal, the main node configures an AC side message and fills a Port 1 Link State field in control information into a second numerical value, the first numerical value is different from the second numerical value, the main node sends the AC side message to the auxiliary node through the management PW, the auxiliary node performs switchback at preset time according to a local return type after receiving the AC side message, and the main node changes a forwarding direction into NNI-AC after receiving a switchback signal fed back by the auxiliary node.
4. The method for implementing MPLS-TP dual homing protection of a primary and secondary node AC side message communication of claim 3, wherein: when the AC side interface is an ETH port, the implementation method also comprises configuring an OAM/BFD detection means for the AC side interface in advance;
and when the main node configures the message at the AC side, filling the latest detection result of OAM/BFD into a Port 1 Bfd/Oam State field in the control information.
5. The method for implementing MPLS-TP dual homing protection of a primary and secondary node AC side message communication of claim 1, wherein: when the AC side interface is an LAG port, the forwarding direction of the main node is NNI-AC in a normal state;
when the main node receives the switching signal, the main node configures an AC side message, fills the State of each LAG member interface into a Port 1 Link State field in control information, fills the State of the LAG interface into the LAG State field in the control information, sends the AC side message to the auxiliary node through the main node through the management PW, changes the forwarding direction of the main node into NNI-DNI, and sets the forwarding direction of the auxiliary node as DNI-AC after the auxiliary node receives the AC side message;
when the main node receives the recovery signal, the main node configures an AC side message, fills the State of each LAG member interface into a Port 1 Link State field in control information, fills the State of the LAG interface into the LAG State field in the control information, sends the AC side message to the auxiliary node through the management PW, and switches back according to the local return type in preset time after the auxiliary node receives the AC side message, and changes the forwarding direction into NNI-AC after the main node receives a switch-back signal fed back by the auxiliary node.
6. The method for implementing MPLS-TP dual homing protection of a primary and secondary node AC side message communication of claim 5, wherein: when the AC side interface is the LAG port, the implementation method also comprises configuring an OAM/BFD detection means for the AC side interface in advance;
and when the main node configures the message at the AC side, filling the latest detection result of the OAM/BFD into the LAG State field in the control information.
7. The method for implementing MPLS-TP dual homing protection of a primary and secondary node AC side message communication of claim 1, wherein: when the AC side interface is an STM-N port, the forwarding direction of the main node is NNI-AC in a normal state;
when the main node receives the switching signal, the main node configures an AC side message, STM-N Rs/Ms/Port Alarm fields in control information are filled with a third numerical value, K1K2 fields are not filled, the main node sends the AC side message to the auxiliary node through the management PW, the forwarding direction of the main node is changed into NNI-DNI, the auxiliary node sets the forwarding direction of the auxiliary node to DNI-AC after receiving the AC side message, and if a K1K2 protocol is enabled, the auxiliary node feeds back the AC side message to the main node after filling the received K1K2 into a K1K2 field in the control information;
when the main node receives the recovery signal, the main node configures an AC side message and fills an STM-N Rs/Ms/Port Alarm field in control information into a fourth numerical value, the third numerical value is different from the fourth numerical value, the main node sends the AC side message to the auxiliary node through the management PW, the auxiliary node performs switchback according to a local return type in preset time after receiving the AC side message, the main node changes a forwarding direction into NNI-AC after receiving a switchback signal fed back by the auxiliary node, and if a K1K2 protocol is enabled, the auxiliary node combines the local return type and the received K1K2 to process to obtain preset time.
8. The method for implementing MPLS-TP dual homing protection of a primary and secondary node AC side message communication of claim 1, wherein: when the AC side interface is a virtual logic port, the forwarding direction of the main node is NNI-AC in a normal state;
when the main node receives the switching signal, the main node configures an AC side message, fills a Link State field in control information into a fifth numerical value, sends the AC side message to the auxiliary node through the management PW, changes the forwarding direction of the main node into NNI-DNI, and sets the forwarding direction of the auxiliary node into DNI-AC after the auxiliary node receives the AC side message;
when the main node receives the recovery signal, the main node configures an AC side message and fills a Link State in control information into a sixth numerical value, the fifth numerical value is different from the sixth numerical value, the main node sends the AC side message to the auxiliary node through the management PW, the auxiliary node performs backward switching at preset time according to a local return type after receiving the AC side message, and the main node changes a forwarding direction into NNI-AC after receiving a backward switching signal fed back by the auxiliary node;
the virtual logical ports include VE, PVE and FLEXE TUNNEL.
9. The method for implementing MPLS-TP dual homing protection of a primary and secondary node AC side message communication of claim 1, wherein: the implementation method further comprises the following steps:
overlapping tunnel protection on the outer layer of the management PW; or
And overlapping NNI-LAG on the outer layer of the management PW.
10. A realization system of MPLS-TP dual-homing protection main and auxiliary node AC side message communication is characterized in that the system comprises a pseudo wire dual-homing protection system and a management PW associated with the pseudo wire dual-homing protection system, a main node of the pseudo wire dual-homing protection system is connected with an auxiliary node of the pseudo wire dual-homing protection system through the management PW, the control information comprises a field corresponding to an AC interface type through configuring an AC side message containing control information, and the AC side message is transmitted between the main node and the auxiliary node through the management PW to realize the switching of the main node and the auxiliary node;
the management PW is a static PW, and the management PW does not undertake the dual-homing service;
the AC side message packet carries specific AC side information data in a TLV (Type-Length-value) form, different types of AC side interfaces are distinguished through the value of Type in the AC side information data, and each Type of AC interface corresponds to a Type value.
CN202010610722.4A 2020-06-29 2020-06-29 Method and system for realizing MPLS-TP dual-homing protection of AC side message communication of main and auxiliary nodes Active CN111865798B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010610722.4A CN111865798B (en) 2020-06-29 2020-06-29 Method and system for realizing MPLS-TP dual-homing protection of AC side message communication of main and auxiliary nodes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010610722.4A CN111865798B (en) 2020-06-29 2020-06-29 Method and system for realizing MPLS-TP dual-homing protection of AC side message communication of main and auxiliary nodes

Publications (2)

Publication Number Publication Date
CN111865798A CN111865798A (en) 2020-10-30
CN111865798B true CN111865798B (en) 2022-08-05

Family

ID=72988157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010610722.4A Active CN111865798B (en) 2020-06-29 2020-06-29 Method and system for realizing MPLS-TP dual-homing protection of AC side message communication of main and auxiliary nodes

Country Status (1)

Country Link
CN (1) CN111865798B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902353A (en) * 2009-05-31 2010-12-01 华为技术有限公司 Protecting method, device and system of packet network
CN102891759A (en) * 2012-10-19 2013-01-23 杭州晨晓科技有限公司 Multicast service ring protection method based on MPLS-TP (Multi-Protocol Label Switching-Transport Protocol) network
CN108075968A (en) * 2016-11-10 2018-05-25 中国移动通信集团广东有限公司 A kind of network system and pseudo-line service processing method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8553533B2 (en) * 2010-12-10 2013-10-08 Cisco Technology, Inc. System and method for providing improved failover performance for pseudowires
CN105656776B (en) * 2014-12-01 2020-03-27 中兴通讯股份有限公司 Pseudo wire dual-homing protection switching system, method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902353A (en) * 2009-05-31 2010-12-01 华为技术有限公司 Protecting method, device and system of packet network
CN102891759A (en) * 2012-10-19 2013-01-23 杭州晨晓科技有限公司 Multicast service ring protection method based on MPLS-TP (Multi-Protocol Label Switching-Transport Protocol) network
CN108075968A (en) * 2016-11-10 2018-05-25 中国移动通信集团广东有限公司 A kind of network system and pseudo-line service processing method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《Dual-Homing Coordination for MPLS Transport Profile(MPLS-TP)Pseudowires Protection》;W.Cheng等;《IETF8185》;20170630;第三章-第四章,附图1-5 *
W.Cheng等.《Dual-Homing Coordination for MPLS Transport Profile(MPLS-TP)Pseudowires Protection》.《IETF8185》.2017,1-17. *

Also Published As

Publication number Publication date
CN111865798A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
EP2498454B1 (en) Method, device and system for processing service traffic based on pseudo wires
CN102571426B (en) Double-homing protection method and device
CN102025646B (en) Link switching method and device thereof
US8179900B2 (en) Edge node redundant system in label switching network
CN101483558B (en) Method, system and apparatus for packet switching network access by network appliance
US8300523B2 (en) Multi-chasis ethernet link aggregation
EP2314022B1 (en) Establishing pseudowires in packet switching networks
CN101014035A (en) Reliability processing method and system of multi-service networking provided by metro Ethernet
CN100531136C (en) Method and system for transmitting message in virtual special network link fault
CN101924654B (en) Point-to-multipoint service-based path switching method and system
CN102025541A (en) Method and system for realizing multicast protection
CN101931520A (en) Switching method and system
CN102282805B (en) Method for service protection and access device
WO2012159489A1 (en) Switching method, system and dual homing provider device for pseudowire dual homing network
EP3182645B1 (en) Network protection switching method, network device and storage medium
CN101345686B (en) Processing method, apparatus and system of virtual special local area network service loop
CN103457817A (en) PW+L3VPN protection method and system
US20120269056A1 (en) Method, device, and system for protecting semi-ring network
CN111865798B (en) Method and system for realizing MPLS-TP dual-homing protection of AC side message communication of main and auxiliary nodes
CN103684831B (en) The guard method of L2TP network, apparatus and system
CN105897451A (en) OTN scheduling system and troubleshooting method
CN108400892B (en) Switching system and method based on RCPU quick table-refreshing
CN106992929A (en) A kind of pseudo-line service retransmission method and device
CN110572317B (en) Method and system for realizing dynamic ARP hot backup in telecommunication network
CN115190006A (en) Multi-protocol linkage rapid switching network fault method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant