CN107508738B - BFD realization method and equipment based on CES service - Google Patents

BFD realization method and equipment based on CES service Download PDF

Info

Publication number
CN107508738B
CN107508738B CN201710636610.4A CN201710636610A CN107508738B CN 107508738 B CN107508738 B CN 107508738B CN 201710636610 A CN201710636610 A CN 201710636610A CN 107508738 B CN107508738 B CN 107508738B
Authority
CN
China
Prior art keywords
label
ces
bfd
message
service
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
CN201710636610.4A
Other languages
Chinese (zh)
Other versions
CN107508738A (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.)
Jiangxi Shanshui Optoelectronic Technology Co ltd
Original Assignee
Jiangxi Shanshui Optoelectronic Technology 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 Jiangxi Shanshui Optoelectronic Technology Co ltd filed Critical Jiangxi Shanshui Optoelectronic Technology Co ltd
Priority to CN201710636610.4A priority Critical patent/CN107508738B/en
Publication of CN107508738A publication Critical patent/CN107508738A/en
Application granted granted Critical
Publication of CN107508738B publication Critical patent/CN107508738B/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
    • 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
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/68Pseudowire emulation, e.g. IETF WG PWE3
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • H04L49/3009Header conversion, routing tables or routing tags

Landscapes

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

Abstract

The invention provides a BFD realization method and equipment based on CES service, which comprises an exchange chip, a BFD message label processing module and a CES module, wherein the CES module and the exchange chip are bridged through the BFD message label processing module, and the exchange chip is provided with a BFD engine. The BFD realization method and device based on CES service can realize the BFD detection function of CES service only by adding a BFD message label processing module on the basis of the BFD engine of the existing main stream exchange chip, and does not need additional BFD (CES) engine and message distribution module, thereby greatly reducing the complexity of the system and saving the cost.

Description

