CN102263658A - Access-network looped network monitoring method, access equipment and network system - Google Patents

Access-network looped network monitoring method, access equipment and network system Download PDF

Info

Publication number
CN102263658A
CN102263658A CN2011101678973A CN201110167897A CN102263658A CN 102263658 A CN102263658 A CN 102263658A CN 2011101678973 A CN2011101678973 A CN 2011101678973A CN 201110167897 A CN201110167897 A CN 201110167897A CN 102263658 A CN102263658 A CN 102263658A
Authority
CN
China
Prior art keywords
broadcasting
ether frame
user
side port
subscriber equipment
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
CN2011101678973A
Other languages
Chinese (zh)
Other versions
CN102263658B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201110167897.3A priority Critical patent/CN102263658B/en
Publication of CN102263658A publication Critical patent/CN102263658A/en
Priority to PCT/CN2012/077345 priority patent/WO2012175035A1/en
Application granted granted Critical
Publication of CN102263658B publication Critical patent/CN102263658B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/12Access restriction or access information delivery, e.g. discovery data delivery using downlink control channel
    • 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/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration
    • 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]

Landscapes

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

Abstract

An embodiment of the invention provides an access-network looped network monitoring method, access equipment and a network system so that looped network monitoring can be performed to all subscriber side ports. The looped network monitoring method comprises the following steps: monitoring each subscriber side port; issuing a first radio Ethernet frame to each subscriber equipment through each subscriber side port of the access equipment; determining that the looped network exists in the subscriber equipment of the subscriber side port received the first radio Ethernet frame if the first radio Ethernet frame is received. In the embodiment of the invention, if the looped network exists in the access network, the radio Ethernet frame is received by the access equipment in the looped network after the access equipment sends the radio Ethernet frame. Therefore, when the radio Ethernet frame is monitored by the access equipment, the existence of the looped network in the access network can be determined.

Description

