CN103023698A - LACP (link aggregation control protocol) link aggregation optimization method and device based on Ethernet link-level OAM (operation, administration and maintenance) - Google Patents

LACP (link aggregation control protocol) link aggregation optimization method and device based on Ethernet link-level OAM (operation, administration and maintenance) Download PDF

Info

Publication number
CN103023698A
CN103023698A CN2012105049265A CN201210504926A CN103023698A CN 103023698 A CN103023698 A CN 103023698A CN 2012105049265 A CN2012105049265 A CN 2012105049265A CN 201210504926 A CN201210504926 A CN 201210504926A CN 103023698 A CN103023698 A CN 103023698A
Authority
CN
China
Prior art keywords
link
performance
lacp
event
oam
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012105049265A
Other languages
Chinese (zh)
Inventor
孟凤莉
张骏
姜维
赵莉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2012105049265A priority Critical patent/CN103023698A/en
Publication of CN103023698A publication Critical patent/CN103023698A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides an LACP (link aggregation control protocol) link aggregation optimization method based on Ethernet link-level OAM (operation, administration and maintenance). The method comprises the steps of building an aggregation link by a port in an aggregation group according to an LACP; automatically executing an OAM protocol on two ports of a work link in the aggregation link after creating a business, and monitoring the performance of the work link; and if the performance of the work link is monitored to be lower than a set performance standard, stopping aggregation of the work link, and rebuilding an aggregation link according to the LACP. According to the method disclosed by the invention, the aggregation link of the LACP is optimized and monitored through the OAM link, so that the aggregation link can be rebuilt according to the performance index of the link, and business transmission with higher quality is achieved under the condition of pursuing bandwidth.

Description

Optimize method and the device of the polymerization of LACP protocol link based on ethernet link level OAM
Technical field
The present invention relates to data communication and transmission technique field, more specifically, relate to a kind of method and device of optimizing the polymerization of LACP protocol link based on ethernet link level Operations, Administration and Maintenance (operation, administration and maintenance, OAM).
Background technology
Link aggregation is a plurality of physics ethernet ports to be condensed together form an aggregation group in logic, use the upper layer entity of link aggregation service that many physical links in the same aggregation group are considered as a logical links, increased link bandwidth, and can carry out load balancing between each member port in the aggregation group, improve the reliability of link.Link aggregation can be divided into three kinds according to the mode of polymerization: manual polymerization; static polymerization and dynamic aggregation; and based on LACP (the Link AggregationControl Protocol of IEEE802.3ad standard; link aggregate control protocol) is a kind of agreement that realizes that link dynamically converges; the LACP agreement is by LACP message (LACPDU) and opposite end interactive information; set up aggregated links, the link aggregation schematic diagram of protected mode as shown in Figure 1.
There are the following problems in existing LACP protocol link polymerization:
LACP protocol link polymerization technique can only be monitored link failure (link fault) state of link, when link occurs fault, just can reselect other links, yet can not guarantee like this service quality of transport service.
Ethernet link level OAM technology is used for link operation, administers and maintains, has the operational capacity that the monitoring link performance is provided, for the link between two direct-connected devices, the ethernet link level OAM provide link performance monitoring, detecting fault and the functions such as warning, go-and-return test, incorporates ethernet link level OAM technology and can remedy the deficiency that the polymerization of LACP protocol link can't be monitored link performance in LACP protocol link polymerization technique.
For optimizing the polymerization of LACP protocol link based on ethernet link level OAM, effective solution is not proposed also in the prior art.
Summary of the invention
For solving technological deficiency described above, the invention provides a kind of method and device of optimizing the polymerization of LACP protocol link based on ethernet link level OAM, optimize the LACP aggregated links by the OAM link monitoring, make it possible to rebulid aggregated links according to the link performance index, reached under the condition of pursuing bandwidth higher-quality transport service.
For achieving the above object, the present invention takes following technical scheme:
A kind of method of optimizing link aggregate control protocol (LACP) link aggregation based on Ethernet OAM comprises:
The port that is in the aggregation group uses the LACP agreement, sets up aggregated links;
After the establishment business, automatically move OAM agreement, the performance of monitoring link on two ports of a certain active link in aggregated links;
If the performance that monitors this active link is lower than the performance standard of setting, then stop the polymerization of this active link.
Preferably, the performance of monitoring link comprises the monitoring link event, and link event comprises that mismark periodic event, erroneous frame event, erroneous frame periodic event and erroneous frame accumulate event second.
Preferably, when the performance that monitors active link is lower than the performance standard of setting, stop the polymerization of this active link, comprise the LACP agreement of closing this active link two ends port, rebulid aggregated links.
Preferably, the method also comprises: if monitor the performance standard that the performance of all active links in the aggregated links all is lower than setting, then the link of selectivity index metric error performance (ErrPef) minimum is as active link.
A kind of device of optimizing link aggregate control protocol (LACP) link aggregation based on ethernet link level OAM comprises:
LACP protocol element is used for making the port that is in aggregation group to use the LACP agreement to set up aggregated links;
OAM link performance monitoring means is used on two ports of a certain active link of aggregated links automatically operation OAM agreement, the performance of monitoring link;
Link performance feedback processing unit, it links to each other with LACP protocol element with OAM link performance monitoring means respectively, is used for stopping the polymerization of this active link when the performance that monitors active link is lower than the performance standard of setting.
Preferably, the performance of monitoring link comprises the monitoring link event, and link event comprises that mismark periodic event, erroneous frame event, erroneous frame periodic event and erroneous frame accumulate event second.
Preferably, OAM link performance monitoring means comprises data acquisition module, data computation module and judge module, wherein:
Data acquisition module is for the performance data of a certain active link that obtains aggregated links;
Data computation module is for the performance of coming the evaluation work link according to the performance data of active link;
Judge module is used for judging whether the performance of active link is lower than the performance standard of setting.
The present invention is owing to taking above-described technical scheme, it comprises following advantage: the performance of using ethernet link level OAM technology Real-Time Monitoring link, so that the LACP agreement can rebulid aggregated links according to the link performance index, thereby improve service quality and the reliability of Ethernet service, have the ability that guarantees bandwidth and professional validity.
Description of drawings
Accompanying drawing in this explanation is used to provide a further understanding of the present invention, consists of the application's a part, and exemplary embodiment of the present invention and explanation thereof are used for explaining the present invention, are not construed as limiting the invention; In the accompanying drawings:
Fig. 1 is existing protected mode link aggregation schematic diagram.
Fig. 2 is the LACP link aggregation schematic diagram of optimizing based on the OAM link monitoring according to of the present invention.
Fig. 3 is the schematic diagram according to OAM link performance monitoring means of the present invention.
Embodiment
In order to make technical scheme of the present invention clearer, below in conjunction with the drawings and specific embodiments the present invention is done further to elaborate.Need to prove, in the situation that do not conflict, embodiment and the variety of way among the embodiment among the application can make up mutually.
The invention provides a kind of method of optimizing the polymerization of LACP protocol link based on ethernet link level OAM, comprising:
Step S1: the port that is in the aggregation group uses the LACP agreement, sets up aggregated links.
In the specific implementation, the physical port that is in the aggregation group moves the LACP agreement automatically, hold consultation between local terminal port and Peer-Port by sending the LACP message: the little end of device id (system priority+system's MAC Address) is considered to excellent, select the little port of port id (port priority+port numbers) as the reference port at an excellent end, identical with the key of reference port, and the Peer-Port key value of the Peer-Port of this port and reference port is identical port also, elect the selected port as, polymerizing power according to equipment, and the port trunking that be in selected consensus two-port forms aggregated links together.
Step S2: after the establishment business, automatically move the OAM agreement on two ports of a certain active link in aggregated links, monitor the performance of this active link.
In the specific implementation, link event comprises that mismark periodic event, erroneous frame event, erroneous frame periodic event and erroneous frame accumulate event second, can reach the purpose of Real-Time Monitoring link performance.The client can select one of them or utilize the performance parameter index on the incompatible reaction chain of multiple event group road according to actual conditions.
Take the erroneous frame event as example:
In the N*Window monitoring periods, Event number surpasses the performance threshold PefThreshold of regulation, and then link need to regroup.
In a Window monitoring time, RxErroredSymbol 〉=Threshold,
ErrFrameEvent=RxErroredSymbol/Threshold then;
As t≤N*Window in the time,
ErrPef+=ErrFrameEvent;
If ErrPef 〉=PefThreshold, then link need to regroup.
Step S3: if monitor the performance standard that the performance of this active link is lower than setting, then stop the polymerization of this active link.
If the performance of active link is lower than the performance standard of setting, the LACP_Enabled=FALSE of the two ends port of this active link then is set, namely the LACP agreement of close port rebulids aggregated links.
And the deteriorated aggregation group that withdraws from behind a link aggregation if determine that afterwards this link recovers, then needs the LACP_Enabled=TRUE of manual enable port, makes it participate in link aggregation.
If the performance that is in all active links in the aggregated links all is lower than the performance standard of setting, then the link of selectivity index metric error performance (ErrPef) minimum enables LACP_Enabled=TRUE as active link.
The present invention also provides a kind of device of optimizing the polymerization of LACP protocol link based on ethernet link level OAM, shown in Fig. 2-3, comprising:
LACP protocol element is used for making the port that is in aggregation group to use the LACP agreement to set up aggregated links;
OAM link performance monitoring means is used on two ports of a certain active link of aggregated links automatically operation OAM agreement, the performance of monitoring link;
Link performance feedback processing unit, it links to each other with LACP protocol element with OAM link performance monitoring means respectively, be used for when the performance that monitors this active link is lower than the performance standard of setting, stops the polymerization of this active link, thereby making the LACP agreement rebulid aggregated links.
Wherein, OAM link performance monitoring means comprises data acquisition module, data computation module and judge module, and wherein: data acquisition module is for the performance data of a certain active link that obtains aggregated links; Data computation module is used for coming according to the performance data of active link the performance of evaluation work link; Judge module is used for judging whether the performance of active link is lower than the performance standard of setting.
Wherein client's service access end can access a plurality of professional clients of setting up, and it can be the upper layer entity of switch or other forms of realization convergence function.
Below exemplarily explanation utilizes the frame error event to weigh the performance of aggregated links:
Set ErrFrameWindow=60 (s), ErrFrameThreshold=1000, PefThreshold=8, N=10:
Performance data collection: RxErroredFrame
Performance data is calculated: if RxErroredFrame 〉=ErrFrameThreshold,
ErrFrameEvent=RxErroredSymbol/ErrFrameThreshold;
ErrPef+=ErrFrameEvent;
Judge performance index: if ErrPeft 〉=PefThreshold shows that then active link is deteriorated, notice aggregated links unit rebulids aggregated links.
Below be some parameter-definitions that this paper uses:
Window: the window value of event, the i.e. cycle of monitoring;
Threshold: the threshold value of event, namely within the cycle, the wrong number of generation surpasses this value, reports corresponding event;
RxErroredSymbol: the mismark number that receives in the some cycles;
RxErroredFrame: the wrong frame number that receives in the some cycles;
ErrPef: the link performance index is weighed;
ErrSymbolEvent, ErrFrameSecsSummaryEvent, ErrFramePeriodEvent, ErrFrameEvent be misregistration symbol period event respectively, and erroneous frame is accumulated event, the number of times that erroneous frame periodic event and erroneous frame event occur second.
The above embodiment is preferred embodiment of the present invention only, is not that those skilled in the art can deliberately carry out various modifications and variations and not break away from the spirit and scope of the present invention the present invention for restriction protection scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these modifications and modification interior.

Claims (7)

1. method of optimizing link aggregate control protocol (LACP) link aggregation based on ethernet link level Operations, Administration and Maintenance (OAM) comprises:
The port that is in the aggregation group uses the LACP agreement, sets up aggregated links;
After the establishment business, automatically move the OAM agreement on two ports of a certain active link in described aggregated links, monitor the performance of described active link;
If the performance that monitors described active link is lower than the performance standard of setting, then stop the polymerization of this active link.
2. method according to claim 1 is characterized in that:
The performance of monitoring described active link comprises the monitoring link event, and described link event comprises that mismark periodic event, erroneous frame event, erroneous frame periodic event and erroneous frame accumulate event second.
3. method according to claim 1 and 2 is characterized in that:
When the performance that monitors described active link is lower than the performance standard of setting, stop the polymerization of this active link, comprise the LACP agreement of closing this active link two ends port, rebulid aggregated links.
4. method according to claim 1 is characterized in that, also comprises:
If the performance that monitors all active links in the aggregated links all is lower than the performance standard of setting, then the link of selectivity index metric error performance (ErrPef) minimum is as active link.
5. device of optimizing link aggregate control protocol (LACP) link aggregation based on ethernet link level Operations, Administration and Maintenance (OAM) comprises:
LACP protocol element is used for making the port that is in aggregation group to use the LACP agreement to set up aggregated links;
OAM link performance monitoring means is used on two ports of a certain active link of described aggregated links automatically operation OAM agreement, monitors the performance of described active link;
Link performance feedback processing unit, it links to each other with described LACP protocol element with described OAM link performance monitoring means respectively, is used for stopping the polymerization of this active link when the performance that monitors described active link is lower than the performance standard of setting.
6. device according to claim 5 is characterized in that:
The performance of monitoring described active link comprises the monitoring link event, and described link event comprises that mismark periodic event, erroneous frame event, erroneous frame periodic event and erroneous frame accumulate event second.
7. device according to claim 6 is characterized in that:
Described OAM link performance monitoring means comprises data acquisition module, data computation module and judge module, wherein:
Described data acquisition module is for the performance data of a certain active link that obtains aggregated links;
Data computation module is for the performance of calculating described active link according to the performance data of described active link;
Judge module is used for judging whether the performance of described active link is lower than the performance standard of setting.
CN2012105049265A 2012-11-30 2012-11-30 LACP (link aggregation control protocol) link aggregation optimization method and device based on Ethernet link-level OAM (operation, administration and maintenance) Pending CN103023698A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012105049265A CN103023698A (en) 2012-11-30 2012-11-30 LACP (link aggregation control protocol) link aggregation optimization method and device based on Ethernet link-level OAM (operation, administration and maintenance)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012105049265A CN103023698A (en) 2012-11-30 2012-11-30 LACP (link aggregation control protocol) link aggregation optimization method and device based on Ethernet link-level OAM (operation, administration and maintenance)

Publications (1)

Publication Number Publication Date
CN103023698A true CN103023698A (en) 2013-04-03

Family

ID=47971852

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012105049265A Pending CN103023698A (en) 2012-11-30 2012-11-30 LACP (link aggregation control protocol) link aggregation optimization method and device based on Ethernet link-level OAM (operation, administration and maintenance)

Country Status (1)

Country Link
CN (1) CN103023698A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015032046A1 (en) * 2013-09-05 2015-03-12 Telefonaktiebolaget L M Ericsson (Publ) Apparatus and method for communicating over a plurality of communication links
WO2016177190A1 (en) * 2015-07-27 2016-11-10 中兴通讯股份有限公司 Method and device for auto-negotiating lacp reference system and reference port
CN108989139A (en) * 2017-06-02 2018-12-11 中兴通讯股份有限公司 A kind of management method and device of the link aggregation group based on CFM
CN110611715A (en) * 2019-09-23 2019-12-24 国云科技股份有限公司 System and method for collecting cloud monitoring information by service link

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848769A (en) * 2005-04-12 2006-10-18 富士通株式会社 Distribution-tuning mechanism for link aggregation group management
CN1941683A (en) * 2005-09-30 2007-04-04 华为技术有限公司 Method and system for re-distributing triggered link aggregate service
CN1997034A (en) * 2006-12-21 2007-07-11 华为技术有限公司 A method and system for protection of the link convergence group
US8036106B1 (en) * 2007-10-31 2011-10-11 World Wide Packets, Inc. Distributed control packet transmission

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848769A (en) * 2005-04-12 2006-10-18 富士通株式会社 Distribution-tuning mechanism for link aggregation group management
CN1941683A (en) * 2005-09-30 2007-04-04 华为技术有限公司 Method and system for re-distributing triggered link aggregate service
CN1997034A (en) * 2006-12-21 2007-07-11 华为技术有限公司 A method and system for protection of the link convergence group
US8036106B1 (en) * 2007-10-31 2011-10-11 World Wide Packets, Inc. Distributed control packet transmission

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015032046A1 (en) * 2013-09-05 2015-03-12 Telefonaktiebolaget L M Ericsson (Publ) Apparatus and method for communicating over a plurality of communication links
US9992129B2 (en) 2013-09-05 2018-06-05 Telefonaktiebolaget Lm Ericsson (Publ) Apparatus and method for communicating over a plurality of communication links
WO2016177190A1 (en) * 2015-07-27 2016-11-10 中兴通讯股份有限公司 Method and device for auto-negotiating lacp reference system and reference port
CN108989139A (en) * 2017-06-02 2018-12-11 中兴通讯股份有限公司 A kind of management method and device of the link aggregation group based on CFM
CN110611715A (en) * 2019-09-23 2019-12-24 国云科技股份有限公司 System and method for collecting cloud monitoring information by service link
CN110611715B (en) * 2019-09-23 2023-11-28 国云科技股份有限公司 System and method for collecting cloud monitoring information through service links

Similar Documents

Publication Publication Date Title
CN107231430B (en) Charging pile, charging pile networking architecture and charging pile management method
CN103001799B (en) Method and node for achieving redundancy on basis of chain network
CN104753828A (en) SDN controller, data central system and route connection method
CN103152210B (en) Repair method and the stack equipment of Spanning-Tree Protocol forwarding state exception
US8341231B2 (en) Systems and methods for processing heartbeat messages
CN102970157B (en) Link failure processing method, IRF member device and data communication equipment
CN104104570A (en) Aggregation processing method in IRF (Intelligent Resilient Framework) system and device
CN101378333B (en) System, apparatus and method for transmitting and receiving check information message continuously
CN103944746A (en) Hot standby method and device
CN103825834B (en) The method and network-switching equipment of flow load sharing are adjusted in a kind of EVI
US9077625B2 (en) Apparatus and method for controlling a transmission interval of maintenance packets in a communication network
CN103023815B (en) Aggregation link load sharing method and device
CN104518936B (en) Link dynamic aggregation method and apparatus
CN104394034A (en) Method and system based on LLDP protocol detection link aggregation configuration
CN102014019A (en) Aggregated link switching method and device
CN111541463A (en) Dynamic media switching in co-located PLC and RF networks
CN102571612A (en) Virtual router redundancy protocol (VRRP) state switching method and three-layer exchange equipment
CN103023698A (en) LACP (link aggregation control protocol) link aggregation optimization method and device based on Ethernet link-level OAM (operation, administration and maintenance)
Khelifi et al. Proactive maintenance in RPL for 6LowPAN
EP2618523A2 (en) Method, network device and system for ethernet ring protection switching
CN103840972B (en) The system and method backed up between packet network link aggregation group
CN101911596B (en) System and method for sharing an access line bandwidth
CN102857436B (en) Flow transmission method and flow transmission equipment based on IRF (intelligent resilient framework) network
CN106411731A (en) Method and device of self-negotiation link aggregation control protocol (LACP) reference system and reference port
CN104253747A (en) Transmission method and transmission device for performing 1: 1 protection on message in link aggregation group

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20130403

RJ01 Rejection of invention patent application after publication