BFD realization method and equipment based on CES service
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a BFD realization method and equipment based on CES service.
Background
CES (Circuit simulation service), namely a circuit simulation service, adopts a PWE3 simulation technology, and frame format information, alarm information, signaling information and synchronous timing information of TDM service flow are carried in a PWE3 message header. The encapsulated PW message is transmitted in a PSN network through an MPLS Tunnel after being encapsulated by a protocol, and is de-encapsulated after reaching a PW outlet, and finally, a TDM circuit switching service flow is reconstructed. The mechanisms for rapid fault detection of CES service in the prior art are mainly BFD and Y1731.
As shown in fig. 1, a method and an apparatus for implementing BFD of CES service in the prior art are provided. Because the existing main stream switching chip carries the BFD engine which only supports the ethernet service and does not support the CES service, in order to realize the BFD detection function of the CES service, a BFD (CES) engine for the CES service must be made, and a message distribution module is added between the switching chip and the CES module and between the switching chip and the BFD (CES) engine, mainly used for distinguishing CES service messages and BFD protocol messages sent by the switching chip, and then respectively sent to the CES module and the BFD (CES) engine.
However, in the above method, since the existing BFD engine of the mainstream switch chip only supports the ethernet service and does not support the CES service, in order to implement the BFD detection function of the CES service, an additional BFD engine for the CES service must be provided, but the BFD engine for implementing a complete CES service would greatly increase the complexity and cost of the system.
Disclosure of Invention
The invention aims to solve the technical problems of complex implementation method and high cost of the existing BFD of CES service, and provides a method and equipment for implementing BFD based on CES service, which are simple to operate and greatly reduce the production cost.
In order to solve the technical problem, the invention is realized by the following technical scheme: a BFD realizing device based on CES service comprises an exchange chip 1, a BFD message label processing module 2 and a CES module 3, wherein the CES module 3 and the exchange chip 1 are bridged through the BFD message label processing module 2, and the exchange chip is provided with a BFD engine 11; the function of the switch chip 1 is to forward a CES service message and a BFD message, the function of the BFD message label processing module 2 is to modify and increase LSP and PW labels of the BFD message, when the PW label of the BFD message received by the BFD message processing module 2 from the switch chip 1 is 200, the PW label of the BFD message needs to be replaced with 300, and then an LSP label 2000 is encapsulated, and the source MAC address and the destination MAC address of the BFD message are exchanged and then sent back to the switch chip 1, after receiving the BFD message, the switch chip 1 decapsulates the LSP label and then sends the decapsulated LSP label to the BFD engine 411 through matching ethernet PW service.
The CES module 3 is used for receiving and transmitting packet processing of CES service messages; the CES module 3 encapsulates the CES message into a PW label head and then transmits the PW label head to the BFD message label processing module 2; the BFD message label processing module 2 transmits the CES message to the switching chip 1; and the switching chip 1 encapsulates the CES message into the LSP label head and then sends the LSP label head out from the NNI side to the PSN network for transmission.
A method for realizing BFD based on CES service includes the following steps:
the first step is as follows: CES message encapsulation, namely encapsulating a PW label head after a CES service message received from a UNI side is processed by a CES module 3, transmitting the PW label head to a switching chip 1 through a BFD message label processing module 2, and transmitting the CES message encapsulated by the switching chip 1 to a PSN network from an NNI side for transmission after the LSP label head is encapsulated by the CES message;
the second step is that: CES message de-encapsulation, namely, receiving a CES message with LSP and PW label heads from an NNI side, de-encapsulating the LSP label heads through an exchange chip 1, transmitting the CES message to a CES module 3 through a BFD message label processing module 2, de-encapsulating the PW label heads through the CES module 3, and then sending the CES message out of a UNI side;
the third step: BFD session establishment of CES service comprises the following steps:
step S1: a CES service is established on the CES module 3, and a PW access label of the CES service is designated;
step S2: a label switching path of a PW layer is established on the switching chip 1, an LSP layer access direction tunnel is established, and an access label of the PW layer is matched with a PW access label of a CES service established on the CES module 3;
step S3: an Ethernet PW service is established on the switching chip 1 based on a label switching path of a PW layer of the switching chip 1, and a PW outgoing label of the Ethernet PW service is the same as that of a label switching path NNI side of the PW layer and is loaded to the same LSP tunnel;
step S4: creating a BFD session for the Ethernet PW service;
step S5: creating a label mapping table in a BFD message label processing module 2 according to a PW layer label switching path configured on an exchange chip 1 and an Ethernet PW service, wherein the label mapping table is used for mapping a PW label of a BFD message of which the PW label is equal to a PW in label of a CES service on the CES module 1 into an in label of the Ethernet PW service and encapsulating a layer of LSP label, the value of the LSP label is the LSP in label of an out-direction tunnel of an LSP layer created on the exchange chip 1, and exchanging a source MAC address and a destination MAC address of the BFD message and then returning the source MAC address and the destination MAC address back to the exchange chip 1;
step S6: after receiving the BFD packet, the switch chip 1 decapsulates the LSP label and sends the decapsulated LSP label to the BFD engine 11 through the matching ethernet PW service.
Compared with the prior art, the invention has the following beneficial effects:
the method and the equipment for realizing BFD based on CES service can realize the BFD detection function of CES service only by adding a BFD message label processing module on the basis of the BFD engine of the existing main stream exchange chip, and do not need additional BFD (CES) engine and message distribution module, thereby greatly reducing the complexity of the system and saving the cost.
Drawings
Fig. 1 is a block diagram of a BFD implementation method and device for CES service in the prior art.
Fig. 2 is a block diagram of an implementation apparatus for BFD based on CES service.
Fig. 3 is a flow chart of BFD session establishment in a method for implementing BFD based on CES service.
Fig. 4 is a flow chart of a BFD protocol packet processing of a method for implementing BFD based on CES service.
Reference numerals: 1. a switching chip; 11. a BFD engine; 2. a BFD message label processing module; 3. and a CES module.
Detailed Description
The embodiments are described in detail below with reference to the accompanying drawings.
Referring to fig. 2 and fig. 3, a BFD implementation device based on a CES service includes an exchange chip 1, a BFD packet tag processing module 2, and a CES module 3, where the CES module 3 and the exchange chip 1 are bridged by the BFD packet tag processing module 2, and the exchange chip is provided with a BFD engine 11; the function of the switching chip 1 is to be used for forwarding a CES service message and a BFD message, the function of the BFD message label processing module 2 is to modify and increase LSP and PW labels of the BFD message, when the PW label of the BFD message received by the BFD message processing module 2 from the switching chip 1 is 200, the PW label of the BFD message needs to be replaced by 300, then an LSP label 2000 is packaged, and the source MAC address and the destination MAC address of the BFD message are exchanged and then are sent back to the switching chip 1 again, after receiving the BFD message, the switching chip 1 decapsulates the LSP label and then sends the LSP label to a BFD engine 411 through matching Ethernet PW service, and the function of the switching module 3 is to receive and send packet processing of the CES service message; the CES module 3 encapsulates the CES message into a PW label head and then transmits the PW label head to the BFD message label processing module 2; the BFD message label processing module 2 transmits the CES message to the switching chip 1; and the switching chip 1 encapsulates the CES message into the LSP label head and then sends the LSP label head out from the NNI side to the PSN network for transmission.
And after the LSP label head is packaged by the exchange chip 1, the LSP label head is sent out from the NNI side to the PSN network for transmission.
The message with LSP label head and PW label head from NNI side is de-encapsulated by exchange chip 1 and CES module 3, and finally the reconstructed CES service is sent out from UNI side.
A method for realizing BFD based on CES service includes the following steps:
the first step is as follows: CES message encapsulation, namely encapsulating a PW label head after a CES service message received from a UNI side is processed by a CES module 3, transmitting the PW label head to a switching chip 1 through a BFD message label processing module 2, and transmitting the CES message encapsulated by the switching chip 1 to a PSN network from an NNI side for transmission after the LSP label head is encapsulated by the CES message;
the second step is that: CES message de-encapsulation, namely, receiving a CES message with LSP and PW label heads from an NNI side, de-encapsulating the LSP label heads through an exchange chip 1, transmitting the CES message to a CES module 3 through a BFD message label processing module 2, de-encapsulating the PW label heads through the CES module 3, and then sending the CES message out of a UNI side;
the third step: BFD session establishment of CES service comprises the following steps:
step S1: a CES service is established on the CES module 3, and a PW access label of the CES service is designated;
step S2: a label switching path of a PW layer is established on the switching chip 1, an LSP layer access direction tunnel is established, and an access label of the PW layer is matched with a PW access label of a CES service established on the CES module 3;
step S3: an Ethernet PW service is established on the switching chip 1 based on a label switching path of a PW layer of the switching chip 1, and a PW outgoing label of the Ethernet PW service is the same as that of a label switching path NNI side of the PW layer and is loaded to the same LSP tunnel;
step S4: creating a BFD session for the Ethernet PW service;
step S5: creating a label mapping table in a BFD message label processing module 2 according to a PW layer label switching path configured on an exchange chip 1 and an Ethernet PW service, wherein the label mapping table is used for mapping a PW label of a BFD message of which the PW label is equal to a PW in label of a CES service on the CES module 1 into an in label of the Ethernet PW service and encapsulating a layer of LSP label, the value of the LSP label is the LSP in label of an out-direction tunnel of an LSP layer created on the exchange chip 1, and exchanging a source MAC address and a destination MAC address of the BFD message and then returning the source MAC address and the destination MAC address back to the exchange chip 1;
step S6: after receiving the BFD packet, the switch chip 1 decapsulates the LSP label and sends the decapsulated LSP label to the BFD engine 11 through the matching ethernet PW service.
Through the configuration process, the BFD detection configuration of the CES service is completed. The method can realize the BFD detection function of the CES service only by adding the BFD message label processing module 2 on the basis of the BFD engine 11 of the existing main stream exchange chip 1, thereby greatly reducing the complexity of the system and saving the cost.
The sending direction is as follows:
referring to fig. 4, in order to simulate a BFD packet (with LSP-1000, PW-100) of a CES service sent from the BFD engine 11 of the switch chip 1, an ethernet PW service with a PW out label of 100 and an in label of 300 is created on the switch chip 1, and an LSP out label of the ethernet PW service is designated as 1000, and a BFD session is created for this service. Therefore, the BFD session message of the CES service can be sent out through the BFD session simulation of the Ethernet PW service.
The receiving direction is as follows:
because the label of the LSP incoming label, PW incoming label and CES service packet of the BFD packet received from the NNI side are the same, the BFD packet is directly forwarded to the BFD label processing module 2 after entering the switch chip 1, and if the BFD label processing module 2 does not perform any processing, the BFD packet is directly sent to the CES module 3 and then directly sent out from the UNI side, so that the BFD engine 11 cannot negotiate because it cannot receive the BFD packet sent from the peer device, thereby resulting in an unsuccessful establishment of the BFD session.
Therefore, certain special processing needs to be performed on the BFD packet on the BFD tag processing module 2, and the specific processing is as follows:
if the PW label of the BFD packet received by the BFD label processing module 2 from the switch chip 1 is 200, the PW label of the BFD packet needs to be replaced with 300, and then an LSP label 2000 is encapsulated, and the source MAC address and the destination MAC address of the BFD packet are exchanged and then sent back to the switch chip 1, and after receiving the BFD packet, the switch chip 1 decapsulates the LSP label and then sends the decapsulated LSP label to the BFD engine 411 through matching the ethernet PW service, so that the receiving direction of the BFD packet is implemented.
The above list is only one of the specific embodiments of the present invention. It will be clear that the invention is not limited to the above embodiments, but that many similar modifications are possible. All modifications which can be derived or suggested by a person skilled in the art from the disclosure of the present invention are to be considered within the scope of the invention.