Access Network looped network method for supervising, access device and network system
Technical field
The present invention relates to communication technical field, more particularly, relate to Access Network looped network method for supervising, access device and network system.
Background technology
At present, access device carries out data communication by user-side port and subscriber equipment, by network-side port and the network equipment for example equipment such as switch carry out data communication.Between the subscriber equipment under a certain access device, when perhaps having looped network between subscriber equipment under certain access device and the subscriber equipment under other access devices, when any broadcasting packet is transmitted, will form broadcast storm in looped network, cause current Internet resources to exhaust.
Prior art by the STP agreement port of access device is carried out the looped network monitoring and looped network is abolished, but, user-side port on the access device is not support the STP agreement a bit at present, for example user-side port is ADSL, PON etc., then can't carry out looped network for these user-side port and monitor and abolish.
Summary of the invention
In view of this, embodiment of the invention purpose is to provide Access Network looped network method for supervising, access device and network system, to address the above problem.
For achieving the above object, the embodiment of the invention provides following technical scheme:
An aspect according to the embodiment of the invention provides a kind of looped network monitoring method, and described method comprises:
Monitor each user-side port;
Issue the first broadcasting Ether frame by each user-side port on the access device and give each subscriber equipment;
If receive the described first broadcasting Ether frame, there is looped network in the subscriber equipment of then determining to receive under the user-side port of the described first broadcasting Ether frame.
Another aspect according to the embodiment of the invention provides a kind of access device, and described access device comprises:
First transmitting element is used for issuing the first broadcasting Ether frame by each user-side port on the access device and gives each subscriber equipment;
Monitoring unit is used to monitor described each user-side port;
The first looped network determining unit, if be used for receiving the described first broadcasting Ether frame, there is looped network in the subscriber equipment of then determining to receive under the user-side port of the described first broadcasting Ether frame.
Another aspect according to the embodiment of the invention provides a kind of network system, it is characterized in that, described system comprises: access device and subscriber equipment, and described access device provides user-side port, and described access device is connected with described subscriber equipment by described user-side port, wherein
Described access device is used for issuing the first broadcasting Ether frame by described user-side port and gives each subscriber equipment; And monitor described user-side port; If receive the described first broadcasting Ether frame, there is looped network in the subscriber equipment of then determining to receive under the user-side port of the described first broadcasting Ether frame;
Described subscriber equipment is used to receive the first broadcasting Ether frame that access device issues, and transmits.
From above-mentioned technical scheme as can be seen, after present embodiment sends the broadcasting Ether frame by access device, if there is looped network in the Access Network, the broadcasting Ether frame will be received by the access device in the looped network.Therefore, in case there is access device to listen to when broadcasting Ether frame, can determine to exist in the Access Network looped network.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The tree-like networking structure schematic diagram of the broadband network that Fig. 1 provides for the embodiment of the invention;
The Access Network looped network method for supervising flow chart that Fig. 2 provides for the embodiment of the invention;
Another flow chart of Access Network looped network method for supervising that Fig. 3 provides for the embodiment of the invention;
The another flow chart of Access Network looped network method for supervising that Fig. 4 provides for the embodiment of the invention;
The another flow chart of Access Network looped network method for supervising that Fig. 5 provides for the embodiment of the invention;
The schematic diagram that passes through the second broadcasting Ether frame orientation that Fig. 6 provides for the embodiment of the invention;
The another flow chart of Access Network looped network method for supervising that Fig. 7 provides for the embodiment of the invention;
Looped network schematic diagram between the user terminal that Fig. 8 a-8c provides for the embodiment of the invention;
The user terminal that Fig. 8 d-8e provides for the embodiment of the invention and the looped network schematic diagram of the network terminal;
The first broadcasting Ether frame structural representation that Fig. 9 a provides for the embodiment of the invention;
First another structural representation of broadcasting Ether frame that Fig. 9 b provides for the embodiment of the invention;
The access device structural representation that Figure 10 provides for the embodiment of the invention;
Another structural representation of access device that Figure 11 provides for the embodiment of the invention;
The another structural representation of access device that Figure 12 provides for the embodiment of the invention;
The another structural representation of access device that Figure 13 provides for the embodiment of the invention;
The network architecture schematic diagram that Figure 14 provides for the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Usually, the tree-like networking structure figure of subscriber equipment by the access device accessing to wide band network as shown in Figure 1.Access device provides network-side port and user-side port, and access device communicates by the network-side port and the network equipment, and for example convergence switch communicates by user-side port and subscriber equipment.Wherein, described access device has a plurality of user-side port, connects at least one subscriber equipment under each user-side port, and described subscriber equipment can be PC, optical network unit or Optical Network Terminal etc.
Access device can come bearing data service based on different access technologies: for example, Ethernet, ADSL (Asymmetric Digital Subscriber Loop, ADSL (Asymmetric Digital Subscriber Line)), ADSL2+ (Asymmetrical Digital Subscriber Line 2plus), SHDSL (Symmetric High bit rate Digital Subscriber Line, single to the line high-speed digital subscriber line), VDSL (Very-high-bit-rate Digital Subscriber loop, very-high-bit-rate digital subscriber loop), ISDN (Integrated Services Digital Network, integrated services digital network), EPON (Ethernet Passive Optical Network, Ethernet passive optical network), GPON (Gigabit-capable Passive Optical Network, Gigabit-capable Passive Optical Network), E1 multiple access technologies such as (30 tunnel pulse-code modulations in Europe are called for short E1, and speed is 2.048Mbit/s).Above-mentioned access technology can be used for carrying Ether frame.
Based on the structural representation of above-mentioned networking, the embodiment of the invention provides a kind of Access Network looped network method for supervising, and the executive agent of this method is an access device, and referring to Fig. 2, this method comprises the steps: at least
S201, issue the first broadcasting Ether frame by each user-side port on the access device and give each subscriber equipment.
Wherein, the above-mentioned first broadcasting Ether frame be the access control of purpose medium (Media Access Control, MAC) address is the Ether frame of broadcast address, generally this is worth and is complete 1.
Before address, access device comprises network-side port and user-side port, its network-side port is general supports above-mentioned STP protocol suite, so generally can not form the information storm by the broadcasting Ether frame of network-side port transmission, and user side interface then may not supported the STP protocol suite.Therefore, can send the transmission of the first broadcasting Ether frame in the present embodiment by user-side port.Certainly, in other embodiments of the invention, also can send the first broadcasting Ether frame simultaneously, not give unnecessary details at this by network-side port and user-side port.
Transmission to the above-mentioned first broadcasting Ether frame can be timed sending, also can trigger sending by hand on demand.When specific implementation, can make each user-side port on all access devices issue the first broadcasting Ether frame simultaneously, or make all access devices send the above-mentioned first broadcasting Ether frame successively, also promptly the user-side port of an access device issues after the first broadcasting Ether frame is sent completely, and the user-side port of another access device issues the first broadcasting Ether frame again.
Can certainly make part or special access equipment issue the above-mentioned first broadcasting Ether frame, the visual actual needs of those skilled in the art is set: for example according to experience in the past, user-side port a certain or some access device easy and other equipment or port generation looped network, then can increase the frequency that it sends the first broadcasting Ether frame, so that in time find looped network.
In other embodiments of the invention, referring to Fig. 3, step S201 specifically also can comprise:
S301, the user-side port by supported vlans (Virtual Local Area Network, VLAN), the VLAN under this port sends the first broadcasting Ether frame that carries the corresponding VLAN label;
S302, by the user-side port of supported vlans not, send (untag) the first broadcasting Ether frame that does not carry the VLAN label.
Above-mentioned VLAN label comprises the VLAN value, can be used for discerning different VLAN.Suppose that a certain user-side port belongs to 5 VLAN, then this user-side port need send the first broadcasting Ether frame that carries different VLAN labels respectively to these 5 VLAN.
Such first broadcasting Ether frame just is divided into two kinds: a kind of VLAN of carrying label, a kind of is not carry the VLAN label.The present invention is follow-up will to be described in detail the structure of the first broadcasting Ether frame.
S202, monitor each user-side port.
Certainly in other embodiments, also can while monitoring users side ports and network-side port.In addition, the order of step S201 and S202 can be exchanged, but carries out in the ban when monitoring action, and the monitoring action is all the time, is all carrying out constantly.
If S203 receives described broadcasting Ether frame, there is looped network in the subscriber equipment of then determining to receive under the user-side port of described broadcasting Ether frame.
No matter meaning promptly listens to the first broadcasting Ether frame that carries the VLAN label or listens to the untag first broadcasting Ether frame, all determines to exist looped network.
In other embodiments of the invention, when listening to first broadcasting during Ether frame that carries the VLAN label, the subscriber equipment under the above-mentioned user-side port of determining to receive the described first broadcasting Ether frame exists the embodiment of looped network to comprise:
According to the virtual local area network tags of the described first broadcasting Ether frame, determine and the described first virtual local area network tags corresponding virtual local area network (LAN) generation looped network.
As can be seen, in the present embodiment, access device is after sending the first broadcasting Ether frame, if there is looped network in the Access Network, the first broadcasting Ether frame will be received by the access device in the looped network.Therefore, in case there is access device to listen to first broadcasting during Ether frame, can determine to exist in the Access Network looped network.Thereby can carry out data analysis or handle according to detected looped network.
In other embodiments of the invention, after determining there is looped network, also can carry out looped network and abolish measure.And when the execution looped network is abolished measure, then need to choose the action of abolishing looped network and implement point.The receiving terminal that point both can have been selected the above-mentioned first broadcasting Ether frame is implemented in this action, also can select its transmitting terminal.
When the receiving terminal of selecting the above-mentioned first broadcasting Ether frame is implemented point as action, referring to Fig. 4, more than method among all embodiment, behind step S203, also can comprise the steps:
S404, the port that listens to the above-mentioned first broadcasting Ether frame is carried out looped network and abolishes measure.
And when the transmitting terminal of selecting the above-mentioned first broadcasting Ether frame is implemented point as action, referring to Fig. 5, more than method among all embodiment also need may further comprise the steps:
S505, send the second broadcasting Ether frame by user-side port, this user-side port is for receiving the user-side port of the described first broadcasting Ether frame.
Step S505 is mainly used in the transmitting terminal of determining the first broadcasting Ether frame.Referring to Fig. 6: insert access device A by user side interface A1 to user side interface An respectively with a device A 1 to An, described access device A is by network side interface cut-in convergent switch, by described convergence switch and then access diverse network.Subscriber equipment B1 inserts access device B by user side interface B1 to user side interface Bn respectively to Bn, by described access device B cut-in convergent switch and then access diverse network, wherein said access device can be multiplexer in digital user line access (Digital Subscriber Line Access Multiplexer, DSLAM) or optical line terminal (Optical Line Terminal, OLT) etc., subscriber equipment can be various user terminals, for example: optical network unit (Optical Network Unit, ONU) etc.
Specifically explain one of them application scenarios based on above-mentioned networking structure figure below: the user-side port A1 to An of access device A connects subscriber equipment A1 to An respectively, and the user-side port B1 to Bn of access device B connects subscriber equipment B1 to Bn respectively, and subscriber equipment An and subscriber equipment B1 formation looped network.
When access device A passed through user-side port A1 to An to its subscriber equipment A1-An transmission first broadcasting Ether frame Ef1, subscriber equipment B1 can receive the above-mentioned first broadcasting Ether frame Ef1, and then access device B can receive the above-mentioned first broadcasting Ether frame Ef1.And if subscriber equipment B1 oppositely sends the second broadcasting Ether frame Ef2, then the second broadcasting Ether frame Ef2 will be back to that subscriber equipment An goes up along former road and to access device A.Like this, promptly found the transmitting terminal An of the first broadcasting Ether frame Ef1.
In other embodiments of the invention, the concrete mode of step S505 can comprise:
The first broadcasting Ether frame of receiving when user-side port sends the second broadcasting Ether frame that carries same VLAN label when carrying the VLAN label by this user-side port;
The first broadcasting Ether frame of receiving when user-side port sends the second broadcasting Ether frame that does not carry the VLAN label when not carrying the VLAN label by this user-side port.
Certainly, because a user-side port may belong to different VLAN, the above-mentioned user-side port that receives the first broadcasting Ether frame that carries the VLAN label also can send the second broadcasting Ether frame that carries the corresponding VLAN label respectively to a plurality of VLAN as step S301.Because send the second broadcasting Ether frame to the VLAN that does not have looped network, access network equipment can not received the second broadcasting Ether frame from the VLAN that does not have looped network.
In other embodiments of the invention,, behind step S505, also can comprise the steps: referring to Fig. 7
S706, monitor each user-side port; Need to prove that if the monitoring of step S202 action is all the time, constantly carries out, then step S706 can omit.
If S707 receives the above-mentioned second broadcasting Ether frame, there is looped network in the subscriber equipment of then determining to receive under the user-side port of the above-mentioned second broadcasting Ether frame.
S708, the port that listens to the above-mentioned second broadcasting Ether frame is carried out looped network and abolishes measure.
The looped network monitoring method that provides of above-mentioned all embodiment can be applied in the following various application scenarios, sees also Fig. 8 a to Fig. 8 e, and wherein, Fig. 8 a-8c is the looped network application scenarios between the subscriber equipment, and Fig. 8 d-8e is the looped network of the subscriber equipment and the network equipment.Be specially: the user-side port that Fig. 8 a is a subscriber equipment by access device is connected with an access device, and wherein said subscriber equipment self produces the scene of looped network; Fig. 8 b is connected with an access device by each user-side port on the access device respectively at least two equipment, the looped network that produces between wherein said at least two subscriber equipmenies (in addition, user-side port among the figure is a unified interface, specifically can comprise at least two user-side port, make subscriber equipment be connected on the access device by each self-corresponding user-side port respectively, just specifically do not draw here); The user-side port 1 that Fig. 8 c is a subscriber equipment 1 by access device 1 is connected with access device 1, subscriber equipment 2 is connected with access device 2 by the user-side port 2 of access device 2, has the application scenarios of looped network between wherein said subscriber equipment 1 and the subscriber equipment 2; Fig. 8 d is the applied scene that has looped network between subscriber equipment and the access device; There is the application scenarios that has looped network between looped network, access device 1 and the subscriber equipment 2 in Fig. 8 e between subscriber equipment 1 and the access device 2.The looped network monitoring method that can provide by the foregoing description is to carrying out the looped network monitoring in the above-mentioned various application scenarioss, and then can monitor out which equipment automatically and have looped network, and how to abolish looped network.
In addition, before address, network-side port generally can come looped network monitoring and looped network to abolish by the STP agreement, therefore the present invention pays close attention to emphatically is how user-side port is carried out the looped network monitoring and looped network is abolished, but the monitoring among above-mentioned all embodiment, issues and broadcast Ether frame, looped network and abolish measure etc. and all can be applicable on the network-side port.
When especially issuing the second broadcasting Ether frame, because when user side arrives the looped network of network side, can on network-side port, listen to the first broadcasting Ether frame, therefore also can issue the second broadcasting Ether frame, to reach the purpose of the transmitting terminal of finding out the first broadcasting Ether frame Ef1 by the network-side port that receives the first broadcasting Ether frame.
No matter be to be that looped network is abolished the execution point with the receiving terminal of the first broadcasting Ether frame or with its transmitting terminal, the specific implementation that its looped network is abolished measure is all similar, will discuss in detail it below.
Looped network is abolished mode one: forbid sending or receiving Ether frame.Reach herein hereinafter mention forbid receiving Ether frame, be meant after receiving Ether frame it is abandoned.
It should be noted that, the method of forbidding the reception of Ether frame and transmission is according to dissimilar user-side port and different, for example can take the mode of close port to the ether port, can take mode of deexcitation port or the like to adsl port, the type of the visual port of those skilled in the art is carried out flexible design, does not give unnecessary details at this.
When the receiving terminal with the first broadcasting Ether frame is that looped network is abolished when carrying out point, after determining to receive subscriber equipment under the user-side port of the first broadcasting Ether frame and having looped network, the embodiment of above-mentioned S404 step comprises:
The subscriber equipment of above-mentioned user-side port that no thoroughfare under it sends or receives Ether frame.
Looped network is abolished mode two, when the first and/or second broadcasting Ether frame that receives carries the VLAN label, can determine and this VLAN label corresponding virtual local area network (LAN) generation looped network according to the VLAN label thus, therefore, forbid sending or receive Ether frame to this VLAN; Reaching hereinafter mentioned forbidding herein is meant to this VLAN reception Ether frame, port is when receiving the Ether frame that carries the VLAN label, check earlier whether its VLAN value is broadcasted the corresponding VLAN value of Ether frame with the first broadcasting Ether frame or second that this port receives and is conformed to, if conform to then received Ether frame is abandoned.
Belong to 5 VLAN (VLAN with user-side port 1-VLAN 5) be example, in user-side port to VLAN 1-VLAN 5Send respectively and carry VLAN label E F1 1-EF1 5The first or second broadcasting Ether frame (EF1 1-EF1 5In turn with VLAN 1-VLAN 5Corresponding) after, carry EF1 if on the port of a certain access device, listen to 1First or second broadcasting Ether frame, then on this port, forbid carrying EF1 1The reception and the transmission of Ether frame.
In addition, the described Ether frame that sends or receive of forbidding can comprise: the first broadcasting Ether frame, and/or the second broadcasting Ether frame etc. is used for monitoring the Ether frame of looped network can also comprise being used for the Ether frame of data communication.
Below the first broadcasting Ether frame is introduced.
Referring to Fig. 9 a, in the present embodiment, the untag first broadcasting Ether frame comprises capsule header and payload, and wherein, capsule header comprises:
1, target MAC (Media Access Control) address (DMAC) 901: target MAC (Media Access Control) address is complete 1, is broadcast address.
2, source MAC (SMAC) 902: source MAC can be any legal MAC Address.What fill in usually is the bridge MAC Address of sending the access device of this Ether frame, perhaps sends other legal MAC Address of the access device of this Ether frame.What fill in the present embodiment is the bridge MAC Address of access device.
3, looped network detects EtherType (Ringcheck ETYPE) 903:Ringcheck ETYPE and both had been used for identifying whether be used for the looped network detection, in addition, also is used to indicate following payload 904 with which kind of Ether frame form to resolve.Because the user-side port of access device also may send other broadcasting Ether frames when sending the above-mentioned first broadcasting Ether frame.Therefore, in order to distinguish mutually with other broadcasting Ether frames, it is processed to prevent that following payload 904 is taken as well-known protocol format, present embodiment selects EtherType-0x8300 (this paper is follow-up will to be introduced 0x8300) to detect EtherType as its looped network, certainly, those skilled in the art also can select other non-well-known EtherTypes to detect EtherType as first looped network of broadcasting Ether frame.
4, payload 904: payload needs to comprise the transmitting terminal label information of the first broadcasting Ether frame at least.In the present embodiment, above-mentioned transmitting terminal label information comprises bridge MAC Address, the port type of transmitting terminal, the port numbering of transmitting terminal and the vlan information of transmitting terminal of the access device that sends this first broadcasting Ether frame.It will be understood by those skilled in the art that, when the first broadcasting Ether frame carries the VLAN label, filled in corresponding vlan information in the transmitting terminal label information that its payload comprised, and when the first broadcasting Ether frame did not carry the VLAN label, the vlan information that its payload comprised can be sky.
In addition, though capsule header at the first broadcasting Ether frame, the bridge MAC that has filled in access device in the source MAC territory (carries the VLAN label, in vlan domain, also filled in the VLAN value), but in payload, provide these information once more, so that access device can extract the transmitting terminal label information easily when handling the payload of Ether frame according to protocol layering principle.
As for the second broadcasting Ether frame, its structure both can be identical with the above-mentioned first broadcasting Ether frame, also can be different.As long as it can be identified, be not mistaken as other well-known Ether frames or the first broadcasting Ether frame gets final product.Under the second broadcasting Ether frame structure situation identical with the first broadcasting Ether frame, also need in the payload district, insert positive and negative sign, it is the first broadcasting Ether frame that this positive and negative sign can be used for identifying this Ether frame, the second broadcasting Ether frame that still oppositely sends.In the specific implementation, to have the numeral of obvious difference or character to characterize this Ether frame respectively be that the first broadcasting Ether frame still be second to broadcast Ether frame for available " 0 ", " 1 " or other.
In actual applications, access device might listen to the Ether frame of number of different types, at this moment, can be that complete 1 broadcast address and/or Ether frame type are that the looped network of making an appointment detects EtherType (present embodiment is 0x8300) according to target MAC (Media Access Control) address, and from the Ether frame that listens to, identify the first or second broadcasting Ether frame.
Therefore, above-mentioned steps S203 or S707 specifically can be:
The Ether frame that listens to is discerned,, judged that there is looped network in the subscriber equipment under the user-side port when the MAC Address of this Ether frame is complete 1 broadcast address and/or EtherType for default being used to identifies looped network that looped network detects when detecting EtherType.
Except Untag, the equal portability VLAN of first and/or second broadcasting Ether frame label, and can insert one or more layers VLAN label as required, all include VLAN value (the VLAN value can be described as VLAN tag, or claims VLAN ID) in each layer VLAN label.Fig. 9 b shows a kind of structure of the broadcasting Ether frame that carries two-layer VLAN label, and it comprises successively: DMAC901, SMAC902,0x88a8/0x8100, two bytes (content is 802.1p mark+DEI position+VLAN tag), 0x8100, two bytes (content is 802.1p mark+DEI position+VLAN tag), Ringcheck ETYPE903 (0x8300), payload 904.Certainly also can insert other numbers of plies VLAN label as required, not repeat them here.
Above-mentioned 0x8100,0x88a8 and 0x8300 are EtherType.Wherein, 0x88a8 is the EtherType of the outside VLAN of IEEE802.1AD definition, 0x8100 is the EtherType of the VLAN of IEEE 802.1Q definition, do not have the international standard definition at present as for the aforementioned 0x8300 that mentions, therefore be used for indicating sign and whether be used for the looped network detection by embodiments of the invention.
Because analytic message is from capsule header, so first VLAN label that present embodiment will run into when resolving is called ground floor VLAN label, and the rest may be inferred.So, when having three layers of VLAN label, the 3rd layer of VLAN label is nearest apart from payload, and ground floor VLAN label apart from payload farthest.Certainly, no matter the VLAN label exist what, ground floor VLAN label is always apart from farthest that of payload.
When looped network broadcasting Ether frame carried ground floor to the N (N 〉=2) layer VLAN label, above-mentioned looped network was abolished mode two and can further be refined as:
1, forbid the Ether frame that carries ground floor VLAN label is received and sends.
2, forbid the Ether frame that carries ground floor VLAN label and second layer VLAN label is received and sends;
3, forbid the Ether frame that carries three layers of VLAN label of ground floor VLAN label to the is received and sends;
4, forbid the Ether frame that carries ground floor VLAN label to the M (N 〉=M 〉=1) layer VLAN label is received and sends.
How the above-mentioned port of having touched upon carries out looped network and abolishes measure when receiving first or second looped network broadcasting Ether frame that carries the VLAN label.
The port that will be presented in supported vlans below receives the untag first or the second broadcasting Ether frame, how to carry out looped network and abolishes measure.
The above-mentioned untag first or the second broadcasting Ether frame may come from the VLAN of common LAN or acquiescence.
Certainly, when specific implementation, even the above-mentioned untag first or the second broadcasting Ether frame are not from VLAN, the port of supported vlans also this untag broadcasting Ether frame can be associated with a certain VLAN (this VLAN is exactly that above-mentioned untag first broadcasts the corresponding LAN of Ether frame in fact).
In that being carried out looped network, abolishes the port that receives untag broadcasting Ether frame, both can forbid of reception and the transmission of this port to all untag Ether frames, can forbid that also this port receives the Ether frame from above-mentioned untag broadcasting pairing VLAN of Ether frame or LAN, and forbid sending Ether frame to above-mentioned VLAN or LAN.
Similarly, the Ether frame that receives from above-mentioned VLAN or LAN of forbidding that reaches mentioned herein is meant port checks earlier whether its corresponding VLAN or LAN are above-mentioned VLAN or LAN, if then received Ether frame is abandoned when receiving the untag Ether frame.
Corresponding with it, the embodiment of the invention also provides a kind of access device of implementing said method, and Figure 10 shows a kind of structure of this access device 100, comprising:
First transmitting element 101 is used for issuing the first broadcasting Ether frame by each user-side port on the access device and gives each subscriber equipment;
Monitoring unit 102 is used to monitor described each user-side port;
The first looped network determining unit 103, if be used for receiving the described first broadcasting Ether frame, there is looped network in the subscriber equipment of then determining to receive under the user-side port of the described first broadcasting Ether frame.
Corresponding, referring to Figure 11, in other embodiments of the invention, access device among above-mentioned all embodiment can comprise that also first abolishes unit 111, this first is abolished unit 111 and is used to implement looped network and abolishes measure, in the present embodiment, the measure of abolishing of above-mentioned looped network comprises specifically that no thoroughfare described user-side port sends or receive described broadcasting Ether frame to described subscriber equipment.
Certainly, above-mentioned first abolishes unit 111 also can be independent of outside the access device, as long as it can carry out looped network and abolish measure.
In other embodiments of the invention, referring to Figure 12, above-mentioned access device also can comprise:
Second transmitting element 121 is used for sending the second broadcasting Ether frame by the user-side port that receives the above-mentioned first broadcasting Ether frame after monitoring unit 102 listens to the above-mentioned first broadcasting Ether frame.Certainly, first transmitting element 101 and second transmitting element 121 can be merged into a unit.
Corresponding, referring to Figure 13, in other embodiments of the invention, access device among above-mentioned all embodiment can comprise that also the second looped network determining unit 131 and second abolishes unit 132, wherein, if the second looped network determining unit 131 is used for receiving the above-mentioned second broadcasting Ether frame, there is looped network in the subscriber equipment of then determining to receive under the user-side port of the above-mentioned second broadcasting Ether frame; Second abolishes unit 132, is used for abolishing measure to receiving the above-mentioned second broadcasting Ether frame user-side port execution looped network.In the present embodiment, the measure of abolishing of above-mentioned looped network specifically comprises: no thoroughfare receives the above-mentioned second broadcasting Ether frame user-side port to above-mentioned subscriber equipment transmission or reception Ether frame.Certainly, above-mentioned second abolish unit 131 and also can be independent of outside the access device.
Need to prove that second abolishes unit 131 and first abolishes unit 111 and can select an existence, also can and deposit.
Second abolishes that unit 111 is abolished in unit 131 and first and when depositing, can be regarded as, and access device has two kinds of looped network monitoring modes, does not send the second broadcasting Ether frame in the pattern one, and first abolishes unit 111 once works in pattern.And pattern two sends the second broadcasting Ether frame, and second abolishes unit 131 in two times work of pattern.
Corresponding with it, the embodiment of the invention also provides a kind of network system of implementing said method, and referring to Figure 14, this system comprises access device 141 and subscriber equipment 142, and access device 141 is connected with subscriber equipment 142 by user-side port, wherein:
Access device 141 is used for issuing the first broadcasting Ether frame by above-mentioned user-side port and gives each subscriber equipment 142; And monitor above-mentioned user-side port; If receive the above-mentioned first broadcasting Ether frame, there is looped network in the subscriber equipment of then determining to receive under the user-side port of the first broadcasting Ether frame;
Subscriber equipment 142 is used to receive the first broadcasting Ether frame that access device 141 issues, and transmits.
In other embodiments of the invention, the access device 141 in the said system, above-mentioned user-side port sends or receives Ether frame to above-mentioned subscriber equipment 142 to can be used for also that no thoroughfare.
In other embodiments of the invention, the access device 142 among above-mentioned all embodiment also can be used for sending the second broadcasting Ether frame by the user-side port that receives the above-mentioned first broadcasting Ether frame.
In other embodiments of the invention, if the access device 142 among above-mentioned all embodiment also can be used for receiving the above-mentioned second broadcasting Ether frame, there is looped network in the subscriber equipment of then determining to receive under the user-side port of the above-mentioned second broadcasting Ether frame; And no thoroughfare receives the above-mentioned second broadcasting Ether frame user-side port to described subscriber equipment transmission or reception Ether frame.
Related monitoring in said apparatus and the system, issue the broadcasting Ether frame, determine looped network, the looped network measure of abolishing can not given unnecessary details at this with reference to the disclosed content of said method.
It is pointed out that the foregoing description is the preferred embodiment that the present invention introduces, those skilled in the art can design more embodiment on this basis fully, do not give unnecessary details at this.
Each embodiment adopts the mode of going forward one by one to describe in this specification, and what each embodiment stressed all is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.
Those of ordinary skills can recognize, the unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software clearly is described, the composition and the step of each example described prevailingly according to function in the above description.These functions still are that software mode is carried out with hardware actually, depend on the application-specific and the design constraint of technical scheme.The professional and technical personnel can use distinct methods to realize described function to each specific should being used for, but this realization should not thought and exceeds scope of the present invention.
The those skilled in the art can be well understood to, and is the convenience described and succinct, and the concrete course of work of the system of foregoing description, device and unit can not repeat them here with reference to the corresponding process among the preceding method embodiment.
In several embodiment that the application provided, should be understood that disclosed system, apparatus and method can realize by other mode.For example, device embodiment described above only is schematic, for example, the division of described unit, only be that a kind of logic function is divided, during actual the realization other dividing mode can be arranged, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, the shown or coupling each other discussed or directly to be coupled or to communicate to connect can be by some interfaces, the indirect coupling of device or unit or communicate to connect can be electrically, machinery or other form.
Described unit as separating component explanation can or can not be physically to separate also, and the parts that show as the unit can be or can not be physical locations also, promptly can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select wherein some or all of unit to realize the purpose of present embodiment scheme according to the actual needs.
In addition, each functional unit in each embodiment of the present invention can be integrated in the processing unit, also can be that the independent physics in each unit exists, and also can be integrated in the unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, also can adopt the form of SFU software functional unit to realize.
If described integrated unit is realized with the form of SFU software functional unit and during as independently production marketing or use, can be stored in the computer read/write memory medium.Based on such understanding, part or all or part of of this technical scheme that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out all or part of step of the described method of each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the present invention.Multiple modification to these embodiment will be conspicuous concerning those skilled in the art, and defined herein General Principle can realize under the situation that does not break away from the spirit or scope of the present invention in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet and principle disclosed herein and features of novelty the wideest corresponding to scope.

