CN105991445A - Link aggregation group setting method and device - Google Patents

Link aggregation group setting method and device Download PDF

Info

Publication number
CN105991445A
CN105991445A CN201610201761.2A CN201610201761A CN105991445A CN 105991445 A CN105991445 A CN 105991445A CN 201610201761 A CN201610201761 A CN 201610201761A CN 105991445 A CN105991445 A CN 105991445A
Authority
CN
China
Prior art keywords
port
unicast message
extended capabilities
ecp extended
mark
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610201761.2A
Other languages
Chinese (zh)
Other versions
CN105991445B (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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201610201761.2A priority Critical patent/CN105991445B/en
Publication of CN105991445A publication Critical patent/CN105991445A/en
Priority to EP17773305.2A priority patent/EP3439248B1/en
Priority to US16/082,916 priority patent/US10797991B2/en
Priority to JP2018551193A priority patent/JP6743176B2/en
Priority to PCT/CN2017/079011 priority patent/WO2017167275A1/en
Application granted granted Critical
Publication of CN105991445B publication Critical patent/CN105991445B/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/16Multipoint routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • H04L12/4625Single bridge functionality, e.g. connection of two networks over a single bridge
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing

Landscapes

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

Abstract

The invention provides a link aggregation group setting method and device, and is applied to a control network bridge of an extended network bridge system. A message forwarding method comprises the steps that a broadcast message is received from a first port extender through a first cascade port; an aggregation port associated with a receiving extended port of the broadcast message is determined based on the first cascade port and the identifier of the receiving extended port of the broadcast message; and a source extended port identifier of the broadcast message is set based on the identifier of the aggregation port associated with the receiving extended port of the broadcast message, and extended transmission to a first port is performed through the first cascade port.

Description

The method to set up of link aggregation group and device
Technical field
The present invention relates to communication technical field, in particular relate to a kind of link aggregation group method to set up and Device.
Background technology
Extension bridge (Extended Bridge) is by controlling bridge (CB, Controlling Bridge) and port Expander (PE, Port Extender) is constituted.Controlling bridge can be single bridge or multiple bridge stacking structure The bridge become.
Fig. 1 provides a kind of existing extension Bridge configuration.In Fig. 1, the uplink port of port expander (upstream port) and the cascade port (Cascade Port) controlling bridge connect one to one, and port expands The ECP Extended Capabilities Port (Extended Port) of exhibition device connects one to one with a terminal (End Station).
Control bridge the downlink message carrying E-TAG is sent to port expander, port expander according to Extension virtual local area network tags (ETAG, Extension VLAN Tag) E-channel mark (ECID, E-channel Identifier) downlink message is sent to the terminal of correspondence by corresponding ECP Extended Capabilities Port.Such as, under Row message is downlink unicast message, and port expander is by unique extension end corresponding for downlink unicast message ECID Mouth sends downlink unicast message to a terminal;Downlink message is broadcasting packet, and port expander replicates descending Broadcasting packet, by corresponding for the ECID of downlink broadcast messages multiple ECP Extended Capabilities Ports send downlink broadcast messages to Multiple terminals.
Summary of the invention
It is an object of the invention to provide a kind of message forwarding method and device, it is possible to the port to extension bridge The broadcasting packet that expander is accessed by the aggregation port of link aggregation group performs forwarding.
For achieving the above object, the invention provides a kind of message forwarding method, wherein, the method bag Include: receive broadcasting packet by the first cascade port from the first port expander;Based on described first cascade end Mouth and the mark receiving ECP Extended Capabilities Port of described broadcasting packet, determine the reception extension end of described broadcasting packet The aggregation port of mouth association;The mark of the aggregation port receiving ECP Extended Capabilities Port association based on described broadcasting packet The source ECP Extended Capabilities Port mark of described broadcasting packet is set, by described first cascade port to described first port Extension sends.
For achieving the above object, present invention also offers a kind of apparatus for forwarding message, wherein this device bag Include: receive unit, receive broadcasting packet by the first cascade port;Control unit, based on the described first order Connection port and the mark receiving ECP Extended Capabilities Port of described broadcasting packet, determine that the reception of described broadcasting packet is expanded The aggregation port of exhibition port association;The aggregation port receiving ECP Extended Capabilities Port association based on described broadcasting packet Mark arranges the source ECP Extended Capabilities Port mark of described broadcasting packet;Retransmission unit, by described first cascade port Send.
Beneficial effects of the present invention at least includes: the control bridge of extension bridge system, leads to port expander The broadcasting packet of the aggregation port access extension bridge crossing link aggregation group performs forwarding, moreover it is possible to avoid this link The broadcasting packet that the aggregation port of aggregation group accesses is sent back to this port expander.
Accompanying drawing explanation
Fig. 1 show the structural representation having extended bridge.
The embodiment of the present invention shown in Fig. 2 provides the flow chart of the method to set up of link aggregation group.
A kind of structural representation extending bridge that the embodiment of the present invention shown in Fig. 3 A and 3B provides.
Fig. 4 is a kind of structural representation extending bridge that the embodiment of the present invention provides.
Fig. 5 provides the structural representation of embodiment of the present invention apparatus for forwarding message.
Detailed description of the invention
Below by way of multiple examples shown in the drawings, the application is illustrated.
In the term used, term " comprises " expression and includes but not limited to;Term " contains " expression and includes But it is not limited to;Term "based" represents at least based on a portion.Additionally, term " " is intended to table Show one of specific composition part.
In Fig. 2, the message forwarding method that the embodiment of the present invention provides comprises the following steps:
Step 201, receives broadcasting packet by the first cascade port from the first port expander;
Step 202, based on the first cascade port and the mark receiving ECP Extended Capabilities Port of broadcasting packet, determines wide Report the aggregation port receiving ECP Extended Capabilities Port association of literary composition;
Step 203, the mark of the aggregation port receiving ECP Extended Capabilities Port association based on broadcasting packet arranges broadcast report The source ECP Extended Capabilities Port mark of literary composition, is sent to the first ports-Extending by the first cascade port.
By the message forwarding method shown in Fig. 2, the control bridge opposite end mouth expander of extension bridge passes through chain The aggregation port of road aggregation group accesses the broadcasting packet of extension bridge and performs forwarding, moreover it is possible to avoid this link aggregation The broadcasting packet that the aggregation port of group accesses is sent back to this port expander.
In Fig. 3 A, port expander 31 and 32 constitutes extension bridge 34 with controlling bridge 33.Ports-Extending Up-link (upstream link) the port 31-1 of device 31 and the cascade (Cascade) controlling bridge 33 Connected by link between port Cas33-1;The uplink port 32-1 of the 32 of port expander and control Connected by link between the cascade port Cas33-2 of bridge 33.
Port expander 31 is that ECP Extended Capabilities Port 31-2-1 and 31-2-2 is respectively to controlling bridge 33 transmission extension end Mouth sets up request (Extended Port Create request) message.Port expander 31 is by this ECP Extended Capabilities Port Set up request message to mail to control bridge 33 by uplink port 31-1.
Port expander 32 sends ECP Extended Capabilities Port to control bridge 33 respectively for ECP Extended Capabilities Port 32-2 and 32-3 Set up request message.Port expander 32 sends the foundation of these ECP Extended Capabilities Ports by uplink port 32-1 please Seek message.
Control bridge 33 and receive the ECP Extended Capabilities Port foundation from port expander 31 by cascade port Cas33-1 Request message, the ECP Extended Capabilities Port received from port expander 32 by cascade port Cas33-2 sets up request Message.
Control bridge 33 and set up E-channel respectively for ECP Extended Capabilities Port 31-2-1 and 31-2-2, according to cascade end The port NameSpace (namespace) of mouth Cas33-1 is that ECP Extended Capabilities Port 31-2-1 and 31-2-2 is respectively allocated ECID-31-2-1 and ECID-31-2-2, for being respectively identified as what ECP Extended Capabilities Port 31-2-1 and 31-2-2 set up E-channel.Control bridge 33 and be respectively provided with virtual port VP31-2-1 for ECP Extended Capabilities Port 31-2-1 and 31-2-2 And VP31-2-2, make ECP Extended Capabilities Port 31-2-1 and 31-2-2 show as virtual port on control bridge 33 VP31-2-1 and VP31-2-2.
Control bridge 33 and set up E-channel respectively for ECP Extended Capabilities Port 32-2 and 32-3, according to cascade port The port NameSpace of Cas33-2 be ECP Extended Capabilities Port 32-2 and 32-3 be respectively allocated ECID-32-2 and ECID-32-3, for being identified as the E-channel that ECP Extended Capabilities Port 32-2 and 32-3 sets up respectively.Control bridge 33 arrange virtual port VP32-2 and VP32-3 for ECP Extended Capabilities Port 32-2 and 32-3, make ECP Extended Capabilities Port 32-2 Virtual port VP32-2 and VP32-3 is shown as respectively at control bridge 33 with 32-3.
Control bridge 33 and in up table, record ECID virtual port corresponding with cascade port, as shown in table 1-1:
Table 1-1
Control bridge 33 and in descending table, record ECID corresponding to virtual port and cascade port, such as table 2-1 Shown in:
Table 2-1
Control bridge 33 and send ECP Extended Capabilities Port foundation response (Extended Port by cascade port Cas33-1 Create response) message, notice port expander 31 distributes for ECP Extended Capabilities Port 31-2-1 respectively ECID-31-2-1 and the ECID-31-2-2 for ECP Extended Capabilities Port 31-2-2 distribution.Control bridge 33 by cascade Port Cas33-2 sends ECP Extended Capabilities Port and sets up response message, and notice port expander 32 is ECP Extended Capabilities Port 32-2 The ECID-32-2 distributed and the ECID-32-3 distributed for ECP Extended Capabilities Port 32-3.
Port expander 31 receives ECP Extended Capabilities Port and sets up response message, record in the up table shown in table 3-1 ECP Extended Capabilities Port correspondence ECID, at the descending ECP Extended Capabilities Port corresponding for table record ECID shown in table 4-1.
Keyword (Key) End value (Value)
31-2-1 ECID-31-2-1
31-2-1 ECID-31-2-2
Table 3-1
Keyword (Key) End value (Value)
ECID-31-2-1 31-2-1
ECID-31-2-2 31-2-2
Table 4-1
Port expander 32 receives ECP Extended Capabilities Port and sets up response message, record in the up table shown in table 5-1 ECP Extended Capabilities Port correspondence ECID, at the descending ECP Extended Capabilities Port corresponding for table record ECID shown in table 6-1.
Keyword (Key) End value (Value)
32-2 ECID-32-2
32-3 ECID-32-3
Table 5-1
Keyword (Key) End value (Value)
ECID-32-2 32-2
ECID-32-3 32-3
Table 6-1
Control bridge 33 and control ECP Extended Capabilities Port 31-2-1 and ECP Extended Capabilities Port 31-2-2 and the end of port expander 31 End 35 is set up link and is connected.Control bridge 33 and control ECP Extended Capabilities Port 32-2 and the terminal of port expander 32 36 set up link connects, and control ECP Extended Capabilities Port 32-3 sets up link with terminal 37 and is connected.
Control bridge 33 and link aggregation group 31-2 is set, the aggregation port LAG of link aggregation group 31-2 is set 31-2, associates ECP Extended Capabilities Port 31-2-1 and ECP Extended Capabilities Port 31-2-2 by aggregation port LAG 31-2, i.e. extends Port 31-2-1 and ECP Extended Capabilities Port 31-2-1 is set to two member ports of aggregation port LAG31-2.Control Bridge 33 arranges the virtual port VP31-2 of aggregation port LAG 31-2, makes aggregation port LAG 31-2 exist Control to show as virtual port VP31-2 on bridge 33.Control bridge 33 to set up for aggregation port LAG31-2 E-channel.Control bridge 33 is aggregation port according to the port NameSpace of cascade port Cas33-1 LAG31-2 distributes ECID-31-2, for being identified as the E-channel that aggregation port LAG31-2 sets up.
Control bridge 33 by virtual port corresponding with cascade port Cas33-1 for ECID-31-2-1 in up table VP31-2-1 replaces with the void that virtual port VP31-2, ECID-31-2-2 are corresponding with cascade port Cas33-1 Intend port VP31-2-2 and replace with virtual port VP31-2, as shown in table 1-2:
Table 1-2
Control bridge 33 in descending table, record ECID-31-2 corresponding for virtual port VP31-2 and cascade end Mouth Cas33-1, as shown in table 2-2:
Table 2-2
Control bridge 33 to port expander 31 send port expander control with status protocol (PE CSP, Port Extender Control and Status Protocol) message, wherein, the type-length of PE CSP message -value (T-L-V) field carries aggregation port LAG31-2, the ECID-31-2 of aggregation port LAG31-2, The ECP Extended Capabilities Port 31-2-1 and ECP Extended Capabilities Port 31-2-2 of aggregation port LAG31-2 association.
Port expander 31 receives PE CSP message, at descending polymerization end corresponding for table record ECID-31-2 Mouth 31, as shown in table 4-2:
Keyword (Key) End value (Value)
ECID-31-2-1 31-2-1
ECID-31-2-2 31-2-2
ECID-31-2 LAG31-2
Table 4-2
Port expander 31 is in the aggregation port table shown in table 7, and aggregation port LAG31-2 is corresponding for record ECP Extended Capabilities Port.
Keyword (Key) End value (Value)
LAG31-2 31-2-1,31-2-2
Table 7
Port expander 31 is according to aggregation port table, it may be determined that the member port of each aggregation port association.
As shown in Figure 3 B, control bridge 33 and port expander 31 is connected two physical links of terminal 35 It is set to link aggregation group, improves the reliability of link between port expander 31 and terminal 35.
Terminal 35, based on Load Sharing Algorithm, connects from two link selection of connectivity port expander 31 and expands The link of exhibition port 31-2-1 sends Ethernet broadcasting packet.
Port expander 31 receives Ethernet broadcasting packet by ECP Extended Capabilities Port 31-2-1, shown in table 3-2 The ECID-31-2-1 of the ECP Extended Capabilities Port 31-2-1 that up table is searched, port expander 32 is at Ethernet broadcast report It is ECID-31-2-1 that literary composition inserts ECP Extended Capabilities Port VLAN ID (VID, Extended Port VLAN ID) ETAG, sent by uplink port 31-1.
Control bridge 33 and receive the Ethernet broadcasting packet with ETAG, base by cascade port Cas33-1 Virtual terminal is found at local up table (shown in table 1-2) in ECID-31-2-1 and cascade port Cas33-1 Mouth VP31-2, it is determined that aggregation port LAG31-2 is that Ethernet broadcasting packet enters entering of extension bridge 34 Interface (ingress port).
Control the bridge 33 source MAC according to Ethernet broadcasting packet, VLAN and virtual port VP31-2 learns MAC Address list item.Control bridge 33 and replicate Ethernet broadcasting packet.In the present invention, control Bridge 33 processed is by the source ECP Extended Capabilities Port VLAN ID of the ETAG of an Ethernet broadcasting packet replicated (SVID, Source Extended Port VLAN ID) field is set to ECID-31-2, by ETAG's VID replaces with broadcast ECID, is sent by cascade port Cas33-1.In the present invention, ECP Extended Capabilities Port 31 Link aggregation group connect terminal 35, control bridge 33 determine according to the VID of up Ethernet broadcasting packet Incoming interface is the member port of aggregation port LAG31-2 association, therefore, controls bridge 33 by aggregation port The ECID31-2 of LAG31-2 is arranged in the SVID of downlink Ethernet broadcasting packet, it is to avoid port expander 31 send the downlink unicast broadcasting packet of self terminal 35 by aggregated links group.
Control bridge 33 and the VID of the ETAG of an Ethernet broadcasting packet replicated is set to broadcast ECID, is sent by cascade port Cas33-2.If controlling bridge 33 to be also connected with in identical VLAN One or more equipment (such as terminal or switch), or many replicated deleted by Switch control bridge 33 The ETAG of individual Ethernet broadcasting packet, is broadcasted by the physical port of one or more identical VLAN.Control The up Ethernet broadcasting packet that one cascade port is received by bridge processed is sent by another cascade port Time, it is not necessary to copy downlink Ethernet to according to the VID field of the ETAG of up Ethernet broadcasting packet wide Report the SVID of the ETAG of literary composition.
The Ethernet broadcasting packet that port expander 31 is received by uplink port 31-1, wherein ETAG VID for broadcast ECID and SVID be ECID-31-2.Port expander 31 finds broadcast ECID Port list include aggregation port LAG31-2, determine that the ECID-31-2 of SVID field is corresponding to broadcast The aggregation port LAG31-2 of the port list of ECID, the most not by the polymerization of the port list of broadcast ECID Port LAG31-2 sends broadcasting packet.
The Ethernet broadcasting packet that port expander 32 is received by uplink port 32-1, wherein, ETAG VID for broadcast ECID.Port expander 32 finds the port list of broadcast ECID and includes ECP Extended Capabilities Port 32-2 and ECP Extended Capabilities Port 32-3.Port expander removes ETAG, replicates Ethernet broadcasting packet, extends respectively Port 32-2 and 32-3 sends Ethernet broadcasting packet, and Ethernet broadcasting packet is broadcast to terminal 36 and 37.
Terminal 37 sends Ethernet broadcasting packet.Port expander 32 receives ether by ECP Extended Capabilities Port 32-2 Net broadcasting packet, the ECID-32-2 searched local up table (as shown in Table 5-1) based on ECP Extended Capabilities Port 32-2, Inserting VID at Ethernet broadcasting packet is the ETAG of ECID-32-2, is sent by uplink port 32-1.
Control bridge 33 and receive the Ethernet broadcasting packet with ETAG, base by cascade port Cas33-2 Virtual terminal is found at local up table (as shown in table 1-2) in ECID-32-2 and cascade port Cas33-2 Mouth VP32-2, according to the source MAC of Ethernet broadcasting packet, VLAN and virtual port VP32-2 Study MAC Address list item.Control bridge 33 and replicate Ethernet broadcasting packet.Control bridge 33 multiple by one The ECID-32-2 of the VID field of the ETAG of the Ethernet broadcasting packet of system copies SVID field to, will The VID of ETAG replaces with broadcast ECID, is sent by cascade port Cas33-2.In the present invention, control Bridge 33 determines that ECID-32-2 is the ECID of single ECP Extended Capabilities Port, the most directly the ECID-32 of VID field Copy SVID to, it is to avoid Ethernet broadcasting packet beams back terminal 37 again.
Control bridge 33 and the VID of the ETAG of an Ethernet broadcasting packet replicated is set to broadcast ECID, is sent by cascade port Cas33-1.Control bridge 33 by the Ethernet report of one or more duplications The ETAG of literary composition deletes, and is broadcast to one or more end by the physical port of one or more identical VLAN End, switch.
The ETAG's of the Ethernet broadcasting packet that port expander 32 is received by uplink port 32-1 VID is broadcast ECID, and the port list finding broadcast ECID includes ECP Extended Capabilities Port 32-2 and ECP Extended Capabilities Port 32-3.Port expander 31 determines the ECID-32-2 port row corresponding to broadcast ECID of SVID field The ECP Extended Capabilities Port 32-2 of table.Port expander 42 removes ETAG, sends Ethernet by ECP Extended Capabilities Port 32-3 Broadcasting packet, is broadcast to terminal 36 by Ethernet broadcasting packet.
The ETAG's of the Ethernet broadcasting packet that port expander 31 is received by uplink port 31-1 VID is broadcast ECID, and the port list finding broadcast ECID includes LAG31-2.Port expander 31 Remove ETAG, the ECP Extended Capabilities Port associated based on loading algorithm from the aggregation port LAG31-2 shown in table 7 31-2-1 and 31-2-2 selects ECP Extended Capabilities Port 31-2-2, sends Ethernet broadcast report by ECP Extended Capabilities Port 31-2-2 Literary composition, is sent to terminal 35 by Ethernet broadcasting packet.
Above-mentioned Ethernet broadcasting packet can also be able to be both protocol massages, such as ARP request report with data message Literary composition.In Fig. 3 B extension bridge 34, control bridge 33 and receive identical VLAN from outside double layer network Ethernet broadcasting packet time, control bridge 33 by cascade port Cas33-1 and 33-2 send descending ether Net broadcasting packet, port expander 31 sends downlink Ethernet broadcasting packet by link aggregation group, and port expands Exhibition device 32 sends downlink Ethernet broadcasting packet by ECP Extended Capabilities Port 32-2 and 32-3, and concrete mode refer to Foregoing description, the present invention is not describing in detail.
Terminal 37 sends Ethernet unicast message to terminal 35, and wherein, source MAC is terminal 37 MAC Address, target MAC (Media Access Control) address is the MAC Address of terminal 35.Port expander 32 is by extension Port 32-2 receives Ethernet unicast message, based on ECP Extended Capabilities Port 32-2 at local up table (such as table 5-1 Shown in) find ECID-32-2, inserting VID in Ethernet unicast message is the ETAG of ECID-32-2, Sent by uplink port 32-1.
Control bridge 33 and receive the Ethernet unicast message with ETAG, base by cascade port Cas33-2 Search in target MAC (Media Access Control) address and VLAN, find the virtual port VP32-2 of coupling.I.e. control bridge MAC Address based on study determines that aggregation port LAG32-2 corresponding for virtual port VP32-2 is port (egress port)。
Control bridge 33, according to virtual port VP32-2, finds at this ground downlink table (as shown in table 1-2) ECID-31-2 and cascade port Cas33-1, is revised as ECID-31-2 by the VID of Ethernet clean culture ETAG, Sent by cascade port Cas33-1.
The ETAG's of the Ethernet unicast message that port expander 31 is received by uplink port 31-1 VID is ECID-31-2, finds at this ground downlink table (as shown in table 4-2) based on ECID-31-2 LAG31-2.Port expander 31 removes ETAG, associates from aggregation port LAG31-2 based on loading algorithm ECP Extended Capabilities Port 31-2-1 and 31-2-2 (as shown in table 7) select ECP Extended Capabilities Port 31-2-1, by extension end Mouth 31-2-1 sends, and Ethernet unicast message is sent out terminal 35.
Above-mentioned Ethernet unicast message can also be able to be both protocol massages, such as arp response report with data message Literary composition.In Fig. 3 B extension bridge 34, control bridge 33 and receive identical VLAN from outside double layer network Ethernet unicast message time, control bridge 33 according to target MAC (Media Access Control) address find correspondence virtual port VP31-2, sends downlink Ethernet unicast message, the wherein VID of ETAG by cascade port Cas33-1 Being ECID-31-2, port expander 31 sends downlink Ethernet unicast message by link aggregation group, specifically Mode refer to foregoing description, and the present invention is not describing in detail.
In Fig. 4, the network equipment 441 and 442 is by stacking link and constitutes a stack equipment 44, network Equipment 441 and 442 performs main equipment election, and the network equipment 442 is elected as the main equipment of stack equipment 44. This stack equipment 44 runs as controlling bridge 44.Port expander 41-43 and control bridge 44 are constituted Extension bridge 45.
Port expander 41 is connected three physical links of terminal 46 and is set to link aggregation by control bridge 44 Group 41-2, improves the reliability of link between port expander 41 and terminal 46.
Control the bridge 44 port name according to the cascade port of the network equipment 441 connectivity port expander 41 Space is that the aggregation port LAG41-2 of link aggregation group distributes ECID.
Control bridge 44 and send downlink Ethernet broadcasting packet and the mode of downlink Ethernet unicast message and figure 3B controls bridge 33 downlink Ethernet broadcasting packet identical with the mode of downlink Ethernet unicast message;Port Expander 41 sends the mode of downlink message and uplink message and sends descending report with Fig. 3 B middle port expander 31 Literary composition (e.g., downlink Ethernet broadcasting packet and downlink Ethernet unicast message) and uplink message are (e.g., descending Ethernet broadcasting packet and downlink Ethernet unicast message) mode identical.The present embodiment is not described in detail.
Fig. 5 show the apparatus for forwarding message 50 that the present invention provides, and this device 50 can be applicable to extend bridge system The port expander of system.As it is shown in figure 5, this apparatus for forwarding message 50 includes: receive unit 501, control Unit 502 and retransmission unit 503.
Receive unit 501, receive broadcasting packet by the first cascade port.Control unit 502, based on first Cascade port and the mark receiving ECP Extended Capabilities Port of broadcasting packet, determine the reception ECP Extended Capabilities Port of broadcasting packet The aggregation port of association;The mark of the aggregation port receiving ECP Extended Capabilities Port association based on broadcasting packet is arranged extensively Report the source ECP Extended Capabilities Port mark of literary composition.Retransmission unit 503, is sent by the first cascade port.
Receive unit 501, receive the first unicast message by the first cascade port.Control unit 502, based on First cascade port and the mark receiving ECP Extended Capabilities Port of the first unicast message, determine the first unicast message Receive the aggregation port of ECP Extended Capabilities Port association.Retransmission unit 503, source address based on the first unicast message and The aggregation port receiving ECP Extended Capabilities Port association of the first unicast message, carries out source address study;Single based on first The port that goes out of the destination address association reporting literary composition sends the first unicast message.
Receive unit 501, receive the second unicast message by the second cascade port.Retransmission unit 503, determines The transmission aggregation port of the destination address association of the second unicast message.Control unit 502, determines the second clean culture report The mark sending aggregation port of the destination address association of literary composition and third level connection mouth;Based on the second unicast message The mark sending aggregation port of destination address association arranges the ECP Extended Capabilities Port mark of the second unicast message.Forward Unit 503, is sent by third level connection port.
Receive unit 501, receive the 3rd unicast message by two layers of port.Retransmission unit 503, determines the 3rd The transmission aggregation port of the destination address association of unicast message.Control unit 502, determines the 3rd unicast message The mark sending aggregation port of destination address association and fourth stage connection mouth;Purpose based on the 4th unicast message The mark sending aggregation port of address information arranges the ECP Extended Capabilities Port mark of the 4th unicast message.Retransmission unit 503, send the 3rd unicast message by fourth stage connection port.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all at this Within bright spirit and principle, any modification, equivalent substitution and improvement etc. done, should be included in this Within the scope of bright protection.

Claims (8)

1. a message forwarding method, it is characterised in that described method includes:
Broadcasting packet is received from the first port expander by the first cascade port;
Based on described first cascade port and the mark receiving ECP Extended Capabilities Port of described broadcasting packet, determine institute State the aggregation port receiving ECP Extended Capabilities Port association of broadcasting packet;
The mark of the aggregation port receiving ECP Extended Capabilities Port association based on described broadcasting packet arranges described broadcast report The source ECP Extended Capabilities Port mark of literary composition, is sent to described first ports-Extending by described first cascade port.
Method the most according to claim 1, it is characterised in that described method includes:
The first unicast message is received from described first port expander by described first cascade port;
Based on described first cascade port and the mark receiving ECP Extended Capabilities Port of described first unicast message, really The aggregation port receiving ECP Extended Capabilities Port association of fixed described first unicast message;
The reception ECP Extended Capabilities Port of source address based on described first unicast message and described first unicast message closes The aggregation port of connection, carries out source address study;
The port that goes out of destination address based on described first unicast message association sends described first unicast message.
Method the most according to claim 1, it is characterised in that described method includes:
The second unicast message is received from the second port expander by the second cascade port;
Determine the transmission aggregation port of the destination address association of the second unicast message;
Determine the mark sending aggregation port and the third level connection mouth of the destination address association of described second unicast message;
It is single that the mark sending aggregation port of destination address based on the second unicast message association arranges described second Report the ECP Extended Capabilities Port mark of literary composition, sent to the 3rd port expander by described third level connection port.
Method the most according to claim 1, it is characterised in that described method includes:
The 3rd unicast message is received by two layers of port;
Determine the transmission aggregation port of the destination address association of the 3rd unicast message;
Determine the mark sending aggregation port and the fourth stage connection mouth of the destination address association of described 3rd unicast message;
It is single that the mark sending aggregation port of destination address based on the 4th unicast message association arranges the described 4th Report the ECP Extended Capabilities Port mark of literary composition, send the 3rd by described fourth stage connection port to the 4th port expander single Report literary composition.
5. an apparatus for forwarding message, it is characterised in that described device includes:
Receive unit, receive broadcasting packet by the first cascade port;
Control unit, based on described first cascade port and the mark receiving ECP Extended Capabilities Port of described broadcasting packet Know, determine the aggregation port receiving ECP Extended Capabilities Port association of described broadcasting packet;Based on described broadcasting packet The mark of the aggregation port receiving ECP Extended Capabilities Port association arranges the source ECP Extended Capabilities Port mark of described broadcasting packet;
Retransmission unit, is sent by described first cascade port.
Device the most according to claim 5, it is characterised in that
Described reception unit, receives the first unicast message by described first cascade port;
Described control unit, reception extension based on described first cascade port and described first unicast message The mark of port, determines the aggregation port receiving ECP Extended Capabilities Port association of described first unicast message;
Described retransmission unit, source address based on described first unicast message and described first unicast message Receive the aggregation port of ECP Extended Capabilities Port association, carry out source address study;Mesh based on described first unicast message Address information go out port send described first unicast message.
Device the most according to claim 5, it is characterised in that
Described reception unit, receives the second unicast message by the second cascade port;
Described retransmission unit, determines the transmission aggregation port of the destination address association of the second unicast message;
Described control unit, determines the transmission aggregation port of the destination address association of described second unicast message Mark and the third level join mouth;The mark sending aggregation port of destination address based on the second unicast message association The ECP Extended Capabilities Port mark of described second unicast message is set,
Described retransmission unit, is sent by described third level connection port.
Device the most according to claim 5, it is characterised in that
Described reception unit, receives the 3rd unicast message by two layers of port;
Described retransmission unit determines the transmission aggregation port of the destination address association of the 3rd unicast message;
Described control unit, determines the transmission aggregation port of the destination address association of described 3rd unicast message Mark and the fourth stage join mouth;
It is single that the mark sending aggregation port of destination address based on the 4th unicast message association arranges the described 4th Report the ECP Extended Capabilities Port mark of literary composition;
Described retransmission unit, sends the 3rd unicast message by described fourth stage connection port.
CN201610201761.2A 2016-03-31 2016-03-31 Setting method and device of link aggregation group Active CN105991445B (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
CN201610201761.2A CN105991445B (en) 2016-03-31 2016-03-31 Setting method and device of link aggregation group
EP17773305.2A EP3439248B1 (en) 2016-03-31 2017-03-31 Configuration of link aggregation group
US16/082,916 US10797991B2 (en) 2016-03-31 2017-03-31 Setting link aggregation group
JP2018551193A JP6743176B2 (en) 2016-03-31 2017-03-31 Link Aggregation Group Settings
PCT/CN2017/079011 WO2017167275A1 (en) 2016-03-31 2017-03-31 Configuration of link aggregation group

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610201761.2A CN105991445B (en) 2016-03-31 2016-03-31 Setting method and device of link aggregation group

Publications (2)

Publication Number Publication Date
CN105991445A true CN105991445A (en) 2016-10-05
CN105991445B CN105991445B (en) 2020-07-07

Family

ID=57044610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610201761.2A Active CN105991445B (en) 2016-03-31 2016-03-31 Setting method and device of link aggregation group

Country Status (1)

Country Link
CN (1) CN105991445B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547247A (en) * 2017-05-31 2018-01-05 新华三技术有限公司 Three-layer pipe reason net IP address distribution method and device in intelligent elastic framework
CN107547449A (en) * 2017-06-30 2018-01-05 新华三技术有限公司 Mirror image message retransmission method, device and system
CN108092896A (en) * 2017-12-26 2018-05-29 新华三技术有限公司 Pile system and aggregation group establish device
CN108123880A (en) * 2016-11-30 2018-06-05 新华三技术有限公司 Retransmission method, device and the system of multicast data message
CN108259345A (en) * 2016-12-30 2018-07-06 新华三技术有限公司 port generation method and device
CN108418752A (en) * 2017-07-24 2018-08-17 新华三技术有限公司 A kind of creation method and device of aggregation group
CN109743254A (en) * 2018-12-25 2019-05-10 新华三技术有限公司 Message forwarding method, PE equipment and stacking system
EP3544242A1 (en) * 2018-03-23 2019-09-25 Juniper Networks, Inc. Targeted selection of cascade ports
CN110505166A (en) * 2018-05-16 2019-11-26 杭州海康威视数字技术股份有限公司 Broadcast package transmitting method, device, electronic equipment and readable storage medium storing program for executing
CN110995621A (en) * 2019-11-20 2020-04-10 锐捷网络股份有限公司 Method and switch for selecting uplink port to communicate
US11296783B2 (en) 2019-03-27 2022-04-05 Juniper Networks, Inc. Managing satellite devices within a branch network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102684979A (en) * 2011-03-11 2012-09-19 中兴通讯股份有限公司 Multicast data forwarding method and device capable of supporting virtual terminal
CN103166874A (en) * 2013-03-25 2013-06-19 杭州华三通信技术有限公司 Message forwarding method and device
CN103457818A (en) * 2012-05-31 2013-12-18 美国博通公司 Multi-homing in an extended bridge
CN104780111A (en) * 2015-04-08 2015-07-15 杭州华三通信技术有限公司 Packet forwarding method and device in virtualized network as well as virtualized network
US20150339249A1 (en) * 2014-05-21 2015-11-26 Dell Products L.P. Remote console access of port extenders

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102684979A (en) * 2011-03-11 2012-09-19 中兴通讯股份有限公司 Multicast data forwarding method and device capable of supporting virtual terminal
CN103457818A (en) * 2012-05-31 2013-12-18 美国博通公司 Multi-homing in an extended bridge
CN103166874A (en) * 2013-03-25 2013-06-19 杭州华三通信技术有限公司 Message forwarding method and device
US20150339249A1 (en) * 2014-05-21 2015-11-26 Dell Products L.P. Remote console access of port extenders
CN104780111A (en) * 2015-04-08 2015-07-15 杭州华三通信技术有限公司 Packet forwarding method and device in virtualized network as well as virtualized network

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108123880A (en) * 2016-11-30 2018-06-05 新华三技术有限公司 Retransmission method, device and the system of multicast data message
WO2018099393A1 (en) * 2016-11-30 2018-06-07 新华三技术有限公司 Method of forwarding multicast data packet
US10880109B2 (en) 2016-11-30 2020-12-29 New H3C Technologies Co., Ltd. Forwarding multicast data packet
CN108123880B (en) * 2016-11-30 2020-12-04 新华三技术有限公司 Method, device and system for forwarding multicast data message
CN108259345B (en) * 2016-12-30 2021-01-26 新华三技术有限公司 Port generation method and device
CN108259345A (en) * 2016-12-30 2018-07-06 新华三技术有限公司 port generation method and device
CN107547247A (en) * 2017-05-31 2018-01-05 新华三技术有限公司 Three-layer pipe reason net IP address distribution method and device in intelligent elastic framework
CN107547247B (en) * 2017-05-31 2020-11-06 新华三技术有限公司 IP address allocation method and device for three-layer management network in intelligent elastic architecture
CN107547449B (en) * 2017-06-30 2020-06-09 新华三技术有限公司 Mirror image message forwarding method, device and system
CN107547449A (en) * 2017-06-30 2018-01-05 新华三技术有限公司 Mirror image message retransmission method, device and system
CN108418752A (en) * 2017-07-24 2018-08-17 新华三技术有限公司 A kind of creation method and device of aggregation group
US11050661B2 (en) 2017-07-24 2021-06-29 New H3C Technologies Co., Ltd. Creating an aggregation group
WO2019019991A1 (en) * 2017-07-24 2019-01-31 新华三技术有限公司 Creation of aggregation group
CN108418752B (en) * 2017-07-24 2019-11-08 新华三技术有限公司 A kind of creation method and device of aggregation group
CN108092896B (en) * 2017-12-26 2020-12-08 新华三技术有限公司 Stacking system and aggregation group creation apparatus
CN108092896A (en) * 2017-12-26 2018-05-29 新华三技术有限公司 Pile system and aggregation group establish device
EP3544242A1 (en) * 2018-03-23 2019-09-25 Juniper Networks, Inc. Targeted selection of cascade ports
US10911296B2 (en) 2018-03-23 2021-02-02 Juniper Networks, Inc. Targeted selection of cascade ports
CN110505166A (en) * 2018-05-16 2019-11-26 杭州海康威视数字技术股份有限公司 Broadcast package transmitting method, device, electronic equipment and readable storage medium storing program for executing
CN110505166B (en) * 2018-05-16 2021-09-21 杭州海康威视数字技术股份有限公司 Broadcast packet forwarding method and device, electronic equipment and readable storage medium
CN109743254A (en) * 2018-12-25 2019-05-10 新华三技术有限公司 Message forwarding method, PE equipment and stacking system
US11296783B2 (en) 2019-03-27 2022-04-05 Juniper Networks, Inc. Managing satellite devices within a branch network
US11923963B2 (en) 2019-03-27 2024-03-05 Juniper Networks, Inc. Managing satellite devices within a branch network
CN110995621A (en) * 2019-11-20 2020-04-10 锐捷网络股份有限公司 Method and switch for selecting uplink port to communicate
CN110995621B (en) * 2019-11-20 2021-08-17 锐捷网络股份有限公司 Method and switch for selecting uplink port to communicate

Also Published As

Publication number Publication date
CN105991445B (en) 2020-07-07

Similar Documents

Publication Publication Date Title
CN105991445A (en) Link aggregation group setting method and device
CN101189837B (en) Packet ring network system, packet transfer method, and node
US8611361B2 (en) Switching hub, line card and frame relay method
US8259718B2 (en) Network relay apparatus
CN103338161B (en) A kind of method and apparatus realizing cross-equipment aggregation
CN105262667A (en) Method and device for controlling multicast transmission in Overlay network
RU2388160C2 (en) Ring network, communication device and on-line control method used for ring network and communication device
CN103098424A (en) System and method for multi-chassis link aggregation
WO2006095508A1 (en) Flooding suppression method
CN103401781B (en) It is applied to cut-in method and the equipment of multilink transparent interconnection network
CN100407704C (en) Method of dynamically learning address on MAC layer
CN102368727A (en) Crossed IP network TRILL network communication method, system thereof and devices
CN102946356A (en) CB-PE (controlling bridge-port extender) network-based multicast message transmitting method and device
CN101651626B (en) Traffic-forwarding method and device
CN106936704B (en) Multi-path switching using hop-by-hop VLAN classification
KR20130095154A (en) Method of reducing traffic of a network
CN105187311A (en) Message forwarding method and message forwarding device
CN100444586C (en) Message repeat method and device
CN100544322C (en) E-Packet and set up the method and the switch of media access control address table
CN105991783A (en) MAC (Media Access Control) address learning method, device and system
CN101783769A (en) Method and device for forwarding message during failure of link
CN105591897A (en) Method and device of MAC address synchronization of TRILL network
WO2016101600A1 (en) Line card determination, determination processing method and device, and line card determination system
CN103354567B (en) A kind of method and apparatus of synchronized multimedia accessing to control address
CN105493454A (en) Active-active access to transparent interconnection of lots of links (TRILL) edges

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant