CN107547419B - Extended network bridge system and message forwarding method and device - Google Patents

Extended network bridge system and message forwarding method and device Download PDF

Info

Publication number
CN107547419B
CN107547419B CN201610513035.4A CN201610513035A CN107547419B CN 107547419 B CN107547419 B CN 107547419B CN 201610513035 A CN201610513035 A CN 201610513035A CN 107547419 B CN107547419 B CN 107547419B
Authority
CN
China
Prior art keywords
port
unicast message
aggregation
local area
area network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610513035.4A
Other languages
Chinese (zh)
Other versions
CN107547419A (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 CN201610513035.4A priority Critical patent/CN107547419B/en
Publication of CN107547419A publication Critical patent/CN107547419A/en
Application granted granted Critical
Publication of CN107547419B publication Critical patent/CN107547419B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides an extended network bridge system and a message forwarding method and a device, which are applied to a control network bridge of the extended network bridge system, wherein the method comprises the following steps: receiving a first uplink unicast message with an extended virtual local area network label through a first cascade port; identifying that the entry port information of the extended virtual local area network tag of the first uplink unicast message carries the identifier of the first extension port of the first port extender; receiving a second uplink unicast message with an extended virtual local area network label through a second cascade port; identifying that the entry port information of the extended virtual local area network tag of the second uplink unicast message carries the identifier of a second extension port of a second port extender; wherein the first expansion port and the second expansion port constitute an aggregation port.

Description

Extended network bridge system and message forwarding method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an extended network bridge system, and a packet forwarding method and apparatus.
Background
An Extended Bridge (Extended Bridge) is composed of a Control Bridge (CB) and a Port Extender (PE). The control bridge may be a single device or a stack of multiple devices operating as a single device.
In an Extended bridge as shown in fig. 1, an upstream Port (upstream Port) of each Port extender is correspondingly connected to a Cascade Port (Cascade Port) of the control bridge, and an Extended Port (Extended Port) of the Port extender is connected to a Port of the terminal (End Station).
When the port expander receives AN uplink message through the expansion port, the port expander adds AN ETAG (Extension V L AN Tag, expansion virtual local area network label), uses the ECID of the ETAG of the expansion port of the received message to indicate AN ingress port (ingress port) of the message, and sends the message added with the ETAG through the uplink port.
When the port expander receives the downlink message with the ETAG through the uplink port, the port expander sends a message for stripping the ETAG through an output port (egress port) indicated by the ECID.
Disclosure of Invention
The invention aims to provide an extended bridge system, a message forwarding method and a message forwarding device, which enable a port expander of an extended bridge to share and receive a unicast message from a terminal through an aggregation port load formed by an extension port of the port expander.
In order to achieve the above object, the present invention provides a message forwarding method, which includes receiving a first uplink unicast message with an extended virtual local area network tag through a first cascade port; identifying that the entry port information of the extended virtual local area network tag of the first uplink unicast message carries the identifier of the first extension port of the first port extender; receiving a second uplink unicast message with an extended virtual local area network label through a second cascade port; identifying that the entry port information of the extended virtual local area network tag of the second uplink unicast message carries the identifier of a second extension port of a second port extender; wherein the first expansion port and the second expansion port constitute an aggregation port.
The invention also provides a message forwarding device, which comprises: 7. a message forwarding device is characterized by comprising a receiving unit, a forwarding unit and a forwarding unit, wherein the receiving unit receives a first uplink unicast message with an extended virtual local area network label through a first cascade port; receiving a second uplink unicast message with an extended virtual local area network label through a second cascade port; the identification unit is used for identifying that the input port information of the extended virtual local area network tag of the first uplink unicast message carries the identifier of the first extension port of the first port extender; identifying that the entry port information of the extended virtual local area network tag of the second uplink unicast message carries the identifier of a second extension port of a second port extender; wherein the first expansion port and the second expansion port constitute an aggregation port.
The method and the device realize that the port expander of the expanded bridge receives the unicast message from the terminal through the load sharing of the aggregation port formed by the expansion ports of the port expander.
Drawings
Fig. 1 is a schematic diagram of a conventional expansion bridge.
Fig. 2A-2B are schematic diagrams of an extended bridge according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of a network including the extended bridges shown in fig. 2A-2B.
Fig. 4A-4D are schematic diagrams of unicast packet forwarding in the network shown in fig. 3.
Fig. 5A-5D are schematic diagrams of broadcast packet forwarding in the network shown in fig. 3.
Fig. 6 is a schematic diagram of a message forwarding apparatus applied to the control bridge in fig. 2A-2B.
Detailed Description
Fig. 2A shows an expansion bridge 26 according to an example of the present invention, devices 23 and 24 are connected via stack links, forming a stack device as a control bridge 25, the upstream ports 211 and 212 of the port expander 21 are connected to the port 231 of the device 23 and the port 241 of the device 24, respectively, the upstream ports 221 and 222 of the port expander 22 are connected to the port 232 of the device 23 and the port 242 of the device 24, respectively, the control bridge 25 and the port expanders 21 and 22 form the expansion bridge 26, the expansion port 213 of the port expander 21 and the expansion port 223 of the port expander 22 form an Aggregation port 200, and the Aggregation port 200 is connected (End Station) to a terminal 27 via a link Aggregation Group (L AG, & &lttt transition = L "&tttl &/t &ttt/gtin aggregate Group) formed by links 201 and 202.
As shown in fig. 2B, the control bridge 25 has a tandem port 251, a tandem port 252 and a tandem port 253. Cascading port 251 includes ports 231 and 241 and cascading port 251 connects the two upstream ports of port expander 21. Cascading port 252 includes ports 232 and 242 and connects the two upstream ports of port expander 22. The cascade port 253 includes ports 231, 241, 232, and 242 and connects the four upstream ports of the port expanders 21 and 22 where the aggregation port 200 is located.
Control bridge 25 sets a Virtual Port (VP) 261 (not shown) of expansion Port 213 and assigns E-213 as an ECID indicating the E-channel between Virtual Port 261 and expansion Port 213. Control bridge 25 sets virtual port 262 (not shown) of expansion port 223 and assigns E-223 as an ECID indicating the E-channel between virtual port 262 and expansion port 223. The controlling bridge 25 sets virtual port 263 (not shown) of aggregation port 200 and assigns E-200 as an ECID indicating the E-channel between virtual port 263 and aggregation port 200.
The E-213, E-223 and E-200 assigned by the controlling bridge 25 belong to the global namespace and to the point-to-point E-channel.
The controlling bridge 25 associates E-213 and tandem port 251 with virtual port 263; associating E-223 and cascading port 252 with virtual port 263; virtual port 263 is associated with E-200 and tandem port 253.
In the network shown in fig. 3, the control bridge 25 connects the terminal 28 via a two-layer network (not shown), and the expansion port 224 of the port expander 22 connects the terminal 29 via the link 204, for example, when the terminals 27, 28 and 29 receive a broadcast message of the same V L AN, the control bridge 25 may assign broadcast ECID to the expansion ports 213, 223 and 224 for instructing E-channel port expanders 21 and 22 between a virtual port and the expansion ports 213, 223 and 224 on the control bridge 25 to receive AN ethernet broadcast message with ETAG via AN upstream port, and the ECID for identifying ETAG includes the identifiers of the expansion ports 213, 223 and 224.
The process of the extended bridge 26 processing unicast packets is described based on the network shown in fig. 3 and fig. 4A-4D.
Uplink unicast packet processing
In fig. 4A, terminal 27 generates an ethernet unicast message 40, wherein the source MAC address and the destination MAC address are the MAC address of terminal 27 and the MAC address of terminal 28, respectively. Terminal 27 may select port 272 from ports 271 and 272 to send an ethernet unicast message.
The port expander 22 receives the ethernet unicast message 40 through the expansion port 223, adds ETAG based on E-223 of the expansion port 223, and selects the uplink port 222 to transmit among the uplink ports 221 and 222. As shown in fig. 4A, the ecad attribute of the ETAG of the unicast packet 41 sent by the port expander 22 is E-223, indicating that the expansion port 223 of the aggregation port 200 is an ingress port.
The control bridge 25 receives the unicast message 41 through the port 242 of the cascade port 252, finds no MAC address entry matching the V L AN ID and the source MAC address of the unicast message 41, learns the MAC address entry according to the virtual local area network identifier (V L AN ID), the source MAC address, and the virtual port 263 of the unicast message 41, and the control bridge 25 may recognize that the unicast message 41 is received through the virtual port 263 according to the association relationship between the cascade port 252 and the E-223 and the virtual port 263, thereby performing MAC entry learning based on the virtual port 263.
The control bridge 25 finds the MAC address entry matching the V L AN ID of the unicast message 41 and the destination MAC address, determines that the port is a non-expanded port, removes the ETAG, and sends the entry through the exit port of the found MAC address entry, as shown in fig. 4A, the control bridge 25 removes the ETAG of the unicast message 41 to obtain the ethernet unicast message 40, so that the ethernet unicast message 40 is sent to the terminal 28 through the two-layer network (not shown in fig. 3).
In fig. 4B, the terminal 27 generates an ethernet unicast message 42, wherein the source MAC address and the destination MAC address are the MAC address of the terminal 27 and the MAC address of the terminal 28, respectively. Terminal 27 may select port 271 from ports 271 and 272 and send ethernet unicast message 42.
The port expander 21 receives the ethernet unicast message 42 through the expansion port 213, adds ETAG based on E-213 of the expansion port 213, and selects the uplink port 212 to transmit in the uplink ports 211 and 212. As shown in fig. 4B, the ecad attribute of the ETAG of the unicast packet 43 sent by the port expander 21 is E-223, which indicates that the expansion port 213 of the aggregation port 200 is the ingress port.
The control bridge 25 receives the unicast message 43 through the port 241 of the cascade port 251, finds that the output port of the MAC address table entry matching the V L AN ID and the source MAC address is the virtual port 263, and does not perform MAC address learning.
Control bridge 25 finds the MAC address entry matching the V L AN ID of unicast message 43 and the destination MAC address, removes the ETAG, and sends it through the egress port of the found MAC address entry, as shown in fig. 4B, control bridge 25 removes the ETAG of unicast message 43 to obtain ethernet unicast message 42, so ethernet unicast message 42 is sent to terminal 28 through the two-tier network.
In the example shown in fig. 4A and 4B, if the controlling bridge 25 determines to perform three-layer forwarding according to the MAC entry matching the destination MAC address of the unicast packet 41 or 43, the ETAG is removed and forwarding is performed according to the destination IP address encapsulation.
Downlink unicast packet forwarding
In fig. 4C, terminal 28 generates an ethernet unicast message 44, wherein the source MAC address and the destination MAC address are the MAC address of terminal 28 and the MAC address of terminal 27, respectively.
The control bridge 25 receives the ethernet unicast message 44 through the two-tier network, finds the MAC address table entry matching the V L AN ID and the destination MAC address and the egress port is virtual port 263, adds ETAG according to E-200 of the aggregation port 200, and sends it through the tandem port 253, as shown in fig. 4C, the ECID attribute of the unicast message 45 sent by the control bridge 25 is E-200, indicating that the aggregation port 200 is AN egress port, the control bridge 25 may select one port from four ports of the tandem port 253 to send the unicast message 45, when the control bridge 25 selects port 231 or 241, the unicast message 45 is sent to the port expander 21.
The port expander 21 receives the unicast message 45 through the uplink port 211 or 212, identifies that the aggregation port 200 is an egress port based on the ECID attribute E-200, removes the ETAG, and transmits the exit port through the expansion port 213 of the aggregation port 200. As shown in fig. 4C, port extender 21 sends an ethernet unicast message 44. Thus, the ethernet unicast message 44 is sent to the terminal 27 via the link 201 shown in fig. 3.
In fig. 4D, terminal 28 generates an ethernet unicast message 46; wherein the source MAC address and the destination MAC address are the MAC address of the terminal 28 and the MAC address of the terminal 27, respectively.
The control bridge 25 receives the ethernet unicast message 46 over the two-tier network, looks up the MAC address entry with the V L AN ID matching the destination MAC address and the egress port is virtual port 263, adds AN ETAG based on E-200 of the aggregation port 200, and sends it through the tandem port 253 as shown in fig. 4D, the unicast message 47 sent by the control bridge 25 has the ECID attribute of E-200 indicating that the aggregation port is AN egress port, when the control bridge 25 can select port 232 or 242 from the four ports of the tandem port 253, the unicast message 47 is sent to the port expander 22.
The port expander 22 receives the unicast message 47 through the upstream port 221 or 222, identifies that the aggregation port 200 is an egress port based on the ECID attribute E-200, removes the ETAG, and transmits the exit port through the expansion port 223 of the aggregation port 200. As shown in fig. 4D, port extender 22 sends an ethernet unicast message 46 to terminal 27.
Broadcast message forwarding
The process by which the extended bridge 26 processes broadcast messages is described based on the network shown in fig. 3 and fig. 4A-4D.
In fig. 5A, the terminal 27 generates the ethernet broadcast packet 50, and selects the port 272 from the ports 271 and 272 to transmit the ethernet broadcast packet 50.
The port expander 22 receives the ethernet broadcast message 50 through the expansion port 223, adds ETAG based on E-223 of the expansion port 223, and selects the uplink port 221 to transmit among the uplink ports 221 and 222. As shown in fig. 5A, the ecad attribute of the ETAG of the broadcast packet 51 sent by the port expander 22 is E-223, indicating that the expansion port 223 of the aggregation port 200 is an ingress port.
The control bridge 25 receives the broadcast message 51 through the port 242 of the cascade port 252, copies two broadcast messages according to the number of the port extenders 21 and 22, sets the ECID of each copied broadcast message as the broadcast ECID, and sets the Ingress ECID as E-223, to obtain two broadcast messages (e.g., the broadcast message 52 shown in fig. 5A). The control bridge 25 may select one of the two ports of the tandem port 251 to send a single broadcast packet 52 to the port expander 21. The controlling bridge 25 may select one of the two ports of the cascading ports 252 to send another broadcast packet 52 to the port expander 22. As shown in fig. 5A, the controlling bridge 25 selects port 241 and port 242, respectively, to send two broadcast messages 52.
The controlling bridge 25 removes the ETAG of the received broadcast message 51 to obtain the ethernet broadcast message 50, copies a plurality of ethernet broadcast messages according to the number of ports with the same V L AN set, and sends one ethernet unicast message 50 through each port with the same V L AN set, as shown in fig. 5A, one ethernet broadcast message 50 is sent to the terminal 28 through a two-tier network.
The port expander 21 receives the broadcast message 52 through the uplink port 212, identifies that the expansion port 213 is an egress port based on the broadcast ECID, identifies that the expansion port 223 is an Ingress port based on the Ingress ECID attribute E-223, and determines that the Ingress port and the egress port belong to the aggregation port 200, and the source filtering fails. The port expander 21 does not re-transmit the ethernet broadcast message 50 from the terminal 27 back to the terminal 27 via the expansion port 213 for which the source filtering failed.
Port expander 22 receives another broadcast message 52 via upstream port 222; identifying expansion ports 223 and 224 as egress ports based on the broadcast ECID; identifying that the expansion port 223 is an ingress port based on the ingress ECID attribute E-223; determining that the expansion port 223 as one of the egress ports is an ingress port and the source filter check fails; determining that expansion port 224, which is another egress port, is different from the ingress port and does not belong to aggregation port 200, the source filtering check is successful, the ETAG is removed, and the result is sent through expansion port 224. As shown in fig. 5A, port expander 22 transmits ethernet broadcast messages 50 from terminal 27 to terminal 29 via expansion port 224 and prevents ethernet broadcast messages 50 from terminal 27 from being transmitted back to terminal 27.
In fig. 5B, the terminal 27 generates the ethernet broadcast packet 53, and selects the port 271 from the ports 271 and 272 to transmit the ethernet broadcast packet 53.
The port expander 21 receives the ethernet broadcast message 53 through the expansion port 213, adds ETAG based on E-213 of the expansion port 213, and selects the uplink port 211 to transmit among the uplink ports 211 and 212. As shown in fig. 5B, the ecad attribute of the ETAG of the broadcast packet 54 sent by the port expander 22 is E-213, which indicates that the expansion port 213 of the aggregation port 200 is an ingress port.
The control bridge 25 receives the broadcast message 54 through the port 241 of the cascade port 251, copies two broadcast messages according to the number of the port extenders 21 and 22, sets the ECID of the indicated port of each broadcast message as the broadcast ECID, and sets the Ingress ECID of each copied broadcast message as E-213, to obtain two broadcast messages, such as the broadcast message 55 shown in fig. 5B. As shown in fig. 5B, the control bridge 25 selects the port 231 of the cascade port 251 to send one broadcast packet 55, and selects the port 232 of the cascade port 252 to send another broadcast packet 55.
The controlling bridge 25 removes the ETAG of the received broadcast message 54 to obtain AN ethernet broadcast message 53, copies a plurality of ethernet broadcast messages according to the number of ports with the same V L AN set, and sends one ethernet unicast message 53 through each port with the same V L AN set, as shown in fig. 5B, one ethernet broadcast message 53 is sent to the terminal 28 through a two-tier network.
The port expander 21 receives the broadcast message 55 through the uplink port 211; identifying that expansion port 213 is an egress port based on the broadcast ECID; identifying that the expansion port 213 is an Ingress port based on Ingress ECID attribute E-213; determining that the ingress port and the egress port are the same, the source filter check fails. The port expander 21 does not re-transmit the ethernet broadcast message 53 from the terminal 27 back to the terminal 27 through the expansion port 213 for which the source filtering failed.
The port expander 22 receives another broadcast message 55 through the upstream port 212, and recognizes that the expansion ports 223 and 224 are egress ports based on the broadcast ECID; identifying that the expansion port 213 is an ingress port based on the ingress ECID attribute E-213; determining that the expansion port 223 as one of the egress ports and the ingress port belong to the aggregation port 200, and the source filtering check fails; determining that an expansion port 224 port, which is another egress port, is different from the ingress port and does not belong to aggregation port 200, the source filtering check is successful, the ETAG is removed, and the result is sent through expansion port 224. As shown in fig. 5B, port expander 22 transmits ethernet broadcast messages 53 from terminal 27 to terminal 29 via expansion port 224 and prevents ethernet broadcast messages 53 from terminal 27 from being transmitted back to terminal 27.
As shown in fig. 5C, the terminal 28 generates an ethernet broadcast message 56. The control bridge 25 copies the ethernet broadcast messages 56 according to the number of the port expanders 21 and 22, adds ETAGs to each ethernet broadcast message 56 based on the broadcast ECID, selects the port 241 of the cascade port 251 to send one broadcast message 57 carrying the broadcast ECID, and selects the port 242 of the cascade port 252 to send one broadcast message 57 carrying the broadcast ECID.
The port expander 21 receives the broadcast message 57 through the uplink port 212; identifying that the egress port is an expansion port 213 based on the broadcast ECID, determining that the ingress port is different from the egress port and does not belong to the expansion port 200, and passing the source filtering check; performing hash calculation on the broadcast message 57, and determining that the hash value is matched with the hash value allowed to pass through by the expansion port 213; the ETAG is removed and the ethernet broadcast message 56 is sent through the expansion port 213.
Port expander 22 receives broadcast message 57 via upstream port 222; identifying ports as expansion ports 223 and 224 based on the broadcast ECID; determining that the expansion port 223 of one of the ingress port and the egress port is different and does not belong to the expansion port 200, and the source filtering check passes; performing hash calculation on the broadcast message 57, determining that the hash value is not matched with the hash value allowed to pass through the expansion port 223, and not sending the hash value through the expansion port 223; determining that the ingress port and the expansion port 224 as another egress port are different and do not belong to the aggregation port 220, the source filtering check is successful; the ETAG of broadcast message 57 is removed and ethernet broadcast message 56 is sent via expansion port 223. As shown in fig. 5C, the expansion bridge 26 sends only one ethernet broadcast message from the terminal 28 to the terminal 27 via the aggregation port 200.
As shown in fig. 5D, terminal 28 generates an ethernet broadcast message 58. The control bridge 25 copies the ethernet broadcast messages 58 according to the number of the port expanders 21 and 22, adds ETAGs to each ethernet broadcast message 58 based on the broadcast ECID, selects the port 231 of the cascade port 251 to send one broadcast message 59 carrying the broadcast ECID, and selects the port 232 of the cascade port 252 to send one broadcast message 59 carrying the broadcast ECID.
The port expander 21 receives the broadcast message 59 through the uplink port 211; identifying that the egress port is an expansion port 213 based on the broadcast ECID, determining that the ingress port is different from the egress port and does not belong to the expansion port 200, and passing the source filtering check; the hash calculation is performed on the broadcast packet 59, and it is determined that the hash value does not match the hash value allowed to pass through the expansion port 213, and is not sent through the expansion port 213.
Port expander 22 receives broadcast message 59 via upstream port 221; identifying that the ports are expansion ports 223 and 224 based on the broadcast ECID, determining that the expansion port 223 of one of the ingress port and the egress port is different and does not belong to the expansion port 200, and the source filtering check is passed; performing hash calculation on the broadcast message 59, and determining that the hash value is matched with the hash value allowed to pass through by the expansion port 223; determining that an egress port is different from expansion port 224, which is another egress port, and does not belong to aggregation port 200, the source filtering check is successful. Port expander 22 removes the ETAG, copies the two ethernet broadcast messages 28, sends one ethernet broadcast message 58 through expansion port 223, and sends one ethernet broadcast message 58 through expansion port 224. Thus, the ethernet broadcast message 58 from terminal 28 is sent to terminal 27 and terminal 29, respectively, through aggregation port 200 and expansion port 224 of expansion bridge 26.
In the examples shown in fig. 4A to 4D and fig. 5A to 5D, the ECID allocated to the expansion port is used to indicate an ingress port of the uplink unicast message and a source filtering check of the non-unicast message, and the ECID allocated to the aggregation port indicates an egress port of the downlink unicast message.
In fig. 5C-5D, the port expanders 21 and 22 calculate a value according to the triplet, quintet, heptatuple, or other parameters of the broadcast packet 59, and perform modulo operation on the calculated value according to the number of members of the aggregation port 200 to obtain a hash value. The port expanders 21 and 22 send ethernet broadcast messages with the ETAGs removed through the expansion ports with the hash values matched, and perform load sharing on the ethernet broadcast messages sent to the terminal 27 by the aggregation port 200.
In the implementation of the present invention, when the ETAGs of the multicast packets received by the port expanders 21 and 22 from the uplink ports respectively carry multicast ECID, after the port expanders 21 and 22 identify ports according to the multicast ECID, the source filtering check and forwarding processing of the expansion ports are performed, and the load sharing processing of the aggregation port 200 is the same as the processing mechanism when the expansion ports send broadcast packets in fig. 5A to 5D.
In the expansion bridge 26 shown in fig. 2A-2B, the control bridge 25 assigns an ECID to each expansion port and the expansion port forming an aggregation port according to the global namespace. When the control bridge 25 receives the uplink non-unicast message with the ETAG through the cascade port connected to each port expander, the control bridge sets the ingress ECID attribute of the downlink non-unicast message sent to each port expander. The control bridge 25 receives the non-broadcast message through the two-layer network port, and sets the ingress ECID of the downlink non-unicast message sent to each port expander to a specific value, such as 0, indicating that the ingress port is not an expansion port of the expansion bridge 26; therefore, when each port expander receives the downlink non-unicast message from the uplink port, according to the ingress ECID, it can be known that the ingress port of the downlink non-unicast message and the egress port corresponding to the ECID are different and do not belong to the same aggregation port.
Fig. 6 shows a message forwarding apparatus 600 provided by the present invention, which can be applied to the control bridge of the extension bridge 26 in fig. 2A-2B. The packet forwarding apparatus 600 includes: a receiving unit 610, an identifying unit 620, an entry unit 630, a lookup unit 640, and a transmitting unit 650.
A receiving unit 610, configured to receive a first uplink unicast packet with an extended virtual local area network tag through a first cascade port; and receiving a second uplink unicast message with the expanded virtual local area network label through a second cascade port. An identifying unit 620, configured to identify that ingress port information of an extended virtual local area network tag of the first uplink unicast packet carries an identifier of a first extension port of a first port extender; identifying that the entry port information of the extended virtual local area network tag of the second uplink unicast message carries the identifier of a second extension port of a second port extender; wherein the first expansion port and the second expansion port constitute an aggregation port.
An identifying unit 620, configured to identify a first cascade port that receives a first uplink unicast packet with an extended virtual local area network tag and a virtual port of which an identifier of the first extension port is associated with an aggregation port; and identifying a second cascade port receiving a second uplink unicast message with an extended virtual local area network label and a virtual port of which the identifier of the second extended port is associated with the aggregation port. The table entry unit 630 learns a forwarding table entry according to the source address of the first uplink unicast message and the virtual port; or, learning the forwarding table entry according to the source address and the virtual port of the second uplink unicast message.
The receiving unit 610 receives the downlink unicast packet searching unit 640, and determines that the output interface corresponding to the destination address of the downlink unicast packet is a virtual port. The identifying unit 620 identifies the identifier of the third cascaded port and the aggregation port corresponding to the virtual port; the third cascade port is connected with the first port expander and the second port expander where the aggregation port is located. A sending unit 650, which adds an extended virtual local area network tag to the downlink unicast message based on the identifier of the aggregation port; sending the downlink unicast message added with the extended virtual local area network label through a third cascade port; wherein, the output port information of the extended virtual local area network label of the downlink unicast message carries the identification of the aggregation port.

Claims (10)

1. An extended bridge system, wherein the extended bridge system is composed of a control bridge, a first port expander and a second port expander; a first expansion port of the first port expander and a second expansion port of the second port expander form an aggregation port; the aggregation port is connected with the terminal through a link aggregation group;
the control network bridge allocates a first expansion port identifier and a second expansion port identifier according to the global name space for indicating an input interface of uplink unicast data and source filtering information for non-unicast messages;
and the control network bridge allocates an aggregation port identifier according to the global name space, and the aggregation port identifier is used for indicating that an outlet port of the downlink unicast data is the aggregation port.
2. The extended bridge system of claim 1,
the first cascade port of the control network bridge is connected with the uplink port of the first port expander;
the second cascade port of the control network bridge is connected with the uplink port of the second port expander;
and the third cascade port of the control network bridge is connected with the uplink port of the first port expander where the aggregation port is located and the uplink port of the second port expander.
3. A message forwarding method is characterized in that the method comprises the following steps:
receiving a first uplink unicast message with an extended virtual local area network label through a first cascade port;
identifying that the entry port information of the extended virtual local area network tag of the first uplink unicast message carries an identifier of a first extension port of a first port extender;
receiving a second uplink unicast message with an extended virtual local area network label through a second cascade port;
identifying that the entry port information of the extended virtual local area network tag of the second uplink unicast message carries an identifier of a second extension port of a second port extender; wherein the first expansion port and the second expansion port constitute an aggregation port.
4. The method of claim 3, wherein the method comprises:
identifying the first cascade port receiving a first uplink unicast message with an extended virtual local area network label and a virtual port of which the identifier of the first extension port is associated with the aggregation port;
identifying that the second cascade port and the identifier of the second expansion port, which receive the second uplink unicast message with the expanded virtual local area network label, are associated with the virtual port of the aggregation port.
5. The method of claim 4, further comprising:
learning forwarding table entries according to the source address of the first uplink unicast message and the virtual port; or
And learning a forwarding table item according to the source address of the second uplink unicast message and the virtual port.
6. The method of claim 3, further comprising:
determining that an output interface corresponding to a destination address of the downlink unicast message is a virtual port;
identifying the identifier of the third cascading port and the aggregation port corresponding to the virtual port; the third cascade port is connected with the first port expander and the second port expander where the aggregation port is located;
adding an extended virtual local area network label to the downlink unicast message based on the identification of the aggregation port; wherein, the output port information of the extended virtual local area network label of the downlink unicast message carries the identifier of the aggregation port;
and sending the downlink unicast message added with the extended virtual local area network label through the third cascade port.
7. A message forwarding apparatus, characterized in that the apparatus comprises
The receiving unit receives a first uplink unicast message with an extended virtual local area network label through a first cascade port; receiving a second uplink unicast message with an extended virtual local area network label through a second cascade port;
the identification unit is used for identifying that the entry port information of the extended virtual local area network tag of the first uplink unicast message carries the identifier of the first extension port of the first port extender; identifying that the entry port information of the extended virtual local area network tag of the second uplink unicast message carries an identifier of a second extension port of a second port extender; wherein the first expansion port and the second expansion port constitute an aggregation port.
8. The apparatus of claim 7,
the identification unit identifies the first cascade port receiving the first uplink unicast message with the expanded virtual local area network label and the virtual port of which the identifier of the first expanded port is associated with the aggregation port; identifying that the second cascade port and the identifier of the second expansion port, which receive the second uplink unicast message with the expanded virtual local area network label, are associated with the virtual port of the aggregation port.
9. The apparatus of claim 8, wherein the apparatus further comprises a table entry unit;
the table entry unit learns forwarding table entries according to the source address of the first uplink unicast message and the virtual port; or, learning a forwarding table entry according to the source address of the second uplink unicast message and the virtual port.
10. The apparatus of claim 7, wherein the apparatus further comprises a lookup unit and a sending unit;
the receiving unit receives a downlink unicast message;
the searching unit determines that an output interface corresponding to the destination address of the downlink unicast message is a virtual port;
the identification unit identifies the identifier of the third cascading port and the identifier of the aggregation port corresponding to the virtual port; the third cascade port is connected with the first port expander and the second port expander where the aggregation port is located;
the sending unit adds an extended virtual local area network label to the downlink unicast message based on the identification of the aggregation port; sending the downlink unicast message added with the extended virtual local area network label through the third cascade port; wherein, the output port information of the extended virtual local area network label of the downlink unicast message carries the identifier of the aggregation port.
CN201610513035.4A 2016-06-28 2016-06-28 Extended network bridge system and message forwarding method and device Active CN107547419B (en)

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 CN107547419A (en) 2018-01-05
CN107547419B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108632176B (en) * 2018-04-28 2021-03-09 新华三技术有限公司 Stacking system, PE (provider edge) equipment and message forwarding method
CN110505166B (en) * 2018-05-16 2021-09-21 杭州海康威视数字技术股份有限公司 Broadcast packet forwarding method and device, electronic equipment and readable storage medium
CN108880892B (en) * 2018-06-26 2021-05-28 新华三技术有限公司 Message processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150163072A1 (en) * 2013-12-05 2015-06-11 Broadcom Corporation Virtual Port Extender

Patent Citations (4)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN107547419A (en) 2018-01-05

Similar Documents

Publication Publication Date Title
CN107547334B (en) Message forwarding method and device
CN110830371B (en) Message redirection method and device, electronic equipment and readable storage medium
CN105991445B (en) Setting method and device of link aggregation group
WO2022062506A1 (en) Data processing method and apparatus, storage medium, and electronic apparatus
CN107547419B (en) Extended network bridge system and message forwarding method and device
CN108259635B (en) ARP (Address resolution protocol) table item learning method and DR (digital radiography) equipment
CN103338161A (en) Method and equipment for realizing cross-equipment aggregation
US20170230231A1 (en) Reofredundancy system based on virtual router redundancy protocol and method thereof
CN103117935A (en) Multicast data forwarding method and multicast data forwarding device applied to multi-homing networking
KR20190062525A (en) Method and software defined networking (SDN) controller for providing multicast service
CN106899506B (en) Method and device for forwarding protocol message
CN107547342A (en) Message broadcasting method and apparatus based on VXLAN tunnels
CN108259297B (en) Message processing method and device
US8553691B2 (en) Efficient multicasting in a distributed system architecture
US20150124808A1 (en) Network System and Network Relay Device
JP2009117909A (en) Packet relay method and device
CN103746922A (en) Method and device for forwarding multicast messages
CN112822097A (en) Message forwarding method, first network device and first device group
CN110401726B (en) Method, device and equipment for processing address resolution protocol message and storage medium
CN106027352A (en) Service message forwarding method and device
CN105493454A (en) Active-active access to transparent interconnection of lots of links (TRILL) edges
JP6743176B2 (en) Link Aggregation Group Settings
CN104023095A (en) Virtual gateway medium access control address response method and device
CN113497752A (en) Message sending method, first network equipment and network system
CN100396022C (en) Realization method for monitoring network service

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