CN108632176B - Stacking system, PE (provider edge) equipment and message forwarding method - Google Patents

Stacking system, PE (provider edge) equipment and message forwarding method Download PDF

Info

Publication number
CN108632176B
CN108632176B CN201810400761.4A CN201810400761A CN108632176B CN 108632176 B CN108632176 B CN 108632176B CN 201810400761 A CN201810400761 A CN 201810400761A CN 108632176 B CN108632176 B CN 108632176B
Authority
CN
China
Prior art keywords
port
message
aggregation port
target
forwarding
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
CN201810400761.4A
Other languages
Chinese (zh)
Other versions
CN108632176A (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 CN201810400761.4A priority Critical patent/CN108632176B/en
Publication of CN108632176A publication Critical patent/CN108632176A/en
Application granted granted Critical
Publication of CN108632176B publication Critical patent/CN108632176B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • H04L49/3009Header conversion, routing tables or routing tags

Abstract

The application provides a stacking system, a PE device and a message forwarding method, wherein the PE device in the system comprises at least two mutually non-interconnected switching chips, each switching chip comprises a first port and a second port, at least one service aggregation port is created on the PE device, and the service aggregation port comprises at least two second ports which are not on the same switching chip. The identification of the member port of the service aggregation port to which the second port on the switching chip belongs is recorded in each switching chip, so that when a message sent to any forwarding domain by the member port belonging to the service aggregation port is received, a forwarding outlet of the message is determined from the ports except the service aggregation port. Therefore, on the basis of realizing no interconnection of the switching chips, the problem that the flooding message is forwarded from the service aggregation port where the source port is located because the switching chip does not know whether the second port which belongs to the same service aggregation port as the second port of the chip exists on other switching chips is solved.

Description

Stacking system, PE (provider edge) equipment and message forwarding method
Technical Field
The present application relates to the field of communications technologies, and in particular, to a stacking system, a PE device, and a packet forwarding method.
Background
The stacking system based on 802.1BR protocol logically comprises: a CB (control Bridge) device and a PE (Port Extender) device, where the CB device is used to connect and manage the PE device. The PE equipment operates as a remote service board of the CB equipment, which is equivalent to a service board inserted in a specified slot position of the CB equipment.
Currently, a plurality of switching chips interconnected with each other are usually disposed in a PE device to increase the port density. However, the interconnections of the switch chip tend to occupy some of the ports on the switch chip, resulting in reduced bandwidth. However, if the switching chips are not interconnected with each other, for a downlink port belonging to any aggregation port on the switching chip, the switching chip cannot know whether downlink ports belonging to the aggregation port also exist on other switching chips in the PE device, so that when receiving a message sent from a member port of the aggregation port located in another switching chip to any forwarding domain, the switching chip can send the message from the member port belonging to the aggregation port on the switching chip, that is, the switching chip cannot filter a source port of the message during multicast or broadcast of the message.
Disclosure of Invention
In view of the above, an object of the present application is to provide a stacking system, a PE device and a message forwarding method, so as to improve the above problems.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in a first aspect, an embodiment of the present application provides a stacking system, including a PE device and a CB device, where the PE device includes at least two switch chips that are not interconnected with each other, and each switch chip includes a first port connected to the CB device and a second port connected to another device; at least one service aggregation port is established on the PE equipment, and the service aggregation port comprises at least two second ports which are not on the same exchange chip;
recording the identification of the member port of the target service aggregation port in each switching chip, wherein the target service aggregation port comprises at least one second port of the switching chip;
when a received message is a broadcast message or an unknown unicast message, the CB device determines a forwarding domain where a source port of the message is located, and forwards the message to a target switching chip where a member port of the forwarding domain is located;
when the identifier of the source port of the message exists in the identifier of the member port of the target service aggregation port recorded by the target switching chip, the target switching chip determines the port belonging to the forwarding domain as the forwarding outlet of the message to forward the message in the ports except the target service aggregation port comprising the source port.
In a second aspect, an embodiment of the present application further provides a PE device, communicatively connected to a CB device, where the PE device includes at least two switching chips that are not interconnected with each other, and each switching chip includes a first port connected to the CB device and a second port connected to another device; at least one service aggregation port is established on the PE equipment, and the service aggregation port comprises at least two second ports which are not on the same exchange chip;
the method comprises the steps that the identification of a member port of a target service aggregation port is recorded in each switching chip, the target service aggregation port comprises at least one second port of the switching chip, and a target forwarding domain comprises at least one target service aggregation port and/or at least one second port of the switching chip;
when any switching chip of the PE equipment receives a message flooded to any forwarding domain by the CB equipment, if the identifier of the source port of the message exists in the identifier of the member port of the target service aggregation port recorded by the switching chip, determining the port belonging to the forwarding domain as the forwarding outlet of the message to forward the message in the ports of the switching chip except the target service aggregation port comprising the source port.
In a third aspect, an embodiment of the present application further provides a packet forwarding method, which is applied to a stacking system including a PE device and a CB device, where the PE device includes at least two switching chips that are not interconnected with each other, and each switching chip includes a first port connected to the CB device and a second port connected to another device; at least one service aggregation port is established on the PE equipment, and the service aggregation port comprises at least two second ports which are not on the same exchange chip; recording the identification of a member port of a target service aggregation port in each switching chip, wherein the target service aggregation port is a service aggregation port comprising at least one second port of the switching chip; the method comprises the following steps:
when a received message is a broadcast message or an unknown unicast message, the CB device determines a forwarding domain where a source port of the message is located, and forwards the message to a target switching chip where a member port of the forwarding domain is located;
when the identifier of the source port of the message exists in the identifier of the member port of the target service aggregation port recorded by the target switching chip, the target switching chip determines the port belonging to the forwarding domain as the forwarding outlet of the message to forward the message in the ports except the target service aggregation port comprising the source port.
Compared with the prior art, the embodiment of the application has the following beneficial effects:
the embodiment of the application provides a stacking system, PE equipment and a message forwarding method. The PE device comprises at least two switching chips which are not mutually connected, each switching chip comprises a first port and a second port, at least one service aggregation port is created on the PE device, and the service aggregation port comprises at least two second ports which are not on the same switching chip. The identification of the member port of the target service aggregation port is recorded in each switching chip, wherein the target service aggregation port comprises at least one second port of the switching chip. For the message sent to any forwarding domain, the CB equipment forwards the message to a target switching chip where a member port of the forwarding domain is located; when the identifier of the source port of the message exists in the identifier of the member port of the target service aggregation port recorded by the target switching chip, determining the port belonging to the forwarding domain as the forwarding outlet of the message to forward the message in the ports on the target switching chip except the target service aggregation port comprising the source port. Therefore, on the basis of realizing that the switching chips in the PE equipment are not interconnected, the problem that the flooding message is forwarded from the service aggregation port where the source port is located because the switching chips cannot know whether the second ports which belong to the same service aggregation port as the second ports on the chip exist on other switching chips is solved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a connection block diagram of an existing PE device according to an embodiment of the present application;
fig. 2 is a connection block diagram of a stacking system according to an embodiment of the present disclosure;
FIG. 3 is a block diagram illustrating a connection of another stacking system provided in an embodiment of the present application;
fig. 4 is a schematic flowchart of a message forwarding method according to an embodiment of the present application;
FIG. 5 is a block diagram illustrating a connection of another stacking system provided in an embodiment of the present application;
fig. 6 is a schematic flowchart of a message forwarding method according to an embodiment of the present application;
fig. 7 is a second schematic flowchart of a message forwarding method according to an embodiment of the present application;
fig. 8 is a third schematic flowchart of a message forwarding method according to an embodiment of the present application;
fig. 9 is a fourth schematic flowchart of a message forwarding method according to an embodiment of the present application;
fig. 10 is a fifth flowchart illustrating a message forwarding method according to an embodiment of the present application.
Icon: 10. 50-a stacking system; 100. 200, 52-PE equipment; 300. 51-CB equipment; 101. 102, 210-switch chip; 211 — a first port; 212-a second port; 213. 521, 522 — third port; 230-upstream port; 240-service port; 310. 511, 512-fourth port; 311. 61, 62, 63, 64, 65, 66, 67, 68-cascade ports.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The inventors have found that in some embodiments, a PE device includes only one switch chip, but such a PE device provides a limited port density, and thus, in other embodiments, a PE device includes more than two switch chips interconnected with each other.
However, interconnecting the switch chips to each other will tend to occupy some ports, resulting in reduced bandwidth. For example, as shown in fig. 1, the PE device 100 includes a switch chip 101 and a switch chip 102, where the switch chip 101 and the switch chip 102 respectively include 4 ports a and 12 ports B, where the port a is a 25G port and the port B is a 10G port.
The 12 ports B of the switch chip 101 and the 12 ports B of the switch chip 102 are used to connect sub-PE devices or user-side devices (e.g., servers, etc.) of the PE device 100. Two of the ports a of the switch chip 101 and two of the ports a of the switch chip 102 are respectively and correspondingly connected, so that the switch chip 101 and the switch chip 102 are interconnected; the other two ports a of the switch chip 101 and the other two ports a of the switch chip 102 are connected to the CB devices, respectively.
In the above case, the PE device 100 includes 4 uplink ports of 25G and 24 service ports (downlink ports) of 10G, and two ports a on each switch chip are occupied for interconnection between the switch chips. The bandwidth convergence ratio of the PE device 100 shown in FIG. 1 is
Figure BDA0001645661470000051
If the switch chip 101 and the switch chip 102 are not interconnected with each other, the PE device 100 may include 8 uplink ports of 25G and 24 traffic ports of 10G, and the bandwidth convergence ratio of the PE device may be reduced to the value
Figure BDA0001645661470000052
Based on the above-mentioned drawbacks, embodiments of the present application provide a scheme for preventing the switch chips in the PE device from being interconnected with each other, and details of the scheme will be described below.
Referring to fig. 2, a connection block diagram of a stacking system 10 according to an embodiment of the present application is shown, where the stacking system 10 is implemented based on an 802.1BR protocol, and the stacking system 10 includes a PE device 200 and a CB device 300. The PE device 200 includes at least two switching chips 210 that are not interconnected with each other, and each switching chip 210 includes a first port 211 connected to the CB device 300 and a second port 212 connected to other devices. The other device may be another PE device with the PE device 200 as a parent PE device, or may be a user-side device. The first port 211 of each switch chip 210 may be connected to the cascade port 311 of the CB device 300.
Optionally, there may be one, two or more first ports 211 included in each switch chip 210, and there may also be one, two or more second ports 212 included in each switch chip 210, and the number of the first ports 211 and the second ports 212 on each switch chip 210 is not limited in this embodiment.
In this embodiment, the PE device 200 includes an uplink port 230 and a service port 240, where the uplink port 230 of the PE device 200 is connected to the cascade port 311 of the CB device 300. Each upstream port 230 of the PE device 200 has a first port 211 and each traffic port 240 has a second port 212.
Alternatively, the upstream port 230 of the PE device 200 can be a split port. As shown in fig. 3, the PE device 200 may include at least one third port 213 connected to the CB device 300, the third port 213 being split into at least two upstream ports 230. Each switch chip 210 has at least one first port 211 connected to the third port 213, and each first port 211 is connected to one upstream port 230 of the third ports 213. The cascade ports 311 of the CB device 300 may also be split ports, and the CB device 300 may include fourth ports 310 connected to the third ports 213 in a one-to-one correspondence, where each fourth port 310 is split into at least two cascade ports 311, and the at least two cascade ports 311 are connected to at least two uplink ports 230 of the third ports 213 in a corresponding manner, respectively.
With the above design, one fourth port 213 of the CB device 300 can be connected to each switch chip 210, and when one of the fourth ports 213 is broken, the communication between the CB device 300 and each switch chip 210 can still be ensured. In addition, the uplink port of the existing PE device is usually an optical port, and each optical port needs to be controlled by a corresponding optical module.
In the above design, the communication between each switch chip 210 and the CB device 300 can be realized only through one third port 213 of the PE device 200, and therefore, only a part of the third ports 213 can be selectively used, thereby reducing the number of optical modules required to be used and achieving the effect of reducing the cost.
In some application scenarios, in order to improve the connection reliability, an aggregation port including a plurality of traffic ports is usually created on the PE device, and the aggregation port logically corresponds to a single port.
In this embodiment, at least one traffic aggregation port is created on the PE device 200, wherein a member port of the traffic aggregation port is the second port 212 on the switch chip 210, and the traffic aggregation port in this embodiment includes at least two second ports 212 that are not on the same switch chip 210.
The inventor researches and discovers that in practical application, a message entering a stacking system from one member port of an aggregation port can not be forwarded from other member ports of the aggregation port. In a PE device including only one switching chip, in view of clearly knowing which service ports belong to the same aggregation port, a Control Access List (ACL) rule is usually set on the PE device for the aggregation port to prevent a message incoming from a member port of the aggregation port from being forwarded out from other member ports of the aggregation port.
However, in the PE device including at least two switching chips that are not interconnected with each other, communication between the switching chips is not possible, and for a second port belonging to any service aggregation port on each switching chip, the switching chip cannot know whether a second port belonging to the same service aggregation port as the second port exists on other switching chips. If the source port of the message received by the switch chip is a member port of a certain service aggregation port on another switch chip, the message may be forwarded again from the service aggregation port on the member port of the switch chip.
Based on the above-mentioned defect study, in the present embodiment, each switch chip 210 records an identifier of a member port of a target traffic aggregation port, where the target traffic aggregation port is a traffic aggregation port including at least one second port 212 of the switch chip 210. Optionally, the identifier may be represented by a corresponding bit in a port bitmap (bitmap), or may be an ECID (echannelddentifier) of the port, where the ECID of the port is also referred to as pcid (portecid). The PCID of each port is used to uniquely identify the port.
In this embodiment, when the second port 212 on the switch chip 210 belongs to any service aggregation port, for the switch chip 210, the service aggregation port is a target service aggregation port, and the switch chip 210 records the identifiers of all member ports of the target service aggregation port, that is, records the identifier of the second port 212 on the switch chip 210 in the target service aggregation port and the identifiers of the second ports 212 belonging to other switch chips 210 in the target service aggregation port.
Optionally, in this embodiment, the identifier of the member port of the target traffic aggregation port may be recorded in the form of a table.
Fig. 4 is a schematic flow chart of a message forwarding method applied to the stacking system 10 shown in fig. 2 according to an embodiment of the present application, and the method is described in detail below.
In step S401, when the received packet is a broadcast packet or an unknown unicast packet, the CB device 300 determines a forwarding domain where the source port of the packet is located, and forwards the packet to a target switch chip where a member port of the forwarding domain is located.
When the CB device 300 receives a unicast message and cannot find a forwarding entry corresponding to the unicast message, the unicast message is an unknown unicast message.
In this embodiment, the CB device 300 may record the member ports included in each forwarding domain and the switch chip 210 where the member ports are located. Wherein, the forwarding domain may be a broadcast domain or a multicast domain.
The forwarding domain may include a traffic aggregation port and/or a second port 212. For convenience of description, it is agreed that the forwarding domain where the source port of the packet is located is the first forwarding domain. Correspondingly, when a member port of the first forwarding domain is a second port, the switch chip 210 where the second port is located is the target switch chip; when a member port of the first forwarding node is a service aggregation port, the switch chip 210 where the second port of the service aggregation port is located is the target switch chip.
The message received by the CB device includes an 802.1BR protocol message TAG header E-TAG, where an ECID of a source port of the message is recorded in the E-TAG, and a second port 212 of the switch chip 210 through which the message passes when entering the stacking system 10 is the source port of the message.
For example, when the switch chip 210 receives a message at a second port X, an E-TAG is inserted into the message, and an ECID of the second port X is recorded in a position of the E-TAG corresponding to the source port, so as to indicate that the second port X is the source port of the message.
Optionally, in this embodiment, for each switch chip 210 on the PE device 200, a small cascade aggregation port corresponding to the switch chip 210 is created on the CB device 300, where the small cascade aggregation port includes a cascade port 311 connected to the first port of the switch chip 210 on the CB device 300.
Correspondingly, step S401 may comprise the following sub-steps:
the CB device 300 determines the small cascade aggregation port corresponding to the target switch chip, and sends the message to the target switch chip through the small cascade aggregation port.
In this embodiment, the CB device 300 records hash information corresponding to the small cascade aggregation ports, where the hash information includes hash values corresponding to the respective cascade ports 311 in the small cascade aggregation ports. In implementation, a hash value may be obtained by hashing, and the packet is sent to the target switch chip from the cascade port 311 corresponding to the hash value in the small cascade aggregation port.
Step S402, when the target switching chip receives the packet, determining whether the identifier of the source port of the packet exists in the identifier of the member port of the target service aggregation port recorded by the target switching chip. If so, step S403 is executed, otherwise, step S404 may be executed.
In the present embodiment, for each switch chip 210, the target traffic aggregation port is a traffic aggregation port including at least one second port of the switch chip 210. That is, for each switch chip 210, as long as the service aggregation port includes the second port 212 on the switch chip 210, the identity of the member port of the service aggregation port is recorded on the switch chip 210.
Therefore, when the identifier of the source port of the packet exists in the identifier of the member port of the target service aggregation port recorded by the target switching chip, it indicates that the source port of the packet and a part of the second ports on the target switching chip belong to the same service aggregation port. At this time, it is necessary to avoid forwarding the packet from the part of the second port 212.
Step S403, the target switching chip determines, in the ports except the target service aggregation port including the source port, the port belonging to the forwarding domain as the forwarding outlet of the packet to forward the packet.
In this embodiment, each switch chip 210 further records an identifier of a member port of a target forwarding domain in the switch chip 210, wherein when the second port 212 of the switch chip 210 and/or a service aggregation port to which the second port 212 of the switch chip 210 belongs is a member port of a certain forwarding domain, the forwarding domain is the target forwarding domain of the switch chip 210, and the switch chip 210 records the identifier of the member port of the forwarding domain in the switch chip 210.
In this embodiment, the switch chip 210 may record a corresponding relationship between the identifier of the target forwarding domain and the identifier of the target forwarding domain on the member port of the switch chip 210. In implementation, the target switching chip searches for the identifier of the member port of the first forwarding domain recorded on the chip as a target identifier, and uses, as a forwarding outlet of the packet, a port with the identifier same as the target identifier in ports other than the target service aggregation port including the source port on the target switching chip.
Therefore, the source port filtering of the message can be realized, and the message is prevented from being forwarded from the member port of the service aggregation port where the source port of the message is located.
Step S404, directly determining the port belonging to the forwarding domain on the target exchange chip as the forwarding outlet of the message to forward the message.
When the identifier of the source port of the packet does not exist in the identifier of the member port of the target service aggregation port recorded by the target switching chip, it indicates that the second port 212 belonging to the same service aggregation port as the source port of the packet does not exist on the target switching chip, so that it is unnecessary to filter the source port, and the identifier of the member port of the first forwarding domain recorded on the chip can be searched as the target identifier, and the port with the same identifier as the target identifier on the target switching chip is directly used as the forwarding outlet of the packet.
In practical application, when a message needs to be forwarded from a certain service aggregation port, the message can be forwarded from only one of the member ports of the service aggregation port. In this embodiment, since the member port of the target forwarding domain may include the service aggregation port and/or the second port, the forwarding outlet of the packet determined on the target switching chip may also include the service aggregation port and/or the second port.
The member ports of the first forwarding domain may be respectively located in at least two switch chips 212, and correspondingly, there may be at least two target switch chips. That is, at least two target switch chips receive the message sent by the CB device. At this time, when the determined forwarding outlet of the packet includes a service aggregation port, and the at least two target switching chips all have the second port 212 belonging to the service aggregation port, the at least two target switching chips may forward the packet from the second port 212 belonging to the service aggregation port at the same time because they are not interconnected with each other.
Based on this, in this embodiment of the present application, each switching chip 210 further records first aggregated hash information of a target traffic aggregation port, where the first aggregated hash information includes a hash value corresponding to a second port 212 belonging to the target traffic aggregation port on the switching chip 210. Wherein, the hash values corresponding to different second ports 212 in the same target traffic aggregation port are different.
In this embodiment, the first aggregation hash information of the target traffic aggregation port may be recorded in a form of a table, that is, as an aggregation hash table, and the aggregation hash table may be associated with an identifier (e.g., an ECID) of the target traffic aggregation port. Therefore, the corresponding aggregation hash table can be searched according to the identification of the target service aggregation port. In the aggregated hash table stored in each switching chip 210, the identifier of the second port 212 belonging to the target service aggregation port on the switching chip 210 and the hash value corresponding to the second port 212 are recorded.
Correspondingly, the message forwarding method provided in this embodiment may further include step S405.
Step S405, when the determined forwarding outlet of the message includes a service aggregation port, the target switching chip performs hash according to the message to obtain a first hash value, and when the first hash value exists in the first aggregation hash information of the service aggregation port, a second port corresponding to the first hash value in the service aggregation port is used as the forwarding outlet of the message.
Through the above process, even when the switching chips of the PE device 200 are not interconnected with each other, it can be ensured that the packet is forwarded from only one member port of the traffic aggregation port.
It should be understood that the solution provided by the present embodiment is also applicable to an aggregation port in which the member port is the second port 212 on the same switch chip 210.
In some application scenarios, the stacking system 10 may receive a unicast packet that needs to be forwarded from a service aggregation port, and in this embodiment, when a second port of the service aggregation port is not located on the same switch chip, the CB device may forward the unicast packet to only one switch chip where the second port of the service aggregation port is located.
In this embodiment, when a user creates a service aggregation port on the PE device 200, and the service aggregation port includes at least two second ports 212 that are not located in the same switch chip 210, the CB device 300 may create a large cascade aggregation port corresponding to the service aggregation port, where the large cascade aggregation port includes small cascade aggregation ports corresponding to the switch chips 210 where the second ports 212 in the service aggregation port are located.
Correspondingly, the message forwarding method provided in this embodiment may further include the following steps:
when determining that the output port of the message to be forwarded is any service aggregation port according to the forwarding table entry, the CB device 300 determines a target large cascade aggregation port corresponding to the service aggregation port, performs hash on the message, determines a small cascade aggregation port for forwarding the message in the target large cascade aggregation port, and forwards the message through the small cascade aggregation port.
In this embodiment, the CB device 300 may store forwarding hash information of the large tandem aggregation interface, where the forwarding hash information includes hash values respectively corresponding to each small tandem aggregation interface in the large tandem aggregation interface. After the hash is performed on the message, the small cascade aggregation port corresponding to the obtained hash value can be determined according to the forwarding hash information of the target large cascade aggregation port, and the message is forwarded through the small cascade aggregation port.
In this way, only one of the switch chips 210 in which the second port 212 of the service aggregation port is located receives the message forwarded by the CB device 300.
Optionally, in this embodiment, each switching chip 210 further records second aggregated hash information of the target traffic aggregation port, where the second aggregated hash information includes a hash value corresponding to a second port 212 belonging to the target traffic aggregation port on the switching chip 212.
Optionally, the message forwarding method provided in this embodiment may further include the following steps:
when receiving the to-be-forwarded message sent by the CB device 300, any switching chip 210 performs hash on the to-be-forwarded message to obtain a second hash value, and uses a second port 212 corresponding to the second hash value in the service aggregation port as a forwarding outlet of the to-be-forwarded message.
In this embodiment, when determining that an egress port of a packet to be forwarded is any service aggregation port according to a stored forwarding table entry, the CB device 300 sets the E-CID _ base in the packet to be forwarded as an identifier (for example, an ECID) of the service aggregation port, so as to indicate that the service aggregation port is the egress port of the packet to be forwarded.
A specific example is given below with reference to fig. 5 to explain in detail the technical solutions provided in the embodiments of the present application.
First, a brief description will be given of the stacking system 50 shown in fig. 5. The stacking system 50 includes a CB device 51 and a PE device 52, and the PE device 52 includes four switching chips, which are not interconnected with each other, and are a first switching chip, a second switching chip, a third switching chip and a fourth switching chip, respectively. Wherein the first switching chip comprises a first port P1, a first port P2, a second port P9 and a second port P10; the second switching chip comprises a first port P3, a first port P4, a second port P11, a second port P12 and a second port P13; the third switching chip comprises a first port P5, a first port P6, a second port P14 and a second port P15; the fourth switching chip includes a first port P7, a first port P8, a second port P16, and a second port P17.
The PE device 52 includes a third port 521 and a third port 522, where the third port 521 is split into four uplink ports, and the four uplink ports are respectively connected to the first port P1, the first port P3, the first port P5, and the first port P7; the third port 522 is split into four upstream ports, which are connected to the first port P2, the first port P4, the first port P6, and the first port P8, respectively.
The CB device 51 includes a fourth port 511 and a fourth port 512, where the fourth port 511 is split into four cascade ports, namely a cascade port 61, a cascade port 62, a cascade port 63, and a cascade port 64, where the cascade port 61, the cascade port 62, the cascade port 63, and the cascade port 64 are respectively and correspondingly connected to four uplink ports split from the third port 521; the fourth port 512 is split into four cascade ports, namely a cascade port 65, a cascade port 66, a cascade port 67, and a cascade port 68, and the cascade port 65, the cascade port 66, the cascade port 67, and the cascade port 68 are respectively and correspondingly connected with four uplink ports split from the third port 522.
The CB device 51 is created with a small cascade aggregation port cascade1_ lag corresponding to the first switching chip, a small cascade aggregation port cascade2_ lag corresponding to the second switching chip, a small cascade aggregation port cascade3_ lag corresponding to the third switching chip, and a small cascade aggregation port cascade4_ lag corresponding to the fourth switching chip. The small cascade aggregation port cascade1_ lag comprises a cascade port 61 and a cascade port 65 connected with the first switching chip, the small cascade aggregation port cascade2_ lag comprises a cascade port 62 and a cascade port 66 connected with the second switching chip, the small cascade aggregation port cascade3_ lag comprises a cascade port 63 and a cascade port 67 connected with the third switching chip, and the small cascade aggregation port cascade4_ lag comprises a cascade port 64 and a cascade port 68 connected with the fourth switching chip.
A service aggregation port Lagg1, a service aggregation port Lagg2 and a service aggregation port Lagg3 are created on the PE device 52, where the service aggregation port Lagg1 includes a second port P9, a second port P10 and a second port P11, the service aggregation port Lagg2 includes a second port P12, a second port P13 and a second port P14, and the service aggregation port Lagg3 includes a second port P15 and a second port P16.
In this embodiment, the CB device 41 allocates corresponding ECIDs to each first port, each second port, each cascade port, each small cascade aggregation port, and each service aggregation port.
In this embodiment, the service aggregation port Lagg 1-service aggregation port Lagg3 and the second port P17 both belong to the forwarding domain BC1, and the ECID of the member port included in the forwarding domain BC1 is recorded in the CB device 51. The identification of the forwarding domain BC1 on the member port of the switching chip is recorded in each switching chip of the stacked system 50, which may be specifically shown in tables 1 to 4 below.
TABLE 1
BC1 Lagg1
TABLE 2
BC1 Lagg1 Lagg2
TABLE 3
BC1 Lagg2 Lagg3
TABLE 4
BC1 Lagg3 P17
Wherein table 1 is recorded in the first switch chip, table 2 is recorded in the second switch chip, table 3 is recorded in the third switch chip, and table 4 is recorded in the fourth switch chip.
It should be noted that, in this embodiment, the identifier of each port (e.g., a traffic aggregation port, a second port, etc.) on the PE device 52 recorded on the device may be represented by a corresponding bit in a bitmap (bitmap), or may be represented by an ECID of the port.
Based on the above description, the service aggregation port Lagg1 is a target service aggregation port for the first switch chip and the second switch chip, and the service aggregation port Lagg2 is a target service aggregation port for the second switch chip and the third switch chip. The first switching chip records the ECID of each member port included in the service aggregation port Lagg1, and may specifically use the following table 5 for recording; the second switching chip records the ECID of each member port included in the service aggregation port Lagg1 and the ECID of each member port included in the service aggregation port Lagg2, and may specifically use table 6 shown below to record the ECIDs; the third switching chip records the ECID of each member port included in the service aggregation port Lagg2 and the ECID of each member port included in the service aggregation port Lagg3, and may record them by using table 7 shown below; the fourth switching chip records the ECID of each member port included in the service aggregation port Lagg3, which may be specifically shown in table 8 below.
TABLE 5
lagg1 P9 P10 P11
TABLE 6
Figure BDA0001645661470000151
Figure BDA0001645661470000161
TABLE 7
Lagg2 P12 P13 P14
Lagg3 P15 P16
TABLE 8
Lagg1 P15 P16
In the stacking system 50 shown in fig. 5, when the CB device 51 receives the unicast message D1 having the source port P9, if the forwarding entry corresponding to the unicast message D1 cannot be found, it is determined that the unicast message D1 is an unknown unicast message. At this time, the CB device 51 copies the message D1, sets Ingress _ E-CID _ base in ETAG of the copied message D1 as the ECID of the second port P9, sets E-CID _ base as the ECID of the forwarding domain BC1 (i.e., ECID _ BC1) where the second port P9 is located, obtains a message D2, and then forwards the message D2.
In this case, the forwarding of the message D2 can be implemented by the message forwarding method shown in fig. 6:
in step S601, the CB device 51 determines that the forwarding domain where the source port P7 of the packet D2 is located is BC1, and determines that the forwarding domain BC1 includes four member ports, i.e., a service aggregation port Lagg1, a service aggregation port Lagg2, a service aggregation port Lagg3, and a second port P13, thereby determining that the first switch chip, the second switch chip, the third switch chip, and the fourth switch chip are target switch chips.
Step S602, the CB device 51 forwards the message D2 to the first switching chip through the small cascade aggregation port cascade1_ lag, forwards the message D2 to the second switching chip through the small cascade aggregation port cascade2_ lag, forwards the message D2 to the third switching chip through the small cascade aggregation port cascade3_ lag, and forwards the message D2 to the fourth switching chip through the small cascade aggregation port cascade4_ lag.
Taking the first switching chip as an example, the CB device 51 performs hashing according to the packet D2, determines a cascade port, specifically, the cascade port 61 or the cascade port 65, for forwarding the packet D2 in the member port of the cascade aggregation port cascade1_ bag according to the obtained hash value, and if the outlet determined according to the obtained hash value is the cascade port 61, forwards the packet D2 from the cascade port 61 to the first switching chip.
The process of forwarding the message D2 to other switch chips is similar and will not be described herein.
In this embodiment, when the CB device 51 receives a broadcast message with a source port of P9, the CB device 51 copies the message D1, sets Ingress _ E-CID _ base in ETAG of the copied message D1 as the ECID of P9, sets E-CID _ base as the ECID of the forwarding domain where P9 is located (i.e., ECID _ bc1), and obtains a message D2, and can forward the message D2 through the above steps S601 to S602.
Step S603, when receiving the message D2 sent by the CB device 51, the first switch chip finds the ECID of the source port P9 of the message D2 from the ECIDs of the member ports of the service aggregation port Lagg1 recorded in the first switch chip, and discards the message D2 when detecting that no other port other than the service aggregation port Lagg1 exists on the first switch chip.
In addition, first aggregation hash information of the service aggregation port Lagg1 may be recorded in the first switching chip, and the first aggregation port hash information may be as shown in table 9 below. In this embodiment, table 4 may be associated with the ECID of the traffic aggregation port Lagg1 (i.e., ECID _ Lagg 1).
TABLE 9
lagg1 hash index ECID_P9 ECID_P10
0 1 0
1 0 1
Wherein, when the corresponding value of the ECID of the second port in the table 9 is 0, it indicates that the second port is blocked; when the corresponding value of the ECID of the second port in the table 9 is 1, it indicates that the packet can be forwarded from the second port.
The second switch chip may record first aggregation hash information of the service aggregation port Lagg1 and first aggregation hash information of the service aggregation port Lagg2, which may be specifically shown in table 10 and table 11 below, where table 10 is the first aggregation hash information of the service aggregation port Lagg1, and table 11 is the first aggregation hash information of the service aggregation port Lagg 2. Table 10 may be associated with ECID _ lagg1 and table 11 may be associated with ECID _ lagg 2.
Watch 10
lagg1 hash index ECID_P11
2 1
TABLE 11
lagg2 hash index ECID_P12 ECID_P13
0 1 0
1 0 1
The third switching chip records first aggregation hash information of the service aggregation port Lagg2 and first aggregation hash information of the service aggregation port Lagg3, which may be specifically shown in table 12 and table 13 below, where table 12 is the first aggregation hash information of the service aggregation port Lagg2, and table 13 is the first aggregation hash information of the service aggregation port Lagg 3. Table 12 is associated with ECID _ lagg2 and table 13 is associated with ECID _ lagg 3.
TABLE 12
lagg2 hash index ECID_P14
2 1
Watch 13
Lagg3 hash index ECID_P15
0 1
First aggregation hash information of the service aggregation port Lagg3 may be recorded in the fourth switching chip, and specifically, as shown in table 12 below, table 12 may be associated with ECID _ Lagg 3.
TABLE 14
lagg3 hash index ECID_P16
1 1
As shown in fig. 7, it is the forwarding process when the second switch chip receives the message D2.
In step S703, when receiving the message D2 sent by the CB device 51, the second switching chip searches the ECID of the second port P9 in the ECID of the member port of the service aggregation port Lagg1 recorded in the second switching chip, and determines that the forwarding outlet of the message D2 is the service aggregation port Lagg2 in the ports other than the service aggregation port Lagg1 on the second switching chip.
In step S704, the second switch chip performs hash according to the message D2 to obtain a first hash value.
Step S705, when the obtained first hash value is 0, forwarding a message D2 from the second port P12; when the obtained first hash value is 1, forwarding a message D2 from the second port P13; when the obtained first hash value is 2, the message D2 is discarded.
In this embodiment, the forwarding process of the message D2 when the third switch chip receives the message D2 is similar to that of the second switch chip, and is not described herein again.
As shown in fig. 8, it is a forwarding process when the fourth switch chip receives the message D2.
In step S803, when receiving the message D2 sent by the CB device 51, the fourth switching chip cannot find the ECID of the source port P9 of the message D2 in the recorded identifier of the member port of the service aggregation port, and directly determines, on the fourth switching chip, the second port P17 belonging to the forwarding domain BC1 and the service aggregation port Lagg3 including the second port P16 as forwarding outlets of the message D2.
Step S804, the message D2 is forwarded from the second port P17; and performing hash according to the message D2 to obtain a first hash value, when the first hash value is 1, forwarding the message D2 through the second port P16, and when the fourth hash value is 1, discarding the message D2.
In this embodiment, a large cascade aggregation port big1_ bag is created on the CB device 51 for the service aggregation port Lagg1, and the service aggregation port Lagg1 includes three second ports P9, P10, and P11, where the three second ports are respectively located in the first switch chip and the second switch chip, so that the large cascade aggregation port big1_ bag includes a small cascade aggregation port cascade1_ bag corresponding to the first switch chip and a small cascade aggregation port cascade2_ bag corresponding to the second switch chip. The CB device 51 further creates a large cascade aggregation port big2_ lag and a large cascade aggregation port big3_ lag for the service aggregation port Lagg2, where the large cascade aggregation port big2_ lag includes a small cascade aggregation port cascade2_ lag and a small cascade aggregation port cascade3_ lag, and the large cascade aggregation port big3_ lag includes a small cascade aggregation port cascade3_ lag and a small cascade aggregation port cascade4_ lag.
The first switching chip further records second aggregation hash information of the service aggregation port Lagg1, which may be shown in table 15 below.
Watch 15
lagg1 hash index ECID_P9 ECID_P10
0 1 0
1 0 1
The second switching chip records second aggregation hash information of the service aggregation port Lagg1 and the service aggregation port Lagg2, which may be specifically shown in table 16 and table 17 below, where table 16 is the second aggregation hash information of the service aggregation port Lagg1, and table 17 is the second aggregation hash information of the service aggregation port Lagg 2.
TABLE 16
lagg1 hash index ECID_P11
0 1
1 1
TABLE 17
lagg2 hash index ECID_P12 ECID_P13
0 1 0
1 0 1
The third switch chip records the second aggregation hash information of the service aggregation port Lagg2 and the service aggregation port Lagg3, and may specifically use the following tables 18 and 19 for recording.
Watch 18
lagg2 hash index ECID_P14
0 1
1 1
Watch 19
Lagg3 hash index ECID_P15
0 1
1 1
The fourth switching chip may record second aggregation hash information of the service aggregation port Lagg3, as shown in table 20:
watch 20
Lagg3 hash index ECID_P16
0 1
1 1
In this embodiment, when the CB device 51 receives the message D3 whose source port is the second port P17, and determines that the egress port of the message D3 is the service aggregation port Lagg1 according to the stored forwarding table entry, the forwarding may be performed through the steps shown in fig. 9.
In step S901, the CB device 51 determines the big cascade aggregation port big1_ bag corresponding to the service aggregation port bag 1, obtains a hash value according to the hash of the packet D3, and determines the small cascade aggregation port corresponding to the hash value in the target big cascade aggregation port big1_ bag to forward the packet D3.
In this embodiment, the forwarding hash information of each large cascaded aggregation port may be recorded on the CB device 51, where the forwarding hash information includes hash values respectively corresponding to each small cascaded aggregation port in the large cascaded aggregation port.
In this embodiment, the process of forwarding the packet through the small tandem aggregation interface is similar to the foregoing process, and is not described herein again.
Based on the above description, the message D3 is received by the first switch chip or the second switch chip.
Step S902, when the first switch chip receives the message D3, the first switch chip performs hash according to the message D3 to obtain a second hash value, and when the second hash value is 0, the first switch chip forwards the message D3 from the second port P9; when the second hash value is 1, the packet D3 is forwarded from the second port P10.
In addition, when the second switch chip receives the message D3, the message D3 may be subsequently forwarded by the message forwarding method shown in fig. 10.
Step S1003, when the second exchange chip receives the message D3, the second exchange chip performs hash according to the message D3 to obtain a second hash value, and when the second hash value is 0 or 1, the message D3 is forwarded from the second port P9.
To sum up, in the stacking system, the PE device, and the message forwarding method provided in this embodiment of the present application, the PE device includes at least two switching chips that are not interconnected with each other, each switching chip includes a first port and a second port, at least one service aggregation port is created on the PE device, and the service aggregation port includes at least two second ports that are not on the same switching chip. The identification of the member port of the target service aggregation port is recorded in each switching chip, wherein the target service aggregation port comprises at least one second port of the switching chip. For the message sent to any forwarding domain, the CB equipment forwards the message to a target switching chip where a member port of the forwarding domain is located; when the identifier of the source port of the message exists in the identifier of the member port of the target service aggregation port recorded by the target switching chip, determining the port belonging to the forwarding domain as the forwarding outlet of the message to forward the message in the ports on the target switching chip except the target service aggregation port comprising the source port. Therefore, on the basis of realizing that the switching chips in the PE equipment are not interconnected, the problem that the flooding message is forwarded from the service aggregation port where the source port is located because the switching chips cannot know whether the second ports which belong to the same service aggregation port as the second ports on the chip exist on other switching chips is solved.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (14)

1. A stacking system is characterized by comprising a PE device and a CB device, wherein the PE device comprises at least two switching chips which are not mutually connected, and each switching chip comprises a first port connected with the CB device and a second port connected with other devices; at least one service aggregation port is created on the PE equipment, and the service aggregation port comprises at least two second ports which are not on the same exchange chip; each switching chip records the identification of a member port of a target service aggregation port, wherein the target service aggregation port is a service aggregation port comprising at least one second port of the switching chip;
when a received message is a broadcast message or an unknown unicast message, the CB device determines a forwarding domain where a source port of the message is located, and forwards the message to a target switching chip where a member port of the forwarding domain is located;
when the identifier of the source port of the packet exists in the identifier of the member port of the target service aggregation port recorded by the target switching chip, the target switching chip determines, in the ports other than the target service aggregation port including the source port, the port belonging to the forwarding domain as the forwarding outlet of the packet.
2. The stacking system of claim 1, wherein the determined forwarding exit of the packet comprises the traffic aggregation port and/or the second port; each switching chip is also recorded with first aggregated hash information of the target service aggregation port, the first aggregated hash information comprises hash values corresponding to second ports belonging to the target service aggregation port on the switching chip, and the hash values corresponding to the second ports belonging to the same target service aggregation port are different; wherein the content of the first and second substances,
and when the determined forwarding outlet of the message comprises a service aggregation port, the target exchange chip performs hash according to the message to obtain a first hash value, and takes a second port corresponding to the first hash value in the service aggregation port as the forwarding outlet of the message when the first hash value exists in the first aggregation hash information of the service aggregation port.
3. The stacking system of claim 1 or 2, wherein for each switch chip on the CB device, a small cascade aggregation port corresponding to the switch chip is created on the CB device, and the small cascade aggregation port comprises a cascade port on the CB device connected to the first port of the switch chip, wherein,
and the CB equipment sends the message to the target switching chip through a small cascade aggregation port corresponding to the target switching chip.
4. The stacking system of claim 3, wherein a large cascaded aggregation port corresponding to the service aggregation ports is further created on the CB device, and the large cascaded aggregation port includes small cascaded aggregation ports corresponding to the switch chips where the second ports of the service aggregation ports are located; wherein the content of the first and second substances,
when the CB equipment determines that an output port of a message to be forwarded is any service aggregation port according to the stored forwarding table item, the CB equipment determines a target large cascade aggregation port corresponding to the service aggregation port, performs hash on the message to be forwarded, determines a small cascade aggregation port for forwarding the message to be forwarded in the target large cascade aggregation port, and forwards the message to be forwarded through the determined small cascade aggregation port.
5. The stacking system of claim 4, wherein each switch chip further records therein second aggregated hash information of the target traffic aggregation port, the second aggregated hash information including a hash value corresponding to a second port on the switch chip belonging to the target traffic aggregation port;
and when any switching chip receives the message to be forwarded sent by the CB device, performing hash according to the message to be forwarded to obtain a second hash value, and taking a second port corresponding to the second hash value in the service aggregation port as a forwarding outlet of the message to be forwarded.
6. The stacking system according to claim 1 or 2, wherein the PE device comprises at least one third port connected to the CB device, the third port is split into at least two upstream ports, at least one of the first ports is connected to the third port on each switch chip, and each of the first ports is connected to one of the upstream ports of the third port;
the CB device includes a fourth port connected to the third port, where the fourth port is split into at least two cascade ports, and the at least two cascade ports are respectively and correspondingly connected to the at least two uplink ports in the third port.
7. The PE device is in communication connection with a CB device, and comprises at least two switching chips which are not mutually connected, wherein each switching chip comprises a first port connected with the CB device and a second port connected with other devices; at least one service aggregation port is created on the PE equipment, and the service aggregation port comprises at least two second ports which are not on the same exchange chip; recording the identification of a member port of a target service aggregation port in each switching chip, wherein the target service aggregation port comprises at least one second port of the switching chip;
when any switching chip of the PE device receives a message flooded to any forwarding domain by the CB device, if the identifier of the source port of the message exists in the identifier of the member port of the target service aggregation port recorded by the switching chip, determining a port belonging to the forwarding domain as a forwarding outlet of the message to forward the message in ports on the switching chip except the target service aggregation port comprising the source port.
8. The PE device according to claim 7, wherein the determined forwarding egress of the packet includes the traffic aggregation port and/or the second port; each switching chip is also recorded with first aggregated hash information of the service aggregation port, wherein the first aggregated hash information comprises a hash value corresponding to a second port belonging to the service aggregation port on the switching chip;
and when the determined forwarding outlet of the message comprises a service aggregation port, the exchange chip performs hash according to the message to obtain a first hash value, and takes a second port corresponding to the first hash value in the service aggregation port as the forwarding outlet of the message when the first hash value exists in the first aggregation hash information of the service aggregation port.
9. The PE device according to claim 7 or 8, wherein each switching chip further records second hash information of the traffic aggregation port, where the second hash information includes a hash value corresponding to a second port belonging to the traffic aggregation port on the switching chip;
and when any exchange chip of the PE equipment receives a message sent by the CB equipment, the output port of which is any service aggregation port, the exchange chip carries out hash according to the message to obtain a second hash value, and a second port corresponding to the second hash value in the service aggregation port is used as a forwarding outlet of the message.
10. A message forwarding method is characterized in that the message forwarding method is applied to a stacking system comprising PE equipment and CB equipment, wherein the PE equipment comprises at least two switching chips which are not mutually connected, and each switching chip comprises a first port connected with the CB equipment and a second port connected with other equipment; at least one service aggregation port is created on the PE equipment, and the service aggregation port comprises at least two second ports which are not on the same exchange chip; recording the identifications of all member ports of a target service aggregation port in each switching chip, wherein the target service aggregation port comprises at least two service aggregation ports which are not located at the second port of the same switching chip; the method comprises the following steps:
when a received message is a broadcast message or an unknown unicast message, the CB device determines a forwarding domain where a source port of the message is located, and forwards the message to a target switching chip where a member port of the forwarding domain is located;
when the identifier of the source port of the packet exists in the identifier of the member port of the target service aggregation port recorded by the target switching chip, the target switching chip determines, in the ports except the target service aggregation port including the source port, the port belonging to the forwarding domain as the forwarding outlet of the packet to forward the packet.
11. The message forwarding method according to claim 10, wherein the determined forwarding outlet of the message includes the traffic aggregation port and/or the second port; each switching chip is also recorded with first aggregated hash information of the target service aggregation port, the first aggregated hash information comprises hash values corresponding to second ports belonging to the target service aggregation port on the switching chip, and the hash values corresponding to the second ports belonging to the same service aggregation port are different; the method further comprises the following steps:
and when the determined forwarding outlet of the message comprises a service aggregation port, the target exchange chip performs hash according to the message to obtain a first hash value, and takes a second port corresponding to the first hash value in the service aggregation port as the forwarding outlet of the message when the first hash value exists in the first aggregation hash information of the service aggregation port.
12. The message forwarding method according to claim 10 or 11, wherein for each switching chip on the CB device, a small cascade aggregation port corresponding to the switching chip is created on the CB device, and the small cascade aggregation port includes a cascade port connected to the first port of the switching chip on the CB device;
the forwarding, by the CB device, the packet to the target switch chip where the member port of the forwarding domain is located includes:
and the CB equipment determines a small cascade aggregation port corresponding to the target switching chip and sends the message to the target switching chip through the small cascade aggregation port.
13. The message forwarding method according to claim 12, wherein a large cascade aggregation port corresponding to the service aggregation port is further created on the CB device, and the large cascade aggregation port includes small cascade aggregation ports corresponding to switch chips where the second ports in the service aggregation ports are located; the method further comprises the following steps:
and when the CB equipment determines that the output port of the message to be forwarded is any service aggregation port according to the stored forwarding table item, the CB equipment determines a target large cascade aggregation port corresponding to the service aggregation port, performs hash on the message, determines a small cascade aggregation port for forwarding the message in the target large cascade aggregation port, and forwards the message through the determined small cascade aggregation port.
14. The message forwarding method according to claim 13, wherein each switching chip further records second aggregated hash information of the target service aggregation port, where the second aggregated hash information includes a hash value corresponding to a second port belonging to the target service aggregation port on the switching chip; the method further comprises the following steps:
and when any switching chip receives the message to be forwarded sent by the CB device, performing hash according to the message to be forwarded to obtain a second hash value, and taking a second port corresponding to the second hash value in the service aggregation port as a forwarding outlet of the message.
CN201810400761.4A 2018-04-28 2018-04-28 Stacking system, PE (provider edge) equipment and message forwarding method Active CN108632176B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810400761.4A CN108632176B (en) 2018-04-28 2018-04-28 Stacking system, PE (provider edge) equipment and message forwarding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810400761.4A CN108632176B (en) 2018-04-28 2018-04-28 Stacking system, PE (provider edge) equipment and message forwarding method

Publications (2)

Publication Number Publication Date
CN108632176A CN108632176A (en) 2018-10-09
CN108632176B true CN108632176B (en) 2021-03-09

Family

ID=63695073

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810400761.4A Active CN108632176B (en) 2018-04-28 2018-04-28 Stacking system, PE (provider edge) equipment and message forwarding method

Country Status (1)

Country Link
CN (1) CN108632176B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112187540B (en) * 2020-09-28 2022-04-26 新华三信息安全技术有限公司 Issuing method of aggregation port configuration and network equipment
CN113114579B (en) * 2021-03-30 2022-03-25 杭州迪普信息技术有限公司 ACL issuing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104780111A (en) * 2015-04-08 2015-07-15 杭州华三通信技术有限公司 Packet forwarding method and device in virtualized network as well as virtualized network
CN104935509A (en) * 2015-04-30 2015-09-23 杭州华三通信技术有限公司 Method and apparatus of avoiding loop generation in vertical stack system
CN107547334A (en) * 2016-06-28 2018-01-05 新华三技术有限公司 A kind of message forwarding method and device
CN107547419A (en) * 2016-06-28 2018-01-05 新华三技术有限公司 One kind extension bridge system and message forwarding method and 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
CN104780111A (en) * 2015-04-08 2015-07-15 杭州华三通信技术有限公司 Packet forwarding method and device in virtualized network as well as virtualized network
CN104935509A (en) * 2015-04-30 2015-09-23 杭州华三通信技术有限公司 Method and apparatus of avoiding loop generation in vertical stack system
CN107547334A (en) * 2016-06-28 2018-01-05 新华三技术有限公司 A kind of message forwarding method and device
CN107547419A (en) * 2016-06-28 2018-01-05 新华三技术有限公司 One kind extension bridge system and message forwarding method and device

Also Published As

Publication number Publication date
CN108632176A (en) 2018-10-09

Similar Documents

Publication Publication Date Title
CN108809836B (en) Multicast data message forwarding method and device
CN110830371B (en) Message redirection method and device, electronic equipment and readable storage medium
US8855117B2 (en) Scalable media access control protocol synchronization techniques for fabric extender based emulated switch deployments
CN108768866B (en) Cross-card forwarding method and device for multicast message, network equipment and readable storage medium
US10469277B2 (en) Multicast group establishment method in fat-tree network, apparatus, and fat-tree network
WO2017181757A1 (en) Packet forwarding method and device
CN102625986A (en) Method, device and network equipment for processing loops in two layer network
EP3402130B1 (en) Information transmission method and device
CN101163093B (en) Method of implementing centralized multicast management on integrated access equipment
CN108737221B (en) Packet loss detection method and communication link system
CN111600797B (en) Data transmission method, node and system
CN109121026B (en) Method and system for realizing VOLT (Voice over Internet protocol) based on logic port
CN108632176B (en) Stacking system, PE (provider edge) equipment and message forwarding method
US10880109B2 (en) Forwarding multicast data packet
WO2020135705A1 (en) Olt device virtualization method, olt device, and computer-readable medium
CN101820606B (en) Authentication and authorization charging server and message processing method
CN103297354B (en) Server interlinkage system, server and data forwarding method
WO2016177180A1 (en) Method and device for reporting openflow switch capability
CN105743780A (en) Message transmission method and device
CN113162855B (en) Multicast message detection method, network equipment and system
CN111107008A (en) Reverse path checking method and device
CN108696459B (en) Stacking system and message forwarding method
CN114760165A (en) Message transmission method, device and system
CN102882761B (en) VPLS realization method
CN102763376B (en) Method and system for common group action filtering in telecom network environments

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