CN105282058A - Path configuration method and device - Google Patents
Path configuration method and device Download PDFInfo
- Publication number
- CN105282058A CN105282058A CN201510583973.7A CN201510583973A CN105282058A CN 105282058 A CN105282058 A CN 105282058A CN 201510583973 A CN201510583973 A CN 201510583973A CN 105282058 A CN105282058 A CN 105282058A
- Authority
- CN
- China
- Prior art keywords
- node switch
- leaf node
- configuration information
- address
- access control
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/25—Routing or path finding in a switch fabric
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a path configuration method and device. The method includes that a first leaf node switch acquires a destination MAC address of a message received by a receiving port; and the first leaf node switch sends the destination MAC address and a port number of the receiving port to the path configuration device. Through the setting of the only corresponding relation of the receiving port of the first leaf node switch and an outlet of a second leaf node switch, data frames received by the receiving port of the first leaf node switch are forwarded to the outlet of the second leaf node switch, a MAC address table is established without the need for the dynamical learning of the MAC address, and when the data frames received by the switches are rapidly increased, an ethernet switch can be prevented from sending a lot of broadcast packets in the short time, channel blocking caused by the broadcast packets can be prevented, and the forwarding efficiency of messages of the ethernet switch can be improved.
Description
Technical field
The embodiment of the present invention relates to communication technical field, particularly relates to a kind of path configuration method and device.
Background technology
In communication technical field, Ethernet switch is the visual plant E-Packeted, Ethernet switch obtains outbound port number corresponding to this target MAC (Media Access Control) address, so that by this message repeating to this outbound port according to the target MAC (Media Access Control) address inquiry mac address table of the message received.
When mac address table not at Ethernet switch of the target MAC (Media Access Control) address of message, Ethernet switch by this message broadcasting in the local area network (LAN) belonging to it, the main frame only in this local area network (LAN) with this target MAC (Media Access Control) address just can respond this broadcast, after Ethernet switch receives response, the port MAC Address of the main frame of response and Ethernet switch being received this response is recorded in mac address table, and namely Ethernet switch sets up mac address table by dynamic learning MAC Address.
When the message that Ethernet switch receives sharply increases, and the target MAC (Media Access Control) address of the message sharply increased is not in this mac address table, then Ethernet switch needs to send a large amount of broadcast packets in a short time, a large amount of broadcast packets causes channel congestion, reduces the forward efficiency of Ethernet switch to message simultaneously.
Summary of the invention
The embodiment of the present invention provides a kind of path configuration method and device, to improve the forward efficiency of Ethernet switch to message.
An aspect of the embodiment of the present invention is to provide a kind of path configuration method, comprising:
First leaf node switch obtains the target MAC (Media Access Control) address of the message that its receiving port receives;
The port numbers of described target MAC (Media Access Control) address and described receiving port is sent to path configurations device by described first leaf node switch, to make described path configurations device according to described target MAC (Media Access Control) address, and issue the first configuration information with the outbound port of unique the second corresponding leaf node switch of the receiving port of described first leaf node switch to described first leaf node switch, the root node switch be jointly connected to described first leaf node switch and described second leaf node switch issues the second configuration information, the 3rd configuration information is issued to described second leaf node switch,
Wherein, described first configuration information comprises described target MAC (Media Access Control) address and the first connectivity port between described first leaf node switch and described root node switch, described second configuration information comprises described target MAC (Media Access Control) address and the second connectivity port between described root node switch and described second leaf node switch, and described 3rd configuration information comprises the port numbers of described target MAC (Media Access Control) address and described outbound port.
Another aspect of the embodiment of the present invention is to provide a kind of path configuration method, comprising:
Path configurations device receives the port numbers of the target MAC (Media Access Control) address of the first leaf node switch transmission and the receiving port of described first leaf node switch, and described target MAC (Media Access Control) address is the target MAC (Media Access Control) address of the message that the receiving port of described first leaf node switch receives;
The root node switch that described path configurations device according to described target MAC (Media Access Control) address, and issues the first configuration information with the outbound port of unique the second corresponding leaf node switch of the receiving port of described first leaf node switch to described first leaf node switch, be jointly connected to described first leaf node switch and described second leaf node switch issues the second configuration information, issues the 3rd configuration information to described second leaf node switch;
Wherein, described first configuration information comprises described target MAC (Media Access Control) address and the first connectivity port between described first leaf node switch and described root node switch, described second configuration information comprises described target MAC (Media Access Control) address and the second connectivity port between described root node switch and described second leaf node switch, and described 3rd configuration information comprises the port numbers of described target MAC (Media Access Control) address and described outbound port.
Another aspect of the embodiment of the present invention is to provide a kind of leaf node switch, comprising:
Acquisition module, for obtaining the target MAC (Media Access Control) address of the message that receiving port receives;
Sending module, for the port numbers of described target MAC (Media Access Control) address and described receiving port is sent to path configurations device, to make described path configurations device according to described target MAC (Media Access Control) address, and issue the first configuration information with the outbound port of unique another the corresponding leaf node switch of the receiving port of described leaf node switch to described leaf node switch, the root node switch that is jointly connected to described leaf node switch and another leaf node switch described issues the second configuration information, issues the 3rd configuration information to another leaf node switch described;
Wherein, described first configuration information comprises described target MAC (Media Access Control) address and the first connectivity port between described leaf node switch and described root node switch, described second configuration information comprises described target MAC (Media Access Control) address and the second connectivity port between described root node switch and another leaf node switch described, and described 3rd configuration information comprises the port numbers of described target MAC (Media Access Control) address and described outbound port.
Another aspect of the embodiment of the present invention is to provide a kind of path configurations device, comprising:
Receiver module, for receiving the port numbers of receiving port of target MAC (Media Access Control) address that the first leaf node switch sends and described first leaf node switch, described target MAC (Media Access Control) address is the target MAC (Media Access Control) address of the message that the receiving port of described first leaf node switch receives;
Configuration information issues module, for according to described target MAC (Media Access Control) address, and issue the first configuration information with the outbound port of unique the second corresponding leaf node switch of the receiving port of described first leaf node switch to described first leaf node switch, the root node switch that is jointly connected to described first leaf node switch and described second leaf node switch issues the second configuration information, issues the 3rd configuration information to described second leaf node switch;
Wherein, described first configuration information comprises described target MAC (Media Access Control) address and the first connectivity port between described first leaf node switch and described root node switch, described second configuration information comprises described target MAC (Media Access Control) address and the second connectivity port between described root node switch and described second leaf node switch, and described 3rd configuration information comprises the port numbers of described target MAC (Media Access Control) address and described outbound port.
Another aspect of the embodiment of the present invention is to provide a kind of path configurations system, comprises described leaf node switch, described path configurations device and another described leaf node switch.
The path configuration method that the embodiment of the present invention provides and device, by the unique corresponding relation of the outbound port of the receiving port and the second leaf node switch that preset the first leaf node switch, the Frame that the receiving port of the first leaf node switch receives all is forwarded to the outbound port of the second leaf node switch, do not need to set up mac address table by dynamic learning MAC Address, when the Frame that switch receives sharply increases, Ethernet switch is avoided to send a large amount of broadcast packets in a short time, prevent a large amount of broadcast packets from causing channel congestion, improve Ethernet switch to the forward efficiency of message.
Accompanying drawing explanation
The path configuration method flow chart that Fig. 1 provides for the embodiment of the present invention;
The network architecture diagram that the path configuration method that Fig. 2 provides for the embodiment of the present invention is suitable for;
The path configuration method flow chart that Fig. 3 provides for another embodiment of the present invention;
The structure chart of the leaf node switch that Fig. 4 provides for the embodiment of the present invention;
The structure chart of the leaf node switch that Fig. 5 provides for another embodiment of the present invention;
The structure chart of the path configurations device that Fig. 6 provides for the embodiment of the present invention;
The structure chart of the path configurations device that Fig. 7 provides for another embodiment of the present invention;
The structure chart of the path configurations system that Fig. 8 provides for the embodiment of the present invention.
Embodiment
The path configuration method flow chart that Fig. 1 provides for the embodiment of the present invention; The network architecture diagram that the path configuration method that Fig. 2 provides for the embodiment of the present invention is suitable for.When the embodiment of the present invention sharply increases for the message that Ethernet switch receives, and the target MAC (Media Access Control) address of the message sharply increased is not in this mac address table, then Ethernet switch needs to send a large amount of broadcast packets in a short time, a large amount of broadcast packets causes channel congestion, reduce the forward efficiency of Ethernet switch to message simultaneously, provide path configuration method, the concrete steps of the method are as follows:
Step S101, the first leaf node switch obtain the target MAC (Media Access Control) address of the message that its receiving port receives;
As shown in Figure 2, the network architecture that the embodiment of the present invention is suitable for comprises path configurations device 21, root node switch M20, root node switch N22, leaf node switch A 23, leaf node switch b 24, leaf node switch C25 and leaf node switch D26, wherein, each leaf node switch includes 3 ports and is respectively port one, port 2 and port 3, the embodiment of the present invention does not limit the number of leaf node switch, the port number of each leaf node switch, and the number of root node switch.
In embodiments of the present invention, first leaf node switch and the second leaf node switch are specially any two different switches in leaf node switch A 23, leaf node switch b 24, leaf node switch C25 and leaf node switch D26, and root node switch M20 and root node switch N22 are connected with leaf node switch A 23, leaf node switch b 24, leaf node switch C25 and leaf node switch D26 respectively.Path configurations device 21 prestores ports having correspondence table, this port correspondence table comprises multiple list item, each list item comprises the receiving port of the first leaf node switch and the outbound port with unique the second corresponding leaf node switch of the receiving port of this first leaf node switch, in the embodiment of the present invention, the list item comprising the port one of leaf node switch A and the port 3 of leaf node switch D is there is in the port correspondence table that path configurations device 21 prestores, the i.e. port one of leaf node switch A and the port 3 one-tenth unique corresponding relation of leaf node switch D.
In embodiments of the present invention, first leaf node switch is leaf node switch A, second leaf node switch is leaf node switch D, the receiving port of leaf node switch A is port one, the outbound port of leaf node switch D is port 3, then when the port one of leaf node switch A receives message, then leaf node switch A first obtains the target MAC (Media Access Control) address of this message, and this message is preferably Ethernet message.
Step S102, the port numbers of described target MAC (Media Access Control) address and described receiving port is sent to path configurations device by described first leaf node switch, to make described path configurations device according to described target MAC (Media Access Control) address, and issue the first configuration information with the outbound port of unique the second corresponding leaf node switch of the receiving port of described first leaf node switch to described first leaf node switch, the root node switch be jointly connected to described first leaf node switch and described second leaf node switch issues the second configuration information, the 3rd configuration information is issued to described second leaf node switch,
Wherein, described first configuration information comprises described target MAC (Media Access Control) address and the first connectivity port between described first leaf node switch and described root node switch, described second configuration information comprises described target MAC (Media Access Control) address and the second connectivity port between described root node switch and described second leaf node switch, and described 3rd configuration information comprises the port numbers of described target MAC (Media Access Control) address and described outbound port.
The port numbers of the port one of the target MAC (Media Access Control) address and leaf node switch A that get message is sent to path configurations device by leaf node switch A, path configurations device is according to the unique corresponding relation of the port 3 of the port one of leaf node switch A and leaf node switch D, the first configuration information is issued to leaf node switch A, the root node switch M20 be jointly connected to leaf node switch A and leaf node switch D and root node switch N22 issues the second configuration information, and issues the 3rd configuration information to leaf node switch D.
Wherein, the first configuration information comprises this target MAC (Media Access Control) address, and the connectivity port MA between leaf node switch A and root node switch M or the connectivity port NA between leaf node switch A and root node switch N; Second configuration information comprises this target MAC (Media Access Control) address, and the connectivity port MD between leaf node switch D and root node switch M or the connectivity port ND between leaf node switch D and root node switch N; 3rd configuration information comprises this target MAC (Media Access Control) address, and the port numbers of the port 3 of leaf node switch D.
The embodiment of the present invention is by the unique corresponding relation of the outbound port of the receiving port and the second leaf node switch that preset the first leaf node switch, the Frame that the receiving port of the first leaf node switch receives all is forwarded to the outbound port of the second leaf node switch, do not need to set up mac address table by dynamic learning MAC Address, when the Frame that switch receives sharply increases, Ethernet switch is avoided to send a large amount of broadcast packets in a short time, prevent a large amount of broadcast packets from causing channel congestion, improve Ethernet switch to the forward efficiency of message.
On the basis of above-described embodiment, before the port numbers of described target MAC (Media Access Control) address and described receiving port is sent to path configurations device by described first leaf node switch, also comprise: described first leaf node switch, according to the mac address table stored in the described first leaf node switch of described target MAC (Media Access Control) address inquiry, knows that described mac address table does not exist list item corresponding to described target MAC (Media Access Control) address.
After leaf node switch A gets the target MAC (Media Access Control) address of message, first the mac address table of oneself is inquired about, judge in this mac address table, whether to there is the list item comprising this target MAC (Media Access Control) address, if no, then the port numbers of the port one of the target MAC (Media Access Control) address and leaf node switch A that get message is sent to path configurations device.
After the port numbers of described target MAC (Media Access Control) address and described receiving port is sent to path configurations device by described first leaf node switch, also comprise: described message is sent to described root node switch according to described first configuration information by described first leaf node switch, to make described root node switch, according to described second configuration information, described message be sent to described second leaf node switch, and make described second leaf node switch, according to described 3rd configuration information, described message is sent to described outbound port.
After leaf node switch A receives the first configuration information that path configurations device issues, according to the target MAC (Media Access Control) address of message, this message is sent to root node switch M by connectivity port MA or sends to root node switch N by connectivity port NA, if message is sent to root node switch M by leaf node switch A, then this message is sent to leaf node switch D by connectivity port MD according to the second configuration information by root node switch M, if message is sent to root node switch N by leaf node switch A, then this message is sent to leaf node switch D by connectivity port ND according to the second configuration information by root node switch N.After leaf node switch D receives this message, according to the 3rd configuration information, this message is sent to the port 3 of leaf node switch D, to make the port 3 of leaf node switch D, this message is sent.
The embodiment of the present invention passes through path configurations device to the first leaf node switch, second leaf node switch, the root node switch that first leaf node switch is connected jointly with the second leaf node switch issues configuration information, to make the first leaf node switch, second leaf node switch, the message that the receiving port of the first leaf node switch receives is sent to the outbound port of corresponding second leaf node switch unique with the receiving port of the first leaf node switch according to configuration information by root node switch, do not need to set up mac address table by dynamic learning MAC Address, when the Frame that switch receives sharply increases, Ethernet switch is avoided to send a large amount of broadcast packets in a short time, prevent a large amount of broadcast packets from causing channel congestion, improve Ethernet switch to the forward efficiency of message.
The path configuration method flow chart that Fig. 3 provides for another embodiment of the present invention.When the embodiment of the present invention sharply increases for the message that Ethernet switch receives, and the target MAC (Media Access Control) address of the message sharply increased is not in this mac address table, then Ethernet switch needs to send a large amount of broadcast packets in a short time, a large amount of broadcast packets causes channel congestion, reduce the forward efficiency of Ethernet switch to message simultaneously, provide path configuration method, the concrete steps of the method are as follows:
Step S301, path configurations device receive the port numbers of the target MAC (Media Access Control) address of the first leaf node switch transmission and the receiving port of described first leaf node switch, and described target MAC (Media Access Control) address is the target MAC (Media Access Control) address of the message that the receiving port of described first leaf node switch receives;
As shown in Figure 2, the network architecture that the embodiment of the present invention is suitable for comprises path configurations device 21, root node switch M20, root node switch N22, leaf node switch A 23, leaf node switch b 24, leaf node switch C25 and leaf node switch D26, wherein, each leaf node switch includes 3 ports and is respectively port one, port 2 and port 3, the embodiment of the present invention does not limit the number of leaf node switch, the port number of each leaf node switch, and the number of root node switch.
In embodiments of the present invention, first leaf node switch and the second leaf node switch are specially any two different switches in leaf node switch A 23, leaf node switch b 24, leaf node switch C25 and leaf node switch D26, and root node switch M20 and root node switch N22 are connected with leaf node switch A 23, leaf node switch b 24, leaf node switch C25 and leaf node switch D26 respectively.Path configurations device 21 prestores ports having correspondence table, this port correspondence table comprises multiple list item, each list item comprises the receiving port of the first leaf node switch and the outbound port with unique the second corresponding leaf node switch of the receiving port of this first leaf node switch, in the embodiment of the present invention, the list item comprising the port one of leaf node switch A and the port 3 of leaf node switch D is there is in the port correspondence table that path configurations device 21 prestores, the i.e. port one of leaf node switch A and the port 3 one-tenth unique corresponding relation of leaf node switch D.
In embodiments of the present invention, first leaf node switch is leaf node switch A, second leaf node switch is leaf node switch D, the receiving port of leaf node switch A is port one, the outbound port of leaf node switch D is port 3, then when the port one of leaf node switch A receives message, then leaf node switch A first obtains the target MAC (Media Access Control) address of this message, and this message is preferably Ethernet message.
The root node switch that step S302, described path configurations device according to described target MAC (Media Access Control) address, and issue the first configuration information with the outbound port of unique the second corresponding leaf node switch of the receiving port of described first leaf node switch to described first leaf node switch, be jointly connected to described first leaf node switch and described second leaf node switch issues the second configuration information, issues the 3rd configuration information to described second leaf node switch;
Wherein, described first configuration information comprises described target MAC (Media Access Control) address and the first connectivity port between described first leaf node switch and described root node switch, described second configuration information comprises described target MAC (Media Access Control) address and the second connectivity port between described root node switch and described second leaf node switch, and described 3rd configuration information comprises the port numbers of described target MAC (Media Access Control) address and described outbound port.
The port numbers of the port one of the target MAC (Media Access Control) address and leaf node switch A that get message is sent to path configurations device by leaf node switch A, path configurations device is according to the unique corresponding relation of the port 3 of the port one of leaf node switch A and leaf node switch D, the first configuration information is issued to leaf node switch A, the root node switch M20 be jointly connected to leaf node switch A and leaf node switch D and root node switch N22 issues the second configuration information, and issues the 3rd configuration information to leaf node switch D.
Wherein, the first configuration information comprises this target MAC (Media Access Control) address, and the connectivity port MA between leaf node switch A and root node switch M or the connectivity port NA between leaf node switch A and root node switch N; Second configuration information comprises this target MAC (Media Access Control) address, and the connectivity port MD between leaf node switch D and root node switch M or the connectivity port ND between leaf node switch D and root node switch N; 3rd configuration information comprises this target MAC (Media Access Control) address, and the port numbers of the port 3 of leaf node switch D.
The embodiment of the present invention is by the unique corresponding relation of the outbound port of the receiving port and the second leaf node switch that preset the first leaf node switch, the Frame that the receiving port of the first leaf node switch receives all is forwarded to the outbound port of the second leaf node switch, do not need to set up mac address table by dynamic learning MAC Address, when the Frame that switch receives sharply increases, Ethernet switch is avoided to send a large amount of broadcast packets in a short time, prevent a large amount of broadcast packets from causing channel congestion, improve Ethernet switch to the forward efficiency of message.
On the basis of above-described embodiment, described path configurations device is according to described target MAC (Media Access Control) address, and issue the first configuration information with the outbound port of unique the second corresponding leaf node switch of the receiving port of described first leaf node switch to described first leaf node switch, the root node switch that is jointly connected to described first leaf node switch and described second leaf node switch issues the second configuration information, to after described second leaf node switch issues the 3rd configuration information, also comprise:
Described root node switch receives the described message that described first leaf node switch sends according to described first configuration information; Described message is sent to described second leaf node switch according to described second configuration information by described root node switch, according to described 3rd configuration information, described message is sent to described outbound port to make described second leaf node switch.
After leaf node switch A receives the first configuration information that path configurations device issues, according to the target MAC (Media Access Control) address of message, this message is sent to root node switch M by connectivity port MA or sends to root node switch N by connectivity port NA, if message is sent to root node switch M by leaf node switch A, then this message is sent to leaf node switch D by connectivity port MD according to the second configuration information by root node switch M, if message is sent to root node switch N by leaf node switch A, then this message is sent to leaf node switch D by connectivity port ND according to the second configuration information by root node switch N.After leaf node switch D receives this message, according to the 3rd configuration information, this message is sent to the port 3 of leaf node switch D, to make the port 3 of leaf node switch D, this message is sent.
The embodiment of the present invention passes through path configurations device to the first leaf node switch, second leaf node switch, the root node switch that first leaf node switch is connected jointly with the second leaf node switch issues configuration information, to make the first leaf node switch, second leaf node switch, the message that the receiving port of the first leaf node switch receives is sent to the outbound port of corresponding second leaf node switch unique with the receiving port of the first leaf node switch according to configuration information by root node switch, do not need to set up mac address table by dynamic learning MAC Address, when the Frame that switch receives sharply increases, Ethernet switch is avoided to send a large amount of broadcast packets in a short time, prevent a large amount of broadcast packets from causing channel congestion, improve Ethernet switch to the forward efficiency of message.
The structure chart of the leaf node switch that Fig. 4 provides for the embodiment of the present invention.The leaf node switch that the embodiment of the present invention provides can the handling process that provides of execution route collocation method embodiment, as shown in Figure 4, leaf node switch 40 comprises acquisition module 41 and sending module 42, wherein, the target MAC (Media Access Control) address of message of acquisition module 41 for obtaining receiving port and receiving; Sending module 42 is for sending to path configurations device by the port numbers of described target MAC (Media Access Control) address and described receiving port, to make described path configurations device according to described target MAC (Media Access Control) address, and issue the first configuration information with the outbound port of unique another the corresponding leaf node switch of the receiving port of described leaf node switch to described leaf node switch, the root node switch that is jointly connected to described leaf node switch and another leaf node switch described issues the second configuration information, issues the 3rd configuration information to another leaf node switch described;
Wherein, described first configuration information comprises described target MAC (Media Access Control) address and the first connectivity port between described leaf node switch and described root node switch, described second configuration information comprises described target MAC (Media Access Control) address and the second connectivity port between described root node switch and another leaf node switch described, and described 3rd configuration information comprises the port numbers of described target MAC (Media Access Control) address and described outbound port.
The embodiment of the present invention is by the unique corresponding relation of the outbound port of the receiving port and another leaf node switch that preset leaf node switch, the Frame received by the receiving port of leaf node switch is all forwarded to the outbound port of another leaf node switch, do not need to set up mac address table by dynamic learning MAC Address, when the Frame that switch receives sharply increases, Ethernet switch is avoided to send a large amount of broadcast packets in a short time, prevent a large amount of broadcast packets from causing channel congestion, improve Ethernet switch to the forward efficiency of message.
The structure chart of the leaf node switch that Fig. 5 provides for another embodiment of the present invention.On the basis of above-described embodiment, leaf node switch 40 also comprises enquiry module 43, enquiry module 43, for inquiring about the mac address table stored in described leaf node switch according to described target MAC (Media Access Control) address, knows that described mac address table does not exist list item corresponding to described target MAC (Media Access Control) address; Sending module 42 is also for sending to described root node switch according to described first configuration information by described message, to make described root node switch, according to described second configuration information, described message be sent to another leaf node switch described, and make another leaf node switch described, according to described 3rd configuration information, described message is sent to described outbound port.
The leaf node switch that the embodiment of the present invention provides can specifically for performing the embodiment of the method that above-mentioned Fig. 1 provides, and concrete function repeats no more herein.
The embodiment of the present invention passes through path configurations device to leaf node switch, another leaf node switch, the root node switch that leaf node switch is connected jointly with another leaf node switch issues configuration information, to make leaf node switch, another leaf node switch, the message that the receiving port of leaf node switch receives is sent to the outbound port of corresponding another leaf node switch unique with the receiving port of leaf node switch according to configuration information by root node switch, do not need to set up mac address table by dynamic learning MAC Address, when the Frame that switch receives sharply increases, Ethernet switch is avoided to send a large amount of broadcast packets in a short time, prevent a large amount of broadcast packets from causing channel congestion, improve Ethernet switch to the forward efficiency of message.
The structure chart of the path configurations device that Fig. 6 provides for the embodiment of the present invention.The path configurations device that the embodiment of the present invention provides can the handling process that provides of execution route collocation method embodiment, as shown in Figure 6, path configurations device 60 comprises receiver module 61 and configuration information issues module 62, wherein, receiver module 61 is for the port numbers of receiving port of the target MAC (Media Access Control) address that receives the first leaf node switch and send and described first leaf node switch, and described target MAC (Media Access Control) address is the target MAC (Media Access Control) address of the message that the receiving port of described first leaf node switch receives; Configuration information issues module 62 for according to described target MAC (Media Access Control) address, and issue the first configuration information with the outbound port of unique the second corresponding leaf node switch of the receiving port of described first leaf node switch to described first leaf node switch, the root node switch that is jointly connected to described first leaf node switch and described second leaf node switch issues the second configuration information, issues the 3rd configuration information to described second leaf node switch;
Wherein, described first configuration information comprises described target MAC (Media Access Control) address and the first connectivity port between described first leaf node switch and described root node switch, described second configuration information comprises described target MAC (Media Access Control) address and the second connectivity port between described root node switch and described second leaf node switch, and described 3rd configuration information comprises the port numbers of described target MAC (Media Access Control) address and described outbound port.
The embodiment of the present invention is by the unique corresponding relation of the outbound port of the receiving port and the second leaf node switch that preset the first leaf node switch, the Frame that the receiving port of the first leaf node switch receives all is forwarded to the outbound port of the second leaf node switch, do not need to set up mac address table by dynamic learning MAC Address, when the Frame that switch receives sharply increases, Ethernet switch is avoided to send a large amount of broadcast packets in a short time, prevent a large amount of broadcast packets from causing channel congestion, improve Ethernet switch to the forward efficiency of message.
The structure chart of the path configurations device that Fig. 7 provides for another embodiment of the present invention.On the basis of above-described embodiment, receiver module 61 is also for receiving the described message that described first leaf node switch sends according to described first configuration information; Path configurations device 60 also comprises sending module 63, described message, for described message being sent to described second leaf node switch according to described second configuration information, is sent to described outbound port to make described second leaf node switch according to described 3rd configuration information by sending module 63.
The path configurations device that the embodiment of the present invention provides can specifically for performing the embodiment of the method that above-mentioned Fig. 3 provides, and concrete function repeats no more herein.
The embodiment of the present invention passes through path configurations device to the first leaf node switch, second leaf node switch, the root node switch that first leaf node switch is connected jointly with the second leaf node switch issues configuration information, to make the first leaf node switch, second leaf node switch, the message that the receiving port of the first leaf node switch receives is sent to the outbound port of corresponding second leaf node switch unique with the receiving port of the first leaf node switch according to configuration information by root node switch, do not need to set up mac address table by dynamic learning MAC Address, when the Frame that switch receives sharply increases, Ethernet switch is avoided to send a large amount of broadcast packets in a short time, prevent a large amount of broadcast packets from causing channel congestion, improve Ethernet switch to the forward efficiency of message.
The structure chart of the path configurations system that Fig. 8 provides for the embodiment of the present invention.The path configurations system that the embodiment of the present invention provides can the handling process that provides of execution route collocation method embodiment, as shown in Figure 8, path configurations system 80 comprises another leaf node switch 81 in the leaf node switch 40 in above-described embodiment, the path configurations device 60 in above-described embodiment and above-described embodiment.
The path configurations system that the embodiment of the present invention provides can the handling process that provides of execution route collocation method embodiment.
In sum, the embodiment of the present invention is by the unique corresponding relation of the outbound port of the receiving port and the second leaf node switch that preset the first leaf node switch, the Frame that the receiving port of the first leaf node switch receives all is forwarded to the outbound port of the second leaf node switch, do not need to set up mac address table by dynamic learning MAC Address, when the Frame that switch receives sharply increases, Ethernet switch is avoided to send a large amount of broadcast packets in a short time, prevent a large amount of broadcast packets from causing channel congestion, improve Ethernet switch to the forward efficiency of message, by path configurations device to the first leaf node switch, second leaf node switch, the root node switch that first leaf node switch is connected jointly with the second leaf node switch issues configuration information, to make the first leaf node switch, second leaf node switch, the message that the receiving port of the first leaf node switch receives is sent to the outbound port of corresponding second leaf node switch unique with the receiving port of the first leaf node switch according to configuration information by root node switch, do not need to set up mac address table by dynamic learning MAC Address, when the Frame that switch receives sharply increases, Ethernet switch is avoided to send a large amount of broadcast packets in a short time, prevent a large amount of broadcast packets from causing channel congestion, improve Ethernet switch to the forward efficiency of message.
In several embodiment provided by the present invention, should be understood that, disclosed apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add SFU software functional unit realizes.
The above-mentioned integrated unit realized with the form of SFU software functional unit, can be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) perform the part steps of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (Read-OnlyMemory, ROM), random access memory (RandomAccessMemory, RAM), magnetic disc or CD etc. various can be program code stored medium.
Those skilled in the art can be well understood to, for convenience and simplicity of description, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by device is divided into different functional modules, to complete all or part of function described above.The specific works process of the device of foregoing description, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.
Claims (10)
1. a path configuration method, is characterized in that, comprising:
First leaf node switch obtains the target MAC (Media Access Control) address of the message that its receiving port receives;
The port numbers of described target MAC (Media Access Control) address and described receiving port is sent to path configurations device by described first leaf node switch, to make described path configurations device according to described target MAC (Media Access Control) address, and issue the first configuration information with the outbound port of unique the second corresponding leaf node switch of the receiving port of described first leaf node switch to described first leaf node switch, the root node switch be jointly connected to described first leaf node switch and described second leaf node switch issues the second configuration information, the 3rd configuration information is issued to described second leaf node switch,
Wherein, described first configuration information comprises described target MAC (Media Access Control) address and the first connectivity port between described first leaf node switch and described root node switch, described second configuration information comprises described target MAC (Media Access Control) address and the second connectivity port between described root node switch and described second leaf node switch, and described 3rd configuration information comprises the port numbers of described target MAC (Media Access Control) address and described outbound port.
2. method according to claim 1, is characterized in that, described first leaf node switch also comprises before the port numbers of described target MAC (Media Access Control) address and described receiving port is sent to path configurations device:
Described first leaf node switch, according to the mac address table stored in the described first leaf node switch of described target MAC (Media Access Control) address inquiry, knows that described mac address table does not exist list item corresponding to described target MAC (Media Access Control) address.
3. method according to claim 2, is characterized in that, described first leaf node switch also comprises after the port numbers of described target MAC (Media Access Control) address and described receiving port is sent to path configurations device:
Described message is sent to described root node switch according to described first configuration information by described first leaf node switch, to make described root node switch, according to described second configuration information, described message be sent to described second leaf node switch, and make described second leaf node switch, according to described 3rd configuration information, described message is sent to described outbound port.
4. a path configuration method, is characterized in that, comprising:
Path configurations device receives the port numbers of the target MAC (Media Access Control) address of the first leaf node switch transmission and the receiving port of described first leaf node switch, and described target MAC (Media Access Control) address is the target MAC (Media Access Control) address of the message that the receiving port of described first leaf node switch receives;
The root node switch that described path configurations device according to described target MAC (Media Access Control) address, and issues the first configuration information with the outbound port of unique the second corresponding leaf node switch of the receiving port of described first leaf node switch to described first leaf node switch, be jointly connected to described first leaf node switch and described second leaf node switch issues the second configuration information, issues the 3rd configuration information to described second leaf node switch;
Wherein, described first configuration information comprises described target MAC (Media Access Control) address and the first connectivity port between described first leaf node switch and described root node switch, described second configuration information comprises described target MAC (Media Access Control) address and the second connectivity port between described root node switch and described second leaf node switch, and described 3rd configuration information comprises the port numbers of described target MAC (Media Access Control) address and described outbound port.
5. method according to claim 4, it is characterized in that, described path configurations device is according to described target MAC (Media Access Control) address, and issue the first configuration information with the outbound port of unique the second corresponding leaf node switch of the receiving port of described first leaf node switch to described first leaf node switch, the root node switch that is jointly connected to described first leaf node switch and described second leaf node switch issues the second configuration information, to after described second leaf node switch issues the 3rd configuration information, also comprise:
Described root node switch receives the described message that described first leaf node switch sends according to described first configuration information;
Described message is sent to described second leaf node switch according to described second configuration information by described root node switch, according to described 3rd configuration information, described message is sent to described outbound port to make described second leaf node switch.
6. a leaf node switch, is characterized in that, comprising:
Acquisition module, for obtaining the target MAC (Media Access Control) address of the message that receiving port receives;
Sending module, for the port numbers of described target MAC (Media Access Control) address and described receiving port is sent to path configurations device, to make described path configurations device according to described target MAC (Media Access Control) address, and issue the first configuration information with the outbound port of unique another the corresponding leaf node switch of the receiving port of described leaf node switch to described leaf node switch, the root node switch that is jointly connected to described leaf node switch and another leaf node switch described issues the second configuration information, issues the 3rd configuration information to another leaf node switch described;
Wherein, described first configuration information comprises described target MAC (Media Access Control) address and the first connectivity port between described leaf node switch and described root node switch, described second configuration information comprises described target MAC (Media Access Control) address and the second connectivity port between described root node switch and another leaf node switch described, and described 3rd configuration information comprises the port numbers of described target MAC (Media Access Control) address and described outbound port.
7. leaf node switch according to claim 6, is characterized in that, also comprise:
Enquiry module, for inquiring about the mac address table stored in described leaf node switch according to described target MAC (Media Access Control) address, knows that described mac address table does not exist list item corresponding to described target MAC (Media Access Control) address;
Described sending module is also for sending to described root node switch according to described first configuration information by described message, to make described root node switch, according to described second configuration information, described message be sent to another leaf node switch described, and make another leaf node switch described, according to described 3rd configuration information, described message is sent to described outbound port.
8. a path configurations device, is characterized in that, comprising:
Receiver module, for receiving the port numbers of receiving port of target MAC (Media Access Control) address that the first leaf node switch sends and described first leaf node switch, described target MAC (Media Access Control) address is the target MAC (Media Access Control) address of the message that the receiving port of described first leaf node switch receives;
Configuration information issues module, for according to described target MAC (Media Access Control) address, and issue the first configuration information with the outbound port of unique the second corresponding leaf node switch of the receiving port of described first leaf node switch to described first leaf node switch, the root node switch that is jointly connected to described first leaf node switch and described second leaf node switch issues the second configuration information, issues the 3rd configuration information to described second leaf node switch;
Wherein, described first configuration information comprises described target MAC (Media Access Control) address and the first connectivity port between described first leaf node switch and described root node switch, described second configuration information comprises described target MAC (Media Access Control) address and the second connectivity port between described root node switch and described second leaf node switch, and described 3rd configuration information comprises the port numbers of described target MAC (Media Access Control) address and described outbound port.
9. path configurations device according to claim 8, is characterized in that, described receiver module is also for receiving the described message that described first leaf node switch sends according to described first configuration information;
Described path configurations device also comprises sending module, for described message being sent to described second leaf node switch according to described second configuration information, according to described 3rd configuration information, described message is sent to described outbound port to make described second leaf node switch.
10. a path configurations system, is characterized in that, comprises leaf node switch as claimed in claims 6 or 7, path configurations device, and another leaf node switch described as claimed in claim 8 or 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510583973.7A CN105282058A (en) | 2015-09-14 | 2015-09-14 | Path configuration method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510583973.7A CN105282058A (en) | 2015-09-14 | 2015-09-14 | Path configuration method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105282058A true CN105282058A (en) | 2016-01-27 |
Family
ID=55150407
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510583973.7A Pending CN105282058A (en) | 2015-09-14 | 2015-09-14 | Path configuration method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105282058A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018045949A1 (en) * | 2016-09-08 | 2018-03-15 | 华为技术有限公司 | Message transmission method, device and network system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130128746A1 (en) * | 2011-11-22 | 2013-05-23 | Kiran Yedavalli | Mechanism for packet forwarding using switch pools in flow- based, split-architecture networks |
CN103888369A (en) * | 2014-04-10 | 2014-06-25 | 何顺民 | Ethernet communication method and system and SDN exchanger |
CN104660469A (en) * | 2015-02-15 | 2015-05-27 | 华为技术有限公司 | Layer-2 network connectivity detecting method and associated equipment |
CN104869058A (en) * | 2015-06-04 | 2015-08-26 | 北京京东尚科信息技术有限公司 | Method and device for transmitting data message |
-
2015
- 2015-09-14 CN CN201510583973.7A patent/CN105282058A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130128746A1 (en) * | 2011-11-22 | 2013-05-23 | Kiran Yedavalli | Mechanism for packet forwarding using switch pools in flow- based, split-architecture networks |
CN103888369A (en) * | 2014-04-10 | 2014-06-25 | 何顺民 | Ethernet communication method and system and SDN exchanger |
CN104660469A (en) * | 2015-02-15 | 2015-05-27 | 华为技术有限公司 | Layer-2 network connectivity detecting method and associated equipment |
CN104869058A (en) * | 2015-06-04 | 2015-08-26 | 北京京东尚科信息技术有限公司 | Method and device for transmitting data message |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018045949A1 (en) * | 2016-09-08 | 2018-03-15 | 华为技术有限公司 | Message transmission method, device and network system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10389825B2 (en) | Network device identification in an industrial control network | |
EP2947907A1 (en) | Startup configuration method in base station, base station and server | |
CN101924699B (en) | Message forwarding method, system and provider edge equipment | |
US10652145B2 (en) | Managing data frames in switched networks | |
CN103944828A (en) | Method and equipment for transmitting protocol messages | |
CN103401786A (en) | Method, device and system for establishing network topology, controlling path and transmitting message | |
CN104426680A (en) | Data transmission method, device and system | |
CN103746944A (en) | Stacking realization method and stackable equipment | |
CN103931162A (en) | Method for processing service and network equipment | |
CN104301141A (en) | Method, device and system for storing configuration information | |
EP3522463A1 (en) | Method and software-defined networking (sdn) controller for providing multicast service | |
CN104796336A (en) | Methods and devices for configuring and issuing Open Flow items | |
CN104301446B (en) | A kind of message processing method, switch device and system | |
CN105812221A (en) | Data transmission device and method in virtual extensible local area network | |
CN105227453A (en) | Message forwarding method and device | |
EP3253030B1 (en) | Method and device for reporting openflow switch capability | |
CN103503413A (en) | Method and device for transmitting network information | |
CN103795635A (en) | Processing method, device and system for controlling message broadcast | |
CN104754521A (en) | Message transmitting method, wireless access point, wireless controller and system | |
CN105471651A (en) | VLAN synchronization method in two-layer network, local switch and remote switch | |
CN105450432A (en) | Method for positioning port connection error and associated equipment | |
CN105282058A (en) | Path configuration method and device | |
CN104038550A (en) | Data communication method and data communication device and storage system | |
CN102904803A (en) | Message transmission method and equipment | |
WO2015141014A1 (en) | Method of constructing software-defined pci express (pci-e) switch |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160127 |
|
RJ01 | Rejection of invention patent application after publication |