CN107547419A - One kind extension bridge system and message forwarding method and device - Google Patents
One kind extension bridge system and message forwarding method and device Download PDFInfo
- Publication number
- CN107547419A CN107547419A CN201610513035.4A CN201610513035A CN107547419A CN 107547419 A CN107547419 A CN 107547419A CN 201610513035 A CN201610513035 A CN 201610513035A CN 107547419 A CN107547419 A CN 107547419A
- Authority
- CN
- China
- Prior art keywords
- port
- unicast message
- extended capabilities
- extension
- ecp extended
- 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
Links
Abstract
The invention provides one kind to extend bridge system and message forwarding method and device, applied to the control bridge of extension bridge system, wherein, this method includes:The first up unicast message with extension virtual local area network tags is received by the first cascade port;Identify that the ingress port information of the extension virtual local area network tags of the first up unicast message carries the mark of the first ECP Extended Capabilities Port of first port expander;The second up unicast message with extension virtual local area network tags is received by the second cascade port;Identify that the ingress port information of the extension virtual local area network tags of the second up unicast message carries the mark of the second ECP Extended Capabilities Port of second port expander;Wherein, the first ECP Extended Capabilities Port and the second ECP Extended Capabilities Port form aggregation port.
Description
Technical field
The present invention relates to communication technical field, in particular relate to a kind of extension bridge system and message forwarding method and
Device.
Background technology
Bridge (Extended Bridge) is extended by control bridge (CB, Controlling Bridge) and ports-Extending
Device (PE, Port Extender) is formed.One equipment fortune of conduct that control bridge can be individual equipment or multiple equipment is formed
Capable stack equipment.
In a kind of extension bridge shown in Fig. 1, a uplink port (upstream port) for each port expander with
Control cascade port (Cascade Port) of bridge is corresponding to connect, an ECP Extended Capabilities Port of port expander
(Extended Port) is connected with a port of terminal (End Station).
When port expander receives uplink message by ECP Extended Capabilities Port, addition ETAG (Extension VLAN Tag, extension
Virtual local area network tags), the inbound port for indicating message is used for according to the ETAG of the ECP Extended Capabilities Port of the message received ECID
(ingress port), and the message that with the addition of ETAG is sent by uplink port.
When port expander receives the downlink message with ETAG by uplink port, pass through the exit port of ECID instructions
(egress port) sends the message for divesting ETAG.
The content of the invention
It is an object of the invention to provide one kind extension bridge system and message forwarding method and device, make extension bridge
The aggregation port load balancing that is made up of the ECP Extended Capabilities Port of port expander of port expander receive come the unicast of self terminal
Message.
To achieve the above object, the invention provides a kind of message forwarding method, this method is included by the first cascade end
Mouth receives the first up unicast message with extension virtual local area network tags;Identify that the extension of the first up unicast message is virtual
The ingress port information of Local Area Network tag carries the mark of the first ECP Extended Capabilities Port of first port expander;Pass through the second cascade port
Receive the second up unicast message with extension virtual local area network tags;Identify the extension virtual office of the second up unicast message
The ingress port information of domain network mark label carries the mark of the second ECP Extended Capabilities Port of second port expander;Wherein, the first ECP Extended Capabilities Port
Aggregation port is formed with the second ECP Extended Capabilities Port.
Present invention also offers a kind of apparatus for forwarding message, the device includes:7. a kind of apparatus for forwarding message, its feature exists
In device includes receiving unit, and the first up unicast with extension virtual local area network tags is received by the first cascade port
Message;The second up unicast message with extension virtual local area network tags is received by the second cascade port;Recognition unit, know
The ingress port information of the extension virtual local area network tags of other first up unicast message carries the first expansion of first port expander
Open up the mark of port;Identify that the ingress port information of the extension virtual local area network tags of the second up unicast message carries second port
The mark of second ECP Extended Capabilities Port of expander;Wherein, the first ECP Extended Capabilities Port and the second ECP Extended Capabilities Port form aggregation port.
The extension end for making the port expander of extension bridge by port expander is realized by the above method and device
The aggregation port load balancing that mouth is formed receives the unicast message for carrying out self terminal.
Brief description of the drawings
Fig. 1 show the structural representation for having extended bridge.
Fig. 2A -2B are the schematic diagram of the extension bridge of the embodiment of the present invention.
Fig. 3 is comprising the network diagram that bridge is extended shown in Fig. 2A -2B.
Fig. 4 A-4D are that unicast message forwards schematic diagram in network shown in Fig. 3.
Fig. 5 A-5D are that broadcasting packet forwards schematic diagram in network shown in Fig. 3.
Fig. 6 is the schematic diagram for being applied to control the apparatus for forwarding message of bridge in Fig. 2A -2B.
Embodiment
Fig. 2A shows the extension bridge 26 that present example provides.Equipment 23 and 24 is formed by stacking link connection
One stack equipment is as control bridge 25.The uplink port 211 and 212 of port expander 21 connects the port of equipment 23 respectively
231 and the port 241 of equipment 24;The uplink port 221 and 222 of port expander 22 connects the He of port 232 of equipment 23 respectively
The port 242 of equipment 24.Control bridge 25 and port expander 21 and 22 constitute extension bridge 26;Port expander 21
The ECP Extended Capabilities Port 223 of ECP Extended Capabilities Port 213 and port expander 22 forms aggregation port 200, and the aggregation port 200 passes through link
201 and 202 link aggregation group (LAG, Link Aggregation Group) connection (End Station) terminals formed
27。
As shown in 2B, control bridge 25 has cascade port 251, cascade port 252 and cascade port 253.Cascade end
Two uplink ports of the mouth 251 comprising port 231 and 241 and the cascade connectivity port expander 21 of port 251.Cascade port 252
Two uplink ports comprising port 232 and 242 and connectivity port expander 22.Cascade port 253 includes port 231,241,
232 and 242 and connection aggregation port 200 where port expander 21 and 22 four uplink ports.
Control bridge 25 that virtual port (VP, Virtual Port) 261 (not shown) of ECP Extended Capabilities Port 213 are set, point
ECID with E-213 as the E-channel between instruction virtual port 261 and ECP Extended Capabilities Port 213.Control bridge 25 that extension is set
The (not shown) of virtual port 262 of port 223, distribution E-223 is as between instruction virtual port 262 and ECP Extended Capabilities Port 223
E-channel ECID.Control bridge 25 that the (not shown) of virtual port 263 of aggregation port 200 is set, distribution E-200 makees
The E-channel ECID between instruction virtual port 263 and aggregation port 200.
E-213, E-223 and the E-200 that control bridge 25 distributes belong to global name space and belong to point-to-point E-
Channel scope.
E-213 and cascade port 251 are associated with virtual port 263 by control bridge 25;By E-223 and cascade port 252
It is associated with virtual port 263;Virtual port 263 is associated with E-200 and cascade port 253.
In network shown in Fig. 3, control bridge 25 connects terminal 28, port expander by double layer network (not shown)
22 ECP Extended Capabilities Port 224 connects terminal 29 by link 204.For example, terminal 27,28 and 29 receives same VLAN broadcast report
Wen Shi, control bridge 25 can be the distribution broadcast ECID of ECP Extended Capabilities Port 213,223 and 224, for indicating to control bridge 25
A virtual port and ECP Extended Capabilities Port 213,223 and 224 between E-channel.Port expander 21 and 22 is by up
Port receives the Ethernet broadcasting packet with ETAG, identifies ETAG ECID and includes the mark of ECP Extended Capabilities Port 213,223,224.
For example, when terminal 27,28 and 29 receives the multicast message of same multicast group, control bridge 25 can be ECP Extended Capabilities Port 213,
223 and 224 distribution multicast ECID, for indicate a virtual port and ECP Extended Capabilities Port 213,223 on control bridge 25 with
And the E-channel between 224.Enlarging expander 21 and 22 receives the multicast message with ETAG by uplink port, identification
ETAG ECID includes the mark of ECP Extended Capabilities Port 213,223,224.Control bridge 25 can be based on 802.1BR agreements and correlation
Network application distribute broadcast ECID or multicast ECID, the present invention repeat no more.
Based on the network shown in Fig. 3 and Fig. 4 A-4D, description extension bridge 26 handles the process of unicast message.
Up unicast message processing
In Fig. 4 A, terminal 27 generates Ethernet unicast message 40, wherein, source MAC and target MAC (Media Access Control) address are eventually respectively
The MAC Address at end 27 and the MAC Address of terminal 28.Terminal 27 selection port 272 can send ether from port 271 and 272
Net unicast message.
Port expander 22 receives Ethernet unicast message 40 by ECP Extended Capabilities Port 223, the E- based on ECP Extended Capabilities Port 223
223 addition ETAG, select uplink port 222 to send in uplink port 221 and 222.As shown in Figure 4 A, port expander 22 is sent out
The ETAG of the unicast message 41 gone out ECID attributes are E-223, and the ECP Extended Capabilities Port 223 for indicating aggregation port 200 is inbound port.
Control bridge 25 receives unicast message 41 by cascading the port 242 of port 252, does not find unicast message 41
VLAN ID and source MAC matching MAC Address list item, according to the VLAN ID (VLAN ID) of unicast message 41,
Source MAC and virtual port 263 learn MAC Address list item.Control bridge 25 can according to cascade port 252 and E-223 with
The incidence relation of virtual port 263, it is identified by virtual port 263 and receives unicast message 41, thus is held based on virtual port 263
Row MAC address entries learn.
Control bridge 25 finds the VLAN ID of unicast message 41 and the MAC Address list item of target MAC (Media Access Control) address matching, really
It is non-ECP Extended Capabilities Port to make port, removes ETAG, is sent by the exit port of the MAC Address list item found.As shown in Figure 4 A,
After controlling bridge 25 to remove the ETAG of unicast message 41, Ethernet unicast message 40 is obtained.So, Ethernet unicast message 40 is logical
Cross double layer network (not showing in Fig. 3) and be sent to terminal 28.
In Fig. 4 B, terminal 27 generates Ethernet unicast message 42, wherein, source MAC and target MAC (Media Access Control) address are eventually respectively
The MAC Address at end 27 and the MAC Address of terminal 28.Terminal 27 can from port 271 and 272 selection port 271, send ether
Net unicast message 42.
Port expander 21 receives Ethernet unicast message 42 by ECP Extended Capabilities Port 213, the E- based on ECP Extended Capabilities Port 213
213 addition ETAG, select uplink port 212 to send in uplink port 211 and 212.As shown in Figure 4 B, port expander 21 is sent out
The ETAG of the unicast message 43 gone out ECID attributes are E-223, to indicate that the ECP Extended Capabilities Port 213 of aggregation port 200 is into end
Mouthful.
Control bridge 25 receives unicast message 43 by cascading the port 241 of port 251, finds VLAN ID and source MAC
The exit port of the MAC Address list item of address matching is virtual port 263, then does not perform MAC address learning.Control bridge 25 can root
According to cascade port 252 and E-223 and virtual port 263 incidence relation, it is identified by virtual port 263 and receives unicast message
43.The exit port for the MAC address entries that control bridge 25 is found according to unicast message 43 there is not side, therefore does not perform MAC address learning.
Control bridge 25 finds the VLAN ID of unicast message 43 and the MAC Address list item of target MAC (Media Access Control) address matching, moves
Except ETAG, sent by the exit port of the MAC Address list item of lookup.As shown in Figure 4 B, bridge 25 is controlled to remove unicast message 43
ETAG, obtain Ethernet unicast message 42.So Ethernet unicast message 42 is sent to terminal 28 by double layer network.
In the example shown in Fig. 4 A and Fig. 4 B, if control bridge 25 is according to the purpose MAC of unicast message 41 or 43
The MAC address entries of address matching determine to perform three layers of forwarding, then remove ETAG, forwarding is performed according to purpose IP address encapsulation.
Downlink unicast message forwards
In Fig. 4 C, terminal 28 generates Ethernet unicast message 44, wherein, source MAC and target MAC (Media Access Control) address are eventually respectively
The MAC Address at end 28 and the MAC Address of terminal 27.
Control bridge 25 receives Ethernet unicast message 44 by double layer network, finds VLAN ID and target MAC (Media Access Control) address
The MAC Address list item and exit port of matching are virtual ports 263, add ETAG according to the E-200 of aggregation port 200, pass through level
Connection port 253 is sent.As shown in Figure 4 C, the ECID attributes for controlling the unicast message 45 that bridge 25 sends are E-200, are indicated poly-
It is exit port to close port 200.Bridge 25 is controlled to send unicast report from four ports selection a port of cascade port 253
Text 45.When controlling 25 selection port 231 or 241 of bridge, unicast message 45 is sent to port expander 21.
Port expander 21 receives unicast message 45 by uplink port 211 or 212, is identified based on ECID attributes E-200
Aggregation port 200 is exit port, removes ETAG, is sent by the ECP Extended Capabilities Port 213 of aggregation port 200.As shown in Figure 4 C, port
Expander 21 sends Ethernet unicast message 44.So, Ethernet unicast message 44 is sent by the link 201 shown in Fig. 3
Terminal 27.
In Fig. 4 D, terminal 28 generates Ethernet unicast message 46;Wherein, source MAC and target MAC (Media Access Control) address are eventually respectively
The MAC Address at end 28 and the MAC Address of terminal 27.
Control bridge 25 receives Ethernet unicast message 46 by double layer network, searches VLAN ID and target MAC (Media Access Control) address
The MAC Address list item and exit port matched somebody with somebody are virtual ports 263, the E-200 addition ETAG based on aggregation port 200, pass through cascade
Port 253 is sent.As shown in Figure 4 D, the ECID attributes for controlling the unicast message 47 that bridge 25 sends are E-200, instruction polymerization end
Mouth is exit port.When control bridge 25 can be from four port selection ports 232 or 242 of cascade port 253, unicast message
47 are sent to port expander 22.
Port expander 22 receives unicast message 47 by uplink port 221 or 222, is identified based on ECID attributes E-200
Aggregation port 200 is exit port, removes ETAG, is sent by the ECP Extended Capabilities Port 223 of aggregation port 200.Shown in Fig. 4 D, port is expanded
The transmission Ethernet of device 22 unicast message 46 is opened up to arrive to terminal 27.
Broadcasting packet forwards
Based on the network shown in Fig. 3 and Fig. 4 A-4D, description extension bridge 26 handles the process of broadcasting packet.
In Fig. 5 A, terminal 27 generates Ethernet broadcasting packet 50, and selection port 272 sends ether from port 271 and 272
Net broadcasting packet 50.
Port expander 22 receives Ethernet broadcasting packet 50 by ECP Extended Capabilities Port 223, the E- based on ECP Extended Capabilities Port 223
223 addition ETAG, select uplink port 221 to send in uplink port 221 and 222.As shown in Figure 5A, port expander 22 is sent out
The ETAG of the broadcasting packet 51 gone out ECID attributes are E-223, and the ECP Extended Capabilities Port 223 of instruction aggregation port 200 is inbound port.
Control bridge 25 receives broadcasting packet 51 by cascading the port 242 of port 252, according to port expander 21 and 22
Number replicate two parts of broadcasting packets, by the ECID of every part of copy broadcast message be set to broadcast ECID, Ingress ECID are set
For E-223, two parts of broadcasting packets (broadcasting packet 52 as shown in Figure 5A) are obtained.Control bridge 25 can be from cascade port 251
Two ports select one, send a broadcasting packet 52 to port expander 21.Control bridge 25 can be from cascade port
252 two ports select one, and another broadcasting packet 52 is sent to port expander 22.As shown in Figure 5A, bridge is controlled
25 difference selection ports 241 and port 242 send two parts of broadcasting packets 52.
Control bridge 25 to remove the ETAG of the broadcasting packet 51 received, Ethernet broadcasting packet 50 is obtained, according to setting
Identical VLAN port number replicates more parts of Ethernet broadcasting packets, and there is provided identical VLAN port to send one by each
Part Ethernet unicast message 50.As shown in Figure 5A, a Ethernet broadcasting packet 50 is sent to terminal 28 by double layer network.
Port expander 21 receives broadcasting packet 52 by uplink port 212, based on broadcast ECID identification ECP Extended Capabilities Ports 213
It is exit port, is inbound port based on Ingress ECID attributes E-223 identification ECP Extended Capabilities Ports 223, determines inbound port and exit port
Belong to aggregation port 200, source filtering failure.The ECP Extended Capabilities Port 213 that port expander 21 does not filter failure by source will come from eventually
The 27 Ethernet broadcasting packet 50 at end beams back terminal 27 again.
Port expander 22 receives another broadcasting packet 52 by uplink port 222;Based on broadcast ECID identification extensions
Port 223 and 224 is exit port;It is inbound port based on ingress ECID attributes E-223 identification ECP Extended Capabilities Ports 223;It is determined that make
ECP Extended Capabilities Port 223 for one of exit port is exactly inbound port, and source filtering checks failure;It is determined as the extension end of another exit port
Mouth 224 is different from inbound port and is not belonging to aggregation port 200, and source filtering checks successfully, removes ETAG, passes through ECP Extended Capabilities Port 224
Send.As shown in Figure 5A, port expander 22 is sent by the Ethernet broadcasting packet 50 of ECP Extended Capabilities Port self terminal in 224 future 27
To terminal 29, and avoid coming the Ethernet broadcasting packet 50 of the 27 of self terminal from beaming back terminal 27 again.
In Fig. 5 B, terminal 27 generates Ethernet broadcasting packet 53, and selection port 271 sends ether from port 271 and 272
Net broadcasting packet 53.
Port expander 21 receives Ethernet broadcasting packet 53 by ECP Extended Capabilities Port 213, the E- based on ECP Extended Capabilities Port 213
213 addition ETAG, select uplink port 211 to send in uplink port 211 and 212.As shown in Figure 5 B, port expander 22 is sent out
The ETAG of the broadcasting packet 54 sent ECID attributes are E-213, and the ECP Extended Capabilities Port 213 of instruction aggregation port 200 is inbound port.
Control bridge 25 receives broadcasting packet 54 by cascading the port 241 of port 251, according to port expander 21 and 22
Number replicate two parts of broadcasting packets, every part of broadcasting packet is indicated that the ECID of exit port is set to broadcast ECID, by every part of duplication
The Ingress ECID of broadcasting packet be set to E-213, obtain two parts of broadcasting packets, broadcasting packet 55 as shown in Figure 5 B.Such as
Shown in Fig. 5 B, the port 231 of the control selection cascade of bridge 25 port 251 sends a broadcasting packet 55, selection cascade port 252
Port 232 send another broadcasting packet 55.
Control bridge 25 to remove the ETAG of the broadcasting packet 54 received, Ethernet broadcasting packet 53 is obtained, according to setting
Identical VLAN port number replicates more parts of Ethernet broadcasting packets, and there is provided identical VLAN port to send one by each
Part Ethernet unicast message 53.As shown in Figure 5 B, a Ethernet broadcasting packet 53 is sent to terminal 28 by double layer network.
Port expander 21 receives broadcasting packet 55 by uplink port 211;Based on broadcast ECID identification ECP Extended Capabilities Ports 213
It is exit port;It is inbound port based on Ingress ECID attributes E-213 identification ECP Extended Capabilities Ports 213;Determine inbound port and exit port
Identical, source filtering checks failure.Port expander 21 does not filter the 27 of the ECP Extended Capabilities Port self terminal in 213 future of failure by source
Ethernet broadcasting packet 53 beams back terminal 27 again.
Port expander 22 receives another broadcasting packet 55 by uplink port 212, based on broadcast ECID identification extensions
Port 223 and 224 is exit port;It is inbound port based on ingress ECID attributes E-213 identification ECP Extended Capabilities Ports 213;It is determined that make
Belong to aggregation port 200 for the ECP Extended Capabilities Port 223 and inbound port of one of exit port, source filtering checks failure;It is determined as another
224 mouthfuls of the extension end of exit port is different from inbound port and is not belonging to aggregation port 200, and source filtering checks successfully, removes ETAG, leads to
ECP Extended Capabilities Port 224 is crossed to send.As shown in Figure 5 B, the Ethernet that port expander 22 passes through ECP Extended Capabilities Port self terminal in 224 future 27
Broadcasting packet 53 is sent to terminal 29, and avoids coming the Ethernet broadcasting packet 53 of the 27 of self terminal from beaming back terminal 27 again.
As shown in Figure 5 C, terminal 28 generates Ethernet broadcasting packet 56.Bridge 25 is controlled according to port expander 21 and 22
Number replicate Ethernet broadcasting packet 56, be that every part of Ethernet broadcasting packet 56 adds ETAG based on broadcast ECID, select level
The port 241 of connection port 251 sends a broadcasting packet 57 for carrying broadcast ECID, and the port 242 of selection cascade port 252 is sent out
Send a broadcasting packet 57 for carrying broadcast ECID.
Port expander 21 receives broadcasting packet 57 by uplink port 212;It is to expand based on broadcast ECID identifications exit port
Port 213 is opened up, determines that inbound port is different from exit port and is not belonging to ECP Extended Capabilities Port 200, source filtering inspection passes through;Broadcast is reported
Text 57 carries out hash calculating, determines that hash values match with the hash values that ECP Extended Capabilities Port 213 allows to pass through;ETAG is removed, passes through expansion
Open up port 213 and send Ethernet broadcasting packet 56.
Port expander 22 receives broadcasting packet 57 by uplink port 222;It is to expand based on broadcast ECID identifications exit port
Open up port 223 and 224;Determine that inbound port is different from the ECP Extended Capabilities Port 223 of one of exit port and is not belonging to ECP Extended Capabilities Port 200, source
Filtering inspection passes through;Hash calculating is carried out to broadcasting packet 57, determines that hash values and ECP Extended Capabilities Port 223 allow the hash values passed through
Mismatch, do not sent by ECP Extended Capabilities Port 223;Determine inbound port and different as the ECP Extended Capabilities Port 224 of another exit port and not
Belong to aggregation port 220, source filtering checks successfully;The ETAG of broadcasting packet 57 is removed, Ethernet is sent by ECP Extended Capabilities Port 223
Broadcasting packet 56.Shown in Fig. 5 C, a Ethernet come self terminal 28 is only broadcasted report by extension bridge 26 by aggregation port 200
Text is sent to terminal 27.
As shown in Figure 5 D, terminal 28 generates Ethernet broadcasting packet 58.Bridge 25 is controlled according to port expander 21 and 22
Number replicate Ethernet broadcasting packet 58, be that every part of Ethernet broadcasting packet 58 adds ETAG based on broadcast ECID, select level
The port 231 of connection port 251 sends a broadcasting packet 59 for carrying broadcast ECID, and the port 232 of selection cascade port 252 is sent out
Send a broadcasting packet 59 for carrying broadcast ECID.
Port expander 21 receives broadcasting packet 59 by uplink port 211;It is to expand based on broadcast ECID identifications exit port
Port 213 is opened up, determines that inbound port is different from exit port and is not belonging to ECP Extended Capabilities Port 200, source filtering inspection passes through;To broadcasting packet
59 carry out hash calculating, and the hash values that determining hash values and ECP Extended Capabilities Port 213 allows to pass through mismatch, and do not pass through ECP Extended Capabilities Port
213 send.
Port expander 22 receives broadcasting packet 59 by uplink port 221;It is to expand based on broadcast ECID identifications exit port
Port 223 and 224 is opened up, determines that inbound port is different from the ECP Extended Capabilities Port 223 of one of exit port and is not belonging to ECP Extended Capabilities Port 200, source
Filtering inspection passes through;Hash calculating is carried out to broadcasting packet 59, determines that hash values and ECP Extended Capabilities Port 223 allow the hash values passed through
Matching;Determine exit port and different as the ECP Extended Capabilities Port 224 of another exit port and be not belonging to aggregation port 200, source filtering inspection
Look into success.Port expander 22 removes ETAG, replicates two parts of Ethernet broadcasting packets 28, portion is sent by ECP Extended Capabilities Port 223
Ethernet broadcasting packet 58, a Ethernet broadcasting packet 58 is sent by ECP Extended Capabilities Port 224.So, come self terminal 28 with
Too net broadcasting packet 58 is separately sent to terminal 27 and terminal by the aggregation port 200 and ECP Extended Capabilities Port 224 for extending bridge 26
29。
In the example shown in Fig. 4 A-4D and Fig. 5 A- Fig. 5 D, the ECID for distributing to ECP Extended Capabilities Port is used to indicate up unicast
The filtering of the source of the inbound port of message and non-unicast message checks, distributes to the ECID indicating downlink unicast messages of aggregation port
Exit port.
In Fig. 5 C-5D, port expander 21 and 22 according to the triple or five-tuple of broadcasting packet 59 or seven tuples or its
A numerical value is calculated in his parameter, and the numerical value being calculated is carried out into modulus according to the number of the member of aggregation port 200, obtained
To hash values.The Ethernet that port expander 21 and 22 sends removal ETAG by matching the ECP Extended Capabilities Port of hash values broadcasts report
Text, the Ethernet broadcasting packet that terminal 27 is sent to aggregation port 200 carry out load balancing.
During the present invention is implemented, when port expander 21 and 22 is respectively since the ETAG for the multicast message that uplink port receives is carried
Multicast ECID, after port expander 21 and 22 identifies exit port according to multicast ECID, the source filtering of ECP Extended Capabilities Port is checked and turned
Hair processing, treatment mechanism phase when the processing of the load balancing of aggregation port 200 sends broadcasting packet with ECP Extended Capabilities Port in Fig. 5 A- Fig. 5 D
Together.
According to global name space it is each ECP Extended Capabilities Port due in the extension bridge 26 shown in Fig. 2A -2B, controlling bridge 25
Aggregation port distribution ECID is formed with ECP Extended Capabilities Port.Control bridge 25 receives band by connecting the cascade port of each port expander
When having ETAG up non-unicast message, the ECID of up non-unicast message attribute is set and is sent under each port expander
The ingress ECID attributes of the non-unicast message of row.Control bridge 25 receives non-broadcasting message by double layer network port, will send out
The ingress ECID of descending non-unicast message toward each port expander are arranged to a particular value, and for example 0, indicate into end
Mouth is not the ECP Extended Capabilities Port for extending bridge 26;So each port expander from uplink port receive descending non-unicast message when, root
Understand that the inbound port of descending non-unicast message is different with exit port corresponding to ECID and is not belonging to identical poly- according to ingress ECID
Close port.
Fig. 6 show apparatus for forwarding message 600 provided by the invention, can be applied to the control of Fig. 2A -2B extension bridge 26
Bridge processed.The apparatus for forwarding message 600 includes:Receiving unit 610, recognition unit 620, list item unit 630, searching unit 640
And transmitting element 650.
Receiving unit 610, the first up unicast with extension virtual local area network tags is received by the first cascade port
Message;The second up unicast message with extension virtual local area network tags is received by the second cascade port.Recognition unit
620, identify that the ingress port information of the extension virtual local area network tags of the first up unicast message carries first port expander
The mark of first ECP Extended Capabilities Port;Identify that the ingress port information of the extension virtual local area network tags of the second up unicast message carries the
The mark of second ECP Extended Capabilities Port of Two-port netwerk expander;Wherein, the first ECP Extended Capabilities Port and the second ECP Extended Capabilities Port form aggregation port.
Recognition unit 620, identification receive the first order of the first up unicast message with extension virtual local area network tags
The mark of connection port and the first ECP Extended Capabilities Port is associated with the virtual port of aggregation port;Identification is received with extension virtual local area
Second cascade port of the second up unicast message of network mark label and the mark of the second ECP Extended Capabilities Port are associated with aggregation port
Virtual port.List item unit 630, forwarding-table item is learnt according to the source address of the first up unicast message and virtual port;Or
According to the source address of the second up unicast message and virtual port study forwarding-table item.
Receiving unit 610, downlink unicast message searching unit 640 is received, determine the destination address pair of downlink unicast message
The outgoing interface answered is virtual port.Recognition unit 620, identification virtual port correspond to the mark of third level connection port and aggregation port
Know;First port expander and second port expander wherein where third level connection port connection aggregation port.Transmitting element
650, downlink unicast message addition extension virtual local area network tags are identified as based on aggregation port;Join port by the third level to send out
Send the downlink unicast message that with the addition of extension virtual local area network tags;Wherein, the extension virtual local area network mark of downlink unicast message
The exit port information of label carries the mark of aggregation port.
Claims (10)
1. one kind extension bridge system, it is characterised in that the extension bridge system is by control bridge and first port expander
Formed with second port expander;The of first ECP Extended Capabilities Port of the first port expander and the second port expander
Two ECP Extended Capabilities Ports form aggregation port;The aggregation port connects terminal by link aggregation group;
The control bridge distributes the first ECP Extended Capabilities Port mark according to global name space and the second ECP Extended Capabilities Port is identified for referring to
Show the incoming interface of up unicast data and filter information for the source of non-unicast message;
The control bridge distributes aggregation port mark according to the global name space, for going out for indicating downlink unicast data
Port is the aggregation port.
2. extension bridge system according to claim 1, it is characterised in that
First cascade port of the control bridge connects the uplink port of the first port expander;
Second cascade port of the control bridge connects the uplink port of the second port expander;
The third level connection port of the control bridge connects the up of the first port expander where the aggregation port
Port and the uplink port of the second port expander.
3. a kind of message forwarding method, it is characterised in that methods described includes:
The first up unicast message with extension virtual local area network tags is received by the first cascade port;
Identify that the ingress port information of the extension virtual local area network tags of the described first up unicast message carries first port extension
The mark of first ECP Extended Capabilities Port of device;
The second up unicast message with extension virtual local area network tags is received by the second cascade port;
Identify that the ingress port information of the extension virtual local area network tags of the described second up unicast message carries second port extension
The mark of second ECP Extended Capabilities Port of device;Wherein, first ECP Extended Capabilities Port and the second ECP Extended Capabilities Port form aggregation port.
4. according to the method for claim 3, it is characterised in that methods described includes:
Identification receives the first cascade port and the institute of the first up unicast message with extension virtual local area network tags
The mark for stating the first ECP Extended Capabilities Port is associated with the virtual port of the aggregation port;
Identification receives the second cascade port and the institute of the second up unicast message with extension virtual local area network tags
The mark for stating the second ECP Extended Capabilities Port is associated with the virtual port of the aggregation port.
5. according to the method for claim 4, it is characterised in that methods described also includes:
According to the source address of the described first up unicast message and virtual port study forwarding-table item;Or
According to the source address of the described second up unicast message and virtual port study forwarding-table item.
6. according to the method for claim 3, it is characterised in that methods described also includes:
It is the virtual port to determine outgoing interface corresponding to the destination address of downlink unicast message;
Identify that the virtual port corresponds to the mark of the third level connection port and the aggregation port;Wherein described third level connection
The first port expander and the second port expander where port connection aggregation port;
The downlink unicast message addition extension virtual local area network tags are identified as based on the aggregation port;Wherein, it is described
The exit port information of the extension virtual local area network tags of downlink unicast message carries the mark of the aggregation port;
The downlink unicast message that with the addition of extension virtual local area network tags is sent by third level connection port.
7. a kind of apparatus for forwarding message, it is characterised in that described device includes
Receiving unit, the first up unicast message with extension virtual local area network tags is received by the first cascade port;It is logical
Cross the second cascade port and receive the second up unicast message with extension virtual local area network tags;
Recognition unit, identify that the ingress port information of the extension virtual local area network tags of the first up unicast message carries first
The mark of first ECP Extended Capabilities Port of port expander;Identify the extension virtual local area network tags of the described second up unicast message
Ingress port information carries the mark of the second ECP Extended Capabilities Port of second port expander;Wherein, first ECP Extended Capabilities Port and second
ECP Extended Capabilities Port forms aggregation port.
8. device according to claim 7, it is characterised in that
The recognition unit, identification receive the first order of the first up unicast message with extension virtual local area network tags
The mark of connection port and first ECP Extended Capabilities Port is associated with the virtual port of the aggregation port;Identification is received with extension
The second cascade port of second up unicast message of virtual local area network tags and the mark of second ECP Extended Capabilities Port
It is associated with the virtual port of the aggregation port.
9. device according to claim 8, it is characterised in that described device also includes list item unit;
List item unit, forwarding-table item is learnt according to the source address of the described first up unicast message and the virtual port;Or
According to the source address of the described second up unicast message and virtual port study forwarding-table item.
10. device according to claim 7, it is characterised in that described device also includes searching unit and transmitting element;
The receiving unit, receive downlink unicast message;
The searching unit, it is the virtual port to determine outgoing interface corresponding to the destination address of the downlink unicast message;
The recognition unit, identify that the virtual port corresponds to the mark of the third level connection port and the aggregation port;Its
Described in the third level connection port connection aggregation port where the first port expander and the second port expander;
The transmitting element, the downlink unicast message addition extension virtual local area network mark is identified as based on the aggregation port
Label;The downlink unicast message that with the addition of extension virtual local area network tags is sent by third level connection port;Wherein, institute
The exit port information for stating the extension virtual local area network tags of downlink unicast message carries the mark of the aggregation port.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610513035.4A CN107547419B (en) | 2016-06-28 | 2016-06-28 | Extended network bridge system and message forwarding method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610513035.4A CN107547419B (en) | 2016-06-28 | 2016-06-28 | Extended network bridge system and message forwarding method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107547419A true CN107547419A (en) | 2018-01-05 |
CN107547419B CN107547419B (en) | 2020-08-04 |
Family
ID=60965611
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610513035.4A Active CN107547419B (en) | 2016-06-28 | 2016-06-28 | Extended network bridge system and message forwarding method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107547419B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108632176A (en) * | 2018-04-28 | 2018-10-09 | 新华三技术有限公司 | Pile system, PE equipment and message forwarding method |
CN108880892A (en) * | 2018-06-26 | 2018-11-23 | 新华三技术有限公司 | A kind of message processing method and device |
CN110505166A (en) * | 2018-05-16 | 2019-11-26 | 杭州海康威视数字技术股份有限公司 | Broadcast package transmitting method, device, electronic equipment and readable storage medium storing program for executing |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103401774A (en) * | 2013-07-18 | 2013-11-20 | 杭州华三通信技术有限公司 | Message forwarding method and equipment based on stacking system |
CN103763135A (en) * | 2014-01-06 | 2014-04-30 | 杭州华三通信技术有限公司 | PE traffic scheduling method and device |
CN104038447A (en) * | 2014-05-28 | 2014-09-10 | 杭州华三通信技术有限公司 | Message transmission method and device |
CN104158683A (en) * | 2014-08-13 | 2014-11-19 | 杭州华三通信技术有限公司 | Cross-device aggregation group rapid convergence method, and cross-device aggregation group rapid convergence device |
US20150163072A1 (en) * | 2013-12-05 | 2015-06-11 | Broadcom Corporation | Virtual Port Extender |
-
2016
- 2016-06-28 CN CN201610513035.4A patent/CN107547419B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103401774A (en) * | 2013-07-18 | 2013-11-20 | 杭州华三通信技术有限公司 | Message forwarding method and equipment based on stacking system |
US20150163072A1 (en) * | 2013-12-05 | 2015-06-11 | Broadcom Corporation | Virtual Port Extender |
CN103763135A (en) * | 2014-01-06 | 2014-04-30 | 杭州华三通信技术有限公司 | PE traffic scheduling method and device |
CN104038447A (en) * | 2014-05-28 | 2014-09-10 | 杭州华三通信技术有限公司 | Message transmission method and device |
CN104158683A (en) * | 2014-08-13 | 2014-11-19 | 杭州华三通信技术有限公司 | Cross-device aggregation group rapid convergence method, and cross-device aggregation group rapid convergence device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108632176A (en) * | 2018-04-28 | 2018-10-09 | 新华三技术有限公司 | Pile system, PE equipment and message forwarding method |
CN108632176B (en) * | 2018-04-28 | 2021-03-09 | 新华三技术有限公司 | Stacking system, PE (provider edge) equipment and message forwarding method |
CN110505166A (en) * | 2018-05-16 | 2019-11-26 | 杭州海康威视数字技术股份有限公司 | Broadcast package transmitting method, device, electronic equipment and readable storage medium storing program for executing |
CN108880892A (en) * | 2018-06-26 | 2018-11-23 | 新华三技术有限公司 | A kind of message processing method and device |
CN108880892B (en) * | 2018-06-26 | 2021-05-28 | 新华三技术有限公司 | Message processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN107547419B (en) | 2020-08-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9742575B2 (en) | Explicit list encoding of sparse multicast group membership information with Bit Index Explicit Replication (BIER) | |
EP3400678B1 (en) | Graph construction for computed spring multicast | |
US7889748B1 (en) | Mapping a port on a packet switch appliance | |
CN102970227B (en) | The method and apparatus of VXLAN message repeating is realized in ASIC | |
US8761044B2 (en) | Selection of multicast router interfaces in an L2 switch connecting end hosts and routers, which is running IGMP and PIM snooping | |
US9407533B2 (en) | Multicast in a trill network | |
US8873558B2 (en) | Reverse path forwarding lookup with link bundles | |
US6839348B2 (en) | System and method for distributing multicasts in virtual local area networks | |
US9397934B2 (en) | Methods for packet forwarding though a communication link of a distributed link aggregation group using mesh tagging | |
US20190116053A1 (en) | Multipoint to multipoint trees for computed spring multicast | |
US20140044129A1 (en) | Multicast packet forwarding in a network | |
US9667440B2 (en) | Method and system for identifying an incoming interface using openflow protocol | |
CN107547334B (en) | Message forwarding method and device | |
CN103475583B (en) | The method and apparatus for removing medium education forwarding-table item | |
CN109729019B (en) | Speed limiting method and device for special line service in EVPN (Ethernet virtual private network) networking | |
CN106549871A (en) | A kind of method, apparatus and system of Message processing | |
US10250489B2 (en) | Multi-chassis link aggregation learning on standard ethernet links | |
US9281954B2 (en) | Method and system for protocol independent multicasting in multichassis link aggregation domains | |
JP5644948B2 (en) | Packet transfer system, control device, packet transfer method and program | |
EP3032782B1 (en) | Packet transmission method and apparatus | |
CN107547419A (en) | One kind extension bridge system and message forwarding method and device | |
WO2013176262A1 (en) | Packet transfer system, control device, packet transfer method and program | |
CN106059964B (en) | Message forwarding method and device | |
CN108123880A (en) | Retransmission method, device and the system of multicast data message | |
US10516604B2 (en) | Packet forwarding system, control apparatus, and control method and program for relay device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |