CN104079462A - Ring network configuration detection method and device - Google Patents

Ring network configuration detection method and device Download PDF

Info

Publication number
CN104079462A
CN104079462A CN201410339297.4A CN201410339297A CN104079462A CN 104079462 A CN104079462 A CN 104079462A CN 201410339297 A CN201410339297 A CN 201410339297A CN 104079462 A CN104079462 A CN 104079462A
Authority
CN
China
Prior art keywords
mark
node
protocol massages
erps protocol
port
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.)
Granted
Application number
CN201410339297.4A
Other languages
Chinese (zh)
Other versions
CN104079462B (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.)
Beijing Huawei Digital Technologies Co Ltd
Original Assignee
Beijing Huawei Digital 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 Beijing Huawei Digital Technologies Co Ltd filed Critical Beijing Huawei Digital Technologies Co Ltd
Priority to CN201410339297.4A priority Critical patent/CN104079462B/en
Publication of CN104079462A publication Critical patent/CN104079462A/en
Application granted granted Critical
Publication of CN104079462B publication Critical patent/CN104079462B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a ring network configuration detection method and device. The method comprises the following steps that an adjacent node receives an ERPS protocol message sent by a first node, wherein if the first node is a master node, the ERPS protocol message carries master port identification and direct connection receiving identification, and if the first node is not the master node, the ERPS protocol message carries common port or adjacent port identification and forwarding receiving identification; the adjacent node judges whether port role identification carried by the ERPS protocol message is not the master port identification and receiving mode identification carried by the ERPS protocol message is the direct connection receiving identification; if yes, the adjacent node determines that configuration of the port role identification of the adjacent port is wrong. The ring network configuration detection method and device solves the technical problem that a ring network manager cannot know whether configuration of nodes in a ring network is right or not in the prior art, ring network communication failure caused by wrong configuration of the nodes in the ring network is avoided, and the communication quality of the ring network is guaranteed.

Description

