CN105591692A - Method and device of loop elimination in Ethernet passive optical network (EPON) - Google Patents

Method and device of loop elimination in Ethernet passive optical network (EPON) Download PDF

Info

Publication number
CN105591692A
CN105591692A CN201510741319.4A CN201510741319A CN105591692A CN 105591692 A CN105591692 A CN 105591692A CN 201510741319 A CN201510741319 A CN 201510741319A CN 105591692 A CN105591692 A CN 105591692A
Authority
CN
China
Prior art keywords
port
loop detection
detection message
mark
loop
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.)
Pending
Application number
CN201510741319.4A
Other languages
Chinese (zh)
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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201510741319.4A priority Critical patent/CN105591692A/en
Publication of CN105591692A publication Critical patent/CN105591692A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • 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/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Computer Security & Cryptography (AREA)
  • Environmental & Geological Engineering (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present invention provides a method and device of loop elimination in an Ethernet passive optical network (EPON). An OLT (Optical Line Terminal) initiates the loop detection based on VLAN to obtain the forwarding path of the whole loop detection, and assigns the port of some one ONU (Optical Network Unit) to block or close the business in the VLAN to eliminate the loop so as to maximize utilization of a physical link.

Description

Loop removing method and equipment in Ethernet passive optical network EPON
Technical field
The application relates to the network communications technology, particularly Ethernet passive optical network (EPON:EthernetPassiveOpticalNetwork) loop removing method and equipment in.
Background technology
EPON, a kind of EPON (PON:PassiveOpticalNetwork) based on Ethernet,By Ethernet and the combination of PON technology, adopt PON technology in physical layer, data link layer use withToo fidonetFido, utilizes the topological structure of PON to realize Ethernet access. EPON combines PON technologyAdvantage with ethernet technology: low cost, high bandwidth, autgmentability be strong, with existing Ethernet compatibility, sideJust manage etc., it adopts point-to-multipoint structure, passive fiber transmission.
In EPON, the problems such as network connection error, network configuration mistake can cause occurring in EPONForwarding loop, and forwarding loop can cause equipment in EPON such as optical line terminal (OLT:OpticalLineTerminal) or optical network unit (ONU:OpticalNetworkUnit) to broadcasting packet,Multicast message and unknown unicast message repeat to send, and cause the waste of Internet resources even to causeNetwork paralysis.
Based on this, just need to carry out loop detection to EPON. Conventional loop detection in EPON at presentMethod is: OLT sends loop detection message by local PON port, under the local PON port of OLTEach ONU hanging carries out broadcast replication to the loop detection message sending from OLT of receiving, ifBetween ONU, have loop, OLT finally can receive the loop detection message that oneself sends, butMake OLT receive the loop detection message that oneself sends, how it can not determine cancellation loop, can not letterSingle ground is directly by some this locality PON port blocks or close, and with cancellation loop, reason is: OLTUnder local PON port, hung numerous ONU, and loop is only the physics chain between some ONUCause on road, and directly closing PON port can affect the normal use of other ONU. Based on this, EPONIn how rationally cancellation loop be technical problem urgently to be resolved hurrily.
Summary of the invention
The application provides loop removing method and the equipment in Ethernet passive optical network EPON, withIn maximum using EPON, on the basis of physical link, rationally eliminate the loop in EPON.
The technical scheme that the application provides comprises:
A loop removing method in Ethernet passive optical network EPON, the method is applied to optical linkTerminal OLT, comprising:
Broadcast loop detection message by local PON port to optical network unit ONU, loop detection reportLiterary composition carries the device identification of OLT, the port-mark of PON port, affiliated virtual LAN VLAN;
Receive the loop detection message that ONU sends by the effective PON port in VLAN, determineIn EPON, there is loop;
According to the port-mark of the entrained device identification of loop detection message receiving, receiving port with send outThe port-mark of sending end mouth determine loop detection message via forward-path, from forward-path, selectFor the port of cancellation loop, notify port block or close the business in VLAN.
A loop removing method in Ethernet passive optical network EPON, the method is applied to optical-fiber networkUnit ONU, comprising:
Receive loop detection message,
The device identification whether loop detection message that inspection receives carries this ONU;
When the device identification that the loop detection message receiving does not carry this ONU, receive loop inspection by removingObserve and predict outside civilian port and belong to other in the virtual LAN VLAN under loop detection messageEach port sends loop detection message, and the loop detection message of transmission has carried the equipment mark of this ONUKnow, receive the port-mark of the receiving port of loop detection message, the transmission of transmission loop detection messageThe port-mark of port;
When the device identification that the loop detection message receiving has carried this ONU, have by this ONU this localityEffect PON port sends loop detection message to OLT; The loop detection message sending has carried this ONUDevice identification, receive the receiving port of loop detection message port-mark, send loop detection reportThe transmit port mark of the port of literary composition;
Control the port block on this ONU or close the business in VLAN according to the notice of OLT.
A loop abatement apparatus in Ethernet passive optical network EPON, this equipment is applied to optical linkTerminal OLT, comprising:
Radio unit, for broadcasting loop detection report by local PON port to optical network unit ONULiterary composition, loop detection message carries the device identification of OLT, the port-mark of PON port, affiliated voidIntend LAN VLAN;
Receiving element, the loop inspection sending by the effective PON port in VLAN for receiving ONUObserve and predict literary composition;
Loop eliminate unit, for receive at receiving element ONU send loop detection message time,Determine in EPON and have loop, according to entrained device identification, the reception of loop detection message receivingThe port-mark of port and the port-mark of transmit port determine loop detection message via forward-path,From forward-path, select the port for cancellation loop, notify port block or close in VLANBusiness.
A loop removing method in Ethernet passive optical network EPON, this equipment is applied to optical-fiber networkUnit ONU, comprising:
Receiving element, for receiving loop detection message,
Inspection unit, for checking whether the loop detection message that receiving element receives carries this ONU'sDevice identification;
Processing unit, when being no when the check result of inspection unit, by except receiving loop detection reportOutside the port of literary composition and belong in the virtual LAN VLAN under loop detection message other eachPort send loop detection message, the loop detection message of transmission carried the device identification of this ONU,Receive the port-mark of the receiving port of loop detection message, the transmit port of transmission loop detection messagePort-mark; And, when the check result of inspection unit is when being, effectively local by this ONUPON port sends loop detection message to OLT; The loop detection message sending has carried this ONU'sDevice identification, the port-mark that receives the receiving port of loop detection message, transmission loop detection messageThe transmit port mark of port;
Business unit, for controlling the port block on this ONU or close according to the notice of OLTBusiness in VLAN.
As can be seen from the above technical solutions, in the present invention, OLT first initiates loop detection based on VLANTo obtain the forward-path of whole loop detection, the end of specifying certain ONU according to the forward-path obtainingMouthful block or the business in VLAN of closing with cancellation loop, can maximum using physical link;
Meanwhile, in the present invention, carry out loop detection by OLT based on VLAN, compare existing ringRoad detection method has reduced the loop detection message in network, has promoted the efficiency of loop detection.
Brief description of the drawings
Fig. 1 is method flow diagram provided by the invention;
The OLT transmission loop detection message structural representation that Fig. 2 provides for the embodiment of the present invention;
The ONU transmission loop detection message structural representation that Fig. 3 provides for the embodiment of the present invention;
Fig. 4 is embodiment schematic diagram provided by the invention;
Fig. 5 is equipment structure chart provided by the invention;
Fig. 6 is another equipment structure chart provided by the invention.
Detailed description of the invention
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing and concreteEmbodiment describes the present invention.
Method provided by the invention comprises the flow process shown in Fig. 1:
Referring to Fig. 1, Fig. 1 is method flow diagram provided by the invention. As shown in Figure 1, this flow process can be wrappedDraw together following steps:
Step 101, OLT broadcasts loop detection message by PON port to ONU, loop detection reportLiterary composition carries the device identification of OLT, the port-mark of PON port, affiliated VLAN (VLAN).
In the present invention, the loop detection that OLT starts is carried out based on individual vlan. Wherein, whenThere are multiple VLAN OLT this locality, can be for each VLAN flow process shown in execution graph 1 respectively. ForBe convenient to describe, suppose that Fig. 1 carries out for a VLAN, a VLAN is wherein hereA VLAN, does not specifically limit some VLAN. Below all taking a VLAN as example description figureFlow process shown in 1.
As a preferred embodiment of the present invention, in the present invention, OLT is by loop detection messageIncrease TLV field and carry the device identification of OLT, the port-mark of PON port, Fig. 2 specifically showsGone out OLT increases the example of TLV field in the loop detection message of broadcast, and loop detection messageAn affiliated VLAN carries by the VLANID field in loop detection message.
It should be noted that, the LLID in the loop detection message of OLT broadcast is for broadcast LLID, to refer toShow that all ONU that hang under PON port need to process the loop detection message of this reception, specifically processIf step 102 is to as shown in step 104.
Step 102, ONU receives loop detection message, checks whether the loop detection message receiving carriesThe device identification of this ONU, if not, execution step 103, if so, execution step 104.
As an embodiment, the loop detection message that ONU receives is the loop detection report of OLT broadcastLiterary composition, the loop detection message receiving as ONU is the loop detection message of OLT broadcast, loop nowDetection messages is the device identification that can not carry this ONU, can directly perform step 103.
As another embodiment, specifically as step 103 is described, the loop detection report that ONU receivesLiterary composition may be the loop detection message that other ONU send, and the loop detection message receiving as ONU is itThe loop detection message that he ONU sends, one may situation be, ONU receives this loop inspection firstObserve and predict literary composition, now loop detection message does not carry the device identification of this ONU, for this situation,Execution step 103; Another may situation be that ONU not receives this loop detection message first, meaningTaste this loop detection message and has been passed through a loopback and get back to again this ONU, and now loop detection message is to takeWith the device identification of this ONU, for this situation, perform step 104.
Step 103, ONU is by its except receiving the port of loop detection message in a VLANHe sends loop detection message by each port, and the loop detection message of transmission has carried the equipment of this ONUMark, receive the receiving port of loop detection message port-mark, send loop detection message send outThe port-mark of sending end mouth.
As a preferred embodiment of the present invention, ONU is by suitable according to setting in loop detection messageOrder increases the end that TLV field is carried the device identification of this ONU, received the port of loop detection messageMouth identifies, sends the port-mark of the port of this loop detection message. Preferably, setting order and loopDetection messages via sequencing relevant.
Such as, taking the loop detection message shown in Fig. 2 as example, as shown in Figure 2, loop detection message is onlyHave a TLV field (being designated as TLV field 1), ONU is sending loop detection by UNIWhen message, if increase TLV after the TLV field of setting order for the up-to-date increase of loop detection messageField, because loop detection message only exists TLV field 1, TLV field 1 be loop detection messageThe TLV field newly increasing, ONU newly increases a TLV after the TLV field 1 only existing againField (being designated as TLV field 2) sends again, and the TLV field newly increasing has been carried the equipment of this ONUMark, receive the receiving port of loop detection message port-mark, send loop detection message send outThe port-mark of sending end mouth, specifically as shown in Figure 3. It should be noted that, for convenience of determining up-to-date increaseTLV field, can limit the current time of corresponding increase while increasing TLV field.
It should be noted that, in step 103, ONU is by removing and receive loop detection in a VLANOther ports outside the port of message comprise local effectively PON port, UNI etc., based on this, whenONU sends loop detection reports by other each ports except receiving the port of loop detection messageWen Shi, OLT likely can receive loop detection message; Other ONU also likely can receive loop inspectionObserve and predict literary composition. Wherein, in the time that OLT receives loop detection message, can perform step 105, other ONU receiveDuring to loop detection message, can perform step 102.
Step 104, ONU by a VLAN effectively PON port send loop detection message toOLT; Carried this ONU device identification, receive the port of the receiving port of loop detection messageThe port-mark of the transmit port of mark, transmission loop detection message.
As step 103 is described, as a preferred embodiment of the present invention, ONU passes through in loop detectionIn message, increasing TLV field according to setting order carries the device identification of this ONU, receives loop inspectionObserve and predict civilian port port-mark, send the port-mark of the port of this loop detection message. Preferably,Setting order and loop detection message via sequencing relevant.
In the time that ONU sends loop detection message by local effective PON port, OLT can receive ONUThe loop detection message sending can perform step 105 in the time that OLT receives loop detection message.
Step 105, OLT receives the loop detection message that ONU sends, and determines in EPON and existsLoop, according to the port-mark of the entrained device identification of loop detection message receiving, receiving port andThe port-mark of transmit port determine loop detection message via forward-path, from forward-path, selectGo out the port for cancellation loop, notify port block or close the business in a VLAN.
As described above, ONU increases TLV field according to setting order and takes in loop detection messageDevice identification with this ONU, the port-mark that receives the receiving port of loop detection message, transmissionThe port-mark of the transmit port of loop detection message, setting order and loop detection message via priorityOrder is relevant; Based on this, in step 105, OLT is according to entrained the establishing of loop detection message receivingStandby mark, the port-mark of receiving port and the port-mark of transmit port determine loop detection message viaForward-path can comprise:
Equipment mark in the TLV field of the device identification that comprises this OLT that loop detection message is carriedKnowledge and PON port-mark are as the originating terminal of forward-path;
This OLT is received to the PON port of loop detection message as the end end of forward-path;
From the loop detection message receiving, parse the each TLV field increasing according to setting order, will separateDevice identification, the port-mark of receiving port and the port mark of transmit port in each TLV field of separating outKnow according to loop detection message via sequencing rearrange between originating terminal and finish end between roadFootpath. Below by specific embodiment, how to confirm forward-path is described for example.
So far, complete the flow process shown in Fig. 1.
Can find out by flow process shown in Fig. 1, in the present invention, OLT is first based on some VLAN ratiosA VLAN described above obtains the forward-path of whole loop detection, based on this forward-path obtainingSpecify the port block of certain ONU or close the business in this VLAN, can more reasonably disappearExcept loop, maximum using physical link, simultaneously due in the present invention, held based on VLAN by OLTRow loop detection, compares existing loop detecting method and has reduced the loop detection message in network, has promotedThe efficiency of loop detection.
Below by a specific embodiment, flow process shown in Fig. 1 is described:
In EPON as shown in Figure 4, only taking an OLT illustrating as example, in Fig. 4, OLT has twoIndividual PON port, these two PON ports are designated as: PON port one _ 1, PON port one _ 2. PON endAll supported vlans 100, VLAN200 of mouth 1_1, PON port one _ 2.
In Fig. 4, PON port one _ 1 on OLT connects the PON port one 0_1 of ONU10 by POS1,PON port one _ 1 on OLT connects the PON port one 1_1 of ONU11 by POS1, on OLTPON port one _ 1 connects the PON port one 00_1 of ONU100 by POS1.
In Fig. 4, PON port one _ 2 on OLT connect the PON port 20_1 of ONU20 by POS2,PON port one _ 2 on OLT connect the PON port 21_1 of ONU21 by POS2, on OLTPON port one _ 2 connect the PON port 200_1 of ONU200 by POS2.
In Fig. 4, the UNI10_1 of ONU10 connects the UNI20_1 on ONU20, ONU11'sUNI11_1 connects the UNI20_2 on ONU20.
In Fig. 4, the UNI21_1 of ONU21 connects the UNI21_2 of ONU21.
In Fig. 4, when OLT initiates the loop detection of VLAN100, OLT passes through PON port one _ 1,The loop detection message that belongs to VLAN100 is broadcasted respectively in PON port one _ 2. Fig. 4 is to hold by PONThe loop detection message of mouth 1_2 broadcast VLAN100 is that example describes.
As shown in Figure 4, OLT broadcasts the loop detection message of VLAN100 by PON port one _ 2,The loop detection message of broadcast carries a TLV field, the equipment mark that a TLV field comprises OLTThe port-mark of knowledge, PON port one _ 2.
OLT finally can arrive by the loop detection message of PON port one _ 2 broadcast VLAN100ONU20、ONU21、ONU200;
First describe ONU20 and receive that OLT passes through the loop inspection of the VLAN100 of PON port one _ 2 broadcastObserve and predict civilian flow process:
ONU20 receives the loop of the VLAN100 of PON port one _ 2 broadcast by PON port 20_1After detection messages, check the device identification of not carrying ONU20 in loop detection message, meanONU20 receives this loop detection message first, as shown in Figure 4, belongs to VLAN100 on ONU20Interior port, except receiving that the port of loop detection message is PON port 20_1, also existsUNI20_1, UNI20_2. ,
ONU20 in the time sending loop detection message by UNI20_1, according to loop detection message warpBy the relevant setting of sequencing order after a TLV field of loop detection message, increase by theAfter two TLV fields, send, device identification, ONU20 that the 2nd TLV field comprises ONU20 receiveBe the port-mark of PON port 20_1, the port-mark of UNI20_1 to the port of loop detection message;ONU20 sends loop detection message by UNI20_1. Final ONU10 can receive that ONU20 passes throughThe loop detection message that UNI20_1 sends.
ONU20 in the time sending loop detection message by UNI20_2, according to loop detection message warpBy the relevant setting of sequencing order after a TLV field of loop detection message, increase by theAfter three TLV fields, send, device identification, ONU20 that the 3rd TLV field comprises ONU20 receiveBe the port-mark of PON port 20_1, the port-mark of UNI20_2 to the port of loop detection message;ONU20 sends loop detection message by UNI20_2. Final ONU11 can receive that ONU20 passes throughThe loop detection message that UNI20_2 sends.
ONU10 receives after the loop detection message that ONU20 sends by UNI20_1, checks loop inspectionObserve and predict the device identification of not carrying ONU10 in literary composition, mean that ONU10 receives this loop firstDetection messages, as shown in Figure 4, the port belonging on ONU10 in VLAN100 is examined except receiving loopObserving and predicting civilian port is outside UNI10_1, also has PON port one 0_1, ONU10 according toLoop detection message via the relevant setting of sequencing order at the 2nd TLV of loop detection messageAfter field, increase by the 4th TLV field and send by PON port one 0_1, the 4th TLV field comprisesThe device identification of ONU10, the port that ONU10 receives loop detection message are the port mark of UNI10_1The port-mark of knowledge, PON port one 0_1; ONU10 sends loop detection by PON port one 0_1Message. Final OLT can receive the loop detection message that ONU10 sends.
ONU11 receives after the loop detection message that ONU20 sends by UNI20_2, checks loop inspectionObserve and predict the device identification of not carrying ONU11 in literary composition, mean that ONU11 receives this loop firstDetection messages, as shown in Figure 4, the port belonging on ONU11 in VLAN100 is examined except receiving loopObserving and predicting civilian port is outside UNI11_1, also has PON port one 1_1, ONU11 according toLoop detection message via the relevant setting of sequencing order at the 3rd TLV of loop detection messageAfter field, increase the 5th TLV field, device identification, ONU11 that the 5th TLV field comprises ONU11The port of receiving loop detection message is the port-mark of UNI11_1, the port mark of PON port one 1_1Know; ONU11 sends loop detection message by PON port one 1_1. Final OLT can receive ONU11The loop detection message sending.
OLT receives by PON port one _ 1 after the loop detection message of ONU10 transmission, resolves loopEach TLV field of adding according to above-mentioned setting order in detection messages, according to receiving loop detection messageThe TLV field of the device identification that comprises this OLT of carrying in PON port one _ 1, loop detection messageThe forward-path of determining loop detection message with the each TLV field parsing is:
OLT (PON port one _ 2)-> (PON20_1) ONU20 (UNI20_1)-> (UNI10_1)ONU10 (PON port one 0_1)-> OLT (PON port one _ 1).
OLT selects the port block on some ONU or closes under the prerequisite of forward-path optimumBusiness in VLAN100, here selecting the UNI20_1 of the upper ONU10 of connection of ONU20 to block orPerson closes the business of VLAN100, and so, the UNI20_1 on ONU20 just no longer forwards VLAN100Interior all data messages, have eliminated loop.
OLT receives by PON port one _ 1 after the loop detection message of ONU11 transmission, resolves loopEach TLV field of adding according to above-mentioned sequencing in detection messages, according to receiving loop detection messageThe TLV field of the device identification that comprises this OLT of carrying in PON port one _ 1, loop detection messageThe forward-path of determining loop detection message with the each TLV field parsing is:
OLT (PON port one _ 2)-> (PON20_1) ONU20 (UNI20_2)-> (UNI11_1)ONU11 (PON port one 1_1)-> OLT (PON port one _ 1).
OLT selects the port block on some ONU or closes under the prerequisite of forward-path optimumThe business of VLAN100, here selecting the UNI20_2 of the upper ONU11 of connection of ONU20 to block orClose the business of VLAN100, so, the UNI20_2 on ONU20 just no longer forwards VLAN100Interior all data messages, have eliminated loop.
Describe again ONU21 and receive that OLT passes through the loop inspection of the VLAN100 of PON port one _ 2 broadcastObserve and predict civilian flow process:
ONU21 receives after loop detection message by PON port 21_1, checks in loop detection messageDo not carry the device identification of ONU21, mean that ONU21 receives this loop detection message first,As shown in Figure 4, on ONU21, belong to port in VLAN100 except receiving the end of loop detection messageMouth is outside PON port 21_1, also has UNI21_1, UNI21_2; ,
ONU21 in the time sending loop detection message by UNI21_1, according to loop detection message warpBy the relevant setting of sequencing order after a TLV field of loop detection message, increase by theSix TLV fields, device identification, the ONU21 that the 6th TLV field comprises ONU21 receives loop inspectionObserving and predicting civilian port is the port-mark of PON port 21_1, the port-mark of UNI21_1; ONU21Send loop detection message by UNI21_1. Final ONU21 can receive ONU21 by UNI21_2The loop detection message sending by UNI21_1. Similarly, ONU21 can receive by UNI21_1The loop detection message that ONU21 sends by UNI21_2. Here pass through UNI21_2 with ONU21Receive that the loop detection message that ONU21 sends by UNI21_1 is example.
ONU21 receives by UNI21_2 the loop detection message that ONU21 sends by UNI21_1,Check the device identification of having carried ONU21 in loop detection message, on ONU21, belong to VLAN100Interior port is except receiving that the port of loop detection message is UNI21_2, also exists PON port21_1, ONU21 according to loop detection message via the relevant setting of sequencing order examine at loopThe 6th TLV field of observing and predicting literary composition increases by the 7th TLV field afterwards and sends by PON port 21_1,The device identification that the 7th TLV field comprises ONU21, the port that ONU21 receives loop detection message areThe port-mark of UNI21_2, the port-mark of PON port 21_1. Final OLT can receive ONU21The loop detection message sending.
OLT receives by PON port one _ 2 after the loop detection message of ONU21 transmission, resolves loopEach TLV field of adding according to above-mentioned setting order in detection messages, according to receiving loop detection messageThe TLV field of the device identification that comprises this OLT of carrying in PON port one _ 2, loop detection messageThe forward-path of determining loop detection message with the each TLV field parsing is:
OLT (PON port one _ 2)-> (PON21_1) ONU21 (UNI21_1)-> (UNI21_2)ONU21 (PON port 21_1)-> OLT (PON port one _ 2).
OLT selects the port block on some ONU or closes under the prerequisite of forward-path optimumThe business of VLAN100, here to select the upper UNI21_1 of ONU21 to block or to close VLAN100Business, so, the UNI21_1 on ONU21 just no longer forwards all data in VLAN100Message, has eliminated loop.
So far, complete the description of embodiment.
It should be noted that, in the present invention, as a preferred embodiment, the equipment mark of above-mentioned OLTKnow the bridge MAC Address that can be OLT, the device identification of ONU can be the bridge MAC Address of ONU.
Above method provided by the invention is described, below equipment provided by the invention is retouchedState:
Referring to Fig. 5, Fig. 5 is equipment structure chart provided by the invention. This equipment is applied to OLT, as Fig. 5Shown in, can comprise:
Radio unit, for broadcasting loop detection report by local PON port to optical network unit ONULiterary composition, loop detection message carries the device identification of OLT, the port-mark of PON port, affiliated voidIntend LAN VLAN;
Receiving element, the loop inspection sending by the effective PON port in VLAN for receiving ONUObserve and predict literary composition;
Loop is eliminated unit, in the time receiving the loop detection message of ONU transmission, determines EPONIn there is loop, according to the entrained device identification of loop detection message receiving, the port of receiving portMark and the port-mark of transmit port determine loop detection message via forward-path, from forward-pathIn select the port for cancellation loop, notice port block or close the business in VLAN.
Preferably, radio unit carries by increase TLV field in the loop detection message of broadcastThe device identification of OLT, the port-mark of PON port;
The loop detection message that receiving element receives has carried the TLV word that ONU increases according to setting orderSection, TLV field at least comprises the device identification of ONU, the reception that ONU receives loop detection messageThe port-mark of port, the port-mark that ONU sends the transmit port of loop detection message, setting orderTo loop detection message via sequencing relevant.
Preferably, loop eliminate unit according to the entrained device identification of loop detection message receiving, connectThe port-mark of receiving end mouth and the port-mark of transmit port determine loop detection message via forward-pathComprise:
Equipment mark in the TLV field of the device identification that comprises this OLT that loop detection message is carriedKnowledge and PON port-mark are as the originating terminal of forward-path;
This OLT is received to the PON port of loop detection message as the end end of forward-path;
From the loop detection message receiving, parse the each TLV field increasing according to setting order, will separateDevice identification, the port-mark of receiving port and the port mark of transmit port in each TLV field of separating outKnow according to loop detection message via sequencing rearrange between originating terminal and finish end between roadFootpath.
So far, completing the device structure shown in Fig. 5 describes.
Referring to Fig. 6, Fig. 6 is another equipment structure chart provided by the invention. This equipment is applied to ONU,As shown in Figure 6, can comprise:
Receiving element, for receiving loop detection message,
Inspection unit, for checking whether the loop detection message that receiving element receives carries this ONU'sDevice identification;
Processing unit, when being no when the check result of inspection unit, by except receiving loop detection reportOutside the port of literary composition and belong in the virtual LAN VLAN under loop detection message other eachPort send loop detection message, the loop detection message of transmission carried the device identification of this ONU,Receive the port-mark of the receiving port of loop detection message, the transmit port of transmission loop detection messagePort-mark; And, when the check result of inspection unit is when being, effectively local by this ONUPON port sends loop detection message to OLT; The loop detection message sending has carried this ONU'sDevice identification, the port-mark that receives the receiving port of loop detection message, transmission loop detection messageThe transmit port mark of port;
Business unit, for controlling the port block on this ONU or close according to the notice of OLTBusiness in VLAN.
Preferably, processing unit is next by increase TLV field according to setting order in loop detection messageCarry this ONU device identification, receive the receiving port of loop detection message port-mark, send outGive the port-mark of the transmit port of this loop detection message, wherein, setting order and loop detection messageVia sequencing relevant.
So far, complete the device description shown in Fig. 6.
These are only preferred embodiment of the present invention, in order to limit the present invention, not all in the present inventionSpirit and principle within, any amendment of making, be equal to replacement, improvement etc., all should be included in thisWithin the scope of bright protection.

Claims (10)

1. the loop removing method in Ethernet passive optical network EPON, is characterized in that the partyMethod is applied to optical line terminal OLT, comprising:
Broadcast loop detection message by local PON port to optical network unit ONU, loop detection reportLiterary composition carries the port-mark of the device identification of OLT, described PON port, affiliated VLANVLAN;
Receive the loop detection message that ONU sends by the effective PON port in described VLAN,Determine and in EPON, have loop;
According to the port-mark of the entrained device identification of loop detection message receiving, receiving port with send outThe port-mark of sending end mouth determine loop detection message via forward-path, from described forward-path, selectSelect out the port for eliminating described loop, notify described port block or close in described VLANBusiness.
2. method according to claim 1, is characterized in that, OLT is by the loop inspection in broadcastObserve and predict the port-mark that increases TLV field in literary composition and carry the device identification of OLT, described PON port;
In the loop detection message receiving, carried loop detection message via each ONU according to settingThe TLV field that order increases, the TLV field that ONU increases according to setting order at least comprises ONUDevice identification, the port-mark of receiving port that ONU receives loop detection message, ONU sendThe port-mark of the transmit port of loop detection message;
Wherein, described setting order and loop detection message via sequencing relevant.
3. method according to claim 2, is characterized in that, the described loop detection according to receivingEntrained device identification, the port-mark of receiving port and the port-mark of transmit port of message determined ringRoad detection messages via forward-path comprise:
Equipment mark in the TLV field of the device identification that comprises this OLT that loop detection message is carriedKnowledge and PON port-mark are as the originating terminal of described forward-path;
This OLT is received to the PON port of loop detection message as the end end of described forward-path;
From the loop detection message receiving, parse the each TLV field increasing according to described setting order,By device identification, the port-mark of receiving port and the end of transmit port in the each TLV field parsingMouthful mark according to loop detection message via sequencing rearrange between described originating terminal and finish endBetween path.
4. the loop removing method in Ethernet passive optical network EPON, is characterized in that the partyMethod is applied to optical network unit ONU, comprising:
Receive loop detection message,
The device identification whether loop detection message that inspection receives carries this ONU;
When the device identification that the loop detection message receiving does not carry this ONU, receive loop inspection by removingObserve and predict outside civilian port and belong to other in the virtual LAN VLAN under loop detection messageEach port sends loop detection message, and the loop detection message of transmission has carried the equipment mark of this ONUKnow, receive the port-mark of the receiving port of loop detection message, the transmission of transmission loop detection messageThe port-mark of port;
When the device identification that the loop detection message receiving has carried this ONU, have by this ONU this localityEffect PON port sends loop detection message to OLT; The loop detection message sending has carried this ONUDevice identification, receive the receiving port of loop detection message port-mark, send loop detection reportThe transmit port mark of the port of literary composition;
Control the port block on this ONU or close the industry in described VLAN according to the notice of OLTBusiness.
5. method according to claim 4, is characterized in that, ONU is in loop detection messageCarry the device identification of this ONU by increase TLV field according to setting order, receive loop inspectionObserve and predict civilian receiving port port-mark, send the port-mark of the transmit port of this loop detection message,Wherein, described setting order and loop detection message via sequencing relevant.
6. the loop abatement apparatus in Ethernet passive optical network EPON, is characterized in that, this is establishedFor being applied to optical line terminal OLT, comprising:
Radio unit, for broadcasting loop detection report by local PON port to optical network unit ONULiterary composition, loop detection message carry the device identification of OLT, described PON port port-mark, underVirtual LAN VLAN;
Receiving element, the ring sending by the effective PON port in described VLAN for receiving ONURoad detection messages;
Loop is eliminated unit, the loop detection message sending for receive ONU at described receiving elementTime, determine and in EPON, have loop, according to the entrained device identification of the loop detection message receiving,The port-mark of receiving port and the port-mark of transmit port determine loop detection message via forwarding roadThe port for eliminating described loop is selected in footpath from described forward-path, notifies described port blockOr close the business in described VLAN.
7. equipment according to claim 6, is characterized in that, described radio unit by broadcastIn loop detection message, increase TLV field and carry the end of the device identification of OLT, described PON portMouth mark;
The loop detection message that described receiving element receives has carried that ONU increases according to setting orderTLV field, ONU according to setting order increase TLV field at least comprise ONU device identification,Port-mark, ONU that ONU receives the receiving port of loop detection message send loop detection messageThe port-mark of transmit port;
Wherein, described setting order and loop detection message via sequencing relevant.
8. equipment according to claim 7, is characterized in that, described loop is eliminated unit according to connecingEntrained device identification, the port-mark of receiving port and the end of transmit port of loop detection message of receivingMouthful mark determine loop detection message via forward-path comprise:
Equipment mark in the TLV field of the device identification that comprises this OLT that loop detection message is carriedKnowledge and PON port-mark are as the originating terminal of described forward-path;
This OLT is received to the PON port of loop detection message as the end end of described forward-path;
From the loop detection message receiving, parse the each TLV field increasing according to described setting order,By device identification, the port-mark of receiving port and the end of transmit port in the each TLV field parsingMouthful mark according to loop detection message via sequencing rearrange between described originating terminal and finish endBetween path.
9. the loop removing method in Ethernet passive optical network EPON, is characterized in that, this is establishedFor being applied to optical network unit ONU, comprising:
Receiving element, for receiving loop detection message,
Inspection unit, for checking whether the loop detection message that described receiving element receives carries this ONUDevice identification;
Processing unit, when being no when the check result of inspection unit, by except receiving loop detection reportOutside the port of literary composition and belong in the virtual LAN VLAN under loop detection message other eachPort send loop detection message, the loop detection message of transmission carried the device identification of this ONU,Receive the port-mark of the receiving port of loop detection message, the transmit port of transmission loop detection messagePort-mark; And, when the check result of inspection unit is when being, effectively local by this ONUPON port sends loop detection message to OLT; The loop detection message sending has carried this ONU'sDevice identification, the port-mark that receives the receiving port of loop detection message, transmission loop detection messageThe transmit port mark of port;
Business unit, for controlling the port block on this ONU or closing institute according to the notice of OLTState the business in VLAN.
10. equipment according to claim 9, is characterized in that, described processing unit is examined at loopObserve and predict in literary composition and carry the device identification of this ONU, reception by increasing TLV field according to setting orderTo the port-mark of the receiving port of loop detection message, send the transmit port of this loop detection messagePort-mark, wherein, described setting order and loop detection message via sequencing relevant.
CN201510741319.4A 2015-11-04 2015-11-04 Method and device of loop elimination in Ethernet passive optical network (EPON) Pending CN105591692A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510741319.4A CN105591692A (en) 2015-11-04 2015-11-04 Method and device of loop elimination in Ethernet passive optical network (EPON)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510741319.4A CN105591692A (en) 2015-11-04 2015-11-04 Method and device of loop elimination in Ethernet passive optical network (EPON)

Publications (1)

Publication Number Publication Date
CN105591692A true CN105591692A (en) 2016-05-18

Family

ID=55930983

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510741319.4A Pending CN105591692A (en) 2015-11-04 2015-11-04 Method and device of loop elimination in Ethernet passive optical network (EPON)

Country Status (1)

Country Link
CN (1) CN105591692A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789626A (en) * 2017-01-12 2017-05-31 深圳市万网博通科技有限公司 Loop self-inspection self-healing method and device
CN106878057A (en) * 2016-12-31 2017-06-20 广东东研网络科技股份有限公司 Loop detection and sweep-out method in Ethernet passive optical network EPON system
CN107979412A (en) * 2017-12-21 2018-05-01 凌云天博光电科技股份有限公司 Optical network unit loop detecting method and device
CN109962846A (en) * 2017-12-25 2019-07-02 华为技术有限公司 The processing method and processing device of routing protocol packet
CN112737981A (en) * 2020-12-23 2021-04-30 迈普通信技术股份有限公司 Broadcast path determining method and device, distributed equipment and readable storage medium
US11050486B2 (en) 2019-02-14 2021-06-29 Nokia Solutions And Networks Oy Loop detection in a passive optical LAN network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170462A (en) * 2007-12-07 2008-04-30 杭州华三通信技术有限公司 Downlink loop detection method and device for tree network
WO2008057975A2 (en) * 2006-11-02 2008-05-15 Ocean Broadband Networks, Inc. Passive optical network systems with loop detection capability and methods for the loop detection
CN102055525A (en) * 2010-12-17 2011-05-11 北京格林伟迪科技有限公司 Loop detecting and controlling method
CN102740171A (en) * 2011-04-08 2012-10-17 中兴通讯股份有限公司 Round trip detection method and system for passive optical network
CN104219122A (en) * 2014-08-26 2014-12-17 烽火通信科技股份有限公司 Detection method for quickly positioning far-end ONU (optical network unit) loop ports by OLT (optical line terminal) local sides

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008057975A2 (en) * 2006-11-02 2008-05-15 Ocean Broadband Networks, Inc. Passive optical network systems with loop detection capability and methods for the loop detection
CN101170462A (en) * 2007-12-07 2008-04-30 杭州华三通信技术有限公司 Downlink loop detection method and device for tree network
CN102055525A (en) * 2010-12-17 2011-05-11 北京格林伟迪科技有限公司 Loop detecting and controlling method
CN102740171A (en) * 2011-04-08 2012-10-17 中兴通讯股份有限公司 Round trip detection method and system for passive optical network
CN104219122A (en) * 2014-08-26 2014-12-17 烽火通信科技股份有限公司 Detection method for quickly positioning far-end ONU (optical network unit) loop ports by OLT (optical line terminal) local sides

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878057A (en) * 2016-12-31 2017-06-20 广东东研网络科技股份有限公司 Loop detection and sweep-out method in Ethernet passive optical network EPON system
CN106789626A (en) * 2017-01-12 2017-05-31 深圳市万网博通科技有限公司 Loop self-inspection self-healing method and device
CN107979412A (en) * 2017-12-21 2018-05-01 凌云天博光电科技股份有限公司 Optical network unit loop detecting method and device
CN107979412B (en) * 2017-12-21 2020-03-13 凌云天博光电科技股份有限公司 Optical network unit loop detection method and device
CN109962846A (en) * 2017-12-25 2019-07-02 华为技术有限公司 The processing method and processing device of routing protocol packet
US11050486B2 (en) 2019-02-14 2021-06-29 Nokia Solutions And Networks Oy Loop detection in a passive optical LAN network
CN112737981A (en) * 2020-12-23 2021-04-30 迈普通信技术股份有限公司 Broadcast path determining method and device, distributed equipment and readable storage medium
CN112737981B (en) * 2020-12-23 2022-04-08 迈普通信技术股份有限公司 Broadcast path determining method and device, distributed equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN105591692A (en) Method and device of loop elimination in Ethernet passive optical network (EPON)
US9407503B2 (en) Control apparatus, communication system, communication method, and program
EP2587755B1 (en) Method, apparatus and system for implementing multicast
CN100450101C (en) Conversion control method and system of OAM message
EP2555476A1 (en) Method, system and device for protecting multicast in communication network
US9160567B2 (en) Method, apparatus, and system for establishing a virtual local area network connection
US8274911B2 (en) Network monitoring system and path extracting method
RU2011119536A (en) METHOD FOR APPLYING SERVICE INSTANCE TO MPLS NETWORK (OPTIONS) AND MPLS NETWORK
TW200719638A (en) Method and apparatus for facilitating differentiated service qualities in an ethernet passive optical network
CN107948064B (en) SDN-based cross-domain multicast method and device
WO2006098024A1 (en) Multicast tree monitoring method and system in ip network
CN102195857A (en) Network topology structure and node information gathering method
CN105791169A (en) Switch transmission control method, switch transmitting method and related equipment in SDN (Software Defined Network)
CN102326370B (en) Message processing method, apparatus and system
CN101924701A (en) Building method of multicast forwarding path and route equipment
WO2014101185A1 (en) Method, apparatus and system for detecting performance of multicast channel
CN112187569B (en) Multicast VPN (virtual private network) testing system and method in NG (NG) mode of electric power
US20120224488A1 (en) Method of connectivity monitoring by subscriber line terminating apparatus
CN104796340A (en) Multicast data transmission method and device
CN102075588B (en) Method and system for realizing network address translation (NAT) transversing and equipment
CN102694734B (en) Two-layer switching equipment realizes the method for multicast based on linux kernel bridge
CN104023317A (en) Low-power-consumption multicast routing network and multicast routing method thereof
WO2016161716A1 (en) Multicast data stream monitoring method and device, and multicast forwarding device
CN102647346A (en) Method and system for shunting packet
CN101431465A (en) Method, system and apparatus for confirming edge equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20160518

RJ01 Rejection of invention patent application after publication