Claims (2)

1. A BFD realizing device based on CES service is characterized in that: the switching chip (1) is used for forwarding a CES service message and a BFD message, the BFD message label processing module (2) is used for modifying and increasing an LSP (label switching path) and a PW (pseudo wire) label of the BFD message, when the PW label of the BFD message received by the BFD message processing module (2) from the switching chip (1) is 200, the PW label of the BFD message needs to be replaced by 300, an LSP label 2000 is encapsulated, a source MAC (media access control) address and a destination MAC (media access control) address of the BFD message are exchanged and then sent back to the switching chip (1), and after the switching chip (1) receives the BFD message, the LSP label is unpacked and then sent to a BFD engine 411 through matching Ethernet service; the CES module (3) is used for receiving and transmitting packet processing of CES service messages; the CES module (3) and the exchange chip (1) are bridged through the BFD message label processing module (2), and the exchange chip is provided with a BFD engine (11); the CES module (3) encapsulates the CES message into a PW label head and then transmits the PW label head to the BFD message label processing module (2); the BFD message label processing module (2) transmits the CES message to the switching chip (1); and the switching chip (1) encapsulates the CES message into the LSP label head and then sends the LSP label head out from the NNI side to the PSN network for transmission.
2. A BFD realization method based on CES service is characterized in that: the method comprises the following steps:
the first step is as follows: CES message encapsulation, namely encapsulating a PW label head after a CES service message received from a UNI side is processed by a CES module (3), transmitting the PW label head to a switching chip (1) through a BFD message label processing module (2), and transmitting the CES message encapsulated by the switching chip (1) to a PSN network from an NNI side for transmission after the LSP label head is encapsulated by the CES message;
the second step is that: CES message de-encapsulation, namely, receiving a CES message with LSP and PW label heads from an NNI side, de-encapsulating the LSP label heads through an exchange chip (1), transmitting the CES message to a CES module (3) through a BFD message label processing module (2), de-encapsulating the PW label heads through the CES module (3), and transmitting the CES message out of the UNI side;
the third step: BFD session establishment of CES service comprises the following steps:
step S1: a CES service is established on the CES module (3), and a PW access label of the CES service is designated;
step S2: a label switching path of a PW layer is established on a switching chip (1), an LSP layer access direction tunnel is established, and an access label of the PW layer is matched with a PW access label of a CES service established on a CES module (3);
step S3: an Ethernet PW service is established on a switching chip (1) based on a label switching path of a PW layer of the switching chip (1), and a PW outgoing label of the Ethernet PW service is the same as a PW outgoing label of an NNI side of the label switching path of the PW layer and is loaded onto the same LSP tunnel;
step S4: creating a BFD session for the Ethernet PW service;
step S5: a label mapping table is created in a BFD message label processing module (2) according to a PW layer label switching path configured on an exchange chip (1) and an Ethernet PW service, wherein the label mapping table is used for mapping a PW label of a BFD message of which the PW label is equal to a PW in label of a CES service on a CES module (3) into an in label of the Ethernet PW service and encapsulating a layer of LSP label, the value of the LSP label is the LSP in label of an out-direction tunnel of an LSP layer created on the exchange chip (1), and a source MAC address and a target MAC address of the BFD message are exchanged and then are sent back to the exchange chip (1) again;
step S6: after receiving the BFD message, the switching chip (1) decapsulates the LSP label and sends the LSP label to a BFD engine (11) through matching Ethernet PW service.
CN201710636610.4A 2017-07-31 2017-07-31 BFD realization method and equipment based on CES service Active CN107508738B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710636610.4A CN107508738B (en) 2017-07-31 2017-07-31 BFD realization method and equipment based on CES service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710636610.4A CN107508738B (en) 2017-07-31 2017-07-31 BFD realization method and equipment based on CES service