Looped network configuration detection method and device
Technical field
The embodiment of the present invention relates to ethernet technology field, relates in particular to a kind of looped network configuration detection method and device.
Background technology
Along with the extensive use of Ethernet in local area network (LAN), the scale of double layer network is increasing, and conventional spanning-tree technology is Shortcomings in expansion and convergence rate.Extreme company has proposed ERPS agreement looped network protection technology in 2003, reach 50ms switching performance.The basic ideas of Ethernet ring protection: by simplified network, network is resolved into into the elementary cell of ring, simplify and calculate, finally reach the object of Fast Convergent.The appearance of ERPS technology has solved the problem that spanning tree exists well, and ERPS Ethernet ring protection agreement is a special link layer protocol, is specifically designed to the Ethernet topology that builds ring-type.Ethernet ring protection agreement is blocked a link in the situation that ring-network topology is complete, prevents data loopback and forms broadcast storm.In the situation that there is link terminal, the link that agreement is blocked before recovering rapidly, makes recovery communication between the each node of looped network.Carrier-class convergence rate can be met well want the redundant backup function of summation network.
ERPS technology is divided monocycle, is encircled and non-closed hoop more according to the network planning; in ring, carry out delivery protocol message to control VLAN; capital arranges a host node and neighbor node; the direct-connected formation looped network protection of host node and neighbor node link; under normal circumstances; this protection link is in blocked state, thereby reaches the object of abolishing double-layer loop.And in the time of link or node failure generation, detect that the node of fault transmits fault step by step, and in the time that host node is received fault signal, will decontrol the link stopping up, the reserve link that is switched to of flow, thereby complete convergence.
But webmaster cannot know in looped network, whether node configuration is correct, causes looped network cannot communicate by letter because the configuration error of node causes in ERPS technology.
Summary of the invention
The embodiment of the present invention provides a kind of looped network configuration detection method and device, cannot know the whether correct technical problem of node configuration in looped network to overcome in prior art webmaster in looped network, avoid looped network cannot communicate by letter because the configuration error of node causes looped network, ensured the communication quality of looped network.
Embodiment of the present invention first aspect provides a kind of looped network configuration detection method, comprising:
Neighbor node receives the Ethernet automatic protection switching ERPS protocol massages that first node sends, wherein, if described first node is host node, described ERPS protocol massages carries master port mark and direct-connected reception mark, if described first node is non-host node, described ERPS protocol massages carries common port or neighbor port mark and forwards and receives mark;
Whether the port role mark of carrying in ERPS protocol massages described in described neighbor node judging is for master port identifies and receive mode is designated direct-connected reception mark;
If so, described neighbor node determines that the port role of self identifies configuration error.
In the possible implementation of the first of first aspect, described neighbor node receives the ERPS protocol massages that first node sends, and comprising:
Described neighbor node receives the described ERPS protocol massages that first node directly sends;
Or,
Described neighbor node receives the described ERPS protocol massages that described first node forwards by Section Point.
In conjunction with first aspect or the possible implementation of first aspect the first, in the possible implementation of first aspect the second, described ERPS protocol massages also carries source MAC, target MAC (Media Access Control) address.
In conjunction with first aspect, to any possibility implementation of first aspect the second, in the third possibility implementation of first aspect, described neighbor node also comprises after determining the port role mark configuration error of self:
Neighbor node sends the port role mark configuration error message of described neighbor node to webmaster, described message comprises the entrained source MAC of described ERPS protocol massages that described neighbor node receives.
Embodiment of the present invention second aspect provides a kind of looped network configuration detection method, comprising:
Section Point receives the ERPS protocol massages that first node sends, wherein, if described first node is host node, described ERPS protocol massages carries master port mark, direct-connected reception mark, source MAC and destination address, if described first node is non-host node, described ERPS protocol massages carries common port or neighbor port mark, forwards reception mark, source MAC and destination address;
Described Section Point judges that the source MAC that described ERPS protocol massages carries need to forward described ERPS protocol massages to neighbor node with the local target MAC (Media Access Control) address that whether source MAC is identical and described Section Point carries according to described ERPS protocol massages of storing of described Section Point is definite;
If so, the described ERPS protocol massages receive mode mark that described Section Point carries described ERPS protocol massages is configured to forward receive and identifies;
Described Section Point forwards the ERPS protocol massages after configuration to described neighbor node, and whether described ERPS protocol massages configures mistake for the port role mark of neighbor node judging self.
The embodiment of the present invention third aspect provides a kind of looped network configuration detection method, comprising:
Host node receives the Ethernet automatic protection switching ERPS protocol massages that first node sends, described ERPS protocol massages carries source media interviews control MAC Address, port role mark, and described port role mark comprises master port mark or neighbor port mark or common port-mark;
Described host node judges whether the port role mark of carrying in described ERPS protocol massages is that master port mark and described source MAC are different from the source MAC of the local storage of host node,
If so, described host node is determined described master node port role identification repeated configuration.
In the first possibility implementation of the third aspect, described host node also comprises after determining described master node port role identification repeated configuration:
Described host node sends master node port role identification repeated configuration message, the source MAC carrying in the ERPS protocol massages that described message comprises described host node source MAC and described reception to webmaster.
This aspect fourth aspect provides a kind of looped network configuration detection method, comprising:
Section Point receives the Ethernet automatic protection switching ERPS protocol massages that first node sends, and described ERPS protocol massages carries controls virtual LAN VLAN mark, looped network RING mark;
Described Section Point is searched described Section Point this locality according to the control VLAN mark of carrying in described ERPS protocol massages and whether is stored described control VLAN mark, if so, judge that whether the looped network mark of carrying in described ERPS protocol massages is identical with the looped network mark of the local storage of described Section Point;
If different, described Section Point is determined the looped network mark and control VLAN mark configuration error of self.
In the first possibility implementation of fourth aspect, described Section Point also comprises after determining that the looped network mark of self identifies configuration error with control VLAN:
Described Section Point sends looped network mark to webmaster and identifies configuration error message with controlling VLAN, comprises the looped network mark of the local storage of described Section Point and control looped network mark entrained in the described ERPS protocol massages that VLAN identifies and described Section Point receives and control VLAN mark in described message.
Fifth aspect present invention provides a kind of looped network configuration detection device, comprising:
Receiver module, be used for receiving first node and send Ethernet automatic protection switching ERPS protocol massages, wherein, if described first node is host node, described ERPS protocol massages carries master port mark and direct-connected reception mark, if described first node is non-host node, described ERPS protocol massages carries common port or neighbor port mark and forwards and receives mark;
Judge module, for judging that whether port role mark that described ERPS protocol massages carries does not identify for master port mark and receive mode are designated direct-connected reception; If so, described neighbor node determines that the port role of self identifies configuration error.
In the first possibility implementation aspect the 5th, described receiver module, specifically for:
Described neighbor node receives the described ERPS protocol massages that first node directly sends;
Or,
Described neighbor node receives the described ERPS protocol massages that described first node forwards by Section Point.
In conjunction with the 5th aspect or the 5th aspect the first possibility implementation, aspect the 5th, in the second possibility implementation, described ERPS protocol massages also carries source MAC, target MAC (Media Access Control) address.
In conjunction with any possibility implementation of the 5th aspect to the five aspect the second, aspect the 5th, in the third possibility implementation, also comprise:
Sending module, determine the port role mark configuration error of self for described judge module after, the port role mark configuration error message that sends described neighbor node to webmaster, described message comprises the entrained source MAC of described ERPS protocol massages that described neighbor node receives.
The embodiment of the present invention the 6th aspect provides a kind of looped network configuration detection device, comprising:
Receiver module, the ERPS protocol massages sending for receiving first node, wherein, if described first node is host node, described ERPS protocol massages carries master port mark, direct-connected reception mark, source MAC and destination address, if described first node is non-host node, described ERPS protocol massages carries common port or neighbor port mark, forwards reception mark, source MAC and destination address;
Judge module, for judging that the source MAC that described ERPS protocol massages carries need to forward described ERPS protocol massages to neighbor node with the local target MAC (Media Access Control) address that whether source MAC is identical and described Section Point carries according to described ERPS protocol massages of storing of Section Point is definite;
If so, the described ERPS protocol massages receive mode mark that described Section Point carries described ERPS protocol massages is configured to forward receive and identifies;
Sending module, for forwarding the ERPS protocol massages after configuration to described neighbor node, whether described ERPS protocol massages configures mistake for the port role mark of neighbor node judging self.
The embodiment of the present invention the 7th aspect provides a kind of looped network configuration detection device, comprising:
Receiver module, the Ethernet automatic protection switching ERPS protocol massages sending for receiving first node, described ERPS protocol massages carries source media interviews control MAC Address, port role mark, and described port role mark comprises master port mark or neighbor port mark or common port-mark;
Judge module, for judging whether the port role mark that described ERPS protocol massages carries is that master port mark and described source MAC are different from the source MAC of the local storage of host node,
If so, described host node is determined described master node port role identification repeated configuration.
Aspect the 7th, in the first possibility implementation, also comprise:
Sending module, after determining described master node port role identification repeated configuration for judge module, send master node port role identification repeated configuration message, the source MAC carrying in the ERPS protocol massages that described message comprises described host node source MAC and described reception to webmaster.
Eighth aspect present invention provides a kind of looped network configuration detection device, comprising:
Receiver module, the Ethernet automatic protection switching ERPS protocol massages sending for receiving first node, described ERPS protocol massages carries controls virtual LAN VLAN mark, looped network mark;
Judge module, search described Section Point this locality for the control VLAN mark of carrying according to described ERPS protocol massages and whether store described control VLAN mark, if so, judge that whether the looped network mark of carrying in described ERPS protocol massages is identical with the looped network mark of the local storage of described Section Point;
If different, described Section Point is determined the looped network mark and control VLAN mark configuration error of self.
In eight aspect the first possibility implementation, also comprise:
Sending module, after determining the looped network mark of self and control VLAN mark configuration error for judge module, send looped network mark to webmaster and identify configuration error message with controlling VLAN, in described message, comprise the looped network mark of the local storage of described Section Point and control looped network mark entrained in the described ERPS protocol massages that VLAN identifies and described Section Point receives and control VLAN mark.
The embodiment of the present invention; the Ethernet automatic protection switching ERPS protocol massages that neighbor node sends by receiving first node; wherein; if described first node is host node; described ERPS protocol massages carries master port mark and direct-connected reception mark; if described first node is non-host node; described ERPS protocol massages carries common port or neighbor port mark and forwards and receives mark, and this neighbor node judge by the port role mark of carrying in described ERPS protocol massages and receive mode mark that the port role of self identifies and whether configures mistake.Overcome in prior art webmaster in looped network and cannot know the whether correct technical problem of node configuration in looped network, avoided the looped network cannot to communicate by letter because node configuration error causes looped network, ensured the communication quality of looped network.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the flow chart of looped network configuration detection embodiment of the method one of the present invention;
Fig. 2 is the flow chart of looped network configuration detection embodiment of the method two of the present invention;
Fig. 3 is the flow chart of looped network configuration detection embodiment of the method three of the present invention;
Fig. 4 is the flow chart of looped network configuration detection embodiment of the method four of the present invention;
Fig. 5 is the structural representation of looped network configuration detection device embodiment mono-of the present invention;
Fig. 6 is the structural representation of looped network configuration detection device embodiment bis-of the present invention;
Fig. 7 is the structural representation of looped network configuration detection device embodiment tri-of the present invention;
Fig. 8 is the structural representation of looped network configuration detection device embodiment tetra-of the present invention;
Fig. 9 is the structural representation of looped network configuration detection device embodiment five of the present invention;
Figure 10 is the structural representation of looped network configuration detection device embodiment six of the present invention;
Figure 11 is the structural representation of looped network configuration detection device embodiment seven of the present invention.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the flow chart of looped network configuration detection embodiment of the method one of the present invention, and as shown in Figure 1, the method for the present embodiment can comprise:
Step 101, neighbor node receive the Ethernet automatic protection switching ERPS protocol massages that first node sends or Section Point forwards, wherein, if described first node is host node, described ERPS protocol massages carries master port mark and direct-connected reception mark, if described first node is non-host node, described ERPS protocol massages carries common port or neighbor port mark and forwards and receives mark;
Whether the port role mark of carrying in ERPS protocol massages described in step 102, described neighbor node judging is for master port identifies and receive mode is designated direct-connected reception mark, if so, described neighbor node determines that the port role of self identifies configuration error.
Specifically, neighbor node receives the ERPS protocol massages that host node sends, and this message carries master port mark, direct-connected reception mark; Neighbor node receives the ERPS protocol massages that non-host node sends, in the time that non-host node is transmission node, this message carries common port, in the time that non-host node is neighbor node, port role is that neighbor port mark, ERPS protocol massages receive mode mark are all to forward to receive mark, if the port role carrying in this ERPS protocol massages of neighbor node judging is designated master port mark, and receive mode is designated direct-connected reception mark, neighbor node is determined the port role mark configuration error of self.
Further, described neighbor node receives the ERPS protocol massages that first node sends, and comprising:
Described neighbor node receives the described ERPS protocol massages that first node directly sends;
Or,
Described neighbor node receives the described ERPS protocol massages that described first node forwards by Section Point.
Further, described ERPS protocol massages also carries source MAC, target MAC (Media Access Control) address.
Further, described neighbor node also comprises after determining the port role mark configuration error of self:
Neighbor node sends the port role mark configuration error message of described neighbor node to webmaster, described message comprises the entrained source MAC of described ERPS protocol massages that described neighbor node receives.
Specifically, after neighbor node is determined the port role mark configuration error of self, can send to webmaster the port role mark configuration error message of self, this message comprises the entrained source MAC of ERPS protocol massages that neighbor node receives, find node corresponding to this address in order to webmaster and reconfigure, avoided looped network cannot communicate by letter because of the looped network that the error configurations of node causes.
The embodiment of the present invention; the Ethernet automatic protection switching ERPS protocol massages that neighbor node sends by receiving first node; wherein; if described first node is host node; described ERPS protocol massages carries master port mark and direct-connected reception mark; if described first node is non-host node; described ERPS protocol massages carries common port or neighbor port mark and forwards and receives mark, and this neighbor node judge by the port role mark of carrying in described ERPS protocol massages and receive mode mark that the port role of self identifies and whether configures mistake.Overcome in prior art webmaster in looped network and cannot know the whether correct technical problem of node configuration in looped network, avoided the looped network cannot to communicate by letter because node configuration error causes looped network, ensured the communication quality of looped network.
Fig. 2 is the flow chart of looped network configuration detection embodiment of the method two of the present invention, and as shown in Figure 2, the method for the present embodiment can comprise:
Step 201, Section Point receive the too network automatic protection switching ERPS protocol massages that first node sends, wherein, if described first node is host node, described ERPS protocol massages carries master port mark, direct-connected reception mark, source MAC and destination address, if described first node is non-host node, described ERPS protocol massages carries common port or neighbor port mark, forwards reception mark, source MAC and destination address;
Step 202, described Section Point judge that the source MAC that described ERPS protocol massages carries need to forward described ERPS protocol massages to neighbor node with the local target MAC (Media Access Control) address that whether source MAC is identical and described Section Point carries according to described ERPS protocol massages of storing of described Section Point is definite, if so, the described ERPS protocol massages receive mode mark that described Section Point carries described ERPS protocol massages is configured to forward receive and identifies;
Step 203, described Section Point forward the ERPS protocol massages after configuration to described neighbor node, and whether described ERPS protocol massages configures mistake for the port role mark of neighbor node judging self.
Specifically, the present embodiment is that first node forwards ERPS protocol massages by Section Point to neighbor node.Section Point receives the ERPS protocol massages that first node sends, and this ERPS protocol massages, except port role mark, ERPS protocol massages receive mode mark, also carries source MAC, target MAC (Media Access Control) address.Wherein, if described first node is host node, described ERPS protocol massages carries master port mark, direct-connected reception mark, source MAC and destination address, if described first node is non-host node, described ERPS protocol massages carries common port or neighbor port mark, forwards reception mark.First Section Point judges that whether the source MAC that this ERPS protocol massages carries is identical with the source MAC of local storage, if identical, the target MAC (Media Access Control) address that Section Point carries according to this ERPS protocol massages determines that this ERPS protocol massages need to forward to neighbor node, the message receive mode mark that Section Point carries this ERPS protocol massages is configured to forward receive and identifies, and the ERPS protocol massages after configuration is transmitted to neighbor node, whether configure mistake for the port role mark of neighbor node judging self.
The embodiment of the present invention, Section Point forwards the ERPS protocol massages that first node sends to neighbor node, Section Point judges that whether the source MAC that this ERPS protocol massages carries is identical with the source MAC of local storage, if identical, the target MAC (Media Access Control) address that Section Point carries according to this ERPS protocol massages determines that this ERPS protocol massages need to forward to neighbor node, the message receive mode mark that Section Point carries this ERPS protocol massages is configured to forward receive and identifies, and the ERPS protocol massages after configuration is transmitted to neighbor node, identify by Section Point configuration message receive mode, improve the accuracy of ERPS protocol massages detection node configuration.
Fig. 3 is the flow chart of looped network configuration detection embodiment of the method three of the present invention, and as shown in Figure 3, the method for the present embodiment can comprise:
Step 301, host node receive the Ethernet automatic protection switching ERPS protocol massages that first node sends, described ERPS protocol massages carries source media interviews control MAC Address, port role mark, and described port role mark comprises master port mark or neighbor port mark or common port-mark;
Step 302, described host node judge whether the port role mark of carrying in described ERPS protocol massages is that master port mark and described source MAC are different from the source MAC of the local storage of host node, if so, described host node is determined described master node port role identification repeated configuration.
Further, described host node also comprises after determining described master node port role identification repeated configuration:
Described host node sends master node port role identification repeated configuration message, the source MAC carrying in the ERPS protocol massages that described message comprises described host node source MAC and described reception to webmaster.
Specifically, host node receives the ERPS protocol massages that first node sends, this message carries source MAC, port role mark, first node can be arbitrary node, and in the time that first node is host node, described port role is designated master port mark, in the time that first node is neighbor node, this port role is designated neighbor port mark, and in the time that first node is ordinary node, its port role is designated common port-mark.If this host node judgement port role is designated master port mark, but source MAC is different from the source MAC of the local storage of host node, host node is determined master node port role identification repeated configuration in looped network.
The embodiment of the present invention; host node receives the Ethernet automatic protection switching ERPS protocol massages that first node sends; ERPS protocol massages carries source media interviews control MAC Address, port role mark; port role mark comprises master port mark or neighbor port mark or common port-mark; host node judges whether the port role mark of carrying in ERPS protocol massages is that master port mark and source MAC are different from the source MAC of the local storage of host node; if so, host node is determined master node port role identification repeated configuration.Overcome in prior art webmaster in looped network and cannot know the whether correct technical problem of node configuration in looped network, avoided the looped network cannot to communicate by letter because node configuration error causes looped network, ensured the communication quality of looped network.
Fig. 4 is the flow chart of looped network configuration detection embodiment of the method four of the present invention, and as shown in Figure 4, the device of the present embodiment comprises:
Step 401, Section Point receive the Ethernet automatic protection switching ERPS protocol massages that first node sends, and described ERPS protocol massages carries controls virtual LAN VLAN mark, looped network mark;
Step 402, described Section Point are searched described Section Point this locality according to the control VLAN mark of carrying in described ERPS protocol massages and whether are stored described control VLAN mark, if, judge that whether the looped network mark of carrying in described ERPS protocol massages is identical with the looped network mark of the local storage of described Section Point, if different, described Section Point is determined the looped network mark and control VLAN mark configuration error of self.
Specifically, the present embodiment first node and Section Point can be arbitrary node in looped network, be directed to arbitrary node in looped network and there are multiple control VLAN, multiple looped network marks, it is unique identifying corresponding with it control VLAN with respect to a looped network, therefore, in the time that the looped network mark of node configuration is not mated with control VLAN, can cause looped network to communicate by letter, the present embodiment, Section Point receives the ERPS protocol massages that first node sends, described ERPS protocol massages carries VLAN mark, looped network mark, first this Section Point is searched described Section Point this locality according to the control VLAN mark of carrying in described ERPS protocol massages and whether is stored described control VLAN mark, if, judge that whether the looped network mark of carrying in described ERPS protocol massages is identical with the looped network mark of the local storage of described Section Point, if different, described Section Point is determined the looped network mark and control VLAN mark configuration error of self.
Further, described Section Point also comprises after determining that the looped network mark of self identifies configuration error with control VLAN:
Described Section Point sends looped network mark to webmaster and identifies configuration error message with controlling VLAN, comprises the looped network mark of the local storage of described Section Point and control looped network mark entrained in the described ERPS protocol massages that VLAN identifies and described Section Point receives and control VLAN mark in described message.
Fig. 5 is the structural representation of looped network configuration detection device embodiment mono-of the present invention, and as shown in Figure 5, the present embodiment device, comprising:
Receiver module 101, the Ethernet automatic protection switching ERPS protocol massages sending for receiving first node, wherein, if described first node is host node, described ERPS protocol massages carries master port mark and direct-connected reception mark, if described first node is non-host node, described ERPS protocol massages carries common port or neighbor port mark and forwards and receives mark;
Judge module 102, for judging that whether port role mark that described ERPS protocol massages carries does not identify for master port mark and receive mode are designated direct-connected reception; If so, described neighbor node determines that the port role of self identifies configuration error.
Described receiver module 101, specifically for:
Described neighbor node receives the described ERPS protocol massages that first node directly sends;
Or,
Described neighbor node receives the described ERPS protocol massages that described first node forwards by Section Point.
Further, described ERPS protocol massages also carries source MAC, target MAC (Media Access Control) address.
The device of the present embodiment, can be for the technical scheme of embodiment of the method shown in execution graph 1, and it realizes principle and technique effect is similar, repeats no more herein.
Fig. 6 is the structural representation of looped network configuration detection device embodiment bis-of the present invention, and as shown in Figure 6, the device of the present embodiment, on the device basic shown in Fig. 5, also comprises:
Sending module 103, determine the port role mark configuration error of self for described judge module after, the port role mark configuration error message that sends described neighbor node to webmaster, described message comprises the entrained source MAC of described ERPS protocol massages that described neighbor node receives.
The device of the present embodiment, can be for the technical scheme of embodiment of the method shown in execution graph 1, and it realizes principle and technique effect is similar, repeats no more herein.
Fig. 7 is the structural representation of looped network configuration detection device embodiment tri-of the present invention, and as shown in Figure 7, the device of the present embodiment comprises:
Receiver module 201, the ERPS protocol massages sending for receiving first node, wherein, if described first node is host node, described ERPS protocol massages carries master port mark, direct-connected reception mark, source MAC and destination address, if described first node is non-host node, described ERPS protocol massages carries common port or neighbor port mark, forwards reception mark, source MAC and destination address;
Judge module 202, for judging that the source MAC that described ERPS protocol massages carries need to forward described ERPS protocol massages to neighbor node with the local target MAC (Media Access Control) address that whether source MAC is identical and described Section Point carries according to described ERPS protocol massages of storing of Section Point is definite;
If so, the described ERPS protocol massages receive mode mark that described Section Point carries described ER protocol massages is configured to forward receive and identifies;
Forwarding module 203, for forwarding the ERPS protocol massages after configuration to described neighbor node, whether described ERPS protocol massages configures mistake for the port role mark of neighbor node judging self.
The device of the present embodiment, can be for the technical scheme of embodiment of the method shown in execution graph 2, and it realizes principle and technique effect is similar, repeats no more herein.
Fig. 8 is the structural representation of looped network configuration detection device embodiment tetra-of the present invention, and as shown in Figure 8, the device of the present embodiment comprises:
Receiver module 301, the Ethernet automatic protection switching ERPS protocol massages sending for receiving first node, described ERPS protocol massages carries source media interviews control MAC Address, port role mark, and described port role mark comprises master port mark or neighbor port mark or common port-mark;
Judge module 302, for judging whether the port role mark that described ERPS protocol massages carries is that master port mark and described source MAC are different from the source MAC of the local storage of host node,
If so, described host node is determined described master node port role identification repeated configuration.
The device of the present embodiment, can be for the technical scheme of embodiment of the method shown in execution graph 4, and it realizes principle and technique effect is similar, repeats no more herein.
Fig. 9 is the structural representation of looped network configuration detection device embodiment five of the present invention, and as shown in Figure 9, the present embodiment device, on the basis of the device shown in Fig. 8, also comprises:
Sending module 303, after determining described master node port role identification repeated configuration for judge module, send master node port role identification repeated configuration message, the source MAC carrying in the ERPS protocol massages that described message comprises described host node source MAC and described reception to webmaster.
The device of the present embodiment, can be for the technical scheme of embodiment of the method shown in execution graph 4, and it realizes principle and technique effect is similar, repeats no more herein.
Figure 10 is the structural representation of looped network configuration detection device embodiment six of the present invention, and as shown in figure 10, the present embodiment device comprises:
Receiver module 401, the Ethernet automatic protection switching ERPS protocol massages sending for receiving first node, described ERPS protocol massages carries controls virtual LAN VLAN mark, looped network mark;
Judge module 402, search described Section Point this locality for the control VLAN mark of carrying according to described ERPS protocol massages and whether store described control VLAN mark, if so, judge that whether the looped network mark of carrying in described ERPS protocol massages is identical with the looped network mark of the local storage of described Section Point;
If different, described Section Point is determined the looped network mark and control VLAN mark configuration error of self.
The device of the present embodiment, can be for the technical scheme of embodiment of the method shown in execution graph 5, and it realizes principle and technique effect is similar, repeats no more herein.
Figure 11 is the structural representation of looped network configuration detection device embodiment seven of the present invention, and as shown in figure 11, the present embodiment device, on the device basic shown in Figure 10, also comprises:
Sending module 403, after determining the looped network mark of self and control VLAN mark configuration error for judge module, send looped network mark to webmaster and identify configuration error message with controlling VLAN, in described message, comprise the looped network mark of the local storage of described Section Point and control looped network mark entrained in the described ERPS protocol massages that VLAN identifies and described Section Point receives and control VLAN mark.
The device of the present embodiment, can be for the technical scheme of embodiment of the method shown in execution graph 5, and it realizes principle and technique effect is similar, repeats no more herein.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each embodiment of the method can complete by the relevant hardware of program command.Aforesaid program can be stored in a computer read/write memory medium.This program, in the time carrying out, is carried out the step that comprises above-mentioned each embodiment of the method; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
Finally it should be noted that: above each embodiment, only in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to aforementioned each embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or some or all of technical characterictic is wherein equal to replacement; And these amendments or replacement do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (18)

