CN104320333B - A kind of method and apparatus for detecting asymmetric static polymerization - Google Patents
A kind of method and apparatus for detecting asymmetric static polymerization Download PDFInfo
- Publication number
- CN104320333B CN104320333B CN201410604365.5A CN201410604365A CN104320333B CN 104320333 B CN104320333 B CN 104320333B CN 201410604365 A CN201410604365 A CN 201410604365A CN 104320333 B CN104320333 B CN 104320333B
- Authority
- CN
- China
- Prior art keywords
- neighbours
- port
- summary info
- static polymerization
- group
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
This application provides a kind of method and apparatus for detecting asymmetric static polymerization, Neighbor Discovery Protocol is enabled in static polymerization group membership mouth, neighborhood is established by static polymerization group membership mouth and opposite equip., receive the neighbor discovery protocol message for carrying neighbours' summary info, and the related content in neighbours' summary info judges whether it is consistent with the relevant information of the reference port of static polymerization group, it is if inconsistent, then static polymerization group does not choose the port where the neighbours, the port blocked where the neighbours.Program simple general-purpose, compatibility are high.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of method and equipment for detecting asymmetric static polymerization.
Background technology
Ethernet link clustering abbreviation link aggregation, it is by the way that a plurality of ethernet link is bundled as one
Logical links, so as to realize the purpose of increase link bandwidth, meanwhile, these links bundled pass through mutual standby
Part, it can effectively improve the reliability of link.
Whether LACP (Link Aggregation Control Protocol, link aggregation are enabled according to member port
Control protocol), link aggregation can be divided into static polymerization and dynamic aggregation both of which.Static polymerization is not standard technique,
In actual applications, some plant equipments do not support static polymerization, it is assumed that link one end is configured with static polymerization, and the other end is not
Support, such that both link ends equipment both sides can not perceive mutually, can cause to occur polymerizeing asymmetric situation, so as to shadow
The forwarding of the business of sound.
The content of the invention
The present invention provides a kind of chain circuit detecting method, comprises the following steps:
Neighbor Discovery Protocol is enabled in static polymerization group membership mouth;Established by static polymerization group membership mouth and opposite equip.
Neighborhood, receives the neighbor discovery protocol message for carrying neighbours' summary info, and neighbours' summary info comprises at least:Neighbours
The ID of aggregation group where the polymerization enabled state and/or neighbor port of port;The neighbor discovery protocol message is parsed, is obtained
The neighbours' summary info carried in the message, judge related content and static polymerization group in neighbours' summary info
Reference port it is whether consistent, if it is inconsistent, static polymerization group does not choose the port where the neighbours, block the neighbour
Shelter port.
Neighbours' summary info still further comprises the Chassis id informations of neighbor device, the Neighbor Discovery Protocol
For LLDP.
Methods described further comprises:When there is new port to add static polymerization group, neighbours are reported by LLDP messages
Summary info, if the reference port information of summary info and aggregation group is inconsistent, new port can not be selected.
Methods described further comprises:If Single port does not receive neighbours' summary info, neighbours' summary info is determined as sky,
Whether judgement is consistent with neighbours' summary info of the reference port of static polymerization group, such as inconsistent, then does not choose the port.
Methods described further comprises:If Single port receives multiple neighbours' summary infos, it is more to determine that the port is connected to
Individual opposite equip., judgement is inconsistent with static polymerization group reference port neighbours' summary info, does not choose the port.
Based on same thought, present invention also provides a kind of device for detecting static polymerization, including with lower module:Processing
Module, for enabling Neighbor Discovery Protocol in static polymerization group membership mouth, built by static polymerization group membership mouth with opposite equip.
Vertical neighbours, receive the neighbor discovery protocol message for carrying neighbours' summary info, parse the neighbor discovery protocol message, be somebody's turn to do
The neighbours' summary info carried in message, wherein, neighbours' summary info comprises at least:The polymerization of neighbor port enables
The ID of aggregation group where state and/or neighbor port;Judge module, for judging the phase in neighbours' summary info inside the Pass
Hold whether consistent with static polymerization group reference port;Aggregation module, for when judge module judged result for it is inconsistent when,
The port where the neighbours is not chosen, the port blocked where the neighbours.
The processing module is further used for, when there is new port to add static polymerization group, reporting by LLDP messages
Neighbours' summary info, whether judge module is consistent with static polymerization group reference port information according to summary info judgement, if not
Unanimously, aggregation module does not choose the new port.
The processing module is further used for, when there is port not receive neighbours' summary info, determining that neighbours' summary info is
Sky, whether judge module is consistent with neighbours' summary info of the reference port of static polymerization group according to summary info judgement, if not
Unanimously, aggregation module does not choose the port.
The processing module is additionally operable to, when there is port to receive multiple neighbours' summary infos, it is multiple right to determine that the port is connected to
End equipment, judge module is inconsistent with static polymerization group reference port neighbours' summary info according to summary info judgement, gathers
Matched moulds block does not choose the port.
Brief description of the drawings
Fig. 1 is one embodiment that the application provides using networking.
Fig. 2 is the hardware logic structure figure for the equipment that the application provides.
Fig. 3 is the flow chart of one embodiment that the application provides.
Fig. 4 is the flow chart for another embodiment that the application provides.
Embodiment
The application provides a kind of scheme for solving asymmetric static polymerization in network, and this solution passes through general association
View is transmitted terminal device information and can not communicated intercommunication to solve the problems, such as aggregated links both ends.Such as when the two of a link
End equipment, the port of an equipment are configured with static polymerization, and static polymerization is not supported in the port of another equipment, passes through the application
Solution a kind of negotiation mechanism can be provided so that the equipment of both link ends knows the aggregation configuration situation of opposite equip.,
So as to give full play to the performance of equipment, there is provided good network english teaching.
In one example, Fig. 1 illustrates the typical case needed for the solution running that this detects asymmetric static polymerization
The network architecture.The network architecture shown in Fig. 1 includes network equipment SW11, network equipment SW13, network equipment SW15.Here net
Network equipment is the equipment of optional position in network, can be access-layer switch, converges the equipment such as layer switch and router,
As long as being related to trunking performance, it is likely to be applicable the solution of the application.In the application provides example, SW11's
Port P1 and P2 are connected with SW15 P5 and P6 respectively, and SW13 port P3 is connected with SW15 P4, in SW155 sides, port P4,
P5, P6 are configured with static polymerization, and port P5 is reference port.
Refer to Fig. 2, wherein network equipment SW15 include processor 151, internal memory 152, nonvolatile memory 153 and
By interior between network interface 154, wherein processor 151, internal memory 152, nonvolatile memory 153 and network interface 154
Portion's bus 155 is connected.Polymerization is judged control by the processor 151 of the network equipment SW15 from nonvolatile memory 153
The computer instruction of logic, which is read in internal memory, to be run.
Please also refer to Fig. 3, the polymerization run on the network equipment SW15 judges that control logic includes processing module, gathers
Matched moulds block and judge module, the polymerization judge that control logic performs following processing stream under the collective effect of above-mentioned module
Journey:
Step 311:Processing module enables Neighbor Discovery Protocol in static polymerization group membership mouth;
Step 313:Processing module establishes neighbours by static polymerization group membership mouth and opposite equip., receives carrying neighbours and plucks
The neighbor discovery protocol message of information is wanted, neighbours' summary info comprises at least:The polymerization enabled state of neighbor port and/or
The ID of aggregation group where neighbor port;
Step 315:Processing module parses the neighbor discovery protocol message, obtains the neighbours carried in the message and plucks
Want information and notify judge module, judge module judges that the related content in neighbours' summary info refers to static polymerization group
Port it is whether consistent, and result is notified into aggregation module, if inconsistent, aggregation module does not choose the end where the neighbours
Mouthful, the port blocked where the neighbours.
In one embodiment, the processing module is further used for when there is new port to add static polymerization group,
Neighbours' summary info is reported by LLDP messages, judge module judges and static polymerization group reference port according to neighbours' summary info
Whether information is consistent, if inconsistent, aggregation module does not choose the new port.
The processing module is further used for, when there is port not receive neighbours' summary info, determining that neighbours' summary info is
Sky, whether judge module is consistent with neighbours' summary info of the member port of static polymerization group according to the judgement of neighbours' summary info, such as
Inconsistent, aggregation module does not choose the port.
The processing module is additionally operable to, when there is port to receive multiple neighbours' summary infos, it is multiple right to determine that the port is connected to
End equipment, judge module judge to differ with static polymerization group reference port neighbours' summary info according to neighbours' summary info
Cause, aggregation module does not choose the port.
With reference to figure 4, Fig. 4 is the specific example that the application provides, and the networking below in conjunction with Fig. 2 passes through specifically
Example illustrate the cooperating process between network equipment SW15 and other network equipments SW11 and network equipment SW13.
Step 411, network equipment SW15 on the member port of static polymerization group enable Neighbor Discovery Protocol, and configure with it is quiet
The linkage of state aggregation module.
In one example, before step 311, network equipment SW15 is configured with quiet in port P4, P5 and the P6 of itself
State polymerize, and port P4, P5 and P6 are static polymerization group membership's mouth, and port P5 is reference port, and network equipment SW15 passes through static state
The neighbours for the facility information for carrying itself are had found that message is sent to link opposite equip. by aggregation group member port:Network equipment SW11
With network equipment SW13.In one example, the neighbours have found that message can be Link Layer Discovery Protocol LLDP messages, also may be used
Be CDP (Cisco Discovery Protocol) messages or other similar to agreement message.Below this paper embodiment is equal
By taking LLDP messages as an example.
Step 412:Network equipment SW15 obtains what is received after the LLDP neighbours of the member port of static polymerization group establish
The neighbours' summary info carried in LLDP messages.
In one example, the device Summary information of itself is write LLDP TLV (type lengths values) by the network equipment 15
In, the device Summary information of itself includes but is not limited to:Chassis ID where itself, the port trunking of itself enable feelings
Condition, the decision condition of aggregation group ID and other existing optional asymmetric polymerizations where port.Equally, link opposite end
The network equipment 11 and the network equipment 13 can also send neighbours to the network equipment 15 and find message to establish neighborhood, the neighbours
It was found that message carries the device Summary information of itself.
After network equipment SW15 receives the neighbor device summary info of the network equipment SW11 and SW13 from link opposite end,
LLDP neighbours, while collection network equipment SW11 and SW13 are established with the network equipment SW11 and network equipment SW13 of opposite end respectively
Neighbours' summary info, neighbours' summary info includes but is not limited to the Chassis id informations of 1) neighbours;2) neighbor port
Polymerization enabled state;3) the aggregation group ID where neighbor port;4) decision condition of other optional asymmetric polymerizations.
Step 413:Whether network equipment SW15 is consistent according to neighbours' summary info of acquisition, judges whether to polymerization choosing
In, if summary info is inconsistent, illustrate that the neighbor port of multiple members of static polymerization has following situations:Not at same
In equipment, or, not enabled polymerization simultaneously, or, do not add same aggregation group simultaneously.
Network equipment SW15 carries out polymerization judgement according to neighbours' summary info of acquisition, if the Chassis ID of neighbours are not
Together, the neighbor port on the member port of static polymerization group is illustrated not in same equipment, in the lump referring to Fig. 2, the network equipment
The neighbours Chassis ID that SW15 port P4 is received are network equipment SW11, and the neighbours that port P5 and P6 are received
Chassis ID are network equipment SW13, are not belonging to same equipment, and networking where this explanation static polymerization group is asymmetric
It polymerize networking.
Equally, the polymerization enabled state if there is neighbor port is to be not enabled on, then explanation has neighbor port to be not enabled on gathering
Close, different polymerization enabled states is in from static polymerization group reference port;If there is the aggregation group ID where neighbor port
Inconsistent with the aggregation group ID in static polymerization group reference port, then there is neighbor port and static polymerization group reference port in explanation
What is added is not the situation of same aggregation group.
In a kind of any of the above described situation, the networking of asymmetric static polymerization is belonged to, now, static polymerization group should hinder
Redundant link is filled in, the port where the neighbours is not chosen, blocks the forwarding of the port, only retains the end consistent with reference port
Mouth (including reference port) is in selected state, and loop problem traffic affecting normally forwards caused by avoiding asymmetry.In reality
During border uses, when adding static polymerization group if new port, LLDP can also report neighbours' summary info to be judged, such as
Fruit neighbours summary info and the summary info of existing static polymerization group reference port are inconsistent, then explanation exists asymmetric
It polymerize the situation of networking, then the port newly added also will be unable to be selected, and can not add static polymerization group.
For not opening LLDP or not opening the port of static polymerization linkage, do not influenceed by the technical scheme of the application,
It can give tacit consent to and trust the connection, Asymmetric Polymerization inspection not carried out to it.
For opening LLDP and being configured with the port of static polymerization linkage, if never received within the set time
Carry the LLDP messages of neighbours' summary info, then judge neighbours' summary info to be empty, if with the others in static polymerization group
Member port neighbours' summary info is inconsistent, then should not be selected as static polymerization group membership.
For opening LLDP and being configured with the port of static polymerization linkage, if there are multiple neighbours under port, can receive
To more parts of neighbours' summary infos, because the Chassis ID of each neighbours are inconsistent, then may determine that neighbours' summary info for receiving with
Neighbours' summary info of static polymerization group membership exists inconsistent, should not be selected.
The preferred example of the disclosure is the foregoing is only, not limiting interest field, all essences in the disclosure
God and principle within, any modification, equivalent substitution and improvements done etc., should be included in the disclosure record interest field it
It is interior.
Claims (9)
- A kind of 1. method for detecting asymmetric static polymerization, it is characterised in that comprise the following steps:Neighbor Discovery Protocol is enabled in static polymerization group membership mouth;Neighborhood is established by static polymerization group membership mouth and opposite equip., receives the neighbours' discovery for carrying neighbours' summary info Protocol massages, neighbours' summary info comprise at least:It is poly- where the polymerization enabled state and/or neighbor port of neighbor port Charge-coupled ID;The neighbor discovery protocol message is parsed, the neighbours' summary info carried in the message is obtained, judges the neighbours Whether the related content in summary info is consistent with the reference port of static polymerization group, if it is inconsistent, static polymerization group The port where the neighbours is not chosen, the port blocked where the neighbours;If consistent, static polymerization group is chosen described Port where neighbours.
- 2. the method as described in claim 1, it is characterised in that neighbours' summary info still further comprises neighbor device Chassis id informations, the Neighbor Discovery Protocol are LLDP.
- 3. method as claimed in claim 2, it is characterised in that methods described further comprises:When there is new port to add static polymerization group, neighbours' summary info is reported by LLDP messages, if summary info with The reference port information of aggregation group is inconsistent, then new port can not be selected.
- 4. method as claimed in claim 2, it is characterised in that methods described further comprises:If Single port does not receive neighbours' summary info, determine that neighbours' summary info for sky, judges the reference with static polymerization group Whether neighbours' summary info of port is consistent, such as inconsistent, then does not choose the port.
- 5. method as claimed in claim 2, it is characterised in that methods described further comprises:If Single port receives multiple neighbours' summary infos, determine that the port is connected to multiple opposite equip.s, judge with it is described quiet State aggregation group reference port neighbours' summary info is inconsistent, does not choose the port.
- 6. a kind of device for detecting asymmetric static polymerization, it is characterised in that including with lower module:Processing module, for static polymerization group membership mouth enable Neighbor Discovery Protocol, by static polymerization group membership mouth with it is right End equipment establishes neighbours, receives the neighbor discovery protocol message for carrying neighbours' summary info, parses the Neighbor Discovery Protocol report Text, the neighbours' summary info carried in the message is obtained, wherein, neighbours' summary info comprises at least:Neighbor port Polymerization enabled state and/or neighbor port where aggregation group ID;Judge module, for judge the related content in neighbours' summary info and static polymerization group reference port whether one Cause;Aggregation module, for when the judged result of judge module is inconsistent, not choosing the port where the neighbours, blocking Port where the neighbours;If consistent, the port where the neighbours is chosen.
- 7. device as claimed in claim 6, it is characterised in that:The processing module, which is further used for working as, has new port to add When entering static aggregation group, neighbours' summary info is reported by LLDP messages, judge module according to neighbours' summary info judge with it is quiet Whether state aggregation group reference port information is consistent, if inconsistent, aggregation module does not choose the new port.
- 8. device as claimed in claim 6, it is characterised in that the processing module, which is further used for working as, has port not receive neighbour Summary info is occupied, determines neighbours' summary info as sky, judge module judges the ginseng with static polymerization group according to neighbours' summary info Whether consistent examine neighbours' summary info of port, such as inconsistent, aggregation module does not choose the port.
- 9. device as claimed in claim 6, it is characterised in that the processing module, which is additionally operable to work as, has port to receive multiple neighbours Summary info, determine that the port is connected to multiple opposite equip.s, judge module judges and the static polymerization according to summary info Group reference port neighbours' summary info is inconsistent, and aggregation module does not choose the port.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410604365.5A CN104320333B (en) | 2014-10-31 | 2014-10-31 | A kind of method and apparatus for detecting asymmetric static polymerization |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410604365.5A CN104320333B (en) | 2014-10-31 | 2014-10-31 | A kind of method and apparatus for detecting asymmetric static polymerization |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104320333A CN104320333A (en) | 2015-01-28 |
CN104320333B true CN104320333B (en) | 2018-04-10 |
Family
ID=52375507
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410604365.5A Active CN104320333B (en) | 2014-10-31 | 2014-10-31 | A kind of method and apparatus for detecting asymmetric static polymerization |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104320333B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107707299B (en) * | 2017-10-31 | 2020-07-07 | 新华三技术有限公司 | Detection method and device for FC aggregation link |
CN109450788B (en) * | 2018-10-31 | 2021-08-06 | 新华三云计算技术有限公司 | Virtual server initialization method and device and electronic equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102647355A (en) * | 2012-04-12 | 2012-08-22 | 华为技术有限公司 | LACP (Link Aggregation Control Protocol) consultation processing method, relay node and system |
CN103905326A (en) * | 2012-12-28 | 2014-07-02 | 迈普通信技术股份有限公司 | Ethernet link aggregation packet forwarding control method and network equipment |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10277464B2 (en) * | 2012-05-22 | 2019-04-30 | Arris Enterprises Llc | Client auto-configuration in a multi-switch link aggregation |
US9407500B2 (en) * | 2013-01-25 | 2016-08-02 | Dell Products L.P. | System and method for determining the configuration of switches in virtual link trunking environments |
-
2014
- 2014-10-31 CN CN201410604365.5A patent/CN104320333B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102647355A (en) * | 2012-04-12 | 2012-08-22 | 华为技术有限公司 | LACP (Link Aggregation Control Protocol) consultation processing method, relay node and system |
CN103905326A (en) * | 2012-12-28 | 2014-07-02 | 迈普通信技术股份有限公司 | Ethernet link aggregation packet forwarding control method and network equipment |
Non-Patent Citations (2)
Title |
---|
802.1AB Overview Link Layer Discovery Protocol;IEEE 802.3 Frame Expansion Study Group;《IEEE 802.3 FESG Interim》;20040930;全文 * |
Issues with LLDP over LAGs;Paul Congdon等;《IEEE 802.1 Contribution》;20110919;第1-12页 * |
Also Published As
Publication number | Publication date |
---|---|
CN104320333A (en) | 2015-01-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9893937B2 (en) | Network technology interworking via user programmable event-action profiles | |
WO2019139708A1 (en) | Self-adjusting data processing system | |
EP2701342A1 (en) | Method and system for implementing elastic network interface and interconnection | |
EP2798800B1 (en) | Expanding member ports of a link aggregation group between clusters | |
EP4138443A1 (en) | Communication method and apparatus | |
KR20150007623A (en) | Method and appratus for protection switching in packet transport system | |
US20250007860A1 (en) | Method and Apparatus for Inter-domain Configuration of Time-Sensitive Networks | |
WO2015094040A1 (en) | Method and control node for handling data packets | |
CN105743816A (en) | Link aggregation method and device | |
CN104320333B (en) | A kind of method and apparatus for detecting asymmetric static polymerization | |
CN105763463B (en) | Method and device for transmitting link detection message | |
CN104378223A (en) | Link performance testing method and device, logic processor and network processor | |
CN102857436B (en) | Flow transmission method and flow transmission equipment based on IRF (intelligent resilient framework) network | |
CN104394075A (en) | Message transmission method and equipment | |
CN103684955A (en) | Method, device and system for determining path where looped network breaks down | |
CN102685011B (en) | Route computing method in a kind of TRILL network and equipment | |
CN112332956B (en) | Information sharing method and device in redundant network and computer storage medium | |
CN114760249A (en) | SDN network-based data processing method, device and equipment | |
CN106612240B (en) | A kind of storage high-efficiency network connection system and method | |
CN101729349A (en) | RRPP-based detection method and device for connectivity of main ring access | |
EP4429212A1 (en) | Service processing method, apparatus, and system | |
CN106612191A (en) | Disaster recovery method and system of service chain and guarantee center | |
US20190089590A1 (en) | Detection and Configuration of a Logical Channel | |
CN105991448B (en) | Neighbor discovery method and device | |
CN116032831B (en) | Link aggregation method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant after: Xinhua three Technology Co., Ltd. Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant before: Huasan Communication Technology Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |