CN107493245A - The board and stream compression forwarding method of interchanger - Google Patents
The board and stream compression forwarding method of interchanger Download PDFInfo
- Publication number
- CN107493245A CN107493245A CN201710867288.6A CN201710867288A CN107493245A CN 107493245 A CN107493245 A CN 107493245A CN 201710867288 A CN201710867288 A CN 201710867288A CN 107493245 A CN107493245 A CN 107493245A
- Authority
- CN
- China
- Prior art keywords
- data flow
- address
- exchange chip
- mac
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/15—Interconnection of switching modules
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/10—Mapping addresses of different types
- H04L61/103—Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of board of interchanger and stream compression forwarding method, the board includes the first exchange chip and the second exchange chip, inline port between the fiber port and board of the first exchange chip connection board, connected between first exchange chip and the second exchange chip by inline port in board, the bandwidth of first exchange chip exceedes given threshold, and the capacity of second exchange chip exceedes given threshold.In the program, because the bandwidth of the first exchange chip is more than the first given threshold, the capacity of second exchange chip is more than the second given threshold, therefore, Large Copacity and the exchange board of high bandwidth can be realized with relatively low cost, and by the design of two or three layers of forwarding separation, realize being substantially improved for board exchange capacity.
Description
Technical field
The present invention relates to communication technical field, the board and stream compression forwarding method of espespecially a kind of interchanger.
Background technology
Interchanger is the network equipment being commonly used in the current network architecture, and board refers to be used for data forwarding on interchanger
Board, the exchange chip on board preserves media access control (the Media Access that determination data circulation sends mouth
Control, MAC) address table and address resolution protocol (Address ResolutionProtocol, ARP) forward table, exchange
The forwarding performance of chip also determines the bandwidth for exchanging board.
Wherein, exchange capacity refers to the total number of users that can be supported on board, that is, the MAC for the user that can be stored
Location and the quantity of ARP, as the high speed of central processing unit (Central Processing Unit, CPU) and internal memory is sent out
Exhibition, exchange capacity are primarily limited to the hardware capabilities of exchange chip;Exchange the data volume that bandwidth is the maximum throughput between board.
Current exchange chip, the choice according to usage scenario difference and to exchange capacity and exchange bandwidth, is derived
Two kinds of typical series:Large Copacity bandwidth in general exchange chip (abbreviation Large Copacity exchange chip) and high-bandwidth capacity in general
Exchange chip (abbreviation high bandwidth exchange chip), this, which results in current board, can not meet Large Copacity and the need of high bandwidth simultaneously
Ask;And can meet that Large Copacity and can meets the exchange chip of high bandwidth requirements, usual price is again costly.Therefore, at present
Need badly a kind of cheap while meeting Large Copacity and the board of high bandwidth requirements.
The content of the invention
The embodiment of the present invention provides a kind of board and stream compression forwarding method of interchanger, to provide a kind of price just
Preferably while meeting Large Copacity and the board of high bandwidth requirements.
According to embodiments of the present invention, there is provided a kind of board of interchanger, including the first exchange chip and the second exchange chip,
Inline port between the fiber port and board of the first exchange chip connection board, first exchange chip and second
Connected between exchange chip by inline port in board, the bandwidth of first exchange chip is more than the first given threshold, institute
The capacity of the second exchange chip is stated more than the second given threshold, wherein:
First exchange chip, after receiving data flow, according to the purpose media access control MAC of the data flow
Address determines whether the data flow being sent to second exchange chip, however, it is determined that is not sent to the data flow described
Second exchange chip, then the data flow is forwarded according to the target MAC (Media Access Control) address of the data flow and mac address table;If it is determined that will
After the data flow is sent to second exchange chip, then the data flow is sent to second exchange chip;
Second exchange chip, after the data flow sent for receiving first exchange chip, base area
Location analysis protocol ARP forward tables, the purpose internet protocol address of the data flow and target MAC (Media Access Control) address forward the data
Stream.
Specifically, first exchange chip, is specifically used for:
Determine the data flow target MAC (Media Access Control) address whether be the interchanger MAC Address;
If the target MAC (Media Access Control) address of the data flow is the MAC Address of the interchanger, the stream compression is issued into institute
State the second exchange chip;
If the target MAC (Media Access Control) address of the data flow is not the MAC Address of the interchanger, according to the mesh of the data flow
MAC Address from MAC Address list lookup described in data flow outlet, the data are forwarded by the outlet of the data flow
Stream.
Specifically, second exchange chip, is specifically used for:
Receive the data flow that first exchange chip is sent;
Obtain the purpose IP address and target MAC (Media Access Control) address of the data flow;
The data flow is searched from ARP forward tables according to the purpose IP address of the data flow and target MAC (Media Access Control) address
Outlet;
The data flow is forwarded by the outlet of the data flow.
Optionally, first exchange chip, it is additionally operable to update the mac address table according to the MAC Address learnt;
Second exchange chip, it is additionally operable to update the ARP forward tables according to the ARP learnt.
If specifically, the number of second exchange chip be more than one, first exchange chip and described second
Inline port composition aggregation port, first exchange chip, is specifically used in board between exchange chip:
If it is determined that the stream compression is issued into second exchange chip, then according to flow equalization principle by the data
Stream is sent to second exchange chip.
According to embodiments of the present invention, a kind of stream compression forwarding method is also provided, applies the board in above-mentioned interchanger
In first exchange chip, methods described includes:
Receive data flow;
According to the purpose MAC address of the data flow determines whether the data flow being sent to
Second exchange chip;
If it is determined that the data flow second exchange chip is not sent to, then according to the purpose MAC of the data flow
Address and mac address table forward the data flow;
If it is determined that after the data flow is sent into second exchange chip, then the data flow is sent to described
Two exchange chips, so that after the second exchange chip receives the data flow that first exchange chip is sent, according to address
Analysis protocol ARP forward tables, the purpose internet protocol address of the data flow and target MAC (Media Access Control) address forward the data
Stream.
Specifically, determined whether the data flow being sent to described second according to the target MAC (Media Access Control) address of the data flow
Exchange chip, specifically include:
Determine the data flow target MAC (Media Access Control) address whether be the interchanger MAC Address;
If it is determined that the target MAC (Media Access Control) address of the data flow is the MAC Address of the interchanger, it is determined that by the data flow
It is transmitted to second exchange chip;
If it is determined that the target MAC (Media Access Control) address of the data flow is not the MAC Address of the interchanger, it is determined that not by the number
Second exchange chip is sent to according to stream;
The data flow is forwarded according to the target MAC (Media Access Control) address of the data flow and mac address table, specifically included:
According to the outlet of data flow described in the target MAC (Media Access Control) address of the data flow from MAC Address list lookup;
The data flow is forwarded by the outlet of the data flow.
Optionally, in addition to:
The mac address table is updated according to the MAC Address learnt.
If specifically, the number of second exchange chip be more than one, first exchange chip and described second
Inline port composition aggregation port, is sent to second exchange chip by the data flow, has in board between exchange chip
Body includes:
The data flow is sent to by second exchange chip according to flow equalization principle.
According to embodiments of the present invention, a kind of stream compression forwarding method is also provided, applies the board in above-mentioned interchanger
In second exchange chip, methods described includes:
The data flow that first exchange chip is sent is received, the data flow is described in first exchange chip receives
After data flow, determined the data flow being sent to described the according to the purpose MAC address of the data flow
Sent after two exchange chips;
According to ARP forward table, the purpose internet protocol address of the data flow and purpose MAC
Location forwards the data flow.
Specifically, the data are forwarded according to ARP forward tables, the purpose IP address of the data flow and target MAC (Media Access Control) address
Stream, is specifically included:
Obtain the purpose IP address and target MAC (Media Access Control) address of the data flow;
The data flow is searched from ARP forward tables according to the purpose IP address of the data flow and target MAC (Media Access Control) address
Outlet;
The data flow is forwarded by the outlet of the data flow.
Optionally, in addition to:
The ARP forward tables are updated according to the ARP learnt.
The present invention has the beneficial effect that:
The embodiment of the present invention provides a kind of board and stream compression forwarding method of interchanger, and the board includes first and exchanged
Chip and the second exchange chip, inline port between the fiber port and board of the first exchange chip connection board, institute
State and connected between the first exchange chip and the second exchange chip by inline port in board, the bandwidth of first exchange chip
More than given threshold, the capacity of second exchange chip exceedes given threshold, wherein:First exchange chip, for connecing
After receiving data flow, determine whether the data flow being sent to according to the purpose MAC address of the data flow
Second exchange chip, however, it is determined that the data flow is not sent to second exchange chip, then according to the data flow
Target MAC (Media Access Control) address and mac address table forward the data flow;If it is determined that the data flow is sent into described second exchanges core
After piece, then the data flow is sent to second exchange chip;Second exchange chip, for receiving described first
After the data flow that exchange chip is sent, according to the purpose internet protocol of ARP forward table, the data flow
Discuss IP address and target MAC (Media Access Control) address forwards the data flow.In the program, because the bandwidth of the first exchange chip is set more than first
Determine threshold value, the capacity of the second exchange chip is more than the second given threshold, therefore, it is possible to realize Large Copacity with relatively low cost
With the exchange board of high bandwidth, and by two or three layers forwarding separation designs, realize being substantially improved for board exchange capacity.
Brief description of the drawings
Fig. 1 is the structural representation of the board of interchanger in the embodiment of the present invention;
Fig. 2 is the flow chart for the retransmission method that the data flow in the first exchange chip is applied in the embodiment of the present invention;
Fig. 3 is the flow chart for the retransmission method that the data flow in the second exchange chip is applied in the embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of application scenarios in the embodiment of the present invention.
Embodiment
In order to provide a kind of cheap while meeting Large Copacity and the board of high bandwidth requirements, the embodiment of the present invention
A kind of board of interchanger is provided, the structure of the board is as shown in figure 1, including the first exchange chip 11 and the second exchange chip
12, inline port, the first exchange chip and the second exchange chip between the fiber port and board of the first exchange chip connection board
Between connected by inline port in board, the bandwidth of the first exchange chip more than the first given threshold, the second exchange chip
Capacity is more than the second given threshold.Wherein:
First exchange chip, after receiving data flow, determined whether according to the target MAC (Media Access Control) address of data flow by data flow
It is sent to the second exchange chip, however, it is determined that data flow is not sent to the second exchange chip, then according to the purpose MAC of data flow
Location and mac address table transmitting data flow;If it is determined that after data flow is sent into the second exchange chip, then data flow is sent to
Two exchange chips.
Second exchange chip, for receive the first exchange chip transmission data flow after, according to ARP
Forward table, the purpose Internet protocol of data flow (Internet Protocol, IP) address and target MAC (Media Access Control) address forwarding data
Stream.
The quantity of second exchange chip can be at least one, and the situation of two is illustrated that in Fig. 1;First given threshold
It can be set with the second given threshold according to being actually needed, such as the first given threshold can be set as 300G, second sets
Determine threshold value and can be set as 1000.Inline mouth can singly be not limited to inter-network version HG mouths between board, and inline mouth can be with board
Singly it is not limited to bypass HG mouths.
Mac address table forwarding is searched directly on the first exchange chip for two layers of data flows, for three layers of data
Stream pressure drains into the second exchange chip lookup ARP forward tables and does three layers of forwarding, so as to realize two or three layers of separation forwarding.
In the program, because the bandwidth of the first exchange chip surpasses more than the first given threshold, the capacity of the second exchange chip
The second given threshold is crossed, therefore, it is possible to realize Large Copacity and the exchange board of high bandwidth with relatively low cost, and is passed through
The design of two or three layers of forwarding separation, realizes being substantially improved for board exchange capacity.
Specifically, the first exchange chip 11, is specifically used for:
Determine data flow target MAC (Media Access Control) address whether be interchanger MAC Address;
If the target MAC (Media Access Control) address of data flow is the MAC Address of interchanger, stream compression is issued into the second exchange chip;
If the target MAC (Media Access Control) address of data flow is not the MAC Address of interchanger, according to the target MAC (Media Access Control) address of data flow from
The outlet of MAC Address table look-up data stream, pass through the outlet transmitting data flow of data flow.
Specifically, the second exchange chip 12, is specifically used for:
Receive the data flow of the first exchange chip transmission;
Obtain the purpose IP address and target MAC (Media Access Control) address of data flow;
The outlet of the searching data stream from ARP forward tables according to the purpose IP address of data flow and target MAC (Media Access Control) address;
Pass through the outlet transmitting data flow of data flow.
Optionally, the first exchange chip 11, it is additionally operable to update mac address table according to the MAC Address learnt;
Second exchange chip 12, it is additionally operable to update ARP forward tables according to the ARP learnt.
Specifically, if the number of the second exchange chip is more than one, between the first exchange chip and the second exchange chip
Board in inline port composition aggregation port, the first exchange chip 11, be specifically used for:
If it is determined that stream compression is issued into the second exchange chip, then data flow is sent to one according to flow equalization principle
Second exchange chip.
Said in terms of in bandwidth, for the first exchange chip, all bypass HG mouths form an aggregation port, flow equalization
To multiple second exchange chips, meanwhile, the second exchange chip only does forwarding decision, is not involved in path selection, therefore, there is no need to again
Straddle KaHGKou is drawn, all bandwidth are all assigned to bypass HG mouths, the lifting of overall bandwidth is reached with this.It is assumed that first hands over
The total bandwidth for changing chip is 300G, the total bandwidth 50G of the second exchange chip, by existing board framework, exchange chip
Bandwidth is divided into two parts (fiber port and straddle KaHGKou), and the bandwidth of the fiber port of the first exchange chip can reach
150G, the bandwidth of the fiber port of the second exchange chip can only achieve 25G.According to the board framework of the present invention, bandwidth is averaged
Fiber port, bypass HG mouths, straddle card HG mouth three parts are distributed to, the bandwidth of fiber port is likely to be breached the first exchange chip
The 1/3 of bandwidth, i.e. 100G, the bandwidth of board lift 3 times, in the first exchange chip on the bandwidth base of the second exchange chip
On the basis of decline 33%.
From capacity, due to the list item resource of the mac address table on board and ARP forward tables be it is shared, can be free
Distribute to that the list item of mac address table is more or the list item of ARP forward tables is more, wherein the money that a MAC address entries take
Source is about the 1/2 of the resource that an ARP takes.Inside existing framework, it is assumed that the capacity of the first exchange chip is
The 1/2 of two exchange chips, then the list item resource of the first exchange chip be fully allocated to mac address table use, the second exchange chip
List item resource be fully allocated to ARP forwarding use, for such mac address table with the capacity of ARP forward tables with regard to consistent, board is whole
The capacity of body also improve 50% than single second exchange chip (when the second exchange chip is used alone, the list item of mac address table
The list item resource that resource accounts for 1/3, ARP forward tables accounted for for 2/3 (being assumed to be 1000), all to (can reaching after ARP forward table uses
1500), so as to lift 50%, than single first exchange chip 2 times of capacity boost (assuming that original capacity is mac address table
List item and ARP forward tables each 500 of list item, be completely used for install mac address table list item after, 1500 can be filled).
Based on same inventive concept, the embodiment of the present invention provides a kind of retransmission method of data flow, applies in above-mentioned exchange
In first exchange chip of the board of machine, the flow of this method is as shown in Fig. 2 execution step is as follows:
S21:Receive data flow.
The data flow receives from fiber port.
S22:Determined whether data flow being sent to the second exchange chip according to the target MAC (Media Access Control) address of data flow, however, it is determined that
Data flow is not sent to the second exchange chip, then performs S23;If it is determined that data flow is sent into the second exchange chip, then hold
Row S24.
Determine that data flow will carry out two layers of forwarding or three layers of forwarding by this step.
S23:According to the target MAC (Media Access Control) address of data flow and mac address table transmitting data flow.
It is determined that data flow is not sent into the second exchange chip, two layers of forwarding are carried out to data stream.
S24:Data flow is sent to the second exchange chip, so that the second exchange chip receives the transmission of the first exchange chip
Data flow after, according to ARP forward tables, the purpose IP address of data flow and target MAC (Media Access Control) address transmitting data flow.
Data flow is sent to the second exchange chip, so as to realize the three of data flow layers of forwarding.
In the program, because the bandwidth of the first exchange chip surpasses more than the first given threshold, the capacity of the second exchange chip
The second given threshold is crossed, therefore, it is possible to realize Large Copacity and the exchange board of high bandwidth with relatively low cost, and is passed through
The design of two or three layers of forwarding separation, realizes being substantially improved for board exchange capacity.
Specifically, determined whether according to the target MAC (Media Access Control) address of data flow data flow being sent to the second exchange in above-mentioned S22
The implementation process of chip, is specifically included:Determine data flow target MAC (Media Access Control) address whether be interchanger MAC Address;If it is determined that number
Target MAC (Media Access Control) address according to stream is the MAC Address of interchanger, it is determined that stream compression is issued into the second exchange chip;If it is determined that number
Target MAC (Media Access Control) address according to stream is not the MAC Address of interchanger, it is determined that data flow is not sent into the second exchange chip.
If the target MAC (Media Access Control) address of data flow is the MAC Address of interchanger, continues transmitting data flow, i.e., hand over data flow
Forwarded to the second exchange chip;If the target MAC (Media Access Control) address of data flow is not the MAC Address of interchanger, need not continue to turn
Data flow is sent out, stream compression is not issued into the forwarding of the second exchange chip.
Correspondingly, according to the realization of the target MAC (Media Access Control) address of data flow and mac address table transmitting data flow in above-mentioned S23
Journey, specifically include:According to the target MAC (Media Access Control) address of data flow from the outlet of MAC Address table look-up data stream;Pass through data flow
Export transmitting data flow.
The outlet of data flow can be determined according to mac address table, then passes through the outlet transmitting data flow.
Optionally, in addition to:Mac address table is updated according to the MAC Address learnt.So that it is guaranteed that it can forward exactly
Data flow.
Specifically, if the number of the second exchange chip is more than one, between the first exchange chip and the second exchange chip
Board in inline port composition aggregation port, data flow is sent to the second exchange chip, specifically included:It is former according to flow equalization
Data flow is then sent to second exchange chip.
According to embodiments of the present invention, a kind of stream compression forwarding method is also provided, applies the board in above-mentioned interchanger
In second exchange chip, the flow of this method is as shown in figure 3, execution step is as follows:
S31:The data flow of the first exchange chip transmission is received, data flow is root after the first exchange chip receives data flow
Determine data flow being sent to what is sent after the second exchange chip according to the target MAC (Media Access Control) address of data flow.
S32:According to ARP forward tables, the purpose IP address of data flow and target MAC (Media Access Control) address transmitting data flow.
In the program, because the bandwidth of the first exchange chip surpasses more than the first given threshold, the capacity of the second exchange chip
The second given threshold is crossed, therefore, it is possible to realize Large Copacity and the exchange board of high bandwidth with relatively low cost, and is passed through
The design of two or three layers of forwarding separation, realizes being substantially improved for board exchange capacity.
Specifically, data are forwarded according to ARP forward tables, the purpose IP address of data flow and target MAC (Media Access Control) address in above-mentioned S32
The implementation process of stream, is specifically included:Obtain the purpose IP address and target MAC (Media Access Control) address of data flow;According to the purpose IP of data flow
The outlet of address and target MAC (Media Access Control) address the searching data stream from ARP forward tables;Pass through the outlet transmitting data flow of data flow.
Optionally, in addition to:ARP forward tables are updated according to the ARP learnt.
Illustrated, applied in the network architecture as shown in Figure 4 with an instantiation below, with the number in board 1
Illustrated exemplified by being sent out according to circulation:
Mac address table in first exchange chip 11 is as shown in table 1:
Sequence number | Target MAC (Media Access Control) address | VLAN | Outlet |
1 | MAC A | 1 | PORT 1/1 |
2 | MAC B | 1 | PORT 1/2 |
3 | MAC C | 2 | PORT 1/3 |
4 | MAC D | 1 | PORT 2/1 |
5 | MAC E | 2 | PORT 1/1 |
6 | MAC SW | 1 | PORT 1/1 |
7 | MAC SW | 2 | PORT 1/1 |
Table 1
The list item of ARP forward tables in second exchange chip 2:
Table 2
Between PC in the same network segment, the ARP of other side is may learn, therefore directly double layered communication (can access
When the target MAC (Media Access Control) address of message that sends directly be other side MAC Address);Between PC in different segment, no calligraphy learning to other side
ARP, it is necessary to walk three layers of communication by gateway, (the purpose MAC of message sent when accessing is the MAC of interchanger
Location).
(1) PC A to PC B data flow, target MAC (Media Access Control) address are PC B MAC Address, and first in board 1 exchanges core
In piece chip 1, the list item of the 2nd article of mac address table is directly hit, PORT 1/2 is forwarded to by two layers in plate.
(2) PC A to PC C data flow, target MAC (Media Access Control) address are SW, and purpose IP address is 192.168.2.2, in board 1
First exchange rigmarole in, hit the 6th article of MAC address entries, first pass through bypass HG, be forwarded to chip 2;The hit the 3rd in chip 2 again
Bar ARP, by three layers in plate be forwarded to PORT 1/3 (source MAC is revised as SW, and target MAC (Media Access Control) address is revised as C,
2) VLAN is revised as.
(3) PC A to PC D data flow, target MAC (Media Access Control) address are PC D, in the first exchange chip 1 of board 1, directly
The 4th article of MAC address entries are hit, two layers are forwarded to PORT 2/1 by straddle.
(4) PC A to PC E data flow, target MAC (Media Access Control) address are SW, and purpose IP address is 192.168.2.3, in board 1
The first exchange chip in, hit the 6th article of MAC address entries, first pass through bypass HG, be forwarded to the second exchange chip;Handed over again second
The 5th article of ARP of hit in chip is changed, being forwarded to PORT 2/2 by three layers in plate, (source MAC is revised as SW, purpose MAC modifications
It is revised as 2) for E, VLAN.
Below software specific implementation process is introduced in above-mentioned framework:
First, when gateway configures, past first exchange chip sends out the MAC address entries for being used to drain that gateway corresponds to VLAN about 1,
It is that the stream compression of the MAC Address of interchanger is dealt into the 6th, 7 two bar of table of the second exchange chip, the i.e. above by target MAC (Media Access Control) address
;Meanwhile send out gateway up and down toward the second exchange chip and correspond to the ARP that VLAN send CPU, for being Home Network by purpose IP address
The IP address message of pass send CPU so that other terminals can be with this gateway communication.
Second, for MAC address learning, MAC address learning is only carried out on the first exchange chip for this board, other
Address learning function is closed on the HG mouths of road.If other board study are synchronized to this board to new MAC Address, also only add
To the first exchange chip, the second exchange chip is not added to.
3rd, learn for ARP, the second exchange chip does not learn directly, it is necessary to which engine study is issued to respectively after
Board, only it is added to the second exchange chip when being issued to board, is not added to the first exchange chip.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Although having been described for the alternative embodiment of the present invention, those skilled in the art once know basic creation
Property concept, then can make other change and modification to these embodiments.So be intended to be construed to include can for appended claims
Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification without departing from this hair to the embodiment of the present invention
The spirit and scope of bright embodiment.So, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention
And its within the scope of equivalent technologies, then the present invention is also intended to comprising including these changes and modification.
Claims (12)
1. a kind of board of interchanger, it is characterised in that including the first exchange chip and the second exchange chip, described first exchanges
Inline port between the fiber port and board of the chip connection board, between first exchange chip and the second exchange chip
Connected by inline port in board, the bandwidth of first exchange chip exchanges core more than the first given threshold, described second
The capacity of piece more than the second given threshold, wherein:
First exchange chip, after receiving data flow, according to the purpose MAC address of the data flow
Determine whether the data flow being sent to second exchange chip, however, it is determined that the data flow is not sent into described second
Exchange chip, then the data flow is forwarded according to the target MAC (Media Access Control) address of the data flow and mac address table;If it is determined that by described in
After data flow is sent to second exchange chip, then the data flow is sent to second exchange chip;
Second exchange chip, after the data flow sent for receiving first exchange chip, solved according to address
Analyse agreement ARP forward tables, the purpose internet protocol address of the data flow and target MAC (Media Access Control) address and forward the data flow.
2. board as claimed in claim 1, it is characterised in that first exchange chip, be specifically used for:
Determine the data flow target MAC (Media Access Control) address whether be the interchanger MAC Address;
If the target MAC (Media Access Control) address of the data flow is the MAC Address of the interchanger, the stream compression is issued described
Two exchange chips;
If the target MAC (Media Access Control) address of the data flow is not the MAC Address of the interchanger, according to the purpose of the data flow
The outlet of data flow described in MAC Address from MAC Address list lookup, the data flow is forwarded by the outlet of the data flow.
3. board as claimed in claim 1, it is characterised in that second exchange chip, be specifically used for:
Receive the data flow that first exchange chip is sent;
Obtain the purpose IP address and target MAC (Media Access Control) address of the data flow;
The outlet of the data flow is searched from ARP forward tables according to the purpose IP address of the data flow and target MAC (Media Access Control) address;
The data flow is forwarded by the outlet of the data flow.
4. board as claimed in claim 1, it is characterised in that first exchange chip, be additionally operable to according to the MAC learnt
Address updates the mac address table;
Second exchange chip, it is additionally operable to update the ARP forward tables according to the ARP learnt.
5. the board as described in claim 1-4 is any, it is characterised in that if the number of second exchange chip is more than one
It is individual, then composition aggregation port in inline port in the board between first exchange chip and second exchange chip, described the
One exchange chip, is specifically used for:
If it is determined that the stream compression is issued into second exchange chip, then the data flow is sent out according to flow equalization principle
Give second exchange chip.
6. a kind of stream compression forwarding method, first of the board in the interchanger as described in claim 1-5 is any is applied to exchange
In chip, it is characterised in that methods described includes:
Receive data flow;
Determine whether the data flow being sent to described second according to the purpose MAC address of the data flow
Exchange chip;
If it is determined that the data flow second exchange chip is not sent to, then according to the target MAC (Media Access Control) address of the data flow
The data flow is forwarded with mac address table;
If it is determined that after the data flow is sent into second exchange chip, then the data flow is sent to described second and handed over
Chip is changed, so that after the second exchange chip receives the data flow that first exchange chip is sent, according to address resolution
Agreement ARP forward tables, the purpose internet protocol address of the data flow and target MAC (Media Access Control) address forward the data flow.
7. method as claimed in claim 6, it is characterised in that according to the target MAC (Media Access Control) address of the data flow determine whether by
The data flow is sent to second exchange chip, specifically includes:
Determine the data flow target MAC (Media Access Control) address whether be the interchanger MAC Address;
If it is determined that the target MAC (Media Access Control) address of the data flow is the MAC Address of the interchanger, it is determined that by the forwarding data flow
To second exchange chip;
If it is determined that the target MAC (Media Access Control) address of the data flow is not the MAC Address of the interchanger, it is determined that not by the data flow
It is sent to second exchange chip;
The data flow is forwarded according to the target MAC (Media Access Control) address of the data flow and mac address table, specifically included:
According to the outlet of data flow described in the target MAC (Media Access Control) address of the data flow from MAC Address list lookup;
The data flow is forwarded by the outlet of the data flow.
8. method as claimed in claim 6, it is characterised in that also include:
The mac address table is updated according to the MAC Address learnt.
9. the method as described in claim 6-8 is any, it is characterised in that if the number of second exchange chip is more than one
Individual, then inline port forms aggregation port in the board between first exchange chip and second exchange chip, by described in
Data flow is sent to second exchange chip, specifically includes:
The data flow is sent to by second exchange chip according to flow equalization principle.
10. a kind of stream compression forwarding method, second of the board in the interchanger as described in claim 1-5 is any is applied to exchange
In chip, it is characterised in that methods described includes:
The data flow that first exchange chip is sent is received, the data flow is that first exchange chip receives the data
After stream, determine that the data flow is sent into described second hands over according to the purpose MAC address of the data flow
Change after chip what is sent;
Turned according to ARP forward table, the purpose internet protocol address of the data flow and target MAC (Media Access Control) address
Send out data flow described.
11. method as claimed in claim 10, it is characterised in that according to ARP forward tables, the purpose IP address of the data flow
The data flow is forwarded with target MAC (Media Access Control) address, is specifically included:
Obtain the purpose internet protocol address and target MAC (Media Access Control) address of the data flow;
The outlet of the data flow is searched from ARP forward tables according to the purpose IP address of the data flow and target MAC (Media Access Control) address;
The data flow is forwarded by the outlet of the data flow.
12. the method as described in claim 10 or 11, it is characterised in that also include:
The ARP forward tables are updated according to the ARP learnt.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710867288.6A CN107493245B (en) | 2017-09-22 | 2017-09-22 | Board card of switch and data stream forwarding method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710867288.6A CN107493245B (en) | 2017-09-22 | 2017-09-22 | Board card of switch and data stream forwarding method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107493245A true CN107493245A (en) | 2017-12-19 |
CN107493245B CN107493245B (en) | 2020-04-24 |
Family
ID=60652859
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710867288.6A Active CN107493245B (en) | 2017-09-22 | 2017-09-22 | Board card of switch and data stream forwarding method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107493245B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110324265A (en) * | 2018-03-29 | 2019-10-11 | 阿里巴巴集团控股有限公司 | Traffic distribution method, method for routing, equipment and network system |
CN115766334A (en) * | 2022-12-20 | 2023-03-07 | 瑞斯康达科技发展股份有限公司 | Three-layer switch, network system and data transmission method |
CN116684506A (en) * | 2023-08-02 | 2023-09-01 | 浪潮电子信息产业股份有限公司 | Data processing method, system, electronic device and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101110721A (en) * | 2006-07-18 | 2008-01-23 | 中兴通讯股份有限公司 | Method for accessing into control address table spacing using Ethernet switch medium |
CN101399779A (en) * | 2008-10-30 | 2009-04-01 | 北京星网锐捷网络技术有限公司 | Multi-chip switch and method for extending medium access control address table |
CN101895471A (en) * | 2010-07-15 | 2010-11-24 | 中兴通讯股份有限公司 | Network equipment and data processing method for same |
US9124495B2 (en) * | 2013-03-11 | 2015-09-01 | Dell Products L.P. | System and method for automatic provisioning of stacked switches |
CN106506408A (en) * | 2016-11-18 | 2017-03-15 | 济南浪潮高新科技投资发展有限公司 | A kind of implementation method of 96+6 interface switchboards |
-
2017
- 2017-09-22 CN CN201710867288.6A patent/CN107493245B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101110721A (en) * | 2006-07-18 | 2008-01-23 | 中兴通讯股份有限公司 | Method for accessing into control address table spacing using Ethernet switch medium |
CN101399779A (en) * | 2008-10-30 | 2009-04-01 | 北京星网锐捷网络技术有限公司 | Multi-chip switch and method for extending medium access control address table |
CN101895471A (en) * | 2010-07-15 | 2010-11-24 | 中兴通讯股份有限公司 | Network equipment and data processing method for same |
US9124495B2 (en) * | 2013-03-11 | 2015-09-01 | Dell Products L.P. | System and method for automatic provisioning of stacked switches |
CN106506408A (en) * | 2016-11-18 | 2017-03-15 | 济南浪潮高新科技投资发展有限公司 | A kind of implementation method of 96+6 interface switchboards |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110324265A (en) * | 2018-03-29 | 2019-10-11 | 阿里巴巴集团控股有限公司 | Traffic distribution method, method for routing, equipment and network system |
CN115766334A (en) * | 2022-12-20 | 2023-03-07 | 瑞斯康达科技发展股份有限公司 | Three-layer switch, network system and data transmission method |
CN116684506A (en) * | 2023-08-02 | 2023-09-01 | 浪潮电子信息产业股份有限公司 | Data processing method, system, electronic device and computer readable storage medium |
CN116684506B (en) * | 2023-08-02 | 2023-11-07 | 浪潮电子信息产业股份有限公司 | Data processing method, system, electronic device and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107493245B (en) | 2020-04-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12015563B2 (en) | Management of resource affinities in computing systems having multiple cores | |
CN207782832U (en) | A kind of intelligent domestic system | |
US8891375B2 (en) | System and method for virtual Ethernet interface binding | |
US11283718B2 (en) | Hybrid network processing load distribution in computing systems | |
US9727386B2 (en) | Method and apparatus for network resource virtual partitioning | |
US20150249551A1 (en) | Forwarding tables for hybrid communication networks | |
CN103023827B (en) | Data forwarding method for virtualized data centre and realization equipment of data forwarding method | |
CN105122747B (en) | Control device and control method in SDN network | |
CN107493245A (en) | The board and stream compression forwarding method of interchanger | |
CN106059821A (en) | Software-defined network (SDN)-based data center service quality assurance method | |
CN106302225A (en) | A kind of method and apparatus of server load balancing | |
WO2016107594A1 (en) | Accessing external network from virtual network | |
US20170041220A1 (en) | Method and system for memory allocation in a software-defined networking (sdn) system | |
CN101309216A (en) | IP packet classification method and apparatus | |
US20190220296A1 (en) | Method and apparatus for transmitting data packet based on virtual machine | |
CN104601467A (en) | Method and device for sending messages | |
WO2017054202A1 (en) | Data routing method and apparatus | |
US20240195749A1 (en) | Path selection for packet transmission | |
CN106209689A (en) | From the multicast data packet forwarding method and apparatus of VXLAN to VLAN | |
US11126249B1 (en) | Power reduction methods for variable sized tables | |
CN106331018B (en) | SDN network detecting host method and system based on load balancing | |
US20190207853A1 (en) | Selection of inputs for lookup operations | |
CN109308210B (en) | Method for optimizing NFV forwarding service chain performance on multi-core server | |
CN105187324B (en) | A kind of the quantity method for limiting and control system of SDN circulations hair | |
US20130230053A1 (en) | System and Method for Facilitating Communication |
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 |