CN102142931B - Method, device and system for preventing packet loss of E-TRUNK (Enhanced-Trunk) - Google Patents

Method, device and system for preventing packet loss of E-TRUNK (Enhanced-Trunk) Download PDF

Info

Publication number
CN102142931B
CN102142931B CN201110024822XA CN201110024822A CN102142931B CN 102142931 B CN102142931 B CN 102142931B CN 201110024822X A CN201110024822X A CN 201110024822XA CN 201110024822 A CN201110024822 A CN 201110024822A CN 102142931 B CN102142931 B CN 102142931B
Authority
CN
China
Prior art keywords
forwarding unit
trunk
forwarding
interface
unit
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.)
Expired - Fee Related
Application number
CN201110024822XA
Other languages
Chinese (zh)
Other versions
CN102142931A (en
Inventor
程永锋
王洪健
兰雪梅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Digital Technologies Chengdu Co Ltd
Beijing Huawei Digital Technologies Co Ltd
Huawei Digital Technologies Co Ltd
Original Assignee
Beijing Huawei Digital Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Huawei Digital Technologies Co Ltd filed Critical Beijing Huawei Digital Technologies Co Ltd
Priority to CN201110024822XA priority Critical patent/CN102142931B/en
Publication of CN102142931A publication Critical patent/CN102142931A/en
Application granted granted Critical
Publication of CN102142931B publication Critical patent/CN102142931B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides a method, device and system for preventing packet loss of two-layer transit failback flow of an E-TRUNK (Enhanced-Trunk). The method comprises the steps of: judging whether a port is in the E-Trunk when the port of a transit device is accessed into a virtual local area network (VLAN); if yes, setting a Smart VLAN mark for the port; and when the state of the port of the transit device is changed from Down to Up, judging whether the port has the Smart VLAN mark, if yes, clearing an MAC (Media Access Control) route on the transit device, and re-learning an MAC address by the transit device. According to the method for preventing packet loss of two-layer transit failback flow of the E-TRUNK, provided by the embodiment of the invention, the transit device is triggered for updating the MAC route when the port of the transit device is recovered to be an UP state through providing an MAC refreshing mechanism of the transit device in the current E-TRUNK two-layer transit network, thus the condition that packet loss of the flow grouping because the transit device transits the received flow grouping to an error device is avoided and the reliability of services in the E-TRUNK two-layer transit network is improved.

Description

A kind of methods, devices and systems that prevent the E-TRUNK packet loss
Technical field
The present invention relates to the communications field, particularly a kind of methods, devices and systems that prevent from strengthening aggregated links E-TRUNK packet loss.
Background technology
Along with the extensive use of metropolitan area network and wide area network, operator proposes more and more higher requirement to bandwidth and the reliability of the backbone links of employing ethernet technology.Adopt the link aggregation technology not carrying out under the condition of HardwareUpgring, by a plurality of physical interfaces being tied to the purpose of a logic interfacing realization increase link bandwidth.LACP (Link Aggregation Control Protocol based on the IEEE802.3ad standard, link aggregate control protocol) after technology occurs, (Trunk is the binding to port or link to have improved aggregated links Trunk, be a kind of technology of using as logic port that a plurality of independently physical ports are bound together) fault-tolerance, and the M:N backup functionality can be provided, guarantee the high reliability of Member Link.LACP is that a kind of link of realizing dynamically converges the agreement that converges with solution, by LACPDU (Link Aggregation Control Protocol Data Unit, link aggregate control protocol data cell) and opposite end interactive information.E-TRUNK (Enhanced Trunk strengthens TRUNK) is a kind of control protocol that realizes the striding equipment link aggregation, expands based on LACP, can realize the link aggregation between multiple devices, thereby link reliability has been brought up to device level from single-plate grade.
Dispose E-TRUNK between the forwarding unit in typical two layers of transmission network of E-TRUNK in the prior art, and two forwarding units one main are equipped with to transmit the traffic packet that receives from other forwarding units.The forwarding unit of supposing main usefulness is second forwarding unit, and standby forwarding unit is the 4th forwarding unit, and above-mentioned second forwarding unit links to each other with first forwarding unit respectively with the 4th forwarding unit one side, and an other side links to each other with the 3rd forwarding unit.The traffic packet that second forwarding unit of main usefulness is responsible for receiving from first forwarding unit is transmitted to the 3rd forwarding unit, will be transmitted to first forwarding unit from the traffic packet that the 3rd forwarding unit receives.When second forwarding unit of main usefulness and the link occurs fault between described first forwarding unit, interface between described second forwarding unit and first forwarding unit disconnects (Down), the traffic packet that described first forwarding unit mails to the 3rd forwarding unit switches to the 4th standby forwarding unit and transmits, and mailing to the traffic packet of described first forwarding unit, described the 3rd forwarding unit still sends to described second forwarding unit, the traffic packet that described the 3rd forwarding unit that described second forwarding unit will receive sends is transmitted to described the 4th forwarding unit, is transmitted to described first forwarding unit by described the 4th forwarding unit again.Link-recovery between described second forwarding unit and described first forwarding unit just often, the traffic packet that described first forwarding unit sends to described the 3rd forwarding unit switches to described second forwarding unit again and transmits, and described second forwarding unit still will be forwarded to described the 4th forwarding unit from the traffic packet that described the 3rd forwarding unit receives, but at this moment the link between described the 4th forwarding unit and first forwarding unit is blocked by LACP, thereby causes packet loss and professional interruption.
Summary of the invention
The embodiment of the invention provides a kind of method that prevents from strengthening aggregated links E-TRUNK packet loss, and described method comprises:
Link-recovery between first forwarding unit and second forwarding unit is normal, and the state of the interface that described second forwarding unit links to each other with first forwarding unit becomes UP can state the time, triggers described second forwarding unit and upgrades the Media Access Control Address MAC address entries;
Described second forwarding unit receives the packet that the 3rd forwarding unit sends; And according to the MAC address entries after the described renewal, described packet is sent to described first forwarding unit.
The embodiment of the invention also provides a kind of device of the E-TRUNK of preventing packet loss, it is characterized in that, described device comprises:
Trigger element, the link-recovery that is used between first forwarding unit and described device is normal, and the state of the interface that links to each other with described first forwarding unit of described device triggers described device renewal Media Access Control Address MAC address entries when becoming the UP upstate;
Receiving element is used for receiving the packet that the 3rd forwarding unit sends;
Retransmission unit is used for according to the MAC address entries after the described renewal, and the packet that described receiving element is received is transmitted to described first forwarding unit.
The embodiment of the invention further provides a kind of system of the E-TRUNK of preventing packet loss, it is characterized in that, described system comprises:
At least three forwarding units, wherein,
First forwarding unit for the link-recovery between first forwarding unit and second forwarding unit just often, receives the packet that second forwarding unit sends;
Second forwarding unit, the link-recovery that is used between first forwarding unit and second forwarding unit is normal, and when the state of the interface between described second forwarding unit and first forwarding unit becomes the UP upstate, trigger described second forwarding unit and upgrade MAC address entries; Receive the packet that the 3rd forwarding unit sends; And according to the MAC address entries after the described renewal, described packet is sent to described first forwarding unit;
The 3rd forwarding unit is used for sending packet to described second forwarding unit.
The methods, devices and systems that prevent the E-TRUNK packet loss that the embodiment of the invention provides are by providing the mac refresh mechanism of forwarding unit in two layers of transmission network of current E-TRUNK, when the interface of forwarding unit recovers available (UP) state, trigger forwarding unit and carry out the renewal of MAC forwarding-table item, avoid forwarding unit that the traffic packet received is transmitted to wrong equipment and caused the packet loss of traffic packet, improved reliability professional in two layers of transmission network of E-TRUNK.
Description of drawings
The structure chart of the system of a kind of E-TRUNK of preventing packet loss that Fig. 1 provides for the embodiment of the invention.
The flow chart of the method for a kind of E-TRUNK of preventing packet loss that Fig. 2 provides for the embodiment of the invention.
The structure chart of the device of a kind of E-TRUNK of preventing packet loss that Fig. 3 provides for the embodiment of the invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer, below with reference to accompanying drawing, the present invention is described in further detail.
Embodiment 1
Referring to Fig. 1, the embodiment of the invention 1 provides a kind of system that prevents from strengthening aggregated links E-TRUNK packet loss, and described system comprises:
First forwarding unit 101, when the link-recovery between itself and second forwarding unit 102 just often, receive the packet that described second forwarding unit 102 sends;
Second forwarding unit 102, when the link-recovery between itself and described first forwarding unit 101 is normal, and the Interface status that links to each other with described first forwarding unit 101 upgrades the MAC address entries of self when becoming UP; Receive the packet that the 3rd forwarding unit 103 sends; And according to the MAC address entries after the described renewal, described packet is sent to described first forwarding unit 101;
The 3rd forwarding unit 103 is used for sending packet to described second forwarding unit 102.
For instance, if dispose E-TRUNK between second forwarding unit 102 and the 4th forwarding unit 104 and first forwarding unit 101, Eth-Trunk (the Ethernet Trunk of second forwarding unit 102 and the 4th forwarding unit 104 then, being the Trunk to the ether Port BindingBundling) interface is connected respectively to first forwarding unit 101, and wherein Eth-Trunk is the physics ether interface that is bundled among the Eth-trunk.Eth-Trunk on second forwarding unit 102 and the 4th forwarding unit 104 adds E-TRUNK, and Eth-Trunk and E-TRUNK are tied to together, and the state of Eth-Trunk is subjected to the control of E-Trunk.When two layers of E-TRUNK transmitted, Eth-Trunk was that the mode with two layers of VLAN adds E-TRUNK's.
When the link occurs fault between first forwarding unit 101 and second forwarding unit 102, interface between first forwarding unit 101 and second forwarding unit 102 is set to Down, second forwarding unit 102 is removed the forwarding MAC address entries on the equipment of itself fast, transmit fault message by E-TRUNK simultaneously and give the 4th forwarding unit 104, thereby allow the reserve link between first forwarding unit 101 and the 4th forwarding unit 104 enable fast, the flow that this moment, first forwarding unit 101 mail to described the 3rd forwarding unit 103 then can be selected the available link to the 4th forwarding unit 104 in Eth-Trunk, the flow forward-path is the first forwarding unit 101-the 4th forwarding unit 104-, the second forwarding unit 102-the 3rd forwarding unit 103; The flow that the 3rd forwarding unit 103 sends is forwarded to the 4th forwarding unit 104 through second forwarding unit 102, be forwarded to first forwarding unit 101 by the 4th forwarding unit 104 again, the flow forward-path is the 3rd forwarding unit 103-second forwarding unit 102-the 4th forwarding unit 104-first forwarding unit 101.
Link-recovery between second forwarding unit 102 and first forwarding unit 101 is normal, and when the Interface status of described second forwarding unit 102 and first forwarding unit 101 becomes UP, trigger described second forwarding unit 102 and upgrade MAC address entries, described second forwarding unit 102 is removed the MAC address entries of self, and carries out mac learning again.Described second forwarding unit 102 receives the packet that the 3rd forwarding unit 103 sends, and according to the MAC address entries after the described renewal described packet is sent to described first forwarding unit 101.
The process of mac learning is as follows: forwarding unit can be transmitted according to the purpose MAC of message after receiving message, so has safeguarded a MAC who opens one's eyes wide on the forwarding unit and transferred the interface correspondence table, can E-Packet quickly and accurately according to this table of inquiry.This table is set up by study, when forwarding unit is received a message, can record the source MAC (supposing MAC-A) of this message and receive that list item of port (supposing port A) formation of this message is recorded in the table, the follow-up purpose MAC that receives again of equipment is the message of MAC-A when need transmit like this, and then namely can find outgoing interface from table is port A.Like this after the MAC address entries of finishing self upgrades, second forwarding unit 102 will directly be transmitted to the 3rd forwarding unit 103 from the traffic packet that first forwarding unit 101 receives, and will directly be transmitted to first forwarding unit 101 from the traffic packet that the 3rd forwarding unit 103 receives.
Further, when the Eth-Trunk on second forwarding unit 102 and the 4th forwarding unit 104 adds E-TRUNK in two layers of VLAN mode, which E-Trunk second forwarding unit, 102 these Eth-Trunk of record have added, and at described Eth-Trunk intelligent virtual local area network (LAN) SmartVlan mark are set.When Interface status normal when the link-recovery between second forwarding unit 102 and first forwarding unit 101 and that second forwarding unit 102 links to each other with first forwarding unit 101 becomes Up by Down, judge whether the interface that described second forwarding unit 102 links to each other with first forwarding unit 101 has intelligent virtual local area network (LAN) SmartVlan mark.If have, then remove the MAC forwarding-table item on the described forwarding unit 102, described forwarding unit 102 carries out MAC address learning again.After second forwarding unit 102 is finished mac learning, will directly be transmitted to first forwarding unit 101 from the traffic packet that the 3rd forwarding unit 103 receives, will directly be transmitted to the 3rd forwarding unit 103 from the traffic packet that first forwarding unit 101 receives; If described interface does not have the SmartVlan mark, then do not remove the MAC forwarding-table item on the described forwarding unit 102, described forwarding unit 102 does not carry out MAC address learning again.
The system that prevents the E-TRUNK packet loss that the embodiment of the invention 1 provides triggers the renewal that described forwarding unit carries out the MAC forwarding-table item when recovering available (UP) state by the interface at forwarding unit, avoid forwarding unit that the traffic packet received is transmitted to wrong equipment and caused the problem of packet loss, improved the reliability of two layers of transmission network of E-TRUNK.
Embodiment 2
Participate in Fig. 2, the embodiment of the invention 2 provides a kind of method that prevents from strengthening aggregated links E-TRUNK packet loss, and described method comprises:
201: the link-recovery between first forwarding unit 101 and second forwarding unit 102 is normal, and when the Interface status that described second forwarding unit 102 links to each other with described first forwarding unit 101 becomes UP, trigger described second forwarding unit 102 and upgrade the Media Access Control Address MAC address entries.
For example, if dispose E-TRUNK among Fig. 1 between second forwarding unit 102 and the 4th forwarding unit 104 and first forwarding unit 101, Eth-Trunk (the Ethernet Trunk of second forwarding unit 102 and the 4th forwarding unit 104 then, being the Trunk to the ether Port BindingBundling) interface is connected respectively to first forwarding unit 101, and wherein Eth-Trunk is the physics ether interface that is bundled among the Eth-trunk.Eth-Trunk on second forwarding unit 102 and the 4th forwarding unit 104 adds E-TRUNK, just Eth-Trunk and E-TRUNK is tied to together, and the state of Eth-Trunk is controlled by E-Trunk.When two layers of E-TRUNK transmitted, Eth-Trunk was that the mode with two layers of VLAN adds E-TRUNK's.When the link occurs fault between second forwarding unit 102 and first forwarding unit 101, second forwarding unit 102 is set to Down with the interface that first forwarding unit 101 links to each other, second forwarding unit 102 is removed the forwarding MAC address entries on the equipment of itself fast, transmit fault message by E-TRUNK simultaneously and give the 4th forwarding unit 104, thereby allow the reserve link between first forwarding unit 101 and the 4th forwarding unit 104 enable fast, the flow that this moment, first forwarding unit 101 sent can be selected the available link to the 4th forwarding unit 104 in Eth-Trunk, flow path is the first forwarding unit 101-the 4th forwarding unit 104-, the second forwarding unit 102-the 3rd forwarding unit 103.The flow that the 3rd forwarding unit 103 mails to first forwarding unit 101 then is forwarded to the 4th forwarding unit 104 through second forwarding unit 102, is forwarded to first forwarding unit, 101 equipment by the 4th forwarding unit 104 again.And the link-recovery between the first forwarding forwarding unit 101 and second forwarding unit 102 just often, described second forwarding unit 102 becomes UP with the Interface status that described first forwarding unit 101 links to each other, trigger second forwarding unit 102 and carry out the MAC removing, and carry out mac learning.The process of mac learning is identical with mac learning process among the embodiment 1, does not repeat them here.
202: described second forwarding unit 102 receives the packet that the 3rd forwarding unit 103 sends; And according to the MAC address entries after the described renewal, described packet is sent to described first forwarding unit 101.
After second forwarding unit 102 is finished mac learning, according to the MAC address entries after the described renewal, to directly be transmitted to first forwarding unit 101 from the traffic packet that the 3rd forwarding unit 103 receives, and no longer be transmitted to first forwarding unit 101 by the 4th forwarding unit 104.For the traffic packet that receives from first forwarding unit 101,102 of second forwarding units directly are transmitted to the 3rd forwarding unit 103 with described traffic packet.
Further, when the Eth-Trunk on second forwarding unit 102 and the 4th forwarding unit 104 adds E-TRUNK in two layers of VLAN mode, which E-Trunk second forwarding unit, 102 these Eth-Trunk of record have added, and intelligent virtual local area network (LAN) SmartVlan mark are set for described Eth-Trunk.When Interface status normal when the link-recovery between second forwarding unit 102 and first forwarding unit 101 and that second forwarding unit 102 links to each other with first forwarding unit 101 becomes Up by Down, judge whether the interface that described second forwarding unit 102 links to each other with first forwarding unit 101 has intelligent virtual local area network (LAN) SmartVlan mark.If have, then remove the MAC forwarding-table item on the described forwarding unit 102, described second forwarding unit 102 carries out MAC address learning again.After second forwarding unit 102 is finished mac learning, will directly be transmitted to first forwarding unit 101 from the traffic packet that the 3rd forwarding unit 103 receives, will directly be transmitted to the 3rd forwarding unit 103 from the traffic packet that first forwarding unit 101 receives; If there is not the SmartVlan mark, then do not remove the MAC forwarding-table item on the described forwarding unit 102, described forwarding unit 102 does not carry out MAC address learning again.
The method that prevents the E-TRUNK packet loss that the embodiment of the invention 2 provides triggers forwarding unit when recovering available (UP) state by the interface at forwarding unit and carries out the renewal of MAC forwarding-table item, avoid forwarding unit that the traffic packet received is transmitted to wrong equipment and caused the problem of packet loss, improved the reliability of two layers of transmission network of E-TRUNK.
Embodiment 3
Referring to Fig. 3, the embodiment of the invention 3 further provides a kind of device that prevents from strengthening aggregated links E-TRUNK packet loss, and described device for example can be second forwarding unit 102 among Fig. 1, and described second forwarding unit 102 comprises:
Trigger element 301, the link that is used between first forwarding unit 101 and described second forwarding unit 102 connects recovery normally, and when the Interface status of described second forwarding unit 102 and described first forwarding unit becomes UP, trigger described second forwarding unit 102 and upgrade the Media Access Control Address MAC address entries;
Receiving element 302 is used for receiving the packet that the 3rd forwarding unit 103 sends;
Retransmission unit 303 is used for according to the MAC address entries after the described renewal, and the described packet that described receiving element 302 is received is transmitted to described first forwarding unit 101.
For example, if dispose E-TRUNK between second forwarding unit 102 and the 4th forwarding unit 104 and first forwarding unit 101, then the Eth-Trunk of second forwarding unit 102 and the 4th forwarding unit 104 is connected respectively to first forwarding unit 101.Eth-Trunk on second forwarding unit 102 and the 4th forwarding unit 104 adds E-TRUNK, and Eth-Trunk and E-TRUNK are tied to together, and the state of Eth-Trunk is subjected to the control of E-Trunk.When two layers of E-TRUNK transmitted, Eth-Trunk was that the mode with two layers of VLAN adds E-TRUNK's.
When the link occurs fault between first forwarding unit 101 and second forwarding unit 102, interface between first forwarding unit 101 and second forwarding unit 102 is set to Down, trigger element 301 in second forwarding unit 102 triggers second forwarding unit, the 102 quick forwarding MAC that remove on the equipment of itself, second forwarding unit 102 transmits fault message by E-TRUNK and gives the 4th forwarding unit 104 simultaneously, thereby allow the reserve link between first forwarding unit 101 and the 4th forwarding unit 104 enable fast, the flow that this moment, the 3rd forwarding unit 103 sent receives through the receiving element 302 of second forwarding unit 102, and be transmitted to the 4th forwarding unit 104 by the retransmission unit 303 of second forwarding unit 102, the 4th forwarding unit 104 is forwarded to described flow first forwarding unit 101 again, and the flow forward-path is the 3rd forwarding unit 103-second forwarding unit 102-the 4th forwarding unit 104-first forwarding unit 101.The flow that first forwarding unit 101 sends then can be selected the available link to the 4th forwarding unit 104 in Eth-Trunk, the flow forward-path is the first forwarding unit 101-the 4th forwarding unit 104-, the second forwarding unit 102-the 3rd forwarding unit 103.
Connectivity restitution between first forwarding unit 101 and second forwarding unit 102 is normal, and when the Interface status of described second forwarding unit 102 and first forwarding unit 101 becomes UP, the trigger element 301 of described second forwarding unit 102 triggers described second forwarding unit 102 and upgrades MAC address entries, and described second forwarding unit 102 is removed MAC address entries and carried out mac learning again.After described second forwarding unit 102 was finished mac learning, the MAC address entries of the retransmission unit 303 of second forwarding unit 102 after according to described renewal sent to described first forwarding unit 101 with receiving element 302 from the packet that the 3rd forwarding unit 103 receives.Wherein identical among the process of mac learning and the embodiment 1, do not repeat them here.After second forwarding unit 102 is finished mac learning, according to the MAC address entries after the described renewal, to directly be transmitted to first forwarding unit 101 from the traffic packet that the 3rd forwarding unit 103 receives, will directly be transmitted to the 3rd forwarding unit 103 from the traffic packet that first forwarding unit 101 receives.
Referring to Fig. 3, described second forwarding unit 102 can comprise indexing unit 304 further, described indexing unit 304 is used for when the Eth-Trunk on second forwarding unit 102 adds E-TRUNK in two layers of VLAN mode, record this Eth-Trunk and added which E-Trunk, and intelligent virtual local area network (LAN) SmartVlan mark is set for described Eth-Trunk.When Interface status normal when the link-recovery between second forwarding unit 102 and first forwarding unit 101 and that second forwarding unit 102 links to each other with first forwarding unit 101 became Up by Down, described trigger element 301 judged whether the interface that described second forwarding unit 102 links to each other with first forwarding unit 101 has intelligent virtual local area network (LAN) SmartVlan mark.If have, then remove the MAC address entries on the described forwarding unit 102, described forwarding unit 102 carries out MAC address learning again.After second forwarding unit 102 is finished mac learning, according to the MAC address entries after the described renewal, to directly be transmitted to first forwarding unit 101 from the traffic packet that the 3rd forwarding unit 103 receives, will directly be transmitted to the 3rd forwarding unit 103 from the traffic packet that first forwarding unit 101 receives.If described interface does not have the SmartVlan mark, then do not remove the MAC forwarding-table item on the described forwarding unit 102, described forwarding unit 102 does not carry out MAC address learning again.
The device that prevents the E-TRUNK packet loss that the embodiment of the invention 3 provides triggers forwarding unit when recovering available (UP) state by the interface at forwarding unit and carries out the renewal of MAC forwarding-table item, avoid forwarding unit that the traffic packet received is transmitted to wrong equipment and caused the problem of packet loss, improved the reliability of two layers of transmission network of E-TRUNK.
Through the above description of the embodiments, those of ordinary skill in the art can be well understood to the embodiment of the invention and can realize by the mode that software adds essential general hardware platform, can certainly realize by hardware.Based on such understanding, the technical scheme of the embodiment of the invention can embody with the form of software product, this computer software product can be stored in the storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that computer equipment or server or other network equipments are carried out the described method of some part of each embodiment of the present invention or embodiment.
Being preferred embodiment of the present invention only below, is not for limiting protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (3)

1. a method that prevents from strengthening aggregated links E-TRUNK packet loss is characterized in that, described method comprises:
Dispose E-TRUNK between second forwarding unit and the 4th forwarding unit and first forwarding unit, wherein said second forwarding unit is the main forwarding unit of using, described the 4th forwarding unit is standby forwarding unit, and the interface of described second forwarding unit and described the 4th forwarding unit is connected respectively to described first forwarding unit;
Link-recovery between described first forwarding unit and described second forwarding unit is normal, and when the state of the interface that described second forwarding unit links to each other with described first forwarding unit becomes available UP state, trigger described second forwarding unit and upgrade the Media Access Control Address MAC address entries;
Described second forwarding unit receives the packet that the 3rd forwarding unit sends; And according to the MAC address entries after the described renewal, described packet is sent to described first forwarding unit, link-recovery between described first forwarding unit and second forwarding unit is normal, and the Interface status that links to each other with first forwarding unit of described second forwarding unit become UP before also comprise:
The interface of linking to each other for described second forwarding unit with described first forwarding unit arranges intelligent virtual local area network (LAN) mark;
Described when the link-recovery between first forwarding unit and second forwarding unit normal, and the state of the interface that links to each other with first forwarding unit of described second forwarding unit triggers described second forwarding unit renewal MAC address entries and comprises when becoming UP:
Link-recovery between described first forwarding unit and described second forwarding unit is normal, and when the Interface status of described second forwarding unit becomes UP, the intelligent virtual local area network (LAN) mark of the interface that described second forwarding unit links to each other with first forwarding unit according to described second forwarding unit upgrades the MAC address entries of described second forwarding unit.
2. device that prevents from strengthening aggregated links E-TRUNK packet loss, dispose E-TRUNK between described device, the 4th forwarding unit and first forwarding unit, described device is the main forwarding unit of using, described the 4th forwarding unit is standby forwarding unit, and the interface of described device and described the 4th forwarding unit is connected respectively to described first forwarding unit; It is characterized in that described device comprises:
Trigger element, the link-recovery that is used between described first forwarding unit and described device is normal, and when the state of the interface that described device links to each other with described first forwarding unit becomes available UP state, trigger described device and upgrade the Media Access Control Address MAC address entries;
Receiving element is used for receiving the packet that the 3rd forwarding unit sends;
Retransmission unit is used for according to the MAC address entries after the described renewal, and the packet that described receiving element is received is transmitted to described first forwarding unit;
Indexing unit is used for the interface that interface that described device links to each other with described first forwarding unit links to each other with described first forwarding unit to described device in E-TRUNK the time intelligent virtual local area network (LAN) mark is set;
The link-recovery that described trigger element specifically is used between described first forwarding unit and described device is normal, and when the state of the interface that described device links to each other with described first forwarding unit becomes UP, trigger described device according to the intelligent virtual local area network (LAN) mark at described interface place, the MAC address entries of described device is upgraded.
3. a system that prevents from strengthening aggregated links E-TRUNK packet loss is characterized in that, described system comprises:
At least four forwarding units, wherein,
First forwarding unit for the link-recovery between first forwarding unit and second forwarding unit just often, receives the packet that second forwarding unit sends;
Second forwarding unit, the link-recovery that is used between first forwarding unit and second forwarding unit is normal, and when the state of the interface between described second forwarding unit and first forwarding unit becomes available UP state, trigger described second forwarding unit and upgrade MAC address entries; Receive the packet that the 3rd forwarding unit sends; And according to the MAC address entries after the described renewal, described packet is sent to described first forwarding unit;
The 3rd forwarding unit is used for sending packet to described second forwarding unit;
The 4th forwarding unit is as standby forwarding unit;
Dispose E-TRUNK between wherein said second forwarding unit, described the 4th forwarding unit and first forwarding unit, described second forwarding unit is that the master uses forwarding unit, and the interface of described second forwarding unit and described the 4th forwarding unit is connected respectively to described first forwarding unit;
The interface of linking to each other for described second forwarding unit with described first forwarding unit arranges intelligent virtual local area network (LAN) mark;
Described second forwarding unit specifically is used for: the link-recovery between described first forwarding unit and second forwarding unit is normal, and when the state of the interface that described second forwarding unit links to each other with described first forwarding unit becomes UP, described second forwarding unit is according to described intelligent virtual local area network (LAN) mark, and the MAC address entries of described second forwarding unit is upgraded.
CN201110024822XA 2011-01-22 2011-01-22 Method, device and system for preventing packet loss of E-TRUNK (Enhanced-Trunk) Expired - Fee Related CN102142931B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110024822XA CN102142931B (en) 2011-01-22 2011-01-22 Method, device and system for preventing packet loss of E-TRUNK (Enhanced-Trunk)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110024822XA CN102142931B (en) 2011-01-22 2011-01-22 Method, device and system for preventing packet loss of E-TRUNK (Enhanced-Trunk)

Publications (2)

Publication Number Publication Date
CN102142931A CN102142931A (en) 2011-08-03
CN102142931B true CN102142931B (en) 2013-07-10

Family

ID=44410186

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110024822XA Expired - Fee Related CN102142931B (en) 2011-01-22 2011-01-22 Method, device and system for preventing packet loss of E-TRUNK (Enhanced-Trunk)

Country Status (1)

Country Link
CN (1) CN102142931B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475583B (en) 2012-06-07 2017-11-17 华为技术有限公司 The method and apparatus for removing medium education forwarding-table item
WO2015070412A1 (en) 2013-11-14 2015-05-21 华为技术有限公司 Method for upgrading network device version and network device
CN107026790B (en) * 2016-01-30 2019-06-28 华为技术有限公司 A kind of transmission control method and equipment
CN108574614B (en) * 2017-03-10 2020-11-17 华为技术有限公司 Message processing method, device and network system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100466584C (en) * 2007-04-03 2009-03-04 中兴通讯股份有限公司 Processing method for loop network protection
CN101252532B (en) * 2008-03-18 2010-08-25 华为技术有限公司 Equipment and method for collocating Ethernet link polymerization terminal port

Also Published As

Publication number Publication date
CN102142931A (en) 2011-08-03

Similar Documents

Publication Publication Date Title
CN102333028B (en) Method and communication equipment for sending messages by using layered bi-layer virtual private network
CN102148677B (en) Method for updating address resolution protocol table entries and core switch
CN101938377B (en) link aggregation error protection method, equipment and system
CN104486124B (en) The device and method of multisystem link aggregation is realized using logic port
JP2008078893A (en) Redundant method for network and medium switching equipment
CN102546222A (en) Backup system and fault detection and processing method
CN103227736B (en) A kind of ethernet performance detection method, system and Optical Network Terminal
CN102821099B (en) Message forwarding method, equipment and system
CN105871674A (en) Ring protection link fault protection method, device and system
CN102142931B (en) Method, device and system for preventing packet loss of E-TRUNK (Enhanced-Trunk)
CN103731303B (en) A kind of longitudinal fusion architecture interface realizes the method and apparatus of many active entities detections
CN103780419B (en) A kind of distributed aggregated link group business switch method and device
CN102546430A (en) Method for redundant backup of network equipment, and routing equipment and system
CN104025511A (en) Service protection method, optical line terminal and system in passive optical network
CN101227399A (en) Message transmission method, system and forwarding node
CN102088400A (en) Provider edge (PE) equipment in virtual special network and switching method
CN101179510B (en) Main/slave link load sharing method and apparatus for virtual switch system
CN100563145C (en) Bundle interface among the RPR and its implementation and device
CN102611610A (en) Method and system for centralized management of a plurality of tunnels with same path
CN102833173A (en) Network device and tunnel adaptation method
CN103840972A (en) System and method for backup between link aggregation groups in packet switched network
JP2012529201A (en) Address refresh method and system
CN102136957B (en) Label switched path monitoring realization method, device and system
CN102651711A (en) Method, device and system for establishing and using floating segments
CN103493439A (en) Information receiving and sending methods and apparatuses

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing, Haidian District on the road, No. 3

Applicant after: Beijing Huawei Digital Technology Co.,Ltd.

Address before: 100085 Beijing, Haidian District on the road, No. 3

Applicant before: Huawei Digit Technology Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: HUAWEI DIGIT TECHNOLOGY CO., LTD. TO: BEIJING HUAWEI DIGITAL TECHNOLOGY CO., LTD.

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130710

Termination date: 20190122

CF01 Termination of patent right due to non-payment of annual fee