Claims (15)

1. a looped network monitoring method is characterized in that, described method comprises:
Monitor each user-side port;
Issue the first broadcasting Ether frame by each user-side port on the access device and give each subscriber equipment;
If receive the described first broadcasting Ether frame, there is looped network in the subscriber equipment of then determining to receive under the user-side port of the described first broadcasting Ether frame.
2. method according to claim 1 is characterized in that, after there was looped network in the subscriber equipment under the user-side port of determining to receive the described first broadcasting Ether frame, described method also comprised:
Described user-side port that no thoroughfare sends or receives Ether frame to described subscriber equipment.
3. method according to claim 1 and 2 is characterized in that, the described first broadcasting Ether frame is the broadcasting Ether frame that carries virtual local area network tags.
4. method as claimed in claim 3 is characterized in that, the subscriber equipment under the described user-side port of determining to receive the described first broadcasting Ether frame exists the embodiment of looped network to comprise:
According to the virtual local area network tags of the described first broadcasting Ether frame, determine and the described first virtual local area network tags corresponding virtual local area network (LAN) generation looped network.
5. method as claimed in claim 4, it is characterized in that, determine with described virtual local area network tags corresponding virtual local area network (LAN) generation looped network after, it is described that no thoroughfare that described user-side port comprises to the embodiment that described subscriber equipment sent or received Ether frame:
Forbid sending or receive Ether frame to described VLAN.
6. according to any described method of claim 1-5, it is characterized in that described method also comprises: send the second broadcasting Ether frame by user-side port, described user-side port is for receiving the user-side port of the described first broadcasting Ether frame.
7. method according to claim 6 is characterized in that, described method also comprises:
If receive the described second broadcasting Ether frame, there is looped network in the subscriber equipment of then determining to receive under the user-side port of the described second broadcasting Ether frame;
No thoroughfare receives the described second broadcasting Ether frame user-side port to described subscriber equipment transmission or reception Ether frame.
8. an access device is characterized in that, described access device comprises:
First transmitting element is used for issuing the first broadcasting Ether frame by each user-side port on the access device and gives each subscriber equipment;
Monitoring unit is used to monitor described each user-side port;
The first looped network determining unit, if be used for receiving the described first broadcasting Ether frame, there is looped network in the subscriber equipment of then determining to receive under the user-side port of the described first broadcasting Ether frame.
9. equipment according to claim 8 is characterized in that, also comprises:
First abolishes the unit, and described user-side port sends or receive described broadcasting Ether frame to described subscriber equipment to be used for that no thoroughfare.
10. according to claim 9 or 8 described equipment, it is characterized in that, also comprise:
Second transmitting element is used for sending the second broadcasting Ether frame by user-side port, and described user-side port is for receiving the user-side port of the described first broadcasting Ether frame.
11. equipment as claimed in claim 10 is characterized in that, also comprises:
The second looped network determining unit, if be used for receiving the described second broadcasting Ether frame, there is looped network in the subscriber equipment of then determining to receive under the user-side port of the described second broadcasting Ether frame;
Second abolishes the unit, is used for that no thoroughfare and receives the described second broadcasting Ether frame user-side port sending or receive Ether frame to described subscriber equipment.
12. a network system is characterized in that, described system comprises: access device and subscriber equipment, and described access device provides user-side port, and described access device is connected with described subscriber equipment by described user-side port, wherein,
Described access device is used for issuing the first broadcasting Ether frame by described user-side port and gives each subscriber equipment; And monitor described user-side port; If receive the described first broadcasting Ether frame, there is looped network in the subscriber equipment of then determining to receive under the user-side port of the described first broadcasting Ether frame;
Described subscriber equipment is used to receive the first broadcasting Ether frame that access device issues, and transmits.
13. system according to claim 12 is characterized in that, described access device, and described user-side port sends or receives Ether frame to described subscriber equipment to be used for also that no thoroughfare.
14., it is characterized in that described access device also is used for sending the second broadcasting Ether frame by user-side port according to claim 12 or 13 described systems, described user-side port is for receiving the user-side port of the described first broadcasting Ether frame.
15. system according to claim 14 is characterized in that, if described access device also is used for receiving the described second broadcasting Ether frame, there is looped network in the subscriber equipment of then determining to receive under the user-side port of the described second broadcasting Ether frame; And no thoroughfare receives the described second broadcasting Ether frame user-side port to described subscriber equipment transmission or reception Ether frame.
CN201110167897.3A 2011-06-21 2011-06-21 Access-network looped network monitoring method, access equipment and network system Active CN102263658B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110167897.3A CN102263658B (en) 2011-06-21 2011-06-21 Access-network looped network monitoring method, access equipment and network system
PCT/CN2012/077345 WO2012175035A1 (en) 2011-06-21 2012-06-21 Monitoring method, access device and network system for accessing network with ring network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110167897.3A CN102263658B (en) 2011-06-21 2011-06-21 Access-network looped network monitoring method, access equipment and network system

Publications (2)

Publication Number Publication Date
CN102263658A true CN102263658A (en) 2011-11-30
CN102263658B CN102263658B (en) 2014-04-16

Family

ID=45010127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110167897.3A Active CN102263658B (en) 2011-06-21 2011-06-21 Access-network looped network monitoring method, access equipment and network system

Country Status (2)

Country Link
CN (1) CN102263658B (en)
WO (1) WO2012175035A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012175035A1 (en) * 2011-06-21 2012-12-27 华为技术有限公司 Monitoring method, access device and network system for accessing network with ring network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050163100A1 (en) * 2004-01-23 2005-07-28 Fredrik Orava Method of sending a packet through a node
US20060133286A1 (en) * 2004-12-22 2006-06-22 Alcatel System and method for detecting loops in a customer-provider bridge domain
CN1848751A (en) * 2005-04-04 2006-10-18 华为技术有限公司 Method for preventing user side loop network on digital user line concentrator
CN101170462A (en) * 2007-12-07 2008-04-30 杭州华三通信技术有限公司 Downlink loop detection method and device for tree network
CN101562552A (en) * 2009-05-27 2009-10-21 华为技术有限公司 Method, system and device for detecting virtual private LAN loop

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100438493C (en) * 2004-09-10 2008-11-26 华为技术有限公司 Improvement of user access capacity of wide band access apparatus
CN101184013B (en) * 2007-12-13 2011-04-13 杭州华三通信技术有限公司 Method for preventing generation of loop, host node and system
CN102263658B (en) * 2011-06-21 2014-04-16 华为技术有限公司 Access-network looped network monitoring method, access equipment and network system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050163100A1 (en) * 2004-01-23 2005-07-28 Fredrik Orava Method of sending a packet through a node
US20060133286A1 (en) * 2004-12-22 2006-06-22 Alcatel System and method for detecting loops in a customer-provider bridge domain
CN1848751A (en) * 2005-04-04 2006-10-18 华为技术有限公司 Method for preventing user side loop network on digital user line concentrator
CN101170462A (en) * 2007-12-07 2008-04-30 杭州华三通信技术有限公司 Downlink loop detection method and device for tree network
CN101562552A (en) * 2009-05-27 2009-10-21 华为技术有限公司 Method, system and device for detecting virtual private LAN loop

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012175035A1 (en) * 2011-06-21 2012-12-27 华为技术有限公司 Monitoring method, access device and network system for accessing network with ring network

Also Published As

Publication number Publication date
CN102263658B (en) 2014-04-16
WO2012175035A1 (en) 2012-12-27

Similar Documents

Publication Publication Date Title
CN101631069B (en) Method, system and equipment for pseudo wire parameter negotiation
CN102347889B (en) Message forwarding method, system and device in H-VPLS (Hierarchical Virtual Private local area network service)
CN102611634A (en) IP (Internet protocol) network access method and edge device
US10880001B2 (en) System, methods, and devices for distributed physical layer networks
CN102137009A (en) Method, system and equipment for processing Dual-layer service in network
CN101631060B (en) Method and device for managing edge port
CN102326370B (en) Message processing method, apparatus and system
CN101141380B (en) Method and system of transmitting packet
WO2016107269A1 (en) Device and method for data transmission in virtual extensible local area network
CN101959087B (en) Multicast processing method and device
CN100591044C (en) Method and device for establishing forward filtering table
CN103107932B (en) Establish the method and device in MAC IN MAC tunnels
CN103457782A (en) VLAN-based loopback detection method and network equipment
CN102857421A (en) VLL fault detection method and device
CN102647338A (en) Network communication method and equipment
CN105791176A (en) Method and device for determining IT (Information Technology) equipment port
CN102263658B (en) Access-network looped network monitoring method, access equipment and network system
CN103795635A (en) Processing method, device and system for controlling message broadcast
CN101119275B (en) Method, equipment and system for service provider equipment to obtain information
CN102315989B (en) Method for detecting multi-section pseudowire (MS-PW) and equipment and system
CN104202229A (en) Method and system for processing passive optical network (PON) optical line terminal (OLT) equipment QINQ messages
CN101938388B (en) Loop detection method and device in selective virtual local area network (SVLAN)
CN104601381B (en) The method and apparatus for preventing flow interrupt
CN102821169B (en) A kind of method that in network, MAC Address list item creates and the network equipment
US10873650B2 (en) System, methods, and devices for distributed physical layer networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant