CN107547334A - A kind of message forwarding method and device - Google Patents

A kind of message forwarding method and device Download PDF

Info

Publication number
CN107547334A
CN107547334A CN201610513688.2A CN201610513688A CN107547334A CN 107547334 A CN107547334 A CN 107547334A CN 201610513688 A CN201610513688 A CN 201610513688A CN 107547334 A CN107547334 A CN 107547334A
Authority
CN
China
Prior art keywords
port
unicast message
area network
local area
virtual local
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
CN201610513688.2A
Other languages
Chinese (zh)
Other versions
CN107547334B (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.)
New H3C Technologies Co Ltd
Original Assignee
New 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201610513688.2A priority Critical patent/CN107547334B/en
Publication of CN107547334A publication Critical patent/CN107547334A/en
Application granted granted Critical
Publication of CN107547334B publication Critical patent/CN107547334B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a kind of message forwarding method and device, applied to the port expander of extension bridge system, wherein, this method includes:The first unicast message with extension virtual local area network tags is received by uplink port;The exit port information for identifying the extension virtual local area network tags of the first unicast message is the mark of aggregation port;The extension virtual local area network tags of the first unicast message are divested, are sent by the ECP Extended Capabilities Port for belonging to aggregation port.

Description

A kind of message forwarding method and device
Technical field
The present invention relates to communication technical field, in particular relates to a kind of message forwarding method and device.
Background technology
Extend bridge (Extended Bridge) by control bridge (CB, Controlling Bridge) and Port expander (PE, Port Extender) is formed.Control bridge can be individual equipment or multiple set The standby stack equipment as an equipment operation formed.
In a kind of extension bridge shown in Fig. 1, a uplink port (upstream of each port expander Port it is) corresponding with controlling cascade port (Cascade Port) of bridge to connect, port expander One ECP Extended Capabilities Port (Extended Port) is connected with a port of terminal (End Station).
When port expander receives uplink message by ECP Extended Capabilities Port, ETAG (Extension VLAN are added Tag, extend virtual local area network tags), according to the ETAG of the ECP Extended Capabilities Port of the message received ECID For indicating the inbound port (ingress port) of message, and sent by uplink port and with the addition of ETAG Message.
When port expander receives the downlink message with ETAG by uplink port, referred to by ECID The exit port (egress port) shown sends the message for divesting ETAG.
The content of the invention
It is an object of the invention to provide a kind of message forwarding method and device, expands the port of extension bridge Exhibition device is by belonging to the ECP Extended Capabilities Port of aggregation port, the unicast message of the terminal connected to aggregation port.
To achieve the above object, the invention provides a kind of message forwarding method, this method to include:By up Port receives the first unicast message with extension virtual local area network tags;Identify the extension of the first unicast message The exit port information of virtual local area network tags is the mark of aggregation port;The extension for divesting the first unicast message is empty Intend Local Area Network tag, sent by the ECP Extended Capabilities Port for belonging to aggregation port..
Present invention also offers a kind of apparatus for forwarding message, the device includes:Receiving unit, pass through uplink port Receive the first unicast message with extension virtual local area network tags;Recognition unit, identify the first unicast message Extension virtual local area network tags exit port information carry aggregation port mark;Retransmission unit, divest The extension virtual local area network tags of one unicast message, sent by the ECP Extended Capabilities Port for belonging to aggregation port.
The port expander of extension bridge is realized by belonging to the expansion of aggregation port by the above method and device Share the unicast message for being sent to terminal in exhibition port.
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 of the apparatus for forwarding message applied to Fig. 2A -2B middle port expanders.
Embodiment
Fig. 2A shows the extension bridge 26 that present example provides.Equipment 23 and 24 is by stacking chain Road connects, and forms a stack equipment as control bridge 25.The uplink port 211 of port expander 21 With 212 ports 231 for connecting equipment 23 respectively and the port 241 of equipment 24;Port expander 22 Uplink port 221 and 222 connects the port 232 of equipment 23 and the port 242 of equipment 24 respectively.Control Bridge 25 and port expander 21 and 22 processed constitute extension bridge 26;The expansion of port expander 21 Open up port 213 and the ECP Extended Capabilities Port 223 of port expander 22 forms aggregation port 200, the aggregation port 200 link aggregation groups (LAG, Link Aggregation Group) being made up of link 201 and 202 Connect (End Station) terminal 27.
As shown in 2B, control bridge 25 has cascade port 251, cascade port 252 and cascade end Mouth 253.Cascade port 251 and include port 231 and 241 and the cascade connectivity port expander of port 251 21 two uplink ports.Cascade port 252 includes port 232 and 242 and connectivity port expander 22 Two uplink ports.Port 253 is cascaded to include port 231,241,232 and 242 and connect poly- Close four uplink ports of the port expander 21 and 22 at the place of port 200.
Control bridge 25 that the virtual port (VP, Virtual Port) 261 of ECP Extended Capabilities Port 213 is set (in figure Do not show), distribution E-213 is as the E-channel's between instruction virtual port 261 and ECP Extended Capabilities Port 213 ECID.Control bridge 25 that the (not shown) of virtual port 262 of ECP Extended Capabilities Port 223 is set, distribute E-223 ECID as the E-channel between instruction virtual port 262 and ECP Extended Capabilities Port 223.Control bridge 25 The (not shown) of virtual port 263 of aggregation port 200 is set, and distribution E-200 is as instruction virtual port E-channel ECID between 263 and aggregation port 200.
E-213, E-223 and the E-200 that control bridge 25 distributes belong to global name space and belonged 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 is associated with virtual port 263;Virtual port 263 is associated with E-200 and cascade end Mouth 253.
In network shown in Fig. 3, control bridge 25 connects terminal by double layer network (not shown) 28, the ECP Extended Capabilities Port 224 of port expander 22 connects terminal 29 by link 204.For example, terminal 27th, during the 28 and 29 same VLAN of reception broadcasting packet, control bridge 25 can be ECP Extended Capabilities Port 213rd, 223 and 224 distribution broadcast ECID, for indicating a virtual port on control bridge 25 With the E-channel between ECP Extended Capabilities Port 213,223 and 224.Port expander 21 and 22 is by upper Row port receives the Ethernet broadcasting packet with ETAG, identifies ETAG ECID and includes extension end The mark of mouth 213,223,224.For example, terminal 27,28 and 29 receives the group of same multicast group When reporting literary, control bridge 25 can be that ECP Extended Capabilities Port 213,223 and 224 distributes multicast ECID, Between a virtual port and ECP Extended Capabilities Port 213,223 and 224 on instruction control bridge 25 E-channel.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 with Network application based on 802.1BR agreements and correlation distributes broadcast ECID or multicast ECID, this hair It is bright to repeat no more.
Based on the network shown in Fig. 3 and Fig. 4 A-4D, description extension bridge 26 handles unicast message Process.
Up unicast message processing
In Fig. 4 A, terminal 27 generates Ethernet unicast message 40, wherein, source MAC and purpose MAC Address is the MAC Address of terminal 27 and the MAC Address of terminal 28 respectively.Terminal 27 can be with Selection port 272 sends Ethernet unicast message from port 271 and 272.
Port expander 22 receives Ethernet unicast message 40 by ECP Extended Capabilities Port 223, based on extension end The E-223 addition ETAG of mouth 223, select uplink port 222 to send out in uplink port 221 and 222 Send.As shown in Figure 4 A, the ETAG for the unicast message 41 that port expander 22 is sent ECID category Property is 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 The MAC Address list item of VLAN ID and the source MAC matching of unicast message 41, according to unicast VLAN ID (VLAN ID), source MAC and the virtual port 263 of message 41 are learned Practise MAC Address list item.Control bridge 25 can be according to cascade port 252 and E-223 and virtual port 263 Incidence relation, be identified by virtual port 263 and receive unicast message 41, thus be based on virtual port 263 Perform MAC address entries study.
Control bridge 25 find unicast message 41 VLAN ID and target MAC (Media Access Control) address matching MAC Address list item, it is non-ECP Extended Capabilities Port to determine exit port, removes ETAG, passes through the MAC found The exit port of address list item is sent.As shown in Figure 4 A, bridge 25 is controlled to remove the ETAG of unicast message 41 Afterwards, Ethernet unicast message 40 is obtained.So, Ethernet unicast message 40 passes through double layer network (Fig. 3 In do not show) be sent to terminal 28.
In Fig. 4 B, terminal 27 generates Ethernet unicast message 42, wherein, source MAC and purpose MAC Address is the MAC Address of terminal 27 and the MAC Address of terminal 28 respectively.Terminal 27 can be with The selection port 271 from port 271 and 272, send Ethernet unicast message 42.
Port expander 21 receives Ethernet unicast message 42 by ECP Extended Capabilities Port 213, based on extension end The E-213 addition ETAG of mouth 213, select uplink port 212 to send out in uplink port 211 and 212 Send.As shown in Figure 4 B, the ETAG for the unicast message 43 that port expander 21 is sent ECID category Property is E-223, to indicate that the ECP Extended Capabilities Port 213 of aggregation port 200 is inbound port.
Control bridge 25 receives unicast message 43 by cascading the port 241 of port 251, finds The exit port of VLAN ID and the MAC Address list item of source MAC matching is virtual port 263, MAC address learning is not performed then.Control bridge 25 can according to cascade port 252 and E-223 with it is virtual The incidence relation of port 263, it is identified by virtual port 263 and receives unicast message 43.Control bridge 25 The exit port of the MAC address entries found according to unicast message 43 there is not side, therefore does not perform MAC Address Study.
Control bridge 25 find unicast message 43 VLAN ID and target MAC (Media Access Control) address matching MAC Address list item, ETAG is removed, sent by the exit port of the MAC Address list item of lookup.Such as Shown in Fig. 4 B, control bridge 25 removes the ETAG of unicast message 43, obtains 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 according to unicast message 41 or The MAC address entries of 43 target MAC (Media Access Control) address matching determine that performing three layers forwards, then removes 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 purpose MAC Address is the MAC Address of terminal 28 and the MAC Address of terminal 27 respectively.
Control bridge 25 Ethernet unicast message 44 is received by double layer network, find VLAN ID and The MAC Address list item and exit port of target MAC (Media Access Control) address matching are virtual ports 263, according to polymerization end The E-200 addition ETAG of mouth 200, are sent by cascading port 253.As shown in Figure 4 C, net is controlled The ECID attributes for the unicast message 45 that bridge 25 is sent are E-200, and it is to indicate aggregation port 200 Port.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 expansion Open up device 21.
Port expander 21 receives unicast message 45 by uplink port 211 or 212, based on ECID Attribute E-200 identification aggregation ports 200 are exit ports, remove ETAG, pass through aggregation port 200 ECP Extended Capabilities Port 213 is sent.As shown in Figure 4 C, port expander 21 sends Ethernet unicast message 44. So, Ethernet unicast message 44 by the link 201 shown in Fig. 3 by transmission terminal 27.
In Fig. 4 D, terminal 28 generates Ethernet unicast message 46;Wherein, source MAC and purpose MAC Address is the MAC Address of terminal 28 and the MAC Address of terminal 27 respectively.
Control bridge 25 receives Ethernet unicast message 46 by double layer network, searches VLAN ID and mesh MAC Address matching MAC Address list item and exit port be virtual port 263, based on aggregation port 200 E-200 addition ETAG, are sent by cascading port 253.As shown in Figure 4 D, bridge is controlled The ECID attributes of 25 unicast messages 47 sent are E-200, and instruction aggregation port is exit port.Work as control Bridge 25 processed can from cascade port 253 four port selection ports 232 or 242 when, unicast message 47 are sent to port expander 22.
Port expander 22 receives unicast message 47 by uplink port 221 or 222, based on ECID Attribute E-200 identification aggregation ports 200 are exit ports, remove ETAG, pass through aggregation port 200 ECP Extended Capabilities Port 223 is sent.Shown in Fig. 4 D, port expander 22 sends Ethernet unicast message 46 and arrived To terminal 27.
Broadcasting packet forwards
Based on the network shown in Fig. 3 and Fig. 4 A-4D, description extension bridge 26 handles broadcasting packet Process.
In Fig. 5 A, terminal 27 generates Ethernet broadcasting packet 50, and end is selected from port 271 and 272 Mouth 272 sends Ethernet broadcasting packets 50.
Port expander 22 receives Ethernet broadcasting packet 50 by ECP Extended Capabilities Port 223, based on extension end The E-223 addition ETAG of mouth 223, select uplink port 221 to send out in uplink port 221 and 222 Send.As shown in Figure 5A, the ETAG for the broadcasting packet 51 that port expander 22 is sent ECID category Property be E-223, instruction aggregation port 200 ECP Extended Capabilities Port 223 be inbound port.
Control bridge 25 receives broadcasting packet 51 by cascading the port 242 of port 252, according to port The number of expander 21 and 22 replicates two parts of broadcasting packets, and the ECID of every part of copy broadcast message is set To broadcast ECID, Ingress ECID are set to E-223, obtain two parts of broadcasting packets (such as Fig. 5 A institutes The broadcasting packet 52 shown).Bridge 25 is controlled to select one from two ports of cascade port 251, A broadcasting packet 52 is sent 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 25 is controlled to distinguish two parts of broadcasting packets 52 of selection port 241 and the transmission of port 242.
Control bridge 25 to remove the ETAG of the broadcasting packet 51 received, obtain Ethernet broadcasting packet 50, more parts of Ethernet broadcasting packets are replicated according to there is provided identical VLAN port number, by each There is provided identical VLAN port to send a Ethernet unicast message 50.As shown in Figure 5A, it is 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, is known based on broadcast ECID Other ECP Extended Capabilities Port 213 is exit port, and ECP Extended Capabilities Port 223 is identified based on Ingress ECID attributes E-223 It is inbound port, determines that inbound port and exit port belong to aggregation port 200, source filtering failure.Ports-Extending Device 21 does not filter 27 Ethernet broadcasting packet of the ECP Extended Capabilities Port self terminal in 213 future of failure by source 50 beam back terminal 27 again.
Port expander 22 receives another broadcasting packet 52 by uplink port 222;Based on broadcast ECID identification ECP Extended Capabilities Ports 223 and 224 are exit ports;Identified based on ingress ECID attributes E-223 ECP Extended Capabilities Port 223 is inbound port;The ECP Extended Capabilities Port 223 for being determined as one of exit port is exactly inbound port, Source filtering checks failure;The ECP Extended Capabilities Port 224 for being determined as another exit port is different from inbound port and not belonged to In aggregation port 200, source filtering checks successfully, removes ETAG, is sent by ECP Extended Capabilities Port 224. As shown in Figure 5A, port expander 22 is wide by the Ethernet of ECP Extended Capabilities Port self terminal in 224 future 27 Report text 50 and be sent to terminal 29, and avoid coming the Ethernet broadcasting packet 50 of the 27 of self terminal again Beam back terminal 27.
In Fig. 5 B, terminal 27 generates Ethernet broadcasting packet 53, and end is selected from port 271 and 272 Mouth 271 sends Ethernet broadcasting packets 53.
Port expander 21 receives Ethernet broadcasting packet 53 by ECP Extended Capabilities Port 213, based on extension end The E-213 addition ETAG of mouth 213, select uplink port 211 to send out in uplink port 211 and 212 Send.As shown in Figure 5 B, the ETAG for the broadcasting packet 54 that port expander 22 is sent ECID category Property be E-213, instruction aggregation port 200 ECP Extended Capabilities Port 213 be inbound port.
Control bridge 25 receives broadcasting packet 54 by cascading the port 241 of port 251, according to port The number of expander 21 and 22 replicates two parts of broadcasting packets, and every part of broadcasting packet is indicated into exit port ECID is set to broadcast ECID, and the Ingress ECID of the broadcasting packet of every part of duplication are set into E-213, Two parts of broadcasting packets are obtained, broadcasting packet 55 as shown in Figure 5 B.As shown in Figure 5 B, bridge is controlled The port 231 of 25 selection cascade ports 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, obtain Ethernet broadcasting packet 53, more parts of Ethernet broadcasting packets are replicated according to there is provided identical VLAN port number, by each There is provided identical VLAN port to send a Ethernet unicast message 53.As shown in Figure 5 B, it is 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;Known based on broadcast ECID Other ECP Extended Capabilities Port 213 is exit port;ECP Extended Capabilities Port 213 is identified based on Ingress ECID attributes E-213 It is inbound port;Determine that inbound port is identical with exit port, source filtering checks failure.Port expander 21 is obstructed The 27 Ethernet broadcasting packet 53 for crossing the ECP Extended Capabilities Port self terminal in 213 future of source filtering failure is beamed back again Terminal 27.
Port expander 22 receives another broadcasting packet 55 by uplink port 212, based on broadcast ECID identification ECP Extended Capabilities Ports 223 and 224 are exit ports;Identified based on ingress ECID attributes E-213 ECP Extended Capabilities Port 213 is inbound port;The ECP Extended Capabilities Port 223 for being determined as one of exit port belongs to inbound port Aggregation port 200, source filtering check failure;It is determined as 224 mouthfuls of the extension end difference of another exit port In inbound port and aggregation port 200 is not belonging to, source filtering checks successfully, removes ETAG, passes through extension Port 224 is sent.As shown in Figure 5 B, port expander 22 passes through ECP Extended Capabilities Port self terminal in 224 future 27 Ethernet broadcasting packet 53 is sent to terminal 29, and avoids coming 27 Ethernet of self terminal wide Report text 53 and beam back terminal 27 again.
As shown in Figure 5 C, terminal 28 generates Ethernet broadcasting packet 56.Bridge 25 is controlled according to port The number of expander 21 and 22 replicates Ethernet broadcasting packet 56, is every part of ether based on broadcast ECID Net broadcasting packet 56 adds ETAG, and the port 241 of selection cascade port 251 sends a carrying broadcast ECID broadcasting packet 57, the port 242 of selection cascade port 252 send a carry and broadcast ECID Broadcasting packet 57.
Port expander 21 receives broadcasting packet 57 by uplink port 212;Known based on broadcast ECID Other exit port is ECP Extended Capabilities Port 213, determines that inbound port is different from 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 hash values and extension The hash values that port 213 allows to pass through match;ETAG is removed, ether is sent by ECP Extended Capabilities Port 213 Net broadcasting packet 56.
Port expander 22 receives broadcasting packet 57 by uplink port 222;Known based on broadcast ECID Other exit port is ECP Extended Capabilities Port 223 and 224;Determine the ECP Extended Capabilities Port 223 of one of inbound port and exit port Different and be not belonging to ECP Extended Capabilities Port 200, source filtering inspection passes through;Hash meters are carried out to broadcasting packet 57 Calculate, the hash values that determining hash values and ECP Extended Capabilities Port 223 allows to pass through mismatch, not by extending end Mouth 223 is sent;Determine inbound port and different as the ECP Extended Capabilities Port 224 of another exit port and be not belonging to gather Port 220 is closed, source filtering checks successfully;The ETAG of broadcasting packet 57 is removed, passes through ECP Extended Capabilities Port 223 Send Ethernet broadcasting packet 56.Shown in Fig. 5 C, extension bridge 26 is by aggregation port 200 only by one The Ethernet broadcasting packet that part carrys out self terminal 28 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 The number of expander 21 and 22 replicates Ethernet broadcasting packet 58, is every part of ether based on broadcast ECID Net broadcasting packet 58 adds ETAG, and the port 231 of selection cascade port 251 sends a carrying broadcast ECID broadcasting packet 59, the port 232 of selection cascade port 252 send a carry and broadcast ECID Broadcasting packet 59.
Port expander 21 receives broadcasting packet 59 by uplink port 211;Known based on broadcast ECID Other exit port is ECP Extended Capabilities Port 213, determines that inbound port is different from 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 hash values and ECP Extended Capabilities Port 213 The hash values for allowing to pass through mismatch, and are not sent by ECP Extended Capabilities Port 213.
Port expander 22 receives broadcasting packet 59 by uplink port 221;Known based on broadcast ECID Other exit port is ECP Extended Capabilities Port 223 and 224, determines the ECP Extended Capabilities Port 223 of one of inbound port and exit port Different and be not belonging to ECP Extended Capabilities Port 200, source filtering inspection passes through;Hash meters are carried out to broadcasting packet 59 Calculate, determine that hash values match with the hash values that ECP Extended Capabilities Port 223 allows to pass through;Determine exit port and work ECP Extended Capabilities Port 224 for another exit port is different and is not belonging to aggregation port 200, and source filtering checks successfully. Port expander 22 removes ETAG, replicates two parts of Ethernet broadcasting packets 28, passes through ECP Extended Capabilities Port 223 A Ethernet broadcasting packet 58 is sent, a Ethernet broadcasting packet 58 is sent by ECP Extended Capabilities Port 224. So, the Ethernet broadcasting packet 58 of self terminal 28 is carried out by extending the aggregation port 200 of bridge 26 Terminal 27 and terminal 29 are separately sent to ECP Extended Capabilities Port 224.
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 Filter and check in the inbound port for indicating up unicast message and the source of non-unicast message, distribute to polymerization end The exit port of the ECID indicating downlink unicast messages of mouth.
In Fig. 5 C-5D, port expander 21 and 22 is according to the triple or five-tuple of broadcasting packet 59 Or seven tuple or other specification a numerical value is calculated, by the numerical value being calculated according to aggregation port The number of 200 member carries out modulus, obtains hash values.Port expander 21 and 22 is by matching hash The ECP Extended Capabilities Port of value sends the Ethernet broadcasting packet for removing ETAG, and terminal is sent to aggregation port 200 27 Ethernet broadcasting packet carries out load balancing.
During the present invention is implemented, when port expander 21 and 22 is respectively since the multicast message that uplink port receives ETAG carry multicast ECID, port expander 21 and 22 identifies exit port according to multicast ECID Afterwards, the source filtering of ECP Extended Capabilities Port is checked and forward process, the load balancing of aggregation port 200 are handled and schemed Treatment mechanism is identical when ECP Extended Capabilities Port sends broadcasting packet in 5A- Fig. 5 D.
Due in the extension bridge 26 shown in Fig. 2A -2B, controlling bridge 25 to be according to global name space Each ECP Extended Capabilities Port and ECP Extended Capabilities Port form aggregation port distribution ECID.Bridge 25 is controlled by connecting each end When the cascade port of mouth expander receives the up non-unicast message with ETAG, by up non-unicast report The ECID of text attribute sets the ingress ECID for the descending non-unicast message for being sent to each port expander Attribute.Control bridge 25 receives non-broadcasting message by double layer network port, will be sent to each port expander The ingress ECID of descending non-unicast message be arranged to a particular value, for example 0, indicate into end Mouth is not the ECP Extended Capabilities Port for extending bridge 26;So each port expander receives descending non-list from uplink port When reporting literary, corresponding to the inbound port and ECID of descending non-unicast message according to knowable to ingress ECID Exit port is different and is not belonging to same polymeric port.
Fig. 6 show apparatus for forwarding message 600 provided by the invention, can be applied to Fig. 2A -2B extension bridge 26 port expander 21.The apparatus for forwarding message 600 includes:Receiving unit 610, recognition unit 620, Retransmission unit 630 and source filter element 640.
Receiving unit 610, the first unicast report with extension virtual local area network tags is received by uplink port Text;Recognition unit 620, identify that the exit port information of the extension virtual local area network tags of the first unicast message carries The mark of aggregation port;Retransmission unit 630, the extension virtual local area network tags of the first unicast message are divested, led to Cross the ECP Extended Capabilities Port transmission for belonging to aggregation port.
Receiving unit 610, the second unicast message is received by ECP Extended Capabilities Port;
Retransmission unit 630, the second unicast message addition extension virtual local area network mark is identified as based on ECP Extended Capabilities Port Label;The second unicast message of addition extension virtual local area network tags is sent by uplink port;Wherein, second The ingress port information of the extension virtual local area network tags of unicast message carries the mark of ECP Extended Capabilities Port.
Receiving unit 610, the first non-unicast report with extension virtual local area network tags is received by uplink port Text;Recognition unit 620, identify the exit port packet of the extension virtual local area network tags of the first non-unicast message Mark containing ECP Extended Capabilities Port;Retransmission unit 630, calculate the hash values of the first non-unicast message;When hash values Matched with ECP Extended Capabilities Port, remove the extension virtual local area network tags of the first non-unicast message, pass through ECP Extended Capabilities Port Send the first non-unicast message.
Inspection unit 640 is filtered in source, and what the extension virtual local area network tags based on the first non-unicast message carried enters Port information determines that the inbound port of the first non-unicast message is different from ECP Extended Capabilities Port and is not belonging to aggregation port.
Receiving unit 640, the second non-unicast message is received by ECP Extended Capabilities Port;Retransmission unit 630, based on expansion Exhibition port is identified as the second non-unicast message addition extension virtual local area network tags;Wherein, the second unicast report The ingress port information of the extension virtual local area network tags of text carries the mark of ECP Extended Capabilities Port;Sent out by uplink port Send the second non-unicast message of addition extension virtual local area network tags.

