CN102594696B - A kind of method and device managing network device link aggregation group - Google Patents

A kind of method and device managing network device link aggregation group Download PDF

Info

Publication number
CN102594696B
CN102594696B CN201210059842.5A CN201210059842A CN102594696B CN 102594696 B CN102594696 B CN 102594696B CN 201210059842 A CN201210059842 A CN 201210059842A CN 102594696 B CN102594696 B CN 102594696B
Authority
CN
China
Prior art keywords
lag
standby
priority
active
received
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
Application number
CN201210059842.5A
Other languages
Chinese (zh)
Other versions
CN102594696A (en
Inventor
范汇华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201210059842.5A priority Critical patent/CN102594696B/en
Publication of CN102594696A publication Critical patent/CN102594696A/en
Priority to PCT/CN2013/071781 priority patent/WO2013131431A1/en
Application granted granted Critical
Publication of CN102594696B publication Critical patent/CN102594696B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/58Association of routers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks

Landscapes

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

Abstract

A kind of method that the invention discloses management network device link aggregation group (LAG), including: judge that whether the priority of current standby LAG is higher than primary LAG according to priority policy, if, then standby LAG is set to current primary LAG, primary LAG is set to current standby LAG;Otherwise, continue to judge that whether the priority of current standby LAG is higher than primary LAG according to priority policy.The present invention further simultaneously discloses a kind of device managing network equipment LAG, when using the present invention can make the network equipment as customer edge (CE) network equipment, being analyzed the situation of the LAG of self-management, the LAG of selection optimum is as primary LAG, thus ensures network performance.

Description

A kind of method and device managing network device link aggregation group
Technical field
The present invention relates to the link aggregation technology in ethernet communication, particularly relate to a kind of management network equipment chain The method and device of road aggregation group (LAG, Link Aggregation Group).
Background technology
At present, in a communication network, the bandwidth bottleneck generally using link aggregation technology to solve in network is asked Topic, so-called link aggregation, is to be made by port binding identical for two or more attributes of the network equipment together A kind of method of bandwidth is increased for logic interfacing.By setting up LAG by network between two network equipments N number of port trunking in equipment, makes the bandwidth between the network equipment increase to the N of original single port bandwidth Times, so, make the network equipment be made without HardwareUpgring by link aggregation and can promote the network equipment Bandwidth.Further, each bar link in LAG backups each other, as long as LAG exists an available link, Ensure that the intercommunication between one-port equipment, thus ensure the reliability of network.But, when upper State all links in LAG all to break down or time described peer network device breaks down, may result in net Network appliance services is lost, and affects the reliability of network, thus affects customer experience.
In order to solve the problems referred to above, industry proposes a kind of striding equipment link aggregation (MC-LAG, Multi Chassis-LAG), as it is shown in figure 1, include: customer edge (CE, Customer Edged) network sets Provider Edge standby, primary (PE, the Provider Edged) network equipment and the standby PE network equipment;Its In, the described CE network equipment is user terminal network appliance, and the described PE network equipment is the net of service provider Network equipment.The CE network equipment sets up primary LAG with the primary PE network equipment, the CE network equipment and standby The PE network equipment sets up standby LAG;When the primary PE network equipment or primary LAG break down, CE The network equipment enables standby LAG and connects the standby PE network equipment, business sends to standby PE network and sets Standby.But, this method need operating personnel according to network actual conditions to the active/standby PE network equipment and master/ Standby LAG is configured, it is impossible to by the CE network equipment automatically to master corresponding to the active/standby PE network equipment/ The situation of standby LAG is estimated, and the current optimum LAG of selection is as primary LAG, so, and will Produce the time delay caused owing to needing manual intervention and affect network performance.
Visible, when the current existing network equipment is as the CE network equipment, it is impossible to automatically to self-management The situation of LAG be analyzed, select optimum primary LAG, thus affect network performance.
Summary of the invention
In view of this, it is an object of the invention to provide a kind of method and device managing network equipment LAG, When can make the network equipment as the CE network equipment, the situation of the LAG of self-management is analyzed, selects Optimum LAG is as primary LAG, thus ensures network performance.
For reaching above-mentioned purpose, the technical scheme is that and be achieved in that:
The invention provides a kind of method managing network equipment LAG, the method includes:
Judge whether the priority of current standby LAG is higher than primary LAG according to priority policy, if so, Then standby LAG is set to current primary LAG, primary LAG is set to current standby LAG; Otherwise, continue to judge that whether the priority of current standby LAG is higher than primary LAG according to priority policy.
In such scheme, described judge whether the priority of current standby LAG is higher than according to priority policy Before primary LAG, the method also includes: after the network equipment is opened, sets up primary LAG, and sets up Standby LAG.
In such scheme, described set up primary LAG, including: judge whether the network equipment has had entrance Receiving the LAG of message status, if having, then being set to swash by being currently entering the LAG having been received by message status The state of living, and as primary LAG;Otherwise, continue to determine whether to enter the LAG having been received by message status.
In such scheme, described set up standby LAG, including: judge in the network equipment except state of activation LAG Other LAG in whether occur LAG enter have been received by message status, if having, then described LAG is made For current standby LAG;Otherwise, continue to judge in the network equipment except other LAG of state of activation LAG In whether occur LAG enter have been received by message status.
In such scheme, described it is set to state of activation by being currently entering the LAG having been received by message status, And before as primary LAG, the method also includes: after the network equipment is opened, one by one each port is added Enter to corresponding LAG;
When the port in the described network equipment receives Link Aggregation Control Protocol Data Unit Link Aggregation Control Protocol Data Unit After, described port is set to have been received by the state of message, and removes from former LAG;Described port is added Enter the LAG of correspondence, and the state of described LAG is set for having been received by message.
In such scheme, it is characterised in that described priority policy, including:
Judge that active/standby LAG is the most all full duplex LAG, if it is not, then in active/standby LAG, The priority of full duplex LAG is higher than the priority of non-full duplex LAG;
Otherwise, it is judged that whether active/standby LAG is satisfied by minimum activating number of links, if it is not, then active/standby With in LAG, the priority meeting the LAG that minimum activates number of links activates number of links higher than being unsatisfactory for minimum The priority of LAG;
Otherwise, the relatively system priority of active/standby LAG peer network device, if unequal, then lead/ In standby LAG, the priority of the LAG that the System Priority progression of peer network device is low is higher than correspondent network The priority of the LAG that the System Priority progression of equipment is high;
Otherwise, the relatively size of the MAC of active/standby LAG peer network device, if unequal, then In active/standby LAG, the priority of the LAG less for MAC of peer network device sets higher than correspondent network The priority of the LAG that standby MAC is bigger;
Otherwise, relatively active/standby LAG is in the port number of the state having been received by message, if not phase Deng, in the most active/standby LAG, it is in the preferential of the more LAG of the port number of the state having been received by message Level, higher than the priority of the less LAG of port number being in the state having been received by message;Otherwise, lead/ The priority of standby LAG is equal.
Present invention also offers a kind of device managing network equipment LAG, this device includes: priority plan Slightly module and Link Aggregation Control Protocol LACP processing module;Wherein,
Whether Priority Policy module, for judging the priority of current standby LAG according to priority policy Higher than primary LAG, the most then the priority of the notice current standby LAG of LACP processing module is higher than main With LAG, otherwise, continue to judge that whether the priority of current standby LAG is higher than main according to priority policy Use LAG;
LACP processing module, for when receive the excellent of current standby LAG that Priority Policy module sends After first level is higher than the notice of primary LAG, standby LAG is set to current primary LAG, by primary LAG is set to current standby LAG.
In such scheme, described LACP processing module, after being additionally operable to network equipment unlatching, set up primary LAG, and set up standby LAG.
In such scheme, described LACP processing module, specifically for judging the most whether Having and enter the LAG having been received by message status, if having, then current entrance being had been received by the LAG of message status It is set to state of activation, and as primary LAG;Otherwise, continued to determine whether that entrance has been received by message shape The LAG of state.
In such scheme, described LACP processing module, specifically for judging to remove activation in the network device Whether other LAG of state LAG occurring, LAG enters and has been received by message status, if having, then by institute State LAG as current standby LAG;Otherwise, continue to judge in the network equipment except state of activation LAG Whether other LAG occurring, LAG enters and has been received by message status.
In such scheme, described LACP processing module, specifically for when the place network equipment open after, by The individual LAG that each port is joined correspondence;When the port in the described network equipment receives link aggregation control After protocol Data Unit Link Aggregation Control Protocol Data Unit, it is set to described port have been received by the state of message and from former LAG removes;Described port is added corresponding LAG, and the state of described LAG is set for having been received by Message.
In such scheme, described Priority Policy module, it is additionally operable to preserve priority policy;
Described priority policy includes:
Judge that active/standby LAG is the most all full duplex LAG, if it is not, then in active/standby LAG, The priority of full duplex LAG is higher than the priority of non-full duplex LAG;
Otherwise, it is judged that whether active/standby LAG is satisfied by minimum activating number of links, if it is not, then active/standby With in LAG, the priority meeting the LAG that minimum activates number of links activates number of links higher than being unsatisfactory for minimum The priority of LAG;
Otherwise, the relatively system priority of active/standby LAG peer network device, if unequal, then lead/ In standby LAG, the priority of the LAG that the System Priority progression of peer network device is low is higher than correspondent network The priority of the LAG that the System Priority progression of equipment is high;
Otherwise, the relatively size of the MAC of active/standby LAG peer network device, if unequal, then In active/standby LAG, the priority of the LAG less for MAC of peer network device sets higher than correspondent network The priority of the LAG that standby MAC is bigger;
Otherwise, relatively active/standby LAG is in the port number of the state having been received by message, if not phase Deng, in the most active/standby LAG, it is in the preferential of the more LAG of the port number of the state having been received by message Level, higher than the priority of the less LAG of port number being in the state having been received by message;Otherwise, lead/ The priority of standby LAG is equal.
The method and device of management network equipment LAG provided by the present invention, by using priority policy pair Primary and the standby LAG set up in current network device carries out priority ratio relatively, and the most standby LAG is preferential When level is higher than primary LAG, the most current standby LAG is optimum LAG, by current standby LAG As primary LAG, so, the impact produced owing to manually selecting active/standby LAG can be avoided, real Now by the network equipment as the CE network equipment time, the situation of the LAG of self-management is analyzed, and from The LAG of dynamic selection optimum is as primary LAG, thus ensures network performance.
Accompanying drawing explanation
Fig. 1 is that MCLAG forms structural representation;
Fig. 2 is the method flow schematic diagram that the present invention manages network equipment LAG;
Fig. 3 is the composition structural representation that the present invention manages the device of network equipment LAG.
Detailed description of the invention
The basic thought of the present invention is: whether judge the priority of current standby LAG according to priority policy Higher than primary LAG, the most standby LAG is set to current primary LAG, by primary LAG It is set to current standby LAG;Otherwise, continue to judge that current standby LAG's is excellent according to priority policy Whether first level is higher than primary LAG.
Below in conjunction with the accompanying drawings and specific embodiment the present invention is further described in more detail.
A kind of method managing network equipment LAG that the present invention provides, as in figure 2 it is shown, comprise the following steps:
Step 101: judge that whether the priority of current standby LAG is higher than primary LAG according to priority policy Priority, the most then perform step 102;Otherwise, manually arranging active-standby LAG, end processes Flow process.
Here, described judgement can be periodically to judge, the cycle can the most arbitrarily set;Described excellent First level strategy includes:
Judge that active/standby LAG is the most all full duplex LAG, if it is not, then in active/standby LAG, The priority of full duplex LAG is higher than the priority of non-full duplex LAG;
Otherwise, it is judged that whether active/standby LAG is satisfied by minimum activating number of links, if it is not, then active/standby With in LAG, the priority meeting the LAG that minimum activates number of links activates number of links higher than being unsatisfactory for minimum The priority of LAG;
Otherwise, the relatively system priority of active/standby LAG peer network device, if unequal, then lead/ In standby LAG, the priority of the LAG that the System Priority progression of peer network device is low is higher than correspondent network The priority of the LAG that the System Priority progression of equipment is high;
Otherwise, the relatively size of the MAC of active/standby LAG peer network device, if unequal, then In active/standby LAG, the priority of the LAG less for MAC of peer network device sets higher than correspondent network The priority of the LAG that standby MAC is bigger;
Otherwise, relatively active/standby LAG is in the port number of the state having been received by message, if not phase Deng, in the most active/standby LAG, it is in the preferential of the more LAG of the port number of the state having been received by message Level, higher than the priority of the less LAG of port number being in the state having been received by message;Otherwise, lead/ The priority of standby LAG is equal.
Wherein, described activation number of links is the total link quantity comprised in LAG;Described peer network device The size of the MAC of system priority and described peer network device, is according to LACP in prior art The parameter that the network equipment in link aggregation is arranged required;The described end being in the state having been received by message Mouth number is the port number that the port recorded is set to have been received by message status.
Described standby usage LAG that manually arranges is prior art, does not repeats.
Step 102: be set to standby LAG activate LAG, and as current primary LAG;Will be main It is set to inactive LAG with LAG, and as current standby LAG.
Before above-mentioned steps 101, in addition it is also necessary to set up primary LAG and standby LAG, comprise the following steps:
Step a: after the network equipment is opened, whether real-time judge has any one entrance to have been received by message shape The LAG of state, if having, then performs step b;Otherwise, repeated execution of steps a.
Here, described entrance has been received by the LAG of message status and includes: after the network equipment is opened, this network Each port in equipment does not all receive the network information, and each port joins the LAG of correspondence one by one;When Any one port in this network equipment receives Link Aggregation Control Protocol Data Unit (LACPDU, Link Aggregation Control Protocol Data Unit) after message, it is set to have been received by message by this port State also removes from former LAG;This port receiving Link Aggregation Control Protocol Data Unit is added corresponding LAG, and The state of this LAG is set for having been received by message;
Wherein, the described LAG adding correspondence includes: Key value and system identifier according to port search whether There is the LAG of correspondence, if it has, then add this LAG;Otherwise, Key value and system identifier with port are LAG ID sets up new LAG;Described addition LAG and to set up new LAG be existing LACP agreement The technology of regulation, does not repeats;Its generation of described Key value and acquisition methods are existing LACP rule Fixed technology, does not repeats;
Described Link Aggregation Control Protocol Data Unit is according to Link Aggregation Control Protocol (LACP, Link Aggregation Control Protocol) the regulation network equipment message that can receive and send, it produces and the mode of reception It is prior art, does not repeats.
Step b: be set to state of activation by being currently entering the LAG having been received by message status, and as current Primary LAG.
Step c: incumbent except whether going out in other LAG of state of activation LAG in the real-time judge network equipment The LAG that anticipates enters and has been received by message status, if having, then using this LAG as current standby LAG, Perform step 101;Otherwise, repeated execution of steps c.
It addition, after step c completes, the network equipment also can any one of real-time judge self-management be in Whether the port of the state receiving message does not receives the free time time-out of message, if overtime, then by this port State be set to not receive the state of message;This port is removed from the LAG being currently located, search and Self Key value is identical, system identifier is identical and state is corresponding LAG, adds corresponding LAG, then returns Return step c.
For realizing said method, the present invention also proposes a kind of device managing network equipment LAG, such as Fig. 3 Shown in, including: Priority Policy module 21 and LACP processing module 22;Wherein,
Priority Policy module 21, for judging the priority of current standby LAG according to priority policy Whether higher than primary LAG, the most then notify the priority of the current standby LAG of LACP processing module 22 Higher than primary LAG, otherwise, continue according to whether priority policy judges the priority of current standby LAG Higher than primary LAG;
LACP processing module 22, for when receiving the current standby LAG that Priority Policy module 21 is sent Priority higher than the notice of primary LAG after, standby LAG is set to current primary LAG, will be main It is set to current standby LAG with LAG.
Described LACP processing module 22, is additionally operable to after the place network equipment is opened, and real-time judge self is No have any one to enter the LAG having been received by message status, if having, then current entrance is had been received by message The LAG of state is set to activate LAG, and as current primary LAG;Otherwise, continue to judge self Any one whether is had to enter the LAG having been received by message status.
Described LACP processing module 22, specifically for after the place network equipment is opened, one by one by each end Mouth joins the LAG of correspondence, after any one port receives the network information, is set to receive by this port Remove to the state of message and from former LAG, this port receiving the network information added corresponding LAG, And the state of this LAG is set for having been received by message.
Described LACP processing module 22, searches whether specifically for the Key value according to port and system identifier There is the LAG of correspondence, if it has, then add this LAG;Otherwise, Key value and system identifier with port are LAG ID sets up new LAG;Described addition LAG and to set up new LAG be existing LACP agreement The technology of regulation, does not repeats.
Whether described LACP processing module 22, be additionally operable in real-time judge LAG in addition to activating LAG go out Any one LAG existing enters and has been received by message status, if having, then using this LAG as current standby LAG, notification priority policy module 21 compares the priority of this standby LAG and primary LAG, otherwise, Continue to judge that whether occurring in the LAG in addition to activating LAG that any one LAG enters has been received by message shape State;Accordingly, described Priority Policy module 21, it is additionally operable to receive what LACP processing module 22 was sent The relatively notice of the priority of this standby LAG and primary LAG.
Described Priority Policy module 21, is additionally operable to preserve priority policy, and described priority policy includes:
Judge that active/standby LAG is the most all full duplex LAG, if it is not, then in active/standby LAG, The priority of full duplex LAG is higher than the priority of non-full duplex LAG;
Otherwise, it is judged that whether active/standby LAG is satisfied by minimum activating number of links, if it is not, then active/standby With in LAG, the priority meeting the LAG that minimum activates number of links activates number of links higher than being unsatisfactory for minimum The priority of LAG;
Otherwise, the relatively system priority of active/standby LAG peer network device, if unequal, then lead/ In standby LAG, the priority of the LAG that the System Priority progression of peer network device is low is higher than correspondent network The priority of the LAG that the System Priority progression of equipment is high;
Otherwise, the relatively size of the MAC of active/standby LAG peer network device, if unequal, then In active/standby LAG, the priority of the LAG less for MAC of peer network device sets higher than correspondent network The priority of the LAG that standby MAC is bigger;
Otherwise, relatively active/standby LAG is in the port number of the state having been received by message, if not phase Deng, in the most active/standby LAG, it is in the preferential of the more LAG of the port number of the state having been received by message Level, higher than the priority of the less LAG of port number being in the state having been received by message;Otherwise, lead/ The priority of standby LAG is equal.
Described LACP processing module 22, is additionally operable to any one of real-time judge self-management and is in and has been received by Whether the port of the state of message does not receives the free time time-out of message, if overtime, then by the shape of this port State is set to not receive the state of message;This port is removed from the LAG being currently located, searches and self The LAG that Key value is identical, system identifier is identical and state is corresponding, adds corresponding LAG, sentences the most in real time Whether circuit network equipment occurring in the LAG in addition to activating LAG, any one LAG enters and has been received by report Literary composition state.
Described LACP processing module, also has the process LACP phase specified in the network equipment in prior art Close all functions of message, do not repeat.
Said apparatus can be arranged in the network equipments such as Ethernet switch as logic module.
The above, only presently preferred embodiments of the present invention, it is not intended to limit the protection of the present invention Scope.

Claims (12)

1. the method managing network device link aggregation group LAG, it is characterised in that the method includes:
Judge whether the priority of current standby LAG is higher than primary LAG according to priority policy, if so, Then standby LAG is set to current primary LAG, primary LAG is set to current standby LAG; Otherwise, continue to judge that whether the priority of current standby LAG is higher than primary LAG according to priority policy; Wherein, described priority policy is followed successively by: judge that active/standby LAG is the most all full duplex LAG;Judge Whether active/standby LAG is satisfied by minimum activation number of links;Compare active/standby LAG peer network device System priority;The relatively size of the MAC of active/standby LAG peer network device, relatively active/standby LAG In be in the port number of the state having been received by message;Wherein, the customer edge CE network equipment is with primary confession Answer the business edge PE network equipment to set up primary LAG, the CE network equipment and the standby PE network equipment and set up standby Use LAG.
Method the most according to claim 1, it is characterised in that described sentence according to priority policy Whether the priority of disconnected current standby LAG is higher than before primary LAG, and the method also includes: the network equipment After unlatching, set up primary LAG, and set up standby LAG.
Method the most according to claim 2, it is characterised in that described set up primary LAG, bag Include: judging the LAG whether having entrance to have been received by message status in the network equipment, if having, then ought advance The LAG entering to have been received by message status is set to state of activation, and as primary LAG;Otherwise, continue to sentence The disconnected LAG whether having entrance to have been received by message status.
Method the most according to claim 2, it is characterised in that described set up standby LAG, including: Judge in the network equipment except whether other LAG of state of activation LAG occurring, LAG entrance has been received by report Literary composition state, if having, then using described LAG as current standby LAG;Otherwise, continue to judge that network sets Except whether other LAG of state of activation LAG occurring, LAG entrance has been received by message status in Bei.
Method the most according to claim 3, it is characterised in that described being currently entering has been received by message The LAG of state is set to state of activation, and as primary LAG before, the method also includes: work as network After opening of device, one by one each port is joined the LAG of correspondence;
When the port in the described network equipment receives Link Aggregation Control Protocol Data Unit Link Aggregation Control Protocol Data Unit After, described port is set to have been received by the state of message, and removes from former LAG;Described port is added Enter the LAG of correspondence, and the state of described LAG is set for having been received by message.
6. according to the method described in any one of claim 1 to 5, it is characterised in that described priority plan Omit, including:
Judge that active/standby LAG is the most all full duplex LAG, if it is not, then in active/standby LAG, The priority of full duplex LAG is higher than the priority of non-full duplex LAG;
Otherwise, it is judged that whether active/standby LAG is satisfied by minimum activating number of links, if it is not, then active/standby With in LAG, the priority meeting the LAG that minimum activates number of links activates number of links higher than being unsatisfactory for minimum The priority of LAG;
Otherwise, the relatively system priority of active/standby LAG peer network device, if unequal, then lead/ In standby LAG, the priority of the LAG that the System Priority progression of peer network device is low is higher than correspondent network The priority of the LAG that the System Priority progression of equipment is high;
Otherwise, the relatively size of the MAC of active/standby LAG peer network device, if unequal, then In active/standby LAG, the priority of the LAG less for MAC of peer network device sets higher than correspondent network The priority of the LAG that standby MAC is bigger;
Otherwise, relatively active/standby LAG is in the port number of the state having been received by message, if not phase Deng, in the most active/standby LAG, it is in the preferential of the more LAG of the port number of the state having been received by message Level, higher than the priority of the less LAG of port number being in the state having been received by message;Otherwise, lead/ The priority of standby LAG is equal.
7. the device managing network equipment LAG, it is characterised in that this device includes: priority plan Slightly module and Link Aggregation Control Protocol LACP processing module;Wherein,
Whether Priority Policy module, for judging the priority of current standby LAG according to priority policy Higher than primary LAG, the most then the priority of the notice current standby LAG of LACP processing module is higher than main With LAG, otherwise, continue to judge that whether the priority of current standby LAG is higher than main according to priority policy Use LAG;
LACP processing module, for when receive the excellent of current standby LAG that Priority Policy module sends After first level is higher than the notice of primary LAG, standby LAG is set to current primary LAG, by primary LAG is set to current standby LAG;Wherein, described priority policy is followed successively by: judge active/standby LAG It it is the most all full duplex LAG;Judge whether active/standby LAG is satisfied by minimum activation number of links;The most main The system priority of/standby LAG peer network device;The relatively MAC of active/standby LAG peer network device Size, relatively active/standby LAG is in the port number of the state having been received by message;Wherein, user The edge C E network equipment sets up primary LAG, the CE network equipment with the primary Provider Edge PE network equipment Standby LAG is set up with the standby PE network equipment.
Device the most according to claim 7, it is characterised in that
Described LACP processing module, after being additionally operable to network equipment unlatching, sets up primary LAG, and sets up Standby LAG.
Device the most according to claim 8, it is characterised in that
The most described LACP processing module, have entrance to have been received by specifically for judging The LAG of message status, if having, then the LAG that current entrance has been received by message status is set to activate State, and as primary LAG;Otherwise, continue to determine whether to enter the LAG having been received by message status.
Device the most according to claim 9, it is characterised in that
Described LACP processing module, specifically for judging to remove state of activation LAG in the network device Whether other LAG occur LAG enter have been received by message status, if having, then using described LAG as Current standby LAG;Otherwise, continue to judge in the network equipment except in other LAG of state of activation LAG Whether occur that LAG enters and have been received by message status.
11. devices according to claim 10, it is characterised in that
Described LACP processing module, specifically for after the place network equipment is opened, one by one by each port Join the LAG of correspondence;When the port in the described network equipment receives Link Aggregation Control Protocol Data Unit After Link Aggregation Control Protocol Data Unit, it is set to described port have been received by the state of message and remove from former LAG; Described port is added corresponding LAG, and the state of described LAG is set for having been received by message.
12. devices according to claim 7, it is characterised in that
Described Priority Policy module, is additionally operable to preserve priority policy;
Described priority policy includes:
Judge that active/standby LAG is the most all full duplex LAG, if it is not, then in active/standby LAG, The priority of full duplex LAG is higher than the priority of non-full duplex LAG;
Otherwise, it is judged that whether active/standby LAG is satisfied by minimum activating number of links, if it is not, then active/standby With in LAG, the priority meeting the LAG that minimum activates number of links activates number of links higher than being unsatisfactory for minimum The priority of LAG;
Otherwise, the relatively system priority of active/standby LAG peer network device, if unequal, then lead/ In standby LAG, the priority of the LAG that the System Priority progression of peer network device is low is higher than correspondent network The priority of the LAG that the System Priority progression of equipment is high;
Otherwise, the relatively size of the MAC of active/standby LAG peer network device, if unequal, then In active/standby LAG, the priority of the LAG less for MAC of peer network device sets higher than correspondent network The priority of the LAG that standby MAC is bigger;
Otherwise, relatively active/standby LAG is in the port number of the state having been received by message, if not phase Deng, in the most active/standby LAG, it is in the preferential of the more LAG of the port number of the state having been received by message Level, higher than the priority of the less LAG of port number being in the state having been received by message;Otherwise, lead/ The priority of standby LAG is equal.
CN201210059842.5A 2012-03-08 2012-03-08 A kind of method and device managing network device link aggregation group Active CN102594696B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210059842.5A CN102594696B (en) 2012-03-08 2012-03-08 A kind of method and device managing network device link aggregation group
PCT/CN2013/071781 WO2013131431A1 (en) 2012-03-08 2013-02-22 Method and apparatus for managing link aggregation group of network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210059842.5A CN102594696B (en) 2012-03-08 2012-03-08 A kind of method and device managing network device link aggregation group

Publications (2)

Publication Number Publication Date
CN102594696A CN102594696A (en) 2012-07-18
CN102594696B true CN102594696B (en) 2016-09-07

Family

ID=46482912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210059842.5A Active CN102594696B (en) 2012-03-08 2012-03-08 A kind of method and device managing network device link aggregation group

Country Status (2)

Country Link
CN (1) CN102594696B (en)
WO (1) WO2013131431A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594696B (en) * 2012-03-08 2016-09-07 中兴通讯股份有限公司 A kind of method and device managing network device link aggregation group
JP6278800B2 (en) * 2014-04-03 2018-02-14 APRESIA Systems株式会社 Relay system and switch device
JP6278818B2 (en) * 2014-04-28 2018-02-14 APRESIA Systems株式会社 Relay system and switch device
CN106603402B (en) * 2016-12-20 2019-10-18 北京华为数字技术有限公司 A kind of Broadband Remote Access Server sending down service method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101842779A (en) * 2007-12-03 2010-09-22 维里逊专利及许可公司 Bandwidth admission control on link aggregation groups
CN102255740A (en) * 2010-05-21 2011-11-23 中兴通讯股份有限公司 Method and device for active-standby switch of service nodes
CN102271056A (en) * 2011-07-22 2011-12-07 中兴通讯股份有限公司 Active aggregator selection method and device
CN102316039A (en) * 2011-09-09 2012-01-11 中兴通讯股份有限公司 Aggregator logic selection method based on aggregator priority strategy and system thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7023797B2 (en) * 2000-12-30 2006-04-04 Intel Corporation Flexible aggregation of output links
CN100479434C (en) * 2005-09-15 2009-04-15 华为技术有限公司 Method and system for realizing virtual router redundant protocol master and standby equipment switching
CN102594696B (en) * 2012-03-08 2016-09-07 中兴通讯股份有限公司 A kind of method and device managing network device link aggregation group

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101842779A (en) * 2007-12-03 2010-09-22 维里逊专利及许可公司 Bandwidth admission control on link aggregation groups
CN102255740A (en) * 2010-05-21 2011-11-23 中兴通讯股份有限公司 Method and device for active-standby switch of service nodes
CN102271056A (en) * 2011-07-22 2011-12-07 中兴通讯股份有限公司 Active aggregator selection method and device
CN102316039A (en) * 2011-09-09 2012-01-11 中兴通讯股份有限公司 Aggregator logic selection method based on aggregator priority strategy and system thereof

Also Published As

Publication number Publication date
WO2013131431A1 (en) 2013-09-12
CN102594696A (en) 2012-07-18

Similar Documents

Publication Publication Date Title
CN104079492B (en) The methods, devices and systems that flow table is configured in a kind of OpenFlow networks
CN101595666B (en) System and method for managing subscriber usage of a communications network
CN102823205B (en) Aggregating data traffic from access domains
CN104253767B (en) A kind of implementation method of virtual burst network and a kind of interchanger
CN105554093B (en) Link method and system between wireless controller and hotspot based on cloud
CN104243259B (en) Collaboration method and system in distributed elastic network interconnection system
CN103916275A (en) BFD detection device and method
CN104518936B (en) Link dynamic aggregation method and apparatus
CN102594696B (en) A kind of method and device managing network device link aggregation group
CN103179178A (en) Method and device for expanding member ports of aggregation groups among clusters
CN105790990A (en) Method and system for monitoring and managing power distribution and utilization communication business
CN104639437A (en) Forwarding method and apparatus of broadcast messages in stack system
CN103188171B (en) A kind of method for dispatching message and equipment
CN103067956A (en) Internet Protocol Security (IPSec) tunnel backing up and switching method and equipment in 3rd generation telecommunication (3G) network
CN105207810B (en) A kind of control method of interchanger, system and the interchanger with the system
CN105049367B (en) A kind of flow allocation method and access device of aggregated links
CN109743758A (en) Multi link communications method, communication device and communication system
CN103560970A (en) Method for realizing downlink speed limitation of network device with multiple LAN ports
CN102857436B (en) Flow transmission method and flow transmission equipment based on IRF (intelligent resilient framework) network
CN102316116B (en) System for supporting multiple platform network communication processing and method thereof
CN103840965B (en) Method for enhancing quick fault convergence in RSTP
CN110971519A (en) Port interconnection management method and device
CN103117923B (en) A kind of process management method and equipment
CN102571555B (en) Hello message sending method and device in neighborhood relationship establishing process
CN104518928A (en) Method and system for transmission of remote image messages through RPR (resilient packet ring) network

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