CN101753376A - Method and equipment for detecting link state - Google Patents
Method and equipment for detecting link state Download PDFInfo
- Publication number
- CN101753376A CN101753376A CN200910215802A CN200910215802A CN101753376A CN 101753376 A CN101753376 A CN 101753376A CN 200910215802 A CN200910215802 A CN 200910215802A CN 200910215802 A CN200910215802 A CN 200910215802A CN 101753376 A CN101753376 A CN 101753376A
- Authority
- CN
- China
- Prior art keywords
- information
- link state
- vlan
- state detection
- detection messages
- 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
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
The invention discloses a method and equipment for detecting a link state, and a bi-layer detection message is used for searching the position wherein a loop occurs in a network so as to provide abundant information comprising equipment name, port number and VLAN information, thus providing information for a user to rapidly find out the position where a network fault occurs, reducing the harm of broadcast storms and speeding up the recovery of the network fault.
Description
Technical field
The present invention relates to communication technical field, particularly a kind of link state detection method and equipment.
Background technology
(Virtual Local Area Network VLAN) divides broadcast domain, but still loop may occur among the same VLAN, and causes broadcast storm double layer network by VLAN.In a complexity and larger double layer network, because the loop that artificial misoperation or malicious act cause has very big destructiveness, and the position is hidden, is difficult to find, comprise loop network configuration schematic diagram as shown in Figure 1.
In Fig. 1, in the switching network by three equipment (SW1, SW2, SW3) formation, because misoperation causes existing the big ring of 2 physics loop: SW1, SW2, SW3 and the ring certainly of SW2.
Do not have logical loops but anatomize the big ring of finding SW1, SW2, SW3, because isolated broadcast domain (digitized representation VLAN) by VLAN between SW2 and the SW3.
If judge that by artificial investigation cable physical connection erroneous judgement can appear in loop,, can not the very first time find loop if check that according to networking topology or the equipment of logging on every port information is too loaded down with trivial details again.Along with the increase of network complexity, malfunction elimination will will become more difficult.Because broadcast storm is very harmful, can deal with problems rapidly becomes key.
Existing loop avoids technology that Spanning-Tree Protocol (Spanning Tree Protocol is arranged; STP), RSTP (Rapid Spanning Tree Protocol; RSTP), multi-service transport platform (Multi-Service Transfer Platform; MSTP), rapid ring protection protocol (Rapid RingProtection Protocol, RRPP) etc.
The network that these Technology Needs are made rational planning for cooperates, and can avoid most of foreseeable network loop according to the map construction logical topology of different VLAN as MSTP, RRPP.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
It is that loop avoids agreement to protect that certain situation is arranged, as user's malicious attack: artificially cancel the STP of the port or the overall situation, or error configurations: make mistakes as configuration RRPP agreement.May occur loop in addition and avoid protocol malfunctions to lose efficacy, may exist a large amount of loops in the network this moment, relocates analysis after needing the very first time to get rid of.
Some is not opened in the network of STP and loop occurs, can adopt usually to open STP and avoid loop, and be not enough but only open one, need to open multiple devices (mainly being convergence-level equipment) in the bigger network and just can play effect.
And STP is that a kind of simple loop is avoided agreement, can not distinguish VLAN, may cause the link that can communicate by letter because of opening can't communicating by letter that STP becomes.So need a kind of method to find the logical loops position that exists in the network, and fix a breakdown rapidly.
Summary of the invention
The invention provides a kind of link state detection method and equipment, find the position that the network intermediate ring road takes place, abundant information is provided, make the user find the information of network failure position rapidly by a kind of two Layer Detection messages.
For achieving the above object, one aspect of the present invention provides a kind of link state detection method, default vlan information, facility information and port information in the network equipment, and described method specifically may further comprise the steps:
The described network equipment obtains the vlan information that is comprised in the Link State detection messages that receives;
The described network equipment judges whether the described vlan information that gets access to comprises identical information with the vlan information of presetting;
When the described network equipment judged that the described vlan information that gets access to comprises identical information with the vlan information of presetting, the described network equipment kept identical vlan information, and deletes vlan information remaining in the described Link State detection messages;
When comprising the facility information of self in the facility information that is comprised in the Link State detection messages that described network equipment judgement receives, return described Link State detection messages to network management device.
Preferably, default vlan information, facility information and port information in the described network equipment are specially:
A default vlan information in the described network equipment, facility information and port information; Or,
Default a plurality of vlan informations, a plurality of facility information and port information in the described network equipment;
Wherein, a vlan information and corresponding facility information and port information are formed a message transmission parameter group.
Preferably, when presetting a plurality of vlan informations and a plurality of facility information and port information in the described network equipment, described method is specially:
The described network equipment judges whether any one group of data in described vlan information that gets access to and the vlan information group of presetting comprise identical information;
When the described network equipment was judged the described vlan information that gets access to and one group of data in the default vlan information group are comprised identical information, the described network equipment kept in most default vlan information groups data accordingly;
When the described network equipment judged that any one group of data in described vlan information that gets access to and the vlan information group of presetting all do not comprise identical information, the described network equipment added the vlan information of self in received message.
Preferably, when comprising the facility information of self in the facility information that is comprised in the Link State detection messages that described network equipment judgement receives, return described Link State detection messages to network management device, described method specifically comprises:
When comprising the facility information of self in the facility information that is comprised in the Link State detection messages that described network equipment judgement receives, return the described Link State detection messages that comprises equipment of itself information and port information to network management device, and this Link State detection messages directly sent to the pairing port of described network management device, other network equipments of middle process will no longer be discerned facility information and the port information in the described Link State detection messages.
Preferably, when described Link State detection messages arrived described detection resources port, described method also comprised:
Comprise same facility information and port information in the Link State detection messages that the described network equipment judges whether to exist other to feed back to;
If exist, then merge the described Link State detection messages that comprises same facility information and port information;
Loop is confirmed as in the path that the described network equipment is formed the facility information that comprised in the described Link State detection messages that feeds back to and port information, and reports an error to management server.
Preferably, information that the described vlan information that gets access to when described network equipment judgement comprises and default vlan information are not simultaneously, the described network equipment adds self vlan information, facility information and port information in the described Link State detection messages to, and by other ports described Link State detection messages is sent to other network equipments.
On the other hand, the present invention also provides a kind of network equipment, comprising:
Module is set, is used for default vlan information, facility information and port information;
Acquisition module is used for obtaining the vlan information that the Link State detection messages that receives is comprised;
Judge module is connected with the described module that is provided with described acquisition module, is used to judge whether the described vlan information that described acquisition module gets access to comprises identical information with the described set vlan information of module that is provided with;
Processing module, be connected with described judge module, be used for when described judge module judges that the described vlan information that gets access to comprises identical information with the vlan information of presetting, keeping identical vlan information, and deleting vlan information remaining in the described Link State detection messages;
Sending module is connected with described judge module, is used for judging when described judge module sending described Link State detection messages to network management device when comprising the facility information of self in the facility information that the Link State detection messages that receives comprised.
Preferably, the described default vlan information of module and facility information and the port information of being provided with is specially:
The described default vlan information of module, facility information and the port information of being provided with; Or,
Described module default a plurality of vlan informations, a plurality of facility information and the port information of being provided with;
Wherein, a vlan information and corresponding facility information and port information are formed a message transmission parameter group
Preferably, when comprising the facility information of self in the facility information that is comprised in the Link State detection messages that described judge module judgement receives, described sending module returns described Link State detection messages to network management device, specifically comprises:
When comprising the facility information of self in the facility information that is comprised in the Link State detection messages that described judge module judgement receives, return the described Link State detection messages that comprises equipment of itself information and port information to network management device, and this Link State detection messages directly sent to the pairing port of described network management device, other network equipments of middle process will no longer be discerned facility information and the port information in the described Link State detection messages
Wherein, comprise same facility information and port information in the Link State detection messages that described judge module also judges whether to exist other to feed back to;
If exist, then merge the described Link State detection messages that comprises same facility information and port information;
Loop is confirmed as in the path that described judge module is formed the facility information that comprised in the described Link State detection messages that feeds back to and port information, and reports an error to management server.
Preferably, information that the described vlan information that gets access to when described judge module judgement comprises and default vlan information are not simultaneously, described processing module is added the described default vlan information of module, facility information and the port information of being provided with in the described Link State detection messages to, and by other ports described Link State detection messages is sent to other network equipments.
Compared with prior art, the present invention has the following advantages:
By using technical scheme of the present invention, find the position that the network intermediate ring road takes place by a kind of two Layer Detection messages, abundant information is provided, comprise device name, port numbers and vlan information, the information that provides the user to find the network failure position rapidly reduces the harm of broadcast storm, accelerates the recovery of network failure.
Description of drawings
Fig. 1 is a kind of schematic network structure in the prior art;
Fig. 2 is the schematic flow sheet of a kind of link state detection method proposed by the invention;
Fig. 3 is the structural representation of the application scenarios of a kind of link state detection method proposed by the invention;
Fig. 4 is the schematic flow sheet of the link state detection method under a kind of concrete application scenarios proposed by the invention;
Fig. 5 is the structural representation of a kind of Link State detection messages proposed by the invention;
Fig. 6 is the structural representation that field distributes in a kind of Link State detection messages proposed by the invention;
Fig. 7 is the content schematic diagram of a kind of Link State detection messages of returning that comprises loop information proposed by the invention;
Fig. 8 is the content schematic diagram of a kind of Link State detection messages of returning that comprises loop information proposed by the invention;
Fig. 9 is the structural representation of a kind of network equipment proposed by the invention.
Embodiment
The present invention need solve the problem that keeper behind the double layer network generation loop can not find the logical loops position rapidly.By a kind of loop detection control message, allow equipment carry oneself device name, port, vlan information, utilize these information architecture loop topologies, be convenient to keeper's very first time to find network failure.
As shown in Figure 2, the schematic flow sheet for a kind of link state detection method proposed by the invention specifically may further comprise the steps:
Step S201, the network equipment obtain the vlan information that is comprised in the Link State detection messages that receives;
The prerequisite that this step realizes is default vlan information and facility information and a port information in the network equipment, specifically comprises:
A default vlan information and facility information and port information in the network equipment; Or,
Default a plurality of vlan informations and a plurality of facility information and port information in the network equipment, wherein, vlan information and facility information and port information are formed a plurality of messages and are sent parameter group, and each message sends and comprises a vlan information and facility information and port information in parameter group.
Wherein, when presetting a plurality of vlan informations and a plurality of facility information and port information in the network equipment, method is specially:
The network equipment judges whether any one group of data in vlan information that gets access to and the vlan information group of presetting comprise identical information;
When the network equipment was judged the vlan information get access to and one group of data in the default vlan information group are comprised identical information, the network equipment kept in most default vlan information groups data accordingly;
When the network equipment judged that any one group of data in the vlan information get access to and the vlan information group of presetting all do not comprise identical information, the network equipment added the vlan information of self in received message.
Further, when presetting a plurality of vlan informations and a plurality of facility information and port information in the network equipment,
The vlan information of presetting in the network equipment and the quantity of facility information and port information equate that the vlan information that is comprised in each message transmission parameter group and the numerical value of facility information and port information have nothing in common with each other.
Step S202, the network equipment judge whether the vlan information that gets access to comprises identical information with the vlan information of presetting;
When the network equipment judges that the vlan information that gets access to comprises identical information with the vlan information of presetting, execution in step S203;
When the network equipment judges that the vlan information that gets access to does not comprise identical information with the vlan information of presetting, keep Link State detection messages standing state.
Step S203, the network equipment keep identical vlan information, and remaining vlan information in the deletion Link State detection messages;
Step S204, the network equipment are judged the facility information that whether comprises self in the Link State detection messages that receives.
When comprising the facility information of self in the facility information that is comprised in the Link State detection messages that network equipment judgement receives, execution in step S205;
When not comprising the facility information of self in the facility information that is comprised in the Link State detection messages that network equipment judgement receives, continue to jump into capable message and transmit to next.
Step S205, the network equipment specifically comprise to network management device return link state-detection message:
When comprising the facility information of self in the facility information that is comprised in the Link State detection messages that network equipment judgement receives, return the Link State detection messages that comprises equipment of itself information and port information to network management device, and this Link State detection messages directly sent to the detection resources port, middle inspection other network equipments of process will no longer discern facility information and port information in the Link State detection messages.
Need be pointed out that further that when the Link State detection messages arrived the detection resources port, method also comprised:
Comprise same facility information and port information in the Link State detection messages that the network equipment judges whether to exist other to feed back to;
If exist, then merge the Link State detection messages that comprises same facility information and port information;
Loop is confirmed as in the path that the network equipment is formed the facility information that comprised in the Link State detection messages that feeds back to and port information, and reports an error to management server.
Compared with prior art, the present invention has the following advantages:
By using technical scheme of the present invention, find the position that the network intermediate ring road takes place by a kind of two Layer Detection messages, abundant information is provided, comprise device name, port numbers and vlan information, the information that provides the user to find the network failure position rapidly reduces the harm of broadcast storm, accelerates the recovery of network failure.
In order further to set forth technological thought of the present invention, existing in conjunction with concrete application scenarios, technical scheme of the present invention is described.
As shown in Figure 3, be the structural representation of a kind of monitor network proposed by the invention, its corresponding handling process may further comprise the steps as shown in Figure 4:
Step S401, management server send two-layer protocol message.
Narration for convenience, and this message called after loop detection control message (Loop Detection ControlProtocol, LDCP).
The concrete form of this two-layer protocol message as shown in Figure 5.
Why will adopt two-layer protocol message, be can only broadcast in VLAN for fear of message.
Two-layer protocol message and VLAN are irrelevant, send end to end between port and accept and handle.
As shown in Figure 6, the DATA field is carried 2 partial contents:
First is a vlan information, in order to record the VLAN that comprises of each port of process;
Second portion be bridge and port information (Bridge and Port Information, BPI), in order to the device name and the port numbers of the record equipment that passes through.
It is because vlan information only need judge whether identically that two parts distinguish, and identically then need not revise, different then VLAN that port and former attribute have under keeping.
And device name and port need add up, to determine that the LDCP message has passed through those equipment and port on earth.
Step S402, LDCP message by a transmission of jumping, carry out message by each equipment according to default rule and handle between equipment.
Wherein, concrete regular as follows:
1, receive handling process:
Each equipment receives that the port of LDCP message compares VLAN under the port and the VLAN attribute among the LDCP, is empty if receive message attribute, then inserts VLAN under the port, wherein, if this port STP or RRPP state are discarding, does not then handle.
Wherein, equipment records receives that for the first time the port of LDCP message is the detection source port.
Result relatively handles with reference to following rule:
If there is identical vlan information, promptly receive message VLAN attribute not for empty, there is common VLAN resource between the two in it, then keeps former attribute and receives the total VLAN of the affiliated VLAN of port, deletes all the other vlan informations.
Moreover, also need the device name of this equipment and inbound port number are charged to the BPI field, follow device name and port numbers back at transmitting apparatus.
2, send handling process:
Each equipment receives that the port of LDCP message forwards the port of message from other UP.Equally need be during forwarding to the corresponding operational processes of carrying out of VLAN attribute.
The device name of this equipment and outbound port number are charged to BPI field (the identical then device name of device name does not change, and port numbers is recorded in the inbound port back).If receive among the BPI of message and comprised this device name and the port that occurred, illustrate that then this message is the message of replying from the detection source port behind the discovery loop, does not need to repeat to add attribute, wherein, if this port STP or RRPP state are discarding, then do not transmit.
Wherein, when transmitting the LDCP message, if the VLAN attribute then continues to send this LDCP message through relatively all being deleted to empty.
3, information compares flow process:
When carrying out the packet sending and receiving processing, equipment also needs the facility information that is wherein comprised is compared processing.Equipment when adding device name can and the BPI field in original device name compare, if the device name of oneself had been added once, then think loop to occur in the network.Continuation is added this device name to BPI field back, but this LDCP message do not continue to transmit toward other ports, only issues the detection source port, prevents that message not stall in loop from sending out, and no longer repeats to add the detection source port information this moment.
For receiving the LDCP message of returning at last, promptly in the network loop has taken place.Can judge equipment and the concrete port that loop takes place by the VLAN and the BPI information of carrying in the LDCP message.
Step S403, management server identification screening loop information.
Because message can multidirectionally send, therefore, may there be the message feedback of the same loop of a plurality of expressions, need merge the message that contains same paths information and screen this moment, thereby avoid the repeatedly processing to same loop.
In application scenarios shown in Figure 3, administrator PC is sent a LDCP message, gets back to SW1 at last through SW1, SW2, SW3, and the content of LDCP is shown in 7 at last, and SW1 has occurred 2 times, and promptly loop has taken place network.Loop occurs between these equipment and port that BPI writes down, and the VLAN that produces loop is VLAN3.
In addition, administrator PC also can be received a LDCP message, has a local loop because SW2 goes up, and this content of message is shown in Figure 8.Can see that loop takes place on SW2, the port that loop takes place is P2 and P3.
Last administrator PC is analyzed the effective content in the LDCP message, tells the user topology of loop by mode more intuitively, makes things convenient for the user to find network failure, orientation problem rapidly.
For application scenarios as shown in Figure 3, VLAN takes place loop is VLAN3, and loop generation equipment is respectively SW1 (P1, P2), SW2 (P1, P4), formed internal loop between the loop that SW3 (P1, P2) is formed and P2 among the SW2 and the P3 port.
Thereby the keeper can define existing loop information in the current system rapidly, and handles accordingly,
Compared with prior art, the present invention has the following advantages:
By using technical scheme of the present invention, find the position that the network intermediate ring road takes place by a kind of two Layer Detection messages, abundant information is provided, comprise device name, port numbers and vlan information, the information that provides the user to find the network failure position rapidly reduces the harm of broadcast storm, accelerates the recovery of network failure.
In order to realize technical scheme of the present invention, the invention allows for a kind of network equipment, its structural representation comprises as shown in Figure 9:
Sending module 95 is connected with judge module 93, is used for judging when judge module 93 sending the Link State detection messages to network management device when comprising the facility information of self in the facility information that the Link State detection messages that receives comprised.
Preferably, module 91 default vlan information and facility information and port informations are set, are specially:
The default vlan informations of module 91 and facility information and port information are set; Or,
Preferably, when module 91 default a plurality of vlan informations and a plurality of facility information and port information are set,
The quantity that the default vlan information of module 91 and facility information and port information are set equates, each message sends the vlan information that comprised in parameter group and the numerical value of facility information and port information has nothing in common with each other.
Preferably, when comprising the facility information of self in the facility information that is comprised in the Link State detection messages that judge module 93 judgements receive, sending module 95 specifically comprises to network management device return link state-detection message:
When comprising the facility information of self in the facility information that is comprised in the Link State detection messages that judge module 93 judgements receive, return the Link State detection messages that comprises equipment of itself information and port information to network management device, and this Link State detection messages directly sent to the pairing port of network management device, other network equipments of middle process will no longer be discerned facility information and the port information in the Link State detection messages.
Need to prove, above-mentioned link detection message is actually and is sent in network by network management device, therefore, when certain network equipment is found to exist in the network unusual by the Link State detection messages, promptly by comprising equipment of itself information in the Link State detection messages, when determining to have loop in the network, this network equipment directly feeds back to network management device, in actual applications, feedback procedure may need the forwarding through other network equipments, owing to had been found that network is unusual, and therefore, the network equipment in the repeating process no longer needs the flow process of testing again, only needs directly to transmit to get final product.
Wherein, comprise same facility information and port information in the Link State detection messages that judge module 93 also judges whether to exist other to feed back to;
If exist, then merge the Link State detection messages that comprises same facility information and port information;
Loop is confirmed as in the path that judge module 93 is formed the facility information that comprised in the Link State detection messages that feeds back to and port information, and reports an error to management server.
Compared with prior art, the present invention has the following advantages:
By using technical scheme of the present invention, find the position that the network intermediate ring road takes place by a kind of two Layer Detection messages, abundant information is provided, comprise device name, port numbers and vlan information, the information that provides the user to find the network failure position rapidly reduces the harm of broadcast storm, accelerates the recovery of network failure.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) each implements the described method of scene to carry out the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is a preferred schematic diagram of implementing scene, module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device of implementing in the scene can be distributed in the device of implementing scene according to implementing scene description, also can carry out respective change and be arranged in the one or more devices that are different from this enforcement scene.The module of above-mentioned enforcement scene can be merged into a module, also can further split into a plurality of submodules.
The invention described above sequence number is not represented the quality of implementing scene just to description.
More than disclosed only be several concrete enforcement scene of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.
Claims (10)
1. a link state detection method is characterized in that, default vlan information, facility information and port information in the network equipment, and described method specifically may further comprise the steps:
The described network equipment obtains the vlan information that is comprised in the Link State detection messages that receives;
The described network equipment judges whether the described vlan information that gets access to comprises identical information with the vlan information of presetting;
When the described network equipment judged that the described vlan information that gets access to comprises identical information with the vlan information of presetting, the described network equipment kept identical vlan information, and deletes vlan information remaining in the described Link State detection messages;
When comprising the facility information of self in the facility information that is comprised in the Link State detection messages that described network equipment judgement receives, return described Link State detection messages to network management device.
2. the method for claim 1 is characterized in that, default vlan information, facility information and port information in the described network equipment are specially:
A default vlan information in the described network equipment, facility information and port information; Or,
Default a plurality of vlan informations, a plurality of facility information and port information in the described network equipment;
Wherein, a vlan information and corresponding facility information and port information are formed a message transmission parameter group.
3. method as claimed in claim 2 is characterized in that, when presetting a plurality of vlan informations and a plurality of facility information and port information in the described network equipment, described method is specially:
The described network equipment judges whether any one group of data in described vlan information that gets access to and the vlan information group of presetting comprise identical information;
When the described network equipment was judged the described vlan information that gets access to and one group of data in the default vlan information group are comprised identical information, the described network equipment kept in most default vlan information groups data accordingly;
When the described network equipment judged that any one group of data in described vlan information that gets access to and the vlan information group of presetting all do not comprise identical information, the described network equipment added the vlan information of self in received message.
4. the method for claim 1, it is characterized in that, when comprising the facility information of self in the facility information that is comprised in the Link State detection messages that described network equipment judgement receives, return described Link State detection messages to network management device, described method specifically comprises:
When comprising the facility information of self in the facility information that is comprised in the Link State detection messages that described network equipment judgement receives, return the described Link State detection messages that comprises equipment of itself information and port information to network management device, and this Link State detection messages directly sent to the pairing port of described network management device, other network equipments of middle process will no longer be discerned facility information and the port information in the described Link State detection messages.
5. method as claimed in claim 4 is characterized in that, when described Link State detection messages arrived described detection resources port, described method also comprised:
Comprise same facility information and port information in the Link State detection messages that the described network equipment judges whether to exist other to feed back to;
If exist, then merge the described Link State detection messages that comprises same facility information and port information;
Loop is confirmed as in the path that the described network equipment is formed the facility information that comprised in the described Link State detection messages that feeds back to and port information, and reports an error to management server.
6. the method for claim 1 is characterized in that,
Information that the described vlan information that gets access to when described network equipment judgement comprises and default vlan information are not simultaneously, the described network equipment adds self vlan information, facility information and port information in the described Link State detection messages to, and by other ports described Link State detection messages is sent to other network equipments.
7. a network equipment is characterized in that, comprising:
Module is set, is used for default vlan information, facility information and port information;
Acquisition module is used for obtaining the vlan information that the Link State detection messages that receives is comprised;
Judge module is connected with the described module that is provided with described acquisition module, is used to judge whether the described vlan information that described acquisition module gets access to comprises identical information with the described set vlan information of module that is provided with;
Processing module, be connected with described judge module, be used for when described judge module judges that the described vlan information that gets access to comprises identical information with the vlan information of presetting, keeping identical vlan information, and deleting vlan information remaining in the described Link State detection messages;
Sending module is connected with described judge module, is used for judging when described judge module sending described Link State detection messages to network management device when comprising the facility information of self in the facility information that the Link State detection messages that receives comprised.
8. the network equipment as claimed in claim 7 is characterized in that, the described default vlan information of module and facility information and the port information of being provided with is specially:
The described default vlan information of module, facility information and the port information of being provided with; Or,
Described module default a plurality of vlan informations, a plurality of facility information and the port information of being provided with;
Wherein, a vlan information and corresponding facility information and port information are formed a message transmission parameter group
9. the network equipment as claimed in claim 7, it is characterized in that, when comprising the facility information of self in the facility information that is comprised in the Link State detection messages that described judge module judgement receives, described sending module returns described Link State detection messages to network management device, specifically comprises:
When comprising the facility information of self in the facility information that is comprised in the Link State detection messages that described judge module judgement receives, return the described Link State detection messages that comprises equipment of itself information and port information to network management device, and this Link State detection messages directly sent to the pairing port of described network management device, other network equipments of middle process will no longer be discerned facility information and the port information in the described Link State detection messages
Wherein, comprise same facility information and port information in the Link State detection messages that described judge module also judges whether to exist other to feed back to;
If exist, then merge the described Link State detection messages that comprises same facility information and port information;
Loop is confirmed as in the path that described judge module is formed the facility information that comprised in the described Link State detection messages that feeds back to and port information, and reports an error to management server.
10. the network equipment as claimed in claim 7, it is characterized in that, information that the described vlan information that gets access to when described judge module judgement comprises and default vlan information are not simultaneously, described processing module is added the described default vlan information of module, facility information and the port information of being provided with in the described Link State detection messages to, and by other ports described Link State detection messages is sent to other network equipments.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009102158023A CN101753376B (en) | 2009-12-30 | 2009-12-30 | Method and equipment for detecting link state |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009102158023A CN101753376B (en) | 2009-12-30 | 2009-12-30 | Method and equipment for detecting link state |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101753376A true CN101753376A (en) | 2010-06-23 |
CN101753376B CN101753376B (en) | 2012-07-11 |
Family
ID=42479814
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009102158023A Active CN101753376B (en) | 2009-12-30 | 2009-12-30 | Method and equipment for detecting link state |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101753376B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102546311A (en) * | 2012-03-14 | 2012-07-04 | 成都市广达电子电讯技术开发有限公司 | Method for realizing loop detection on EOC (Ethernet Over Coax) device |
CN102664783A (en) * | 2012-03-31 | 2012-09-12 | 华为技术有限公司 | Virtual local area network loop detection method and device thereof |
CN106453026A (en) * | 2016-11-04 | 2017-02-22 | 锐捷网络股份有限公司 | Logic loop detection method and apparatus based on VXLAN |
CN107370636A (en) * | 2016-05-12 | 2017-11-21 | 华为技术有限公司 | Link State determines method and apparatus |
CN111130813A (en) * | 2019-12-05 | 2020-05-08 | 联想(北京)有限公司 | Information processing method based on network and electronic equipment |
CN112769650A (en) * | 2021-01-11 | 2021-05-07 | 杭州锐思客技术有限公司 | Multi-VLAN loop detection method and system |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101056224B (en) * | 2007-05-31 | 2010-09-22 | 杭州华三通信技术有限公司 | A loop detection method and device for the network device |
CN101179455A (en) * | 2007-12-07 | 2008-05-14 | 中兴通讯股份有限公司 | Method and system for implementing VLAN based port loop detection |
CN101242315B (en) * | 2008-02-26 | 2010-08-18 | 中兴通讯股份有限公司 | Loop detection method |
CN101252479A (en) * | 2008-04-01 | 2008-08-27 | 杭州华三通信技术有限公司 | Loop detection method and switch |
CN101534226A (en) * | 2009-04-14 | 2009-09-16 | 杭州华三通信技术有限公司 | VLAN-based whole network loop detection method and loop detection equipment |
-
2009
- 2009-12-30 CN CN2009102158023A patent/CN101753376B/en active Active
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102546311A (en) * | 2012-03-14 | 2012-07-04 | 成都市广达电子电讯技术开发有限公司 | Method for realizing loop detection on EOC (Ethernet Over Coax) device |
CN102546311B (en) * | 2012-03-14 | 2015-01-14 | 成都广达电子股份有限公司 | Method for realizing loop detection on EOC (Ethernet Over Coax) device |
CN102664783A (en) * | 2012-03-31 | 2012-09-12 | 华为技术有限公司 | Virtual local area network loop detection method and device thereof |
CN107370636A (en) * | 2016-05-12 | 2017-11-21 | 华为技术有限公司 | Link State determines method and apparatus |
CN107370636B (en) * | 2016-05-12 | 2021-01-29 | 华为技术有限公司 | Link state determination method and device |
CN106453026A (en) * | 2016-11-04 | 2017-02-22 | 锐捷网络股份有限公司 | Logic loop detection method and apparatus based on VXLAN |
CN106453026B (en) * | 2016-11-04 | 2019-07-23 | 锐捷网络股份有限公司 | Logical loops detection method and device based on VXLAN network |
CN111130813A (en) * | 2019-12-05 | 2020-05-08 | 联想(北京)有限公司 | Information processing method based on network and electronic equipment |
CN111130813B (en) * | 2019-12-05 | 2021-08-17 | 联想(北京)有限公司 | Information processing method based on network and electronic equipment |
CN112769650A (en) * | 2021-01-11 | 2021-05-07 | 杭州锐思客技术有限公司 | Multi-VLAN loop detection method and system |
Also Published As
Publication number | Publication date |
---|---|
CN101753376B (en) | 2012-07-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101753376B (en) | Method and equipment for detecting link state | |
EP1774716B1 (en) | Inline intrusion detection using a single physical port | |
US7580417B2 (en) | Method and apparatus for load balancing over virtual network links | |
US9882838B2 (en) | Forwarding inter-switch connection (ISC) frames in a network-to-network interconnect topology | |
US8306024B2 (en) | Preventing forwarding of a packet to a control plane | |
US9007895B2 (en) | Method for routing data packets in a fat tree network | |
CN103501250B (en) | Data flow processing method in distributed aggregated link network and device | |
CN100413290C (en) | Method for setting up notification function for route selection according to border gateway protocol | |
US7801060B2 (en) | Network management apparatus and network system | |
CN110417569A (en) | A kind of network link failure processing method and endpoint of a tunnel equipment | |
CN101999223A (en) | Reducing traffic loss in an EAPS system | |
CN104283786B (en) | System and method for the scalability for increasing software defined network | |
US8249067B2 (en) | Separation of fabric and packet processing source in a system | |
CN105763468B (en) | A kind of transmission method and device of bgp update message | |
CN104168121A (en) | Port protection method of PSE and PSE | |
US9043450B2 (en) | Generic offload architecture | |
CN108616426A (en) | A kind of loop network and business datum retransmission method | |
CN101471817A (en) | Method, system and equipment for monitoring flux of connectionless IP network | |
CN106302006A (en) | A kind of dynamic source tracing method of IP spoofing packet based on SDN | |
Krombi et al. | Automata-based approach to design and analyze security policies | |
Singh | Implementing Cisco Networking Solutions: Configure, implement, and manage complex network designs | |
CN105634839B (en) | A kind of method and apparatus for obtaining network reachable address space | |
CN104731684B (en) | A kind of living document based on driving filtering technique is monitored and protection system | |
CN102385677B (en) | Unified threat management system and data processing method thereof | |
US8977846B2 (en) | Method and device for the secure transfer of data |
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 | ||
CP03 | Change of name, title or address |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Patentee after: Xinhua three Technology Co., Ltd. Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base Patentee before: Huasan Communication Technology Co., Ltd. |
|
CP03 | Change of name, title or address |