Claims (10)

1. a kind of message forwarding method, it is characterised in that methods described includes:
The first unicast message with extension virtual local area network tags is received by uplink port;
Identify that the exit port information of the extension virtual local area network tags of first unicast message carries aggregation port Mark;
The extension virtual local area network tags of first unicast message are divested, by the expansion for belonging to the aggregation port Port is opened up to send.
2. according to the method for claim 1, it is characterised in that methods described also includes:
Second unicast message is received by the ECP Extended Capabilities Port;
The second unicast message addition extension virtual local area network tags are identified as based on the ECP Extended Capabilities Port;Its In, the ingress port information of the extension virtual local area network tags of second unicast message carries the ECP Extended Capabilities Port Mark;
The second unicast message of addition extension virtual local area network tags is sent by the uplink port.
3. according to the method for claim 1, it is characterised in that methods described also includes:
The first non-unicast message with extension virtual local area network tags is received by the uplink port;
Identify that the exit port packet of the extension virtual local area network tags of the described first non-unicast message contains the expansion Open up the mark of port;
Calculate the hash values of the described first non-unicast message;
When the hash values match with the ECP Extended Capabilities Port, the extension for removing the first non-unicast message is virtual Local Area Network tag, the first non-unicast message is sent by the ECP Extended Capabilities Port.
4. according to the method for claim 3, it is characterised in that calculate the hash of the first non-unicast message Before value, methods described also includes:
The ingress port information that extension virtual local area network tags based on the described first non-unicast message carry determines institute The inbound port for stating the first non-unicast message is different from the ECP Extended Capabilities Port and be not belonging to the aggregation port.
5. according to the method for claim 3, it is characterised in that
Second non-unicast message is received by the ECP Extended Capabilities Port;
Described second non-unicast message addition extension virtual local area network tags are identified as based on the ECP Extended Capabilities Port; Wherein, the ingress port information of the extension virtual local area network tags of second unicast message carries the extension end The mark of mouth;
The second non-unicast message of addition extension virtual local area network tags is sent by the uplink port.
6. a kind of apparatus for forwarding message, it is characterised in that described device includes:
Receiving unit, the first unicast message with extension virtual local area network tags is received by uplink port;
Recognition unit, identify that the exit port information of the extension virtual local area network tags of first unicast message carries The mark of aggregation port;
Retransmission unit, the extension virtual local area network tags of first unicast message are divested, it is described poly- by belonging to The ECP Extended Capabilities Port for closing port is sent.
7. device according to claim 6, it is characterised in that
The receiving unit, the second unicast message is received by the ECP Extended Capabilities Port;
The retransmission unit, the second unicast message addition extension is identified as virtually based on the ECP Extended Capabilities Port Local Area Network tag;The second unicast message of addition extension virtual local area network tags is sent by the uplink port; Wherein, the ingress port information of the extension virtual local area network tags of second unicast message carries the extension end The mark of mouth.
8. device according to claim 6, it is characterised in that
The receiving unit, the first non-list with extension virtual local area network tags is received by the uplink port Report text;
The recognition unit, identify the exit port letter of the extension virtual local area network tags of the first non-unicast message Breath includes the mark of the ECP Extended Capabilities Port;
The retransmission unit, calculate the hash values of the first non-unicast message;When the hash values with it is described ECP Extended Capabilities Port matches, and removes the extension virtual local area network tags of the first non-unicast message, passes through the expansion Open up port and send the first non-unicast message.
9. device according to claim 8, it is characterised in that described device also includes:
Inspection unit is filtered in source, and what the extension virtual local area network tags based on the described first non-unicast message carried enters Port information determines that the inbound port of the described first non-unicast message is different from the ECP Extended Capabilities Port and it is described to be not belonging to Aggregation port.
10. device according to claim 6, it is characterised in that
The receiving unit, the second non-unicast message is received by the ECP Extended Capabilities Port;
The retransmission unit, the described second non-unicast message addition extension void is identified as based on the ECP Extended Capabilities Port Intend Local Area Network tag;Wherein, the ingress port information of the extension virtual local area network tags of second unicast message Carry the mark of the ECP Extended Capabilities Port;Addition extension virtual local area network tags are sent by the uplink port Second non-unicast message.
CN201610513688.2A 2016-06-28 2016-06-28 Message forwarding method and device Active CN107547334B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610513688.2A CN107547334B (en) 2016-06-28 2016-06-28 Message forwarding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610513688.2A CN107547334B (en) 2016-06-28 2016-06-28 Message forwarding method and device