1. a looped network configuration detection method, is characterized in that, comprising:
Neighbor node receives the Ethernet automatic protection switching ERPS protocol massages that first node sends, wherein, if described first node is host node, described ERPS protocol massages carries master port mark and direct-connected reception mark, if described first node is non-host node, described ERPS protocol massages carries common port or neighbor port mark and forwards and receives mark;
Whether the port role mark of carrying in ERPS protocol massages described in described neighbor node judging is for master port identifies and receive mode is designated direct-connected reception mark, and if so, described neighbor node determines that the port role of self identifies configuration error.
2. method according to claim 1, is characterized in that, described neighbor node receives the ERPS protocol massages that first node sends, and comprising:
Described neighbor node receives the described ERPS protocol massages that first node directly sends;
Or,
Described neighbor node receives the described ERPS protocol massages that described first node forwards by Section Point.
3. method according to claim 1 and 2, is characterized in that, described ERPS protocol massages also carries source MAC, target MAC (Media Access Control) address.
4. according to the method described in claim 1-3 any one, it is characterized in that, described neighbor node also comprises after determining the port role mark configuration error of self:
Neighbor node sends the port role mark configuration error message of described neighbor node to webmaster, described message comprises the entrained source MAC of described ERPS protocol massages that described neighbor node receives.
5. a looped network configuration detection method, is characterized in that, comprising:
Section Point receives the too network automatic protection switching ERPS protocol massages that first node sends, wherein, if described first node is host node, described ERPS protocol massages carries master port mark, direct-connected reception mark, source MAC and destination address, if described first node is non-host node, described ERPS protocol massages carries common port or neighbor port mark, forwards reception mark, source MAC and destination address;
Described Section Point judges that the source MAC that described ERPS protocol massages carries need to forward described ERPS protocol massages to neighbor node with the local target MAC (Media Access Control) address that whether source MAC is identical and described Section Point carries according to described ERPS protocol massages of storing of described Section Point is definite, if so, the described ERPS protocol massages receive mode mark that described Section Point carries described ERPS protocol massages is configured to forward receive and identifies;
Described Section Point forwards the ERPS protocol massages after configuration to described neighbor node, and whether described ERPS protocol massages configures mistake for the port role mark of neighbor node judging self.
6. a looped network configuration detection method, is characterized in that, comprising:
Host node receives the Ethernet automatic protection switching ERPS protocol massages that first node sends, described ERPS protocol massages carries source media interviews control MAC Address, port role mark, and described port role mark comprises master port mark or neighbor port mark or common port-mark;
Described host node judges whether the port role mark of carrying in described ERPS protocol massages is that master port mark and described source MAC are different from the source MAC of the local storage of host node, if so, described host node is determined described master node port role identification repeated configuration.
7. method according to claim 6, is characterized in that, described host node also comprises after determining described master node port role identification repeated configuration:
Described host node sends master node port role identification repeated configuration message, the source MAC carrying in the ERPS protocol massages that described message comprises described host node source MAC and described reception to webmaster.
8. a looped network configuration detection method, is characterized in that, comprising:
Section Point receives the Ethernet automatic protection switching ERPS protocol massages that first node sends, and described ERPS protocol massages carries controls virtual LAN VLAN mark, looped network RING mark;
Described Section Point is searched described Section Point this locality according to the control VLAN mark of carrying in described ERPS protocol massages and whether is stored described control VLAN mark, if, judge that whether the looped network mark of carrying in described ERPS protocol massages is identical with the looped network mark of the local storage of described Section Point, if different, described Section Point is determined the looped network mark and control VLAN mark configuration error of self.
9. method according to claim 8, is characterized in that, described Section Point also comprises after determining that the looped network mark of self identifies configuration error with control VLAN:
Described Section Point sends looped network mark to webmaster and identifies configuration error message with controlling VLAN, comprises the looped network mark of the local storage of described Section Point and control looped network mark entrained in the described ERPS protocol massages that VLAN identifies and described Section Point receives and control VLAN mark in described message.
10. a neighbor node, is characterized in that, comprising:
Receiver module, the Ethernet automatic protection switching ERPS protocol massages sending for receiving first node, wherein, if described first node is host node, described ERPS protocol massages carries master port mark and direct-connected reception mark, if described first node is non-host node, described ERPS protocol massages carries common port or neighbor port mark and forwards and receives mark;
Judge module, for judging that whether port role mark that described ERPS protocol massages carries does not identify for master port mark and receive mode are designated direct-connected reception; If so, described neighbor node determines that the port role of self identifies configuration error.
11. neighbor nodes according to claim 10, is characterized in that, described receiver module, specifically for:
Described neighbor node receives the described ERPS protocol massages that first node directly sends;
Or,
Described neighbor node receives the described ERPS protocol massages that described first node forwards by Section Point.
12. according to the neighbor node described in claim 10 or 11, it is characterized in that, described ERPS protocol massages also carries source MAC, target MAC (Media Access Control) address.
13. according to the neighbor node described in claim 10-12 any one, it is characterized in that, also comprises:
Sending module, determine the port role mark configuration error of self for described judge module after, the port role mark configuration error message that sends described neighbor node to webmaster, described message comprises the entrained source MAC of described ERPS protocol massages that described neighbor node receives.
14. 1 kinds of looped network nodes, described looped network node is Section Point, it is characterized in that, comprising:
Receiver module, the ERPS protocol massages sending for receiving first node, wherein, if described first node is host node, described ERPS protocol massages carries master port mark, direct-connected reception mark, source MAC and destination address, if described first node is non-host node, described ERPS protocol massages carries common port or neighbor port mark, forwards reception mark, source MAC and destination address;
Judge module, for judging that the source MAC that described ERPS protocol massages carries need to forward described ERPS protocol massages to neighbor node with the local target MAC (Media Access Control) address that whether source MAC is identical and described Section Point carries according to described ERPS protocol massages of storing of Section Point is definite;
If so, the described ERPS protocol massages receive mode mark that described Section Point carries described ERPS protocol massages is configured to forward receive and identifies;
Forwarding module, for forwarding the ERPS protocol massages after configuration to described neighbor node, whether described ERPS protocol massages configures mistake for the port role mark of neighbor node judging self.
15. 1 kinds of host nodes, is characterized in that, comprising:
Receiver module, the Ethernet automatic protection switching ERPS protocol massages sending for receiving first node, described ERPS protocol massages carries source media interviews control MAC Address, port role mark, and described port role mark comprises master port mark or neighbor port mark or common port-mark;
Judge module, for judging whether the port role mark that described ERPS protocol massages carries is that master port mark and described source MAC are different from the source MAC of the local storage of host node,
If so, described host node is determined described master node port role identification repeated configuration.
16. host nodes according to claim 15, is characterized in that, also comprise:
Sending module, after determining described master node port role identification repeated configuration for judge module, send master node port role identification repeated configuration message, the source MAC carrying in the ERPS protocol massages that described message comprises described host node source MAC and described reception to webmaster.
17. 1 kinds of looped network nodes, described looped network node is Section Point, it is characterized in that, comprising:
Receiver module, the Ethernet automatic protection switching ERPS protocol massages sending for receiving first node, described ERPS protocol massages carries controls virtual LAN VLAN mark, looped network RING mark;
Judge module, search described Section Point this locality for the control VLAN mark of carrying according to described ERPS protocol massages and whether store described control VLAN mark, if so, judge that whether the looped network mark of carrying in described ERPS protocol massages is identical with the looped network mark of the local storage of described Section Point;
If different, described Section Point is determined the looped network mark and control VLAN mark configuration error of self.
18. looped network nodes according to claim 17, is characterized in that, also comprise:
Sending module, after determining the looped network mark of self and control VLAN mark configuration error for judge module, send looped network mark to webmaster and identify configuration error message with controlling VLAN, in described message, comprise the looped network mark of the local storage of described Section Point and control looped network mark entrained in the described ERPS protocol massages that VLAN identifies and described Section Point receives and control VLAN mark.
CN201410339297.4A 2014-07-16 2014-07-16 Looped network configures detection method and device Active CN104079462B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410339297.4A CN104079462B (en) 2014-07-16 2014-07-16 Looped network configures detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410339297.4A CN104079462B (en) 2014-07-16 2014-07-16 Looped network configures detection method and device