Publications (2)

Publication Number Publication Date
CN107508738A CN107508738A (en) 2017-12-22
CN107508738B true CN107508738B (en) 2021-03-19

Family

ID=60689053

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710636610.4A Active CN107508738B (en) 2017-07-31 2017-07-31 BFD realization method and equipment based on CES service

Country Status (1)

Country Link
CN (1) CN107508738B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316225B (en) * 2007-05-30 2012-12-12 华为技术有限公司 Fault detection method, communication system and label exchange router
CN101588367B (en) * 2009-07-07 2012-05-30 北京邮电大学 OAM component communication mechanism based on MPLS-TP signing label
CN102833084A (en) * 2011-06-15 2012-12-19 中兴通讯股份有限公司 Method and system for realizing circuit emulation service in passive optical network
US8885484B2 (en) * 2011-07-25 2014-11-11 Alcatel Lucent Bootstrapping fault detection sessions over a P2MP tunnel
CN104202184A (en) * 2014-08-22 2014-12-10 中国联合网络通信集团有限公司 Quick service switchover method and device

Also Published As

Publication number Publication date
CN107508738A (en) 2017-12-22

Similar Documents

Publication Publication Date Title
WO2017193758A1 (en) Method, device and system for data transmission
CN102025586B (en) Intercommunicating method, device and system for multiple protocol label switching network and Ethernet
EP2314022B1 (en) Establishing pseudowires in packet switching networks
WO2008092357A1 (en) A method and device for establishing a pseudo wire tunnel and transmitting message using it
CN103200068B (en) A kind of based on customer service Multiple tunnel transmitting device
CN103200467A (en) Device and method for transmitting network element protocol messages in optical network equipment
CN102055647A (en) Three-layer virtual private network (VPN) access method and system
WO2012095040A2 (en) Method for transmitting data in passive optical network, user-side equipment, and system
JP5444474B2 (en) Pseudowire emulation edge-to-edge access apparatus and method
CN101926132B (en) Circuit emulation over ip interworking vll
CN101304387B (en) Method for implementing tunnel conversion of bi-layer tunnel protocol
EP2485451A1 (en) Two-layer forwarding method for a pseudo wire (pw) service and system thereof
CN104219149B (en) A kind of message transmitting method and equipment based on virtual connections
US9755970B2 (en) Information processing method, device and system
CN107508738B (en) BFD realization method and equipment based on CES service
WO2019095778A1 (en) System and method for realizing interworking of ilk interface service and ethernet interface service
CN110446275A (en) A kind of method, terminal and the system of E1 point-to-point communication
WO2012149846A1 (en) Method for sending messages, method and device for forwarding messages
WO2013000326A1 (en) Data transmission method and system in transparent interconnection over lots of links network
CN109587060A (en) A kind of VPWS message passes through the method and apparatus of three layers of IP network
WO2011079635A1 (en) Method and apparatus for implementing time division multiplex data transmission
WO2012171384A1 (en) Method and device for implementing circuit emulation service in passive optical network
CN1946242B (en) Method and device for supporting TDM service in light connected network
CN111865798B (en) Method and system for realizing MPLS-TP dual-homing protection of AC side message communication of main and auxiliary nodes
JP2010232996A (en) Packet transfer method in ethernet network constituting plural redundant routes, switch device, program, and data structure

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