Publications (2)

Publication Number Publication Date
CN107547334A true CN107547334A (en) 2018-01-05
CN107547334B CN107547334B (en) 2021-01-26

Family

ID=60966366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610513688.2A Active CN107547334B (en) 2016-06-28 2016-06-28 Message forwarding method and device

Country Status (1)

Country Link
CN (1) CN107547334B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108471383A (en) * 2018-02-08 2018-08-31 华为技术有限公司 Message forwarding method, device and system
CN108632176A (en) * 2018-04-28 2018-10-09 新华三技术有限公司 Pile system, PE equipment and message forwarding method
CN108696459A (en) * 2018-04-28 2018-10-23 新华三技术有限公司 Pile system 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
CN110661710A (en) * 2019-09-20 2020-01-07 锐捷网络股份有限公司 Message transmission method and device of virtualization system
CN111163009A (en) * 2020-02-20 2020-05-15 盛科网络(苏州)有限公司 Method and device for realizing three-layer multicast in port expansion system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103457818A (en) * 2012-05-31 2013-12-18 美国博通公司 Multi-homing in an extended bridge
US20140044129A1 (en) * 2012-08-10 2014-02-13 Duane Edward MENTZE Multicast packet forwarding in a network
CN103780480A (en) * 2012-10-17 2014-05-07 杭州华三通信技术有限公司 Message forwarding method and message forwarding equipment
CN104410577A (en) * 2014-11-05 2015-03-11 杭州华三通信技术有限公司 Broadcast message transmission method and device
CN104780111A (en) * 2015-04-08 2015-07-15 杭州华三通信技术有限公司 Packet forwarding method and device in virtualized network as well as virtualized network
CN105530179A (en) * 2014-09-29 2016-04-27 杭州华三通信技术有限公司 Data message processing method and network equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103457818A (en) * 2012-05-31 2013-12-18 美国博通公司 Multi-homing in an extended bridge
US20140044129A1 (en) * 2012-08-10 2014-02-13 Duane Edward MENTZE Multicast packet forwarding in a network
CN103780480A (en) * 2012-10-17 2014-05-07 杭州华三通信技术有限公司 Message forwarding method and message forwarding equipment
CN105530179A (en) * 2014-09-29 2016-04-27 杭州华三通信技术有限公司 Data message processing method and network equipment
CN104410577A (en) * 2014-11-05 2015-03-11 杭州华三通信技术有限公司 Broadcast message transmission method and device
CN104780111A (en) * 2015-04-08 2015-07-15 杭州华三通信技术有限公司 Packet forwarding method and device in virtualized network as well as virtualized network

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108471383A (en) * 2018-02-08 2018-08-31 华为技术有限公司 Message forwarding method, device and system
CN108632176A (en) * 2018-04-28 2018-10-09 新华三技术有限公司 Pile system, PE equipment and message forwarding method
CN108696459A (en) * 2018-04-28 2018-10-23 新华三技术有限公司 Pile system 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
CN110505166B (en) * 2018-05-16 2021-09-21 杭州海康威视数字技术股份有限公司 Broadcast packet forwarding method and device, electronic equipment and readable storage medium
CN110661710A (en) * 2019-09-20 2020-01-07 锐捷网络股份有限公司 Message transmission method and device of virtualization system
CN110661710B (en) * 2019-09-20 2022-02-25 锐捷网络股份有限公司 Message transmission method and device of virtualization system
CN111163009A (en) * 2020-02-20 2020-05-15 盛科网络(苏州)有限公司 Method and device for realizing three-layer multicast in port expansion system
CN111163009B (en) * 2020-02-20 2021-06-22 盛科网络(苏州)有限公司 Method and device for realizing three-layer multicast in port expansion system

Also Published As

Publication number Publication date
CN107547334B (en) 2021-01-26

Similar Documents

Publication Publication Date Title
CN107547334A (en) A kind of message forwarding method and device
CN105577548B (en) Message processing method and device in a kind of software defined network
CN104285416B (en) The virtual router in termination covering tunnel in storage area network
CN101433029B (en) Methods and systems for selective layer 2 port blocking using layer 2 source addresses
DE602004010526T2 (en) METHOD AND DEVICE FOR ADAPTIVE ROUTES ON A FLOW BASE IN MULTI-STAGE DATA NETWORKS
US9397934B2 (en) Methods for packet forwarding though a communication link of a distributed link aggregation group using mesh tagging
DE112012001320B4 (en) Priority-based flow control in a switching network architecture with a distributed fabric protocol (DFP)
CN104854819B (en) Method and apparatus for VLAN interface routing
CN104468462B (en) The message forwarding method and equipment of the distributed virtual switch system
CN110298381B (en) Cloud security service function tree network intrusion detection system
CN106549871A (en) A kind of method, apparatus and system of Message processing
US20140122704A1 (en) Remote port mirroring
US9197426B2 (en) Systems and methods for an extranet multicast virtual private network in a virtual routing and forwarding based customer edge device
CN105306390B (en) A kind of data message forwarding control method and system
CN105099959A (en) Forwarding method, device and system of multicast packet
CN107547293A (en) A kind of flow path detection method and device
DE202016107382U1 (en) Systems for processing packets in a computer network
CN107872332A (en) The detection method and relevant apparatus of a kind of message forwarding path
CN108683610A (en) A kind of system and method realized multi-service rule match and flow and replicated
US20030210696A1 (en) System and method for routing across segments of a network switch
CN114157533A (en) Message cross-board multicast copying and forwarding method and system based on CLOS architecture
US8553691B2 (en) Efficient multicasting in a distributed system architecture
CN108123880A (en) Retransmission method, device and the system of multicast data message
CN107547419A (en) One kind extension bridge system and message forwarding method and device
CN105939276B (en) The retransmission method and device of multicast data message

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