Publications (2)

Publication Number Publication Date
CN104079462A true CN104079462A (en) 2014-10-01
CN104079462B CN104079462B (en) 2017-10-17

Family

ID=51600516

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410339297.4A Active CN104079462B (en) 2014-07-16 2014-07-16 Looped network configures detection method and device

Country Status (1)

Country Link
CN (1) CN104079462B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016101844A1 (en) * 2014-12-23 2016-06-30 中兴通讯股份有限公司 Network manager communication packet processing method, device, server and main control board
CN105897507A (en) * 2016-03-31 2016-08-24 杭州数梦工场科技有限公司 Node equipment state detection method and node equipment state detection device
CN106571936A (en) * 2015-10-08 2017-04-19 中兴通讯股份有限公司 Loop network protection data configuration method and device
CN109691031A (en) * 2016-11-15 2019-04-26 华为技术有限公司 Service message transmission method and node device
CN110838943A (en) * 2019-11-08 2020-02-25 迈普通信技术股份有限公司 Ring network configuration method, device, network equipment and storage medium
CN114401324A (en) * 2021-12-30 2022-04-26 华为技术有限公司 Message forwarding method, network equipment and system
CN114500117A (en) * 2022-04-15 2022-05-13 北京全路通信信号研究设计院集团有限公司 Looped network Master configuration error judgment method and device based on looped network storm flow characteristics

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5949755A (en) * 1996-04-12 1999-09-07 Fujitsu Network Communications, Inc. ATM emulated path protection
US7099287B1 (en) * 2001-03-06 2006-08-29 Cisco Systems O.I.A. (1988) Ltd. Node detection and ring configuration for physical star connected networks
CN101364890A (en) * 2007-08-09 2009-02-11 华为技术有限公司 Method and apparatus for network configuration information verification
CN101958831B (en) * 2010-06-10 2013-03-13 福建星网锐捷网络有限公司 Ethernet ring network failure recovery method, Ethernet ring network and switching equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5949755A (en) * 1996-04-12 1999-09-07 Fujitsu Network Communications, Inc. ATM emulated path protection
US7099287B1 (en) * 2001-03-06 2006-08-29 Cisco Systems O.I.A. (1988) Ltd. Node detection and ring configuration for physical star connected networks
CN101364890A (en) * 2007-08-09 2009-02-11 华为技术有限公司 Method and apparatus for network configuration information verification
CN101958831B (en) * 2010-06-10 2013-03-13 福建星网锐捷网络有限公司 Ethernet ring network failure recovery method, Ethernet ring network and switching equipment

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016101844A1 (en) * 2014-12-23 2016-06-30 中兴通讯股份有限公司 Network manager communication packet processing method, device, server and main control board
CN106571936A (en) * 2015-10-08 2017-04-19 中兴通讯股份有限公司 Loop network protection data configuration method and device
CN105897507A (en) * 2016-03-31 2016-08-24 杭州数梦工场科技有限公司 Node equipment state detection method and node equipment state detection device
CN105897507B (en) * 2016-03-31 2019-09-17 杭州数梦工场科技有限公司 The condition detection method and device of node device
CN109691031A (en) * 2016-11-15 2019-04-26 华为技术有限公司 Service message transmission method and node device
CN109691031B (en) * 2016-11-15 2020-11-06 华为技术有限公司 Service message transmission method and node equipment
CN110838943A (en) * 2019-11-08 2020-02-25 迈普通信技术股份有限公司 Ring network configuration method, device, network equipment and storage medium
CN110838943B (en) * 2019-11-08 2023-04-07 迈普通信技术股份有限公司 Ring network configuration method, device, network equipment and storage medium
CN114401324A (en) * 2021-12-30 2022-04-26 华为技术有限公司 Message forwarding method, network equipment and system
CN114401324B (en) * 2021-12-30 2024-03-01 华为技术有限公司 Message forwarding method, network equipment and system
CN114500117A (en) * 2022-04-15 2022-05-13 北京全路通信信号研究设计院集团有限公司 Looped network Master configuration error judgment method and device based on looped network storm flow characteristics
CN114500117B (en) * 2022-04-15 2022-07-05 北京全路通信信号研究设计院集团有限公司 Looped network Master configuration error judgment method and device based on looped network storm flow characteristics

Also Published As

Publication number Publication date
CN104079462B (en) 2017-10-17

Similar Documents

Publication Publication Date Title
CN104079462A (en) Ring network configuration detection method and device
CN102232279B (en) Method for detecting loop position in Ethernet, and Ethernet switching device
CN102299835B (en) Ring network fault switching method and apparatus
CN103401726A (en) Network path detecting method, device and system
CN103053139B (en) Message processing method and system
CN101873230A (en) Method and device for discovering physical network topology
CN106797370B (en) SAS system and traversal method and device thereof
US10721094B2 (en) Ethernet ring protection switching method and node
CN106992931B (en) Switch redundancy backup method based on double-loop and double-loop system
CN100461739C (en) RPR bidge redundancy protecting method and RPR bridge ring equipment
CN103414644A (en) Method for issuing entries and controller
CN103607317A (en) Two-layer loop detection method, two-layer loop detection device and communication system
CN103475583A (en) Method and equipment for removing media access control forwarding table entries
CN101483571B (en) RRPP configuring method, system and device
CN105871674A (en) Ring protection link fault protection method, device and system
US9509523B2 (en) Method for protection switching in ethernet ring network
CN102118291B (en) Ring network link failure processing method, device and ring network
CN102170384B (en) Method for processing faults of intersected Ethernet ring and nodes
CN105450432A (en) Method for positioning port connection error and associated equipment
KR101253931B1 (en) Communication management device, communication device, and communication method
CN104579809A (en) Detection method and device for stacking splitting
US20190268235A1 (en) Method for managing network nodes and communication control method thereof
CN111555916B (en) Method, device, storage medium and equipment for deploying looped network
CN105634944A (en) Routing loop determination method and equipment
CN103684882A (en) Message transmission method, system and device based on TRUNK technology

Legal Events

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