CN106685826B - Switchboard stacked system, from equipment, exchange chip and processing protocol message method - Google Patents
Switchboard stacked system, from equipment, exchange chip and processing protocol message method Download PDFInfo
- Publication number
- CN106685826B CN106685826B CN201611094388.1A CN201611094388A CN106685826B CN 106685826 B CN106685826 B CN 106685826B CN 201611094388 A CN201611094388 A CN 201611094388A CN 106685826 B CN106685826 B CN 106685826B
- Authority
- CN
- China
- Prior art keywords
- protocol massages
- main equipment
- cpu
- module
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/10—Packet switching elements characterised by the switching fabric construction
-
- 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/15—Interconnection of switching modules
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/30—Peripheral units, e.g. input or output ports
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/35—Switches specially adapted for specific applications
- H04L49/354—Switches specially adapted for specific applications for supporting virtual local area networks [VLAN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/40—Constructional details, e.g. power supply, mechanical construction or backplane
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
Abstract
The embodiment of the invention discloses a kind of switchboard stacked system, from equipment, exchange chip and processing protocol message method.In the program, using only ENCAP module this hardware module in exchange chip, the protocol massages for specially treating main equipment CPU processing are packaged, compared with being forwarded to be packaged from the CPU of equipment in the prior art, it is not only shorter the time required to encapsulation process, and simplify repeating process, only hardware forwarding speed is carried out faster using exchange chip, it is greatly improved the stacking system protocol convergence time in this way, the treatment effeciency of protocol massages is improved, the packet loss quantity in agreement reversed process is reduced.In addition, also disposably encapsulated in RCPU protocol massages it is original on send main equipment CPU DCB information, the information that can accomplish to give the CPU for giving single machine in the information and protocol massages under interchanger single machine of the CPU of main equipment from the received protocol massages of equipment end is consistent.
Description
Technical field
The present invention relates to network communication technology field more particularly to a kind of switchboard stacked system, from equipment, exchange chip
And processing protocol message method.
Background technique
With the rapid development of information technology, network size sharply expands, the exchange interface quantity of the former network planning
It is insufficient for network application demand, at this moment exchange piling technology is just come into being.Exchange piling technology is with stacking
Cable links together several cassete exchange machines, for increasing the port density and bandwidth of exchange, realizes that interchanger high speed is mutual
Connection and unified management, logically for, they belong to the same equipment, as long as soon as log on to any of them interchanger,
All interchangers in stacking can be managed and be configured, very convenient user uses, just as management stand-alone device.Heap
Folded system usually by a main equipment and it is multiple formed from equipment, each equipment includes central processing unit (Central
Processing Unit, CPU) and exchange chip (SWITCH).Main equipment and between equipment use high-speed port connect,
Middle main equipment undertakes the management of entire stacking system and the operation of communication protocol.When stacking system opens certain agreement, example
Such as link aggregate control protocol (Link Aggregation Control Protocol, LACP), the port of each equipment is received
When LACP agreement, the CPU processing of main equipment will be sent to, at present for receive agreement from the port of equipment in general stacking system
After message, the data flow of protocol massages is as shown in Figure 1, protocol massages successively pass through: from the port of equipment 01, from the friendship of equipment 01
Change the CPU06 of chip 02, the CPU03 from equipment, the exchange chip 02 from equipment, the exchange chip 05 of main equipment 04, main equipment.
Corresponding step is specific as follows:
Step 1 after receiving message from the port of equipment, is forwarded to the exchange chip from equipment.
Step 2 is judged the message from the exchange chip of equipment for protocol massages, illustrate to need CPU by main equipment into
Row protocol processes;From the exchange chip of equipment by protocol massages by direct memory access (DMA) (Direct Memory Access,
DMA) mechanism is sent to from the CPU of equipment processing;Correspondingly, protocol massages are carried out after receiving protocol massages from the CPU of equipment
Encapsulation, needing to encapsulate from the media access control (Media Access Control, MAC) of equipment is source MAC, main equipment
MAC is purpose MAC, default Virtual local area network (Virtual Local Area Network, VLAN), inside stacking system with
Then too fidonetFido type recalculates circulation after thus encapsulation generates two layers of new Ethernet protocol (L2) head
Redundancy check (Cyclic Redundancy Check, CRC), and the destination port for being arranged HIGIG is the exchange core of main equipment
The CPU mouth of piece;Wherein, HIGIG is a kind of universal serial bus interconnection scheme.
Protocol massages after encapsulation are sent back to exchange chip from equipment from the CPU of equipment by step 3 again.
Step 4 receives after the protocol massages after the CPU of equipment encapsulation from the exchange chip of equipment, according to message
Destination port in HIGIG searches the forwarding logic of exchange chip, forwards the packet to and is connect with main equipment by heap superimposing thread
Stack port, message is sent to the exchange chip of the main equipment of stacking system by the stack port.
Step 5, main equipment exchange chip receive the protocol massages after, the purpose in the same HIGIG head by message
Port, the forwarding logic for searching exchange chip relay to the CPU of main equipment;Correspondingly, the CPU of main equipment receives the agreement
After message, which is decapsulated, then gives protocol module processing again.
It can be seen from the above description that the CPU of main equipment is sent it to after receiving protocol massages from the port of equipment
Process is various, and needs to carry out software encapsulation operation to protocol massages from the CPU of equipment, understands packaged source MAC, purpose MAC,
VLAN, Ethernet protocol type information send back to the exchange chip from equipment, by the exchange chip from equipment again after the completion of encapsulation
The exchange chip of main equipment is relayed to, then goes to handle to the CPU of main equipment.In the program, by the CPU encapsulated message from equipment
Mode rate it is slow, will lead in this way main equipment CPU receive protocol massages delay it is very big, protocol massages processing not
In time, performance requirement is not achieved to some pairs of very high agreements of performance requirement, especially in the more situation of protocol massages,
Do not come from the processing of the CPU software of equipment, can also generate packet loss, causes agreement operation abnormal.
Summary of the invention
The purpose of the embodiment of the present invention is that providing a kind of switchboard stacked system, from equipment, exchange chip and processing protocol
Message method, the mode processing speed for solving the problems, such as to be packaged protocol massages by the CPU from equipment are slower.
The purpose of the embodiment of the present invention is that be achieved through the following technical solutions:
A kind of exchange chip, from the device applied to switchboard stacked system, including encapsulation ENCAP module and stacking end
Mouthful;
The ENCAP module, is used for:
To the protocol massages to the main equipment central processor CPU processing in the stacking system received, encapsulation is remote
Hold processor RCPU head;Wherein, include in RCPU described two layers of Ethernet protocol L2 and protocol massages it is original on send to lead and set
The data center bridging DCB information of standby CPU;Wherein, described L2 includes the internal purpose media access control MAC used
Location and the MAC Address from equipment CPU;The DCB information include at least ingress port information, send on protocol massages reason, when
Between stamp, virtual LAN VLAN information;
According to target MAC (Media Access Control) address, vlan information that L2 forwarding table and the inside use, the main equipment is found
The information of the CPU mouth of the exchange chip of exchange chip and main equipment;Wherein, the inside is included at least in the L2 forwarding table makes
The CPU mouth of the exchange chip of target MAC (Media Access Control) address, vlan information, the exchange chip of the main equipment and the main equipment
The corresponding relationship of information;
According to module/port MOD/PORT forwarding table and the information of the exchange chip of the main equipment found, look into
The stack port information with the exchange chip CPU port communications of the main equipment is found, and the protocol massages after encapsulation are turned
It is sent to stack port indicated by the stack port information found;The master is included at least in the MOD/PORT forwarding table to set
The information of standby exchange chip and the corresponding relationship of stack port information;
The stack port is the agreement report after receiving the protocol massages that the ENCAP module encapsulates
Text encapsulation carries the HIGIG head of the information of the CPU mouth of the exchange chip of the main equipment, and is sent to the exchange of the main equipment
Chip.
Preferably, the exchange chip further includes at central processing unit management interface controller CMIC module and distal center
Manage device processing detection RCPU CHECK module;
The CMIC module, in the state that RCPU CHECK module is enabled, the protocol massages received to be forwarded
To RCPU CHECK module;In the state that RCPU CHECK module is not enabled on, the protocol massages received are forwarded to described
It is packaged from the CPU of equipment;
The RCPU CHECK module, for judging whether the protocol massages received are to main equipment CPU processing
Protocol massages;If so, the protocol massages received are forwarded to the ENCAP module;Otherwise, the agreement report that will be received
Text returns to the CMIC module, by the CMIC module forwards to described from the CPU of equipment processing.
Preferably, the RCPU CHECK module, is specifically used for:
Judge protocol massages on send reason whether belong to prestore on the reason of giving the CPU of the main equipment;If
It is, it is determined that the protocol massages received are the protocol massages handled to main equipment.
Preferably, further including the internal priority information sent on protocol massages in the DCB information.
A kind of slave equipment in switchboard stacked system, it is described from equipment include exchange core as described in any of the above item
Piece.
A method of as described above from equipment processing protocol message, comprising:
The ENCAP module of exchange chip is to receiving to the main equipment central processor CPU processing in stacking system
Protocol massages encapsulate remote processor RCPU head;It wherein, include two layers of Ethernet protocol L2 and agreement report in RCPU described
The data center bridging DCB information of main equipment CPU is sent on text is original;Wherein, described L2 includes the internal purpose media used
Access control MAC addresses and the MAC Address from equipment CPU;The DCB information includes at least ingress port information, agreement report
Reason, timestamp, virtual LAN VLAN information are sent on text;
Target MAC (Media Access Control) address, the vlan information that the ENCAP module is used according to L2 forwarding table and the inside are searched
To the information of the CPU mouth of the exchange chip of the exchange chip and main equipment of the main equipment;Wherein, in the L2 forwarding table at least
Including the target MAC (Media Access Control) address that the inside uses, vlan information, the exchange of the exchange chip of the main equipment and the main equipment
The corresponding relationship of the information of the CPU mouth of chip;
The ENCAP module is according to the exchange of module/port MOD/PORT forwarding table and the main equipment found
The information of chip, finds the stack port information with the exchange chip CPU port communications of the main equipment, and by the institute after encapsulation
It states protocol massages and is forwarded to stack port indicated by the stack port information found;In the MOD/PORT forwarding table at least
The information of exchange chip including the main equipment and the corresponding relationship of stack port information;
It is the agreement report after the stack port found receives the protocol massages of the ENCAP module encapsulation
Text encapsulation carries the HIGIG head of the information of the CPU mouth of the exchange chip of the main equipment, and is sent to the exchange of the main equipment
Chip.
Preferably, the ENCAP module of exchange chip is to the agreement to the main equipment CPU processing in stacking system received
Message, before encapsulation RCPU, this method further include:
Whether the message that the forwarding logic module judgement of exchange chip receives is protocol massages;If it is protocol massages,
The protocol massages are forwarded to the central processing unit management interface controller CMIC module of exchange chip;
The CMIC module shape enabled in the distal center processor processing detection RCPU CHECK module of exchange chip
Under state, the protocol massages received are forwarded to RCPU CHECK module;It, will in the state that RCPU CHECK module is not enabled on
The protocol massages received are packaged described in being forwarded to from the CPU of equipment;
Whether the protocol massages that the RCPU CHECK module judgement receives are the agreement handled to the main equipment CPU
Message;If so, the protocol massages received are forwarded to the ENCAP module;Otherwise, the protocol massages that will be received
The CMIC module is returned to, by the CMIC module forwards to described from the CPU of equipment processing.
Preferably, whether the protocol massages that the RCPU CHECK module judgement receives are the agreement handled to main equipment
Message, comprising:
The RCPU CHECK module judge protocol massages on send reason whether belong to prestore on give the master and set
The reason of standby CPU;If it is, determining that the protocol massages are the protocol massages handled to main equipment.
Preferably, if forwarding logic module judgement it is described from the message that the port of equipment receives be agreement report
Text, this method further include:
The internal priority information sent on protocol massages described in the forwarding logic module assignment, so as to the CPU of main equipment
The protocol massages are handled according to the internal priority information sent on protocol massages.
A kind of switchboard stacked system, including main equipment and as described above from equipment.
A kind of method of processing protocol message in switchboard stacked system as described above, comprising:
From the device, the ENCAP module of exchange chip is to receiving to the main equipment central processing unit in stacking system
The protocol massages of CPU processing, encapsulate remote processor RCPU head;It wherein, include two layers of Ethernet protocol L2 in RCPU described
The data center bridging DCB information of main equipment CPU is sent on head and protocol massages are original;Wherein, described L2 includes internal use
Purpose MAC address and the MAC Address from equipment CPU;The DCB information includes at least inbound port
Reason, timestamp, virtual LAN VLAN information are sent in information, protocol massages;
Target MAC (Media Access Control) address, the vlan information that the ENCAP module is used according to L2 forwarding table and the inside are searched
To the information of the CPU mouth of the exchange chip of the exchange chip and main equipment of the main equipment;Wherein, in the L2 forwarding table at least
Including the target MAC (Media Access Control) address that the inside uses, vlan information, the exchange of the exchange chip of the main equipment and the main equipment
The corresponding relationship of the information of the CPU mouth of chip;
The ENCAP module is according to the exchange of module/port MOD/PORT forwarding table and the main equipment found
The information of chip, finds the stack port information with the exchange chip CPU port communications of the main equipment, and by the institute after encapsulation
It states protocol massages and is forwarded to stack port indicated by the stack port information found;In the MOD/PORT forwarding table at least
The information of exchange chip including the main equipment and the corresponding relationship of stack port information;
It is the agreement report after the stack port found receives the protocol massages of the ENCAP module encapsulation
Text encapsulation carries the HIGIG head of the information of the CPU mouth of the exchange chip of the main equipment, and is sent to the exchange of the main equipment
Chip;
In main equipment, exchange chip receives the protocol massages sent from equipment, and is forwarded to the CPU of main equipment.
Preferably, from the device, the ENCAP module of exchange chip is to receiving to the main equipment in the stacking system
The protocol massages of CPU processing, before encapsulation RCPU, this method further include:
It is described from the device, the logical forwarding module of exchange chip is by receiving message from the inbound port of equipment;
Whether the message that the forwarding logic module judgement receives is protocol massages;If it is protocol massages, by the association
View message is forwarded to the central processing unit management interface controller CMIC module from the exchange chip of equipment;
Distal center processor processing detection RCPU CHECK module of the CMIC module in the exchange chip from equipment
In the state of enabled, the protocol massages received are forwarded to RCPU CHECK module;It is not enabled in RCPU CHECK module
Under state, the protocol massages received are forwarded to and described are packaged from the CPU of equipment;
Whether the protocol massages that the RCPU CHECK module judgement receives are the agreement handled to the main equipment CPU
Message;If so, the protocol massages received are forwarded to the ENCAP module;Otherwise, the protocol massages that will be received
The CMIC module is returned to, by the CMIC module forwards to described from the CPU of equipment processing.
The embodiment of the present invention has the beneficial effect that:
Switchboard stacked system provided in an embodiment of the present invention, from equipment, exchange chip and processing protocol message method,
Using only ENCAP module this hardware module in exchange chip, the protocol massages for specially treating main equipment CPU processing are carried out
Encapsulation, it is not only shorter the time required to encapsulation process compared with being forwarded to be packaged from the CPU of equipment in the prior art, but also
Repeating process is simplified, only carries out hardware forwarding speed faster using exchange chip, is greatly improved stacking system association in this way
Convergence time is discussed, the treatment effeciency of protocol massages is improved, the packet loss quantity in agreement reversed process is reduced.In addition, also
Disposably encapsulated in RCPU protocol massages it is original on send main equipment CPU DCB information, it is ensured that by protocol massages
The information preservation sent on original is got off, and the CPU of main equipment is sent to, and without being lost, can be accomplished received from equipment end
The information that the CPU for giving single machine in the information and protocol massages under interchanger single machine of the CPU of main equipment is given on protocol massages is
It is consistent.
Detailed description of the invention
Fig. 1 is the data flow diagram of the protocol massages in a kind of switchboard stacked system in the prior art;
Fig. 2 is a kind of structural schematic diagram of exchange chip provided in an embodiment of the present invention;
Fig. 3 is the structural schematic diagram of another exchange chip provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of another exchange chip provided in an embodiment of the present invention;
Fig. 5 is the method for the slave equipment processing protocol message in a kind of switchboard stacked system provided in an embodiment of the present invention
Flow chart;
Fig. 6 is the method flow diagram of processing protocol message in a kind of switchboard stacked system provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of switchboard stacked system provided in an embodiment of the present invention.
Specific embodiment
With reference to the accompanying drawings and examples to a kind of switchboard stacked system provided by the invention, from equipment, exchange chip
And processing protocol message method is described in more detail.
As shown in Fig. 2, the embodiment of the present invention provides a kind of exchange chip 20, the slave equipment applied to switchboard stacked system
In, including encapsulation (ENCAP) module 21 and stack port 22;
ENCAP module 21, is used for:
To the protocol massages to the main equipment CPU processing in stacking system received, remote processor (Remote is encapsulated
CPU, RCPU) head;Wherein, include two layers of Ethernet protocol L2 in RCPU with protocol massages it is original on send main equipment CPU's
Data center bridging (Data Center Bridge, DCB) information;Wherein, L2 include the internal target MAC (Media Access Control) address used,
With the MAC Address from equipment CPU;DCB information includes at least ingress port information, send reason, timestamp, virtual office on protocol massages
Domain net vlan information;
According to L2 forwarding table and internal target MAC (Media Access Control) address, the vlan information used, the exchange chip of main equipment is found
And the information of the CPU mouth of the exchange chip of main equipment;Wherein, the internal target MAC (Media Access Control) address used is included at least in L2 forwarding table,
Vlan information, the corresponding relationship of the information of the CPU mouth of the exchange chip of the exchange chip and main equipment of main equipment;
According to module/port (MOD/PORT) forwarding table and the information of the exchange chip of the main equipment found, search
To the stack port information of the exchange chip CPU port communications with main equipment, and the protocol massages after encapsulation are forwarded to and are found
Stack port information indicated by stack port;Including at least the information of the exchange chip of main equipment in MOD/PORT forwarding table
With the corresponding relationship of stack port information;
Stack port 22 carries master for protocol massages encapsulation and sets after receiving the protocol massages that ENCAP module encapsulates
The HIGIG head of the information of the CPU mouth of standby exchange chip, and it is sent to the exchange chip of main equipment.
Wherein, RCPU is for from equipment, except originally from the CPU of other equipment in addition to the CPU of equipment.
It wherein, is source MAC from the MAC of equipment in L2;The purpose that inside uses (i.e. inside switchboard stacked system)
MAC can be reserved MAC;VLAN is default setting, such as can be VLAN1;Ethernet protocol type is exchange piling
The protocol type that internal system uses.
Wherein, L2 forwarding table and MOD/PORT forwarding table are pre-set;L2 forwarding table stores different types of message
Source MAC, purpose MAC, vlan information and destination port information (module information and port information form where destination port)
Corresponding relationship;The corresponding relationship of module information and local port information where MOD/PORT forwarding table storage purpose port.
In the present embodiment, the CPU mouth of the exchange chip of main equipment is exactly destination port.
In the scheme of the prior art, when being packaged to protocol massages, only by from equipment CPU selectivity by certain
Some specific information are packaged, be not all information relevant to protocol massages are all packaged, and in the present solution,
By protocol massages it is original on send the DCB information of main equipment CPU to be all encapsulated in RCPU.
In Fig. 2, arrow shows protocol massages data flow trend, by the ENCAP module of exchange chip directly to agreement report
The stack port connecting with the main equipment in switchboard stacked system is transmitted to after text encapsulation.
In the embodiment of the present invention, using only ENCAP module this hardware module in exchange chip, specially treats master and setting
The protocol massages of standby CPU processing are packaged, and compared with being forwarded to be packaged from the CPU of equipment in the prior art, are not only sealed
It is shorter the time required to dress process, and repeating process is simplified, hardware forwarding speed only is carried out faster using exchange chip, in this way
It is greatly improved the stacking system protocol convergence time, the treatment effeciency of protocol massages is improved, reduces agreement and switched
Packet loss quantity in journey.In addition, also disposably encapsulated in RCPU protocol massages it is original on send main equipment CPU DCB
Information, it is ensured that by protocol massages it is original on the information preservation sent get off, be sent to the CPU of main equipment, without being lost,
It can accomplish under the information for giving the CPU of main equipment from the received protocol massages of equipment end and interchanger single machine on protocol massages
The information for giving the CPU of single machine is consistent.
In the embodiment of the present invention, ENCAP module is the original hardware module of exchange chip, original hard in exchange chip
It is realized in part module basis, does not need additionally to increase new module, not will increase the complexity of the hardware circuit of exchange chip
Degree.
In the exchange chip of the slave equipment of the embodiment of the present invention, in addition to including the ENCAP mould to the above related embodiment
Block, as shown in figure 3, the exchange chip further includes central processing unit management interface controller (CPU Management
Interface Controller, CMIC) module and distal center processor processing detection (RCPU CHECK) module.
Wherein, CMIC module, in the state that RCPU CHECK module is enabled, the protocol massages received to be forwarded
To RCPU CHECK module;In the state that RCPU CHECK module is not enabled on, the protocol massages received are forwarded to from setting
Standby CPU is packaged;
RCPU CHECK module, for judging whether the protocol massages received are the agreement report handled to main equipment CPU
Text;If so, the protocol massages received are forwarded to ENCAP module;Otherwise, the protocol massages received are returned into CMIC mould
Block is handled by CMIC module forwards to from the CPU of equipment.
In message repeating process, the message that transmitted to CPU is handled can all reach CMIC module;RCPU CHECK module
It is mainly exactly to detect to need to give the distal end CPU protocol massages that (i.e. the CPU of main equipment) is handled with detection function,
To be transmitted to the CPU processing of main equipment after being packaged, what the CPU for not needing main equipment was handled, just directly turn
This is sent to be handled from the CPU of equipment.In implementation, RCPU CHECK module can be enabled when initializing from equipment
Above-mentioned detection function.
When it is implemented, preferably, RCPU CHECK module, is specifically used for:
Judge protocol massages on send reason whether belong to prestore on the reason of giving the CPU of main equipment;If it is,
Determine that the protocol massages received are the protocol massages handled to main equipment.
When above give the protocol massages of CPU of main equipment it is more when, the CPU mouth of main equipment will appear blocking be lined up
The case where, in order to guarantee that the protocol massages of high priority will not be dropped, the CPU priority processing internal priority of main equipment is high
Protocol massages.Thus, preferably, including the internal priority information sent on protocol massages in DCB information.
Preferably, being connect from inbound port 26 for judging as shown in figure 4, further include forwarding logic module 25 in exchange chip
Whether the message of receipts is protocol massages, if it is protocol massages, illustrates that CPU is needed to be handled, and is forwarded to CMIC module, and divide
With the internal priority information sent on protocol massages.
Based on same inventive concept, the embodiment of the present invention also provides the slave equipment in a kind of switchboard stacked system, from
Equipment includes the exchange chip as described in any of the above embodiment.
Based on same inventive concept, the embodiment of the present invention also provides one kind as described above from equipment processing protocol report
The method of text, as shown in Figure 5, comprising:
Step 510, the ENCAP module of exchange chip are to the association to the main equipment CPU processing in stacking system received
Message is discussed, RCPU head is encapsulated;Wherein, include in RCPU L2 with protocol massages it is original on send the DCB information of main equipment CPU;
Wherein, L2 include the internal target MAC (Media Access Control) address used, and the MAC Address from equipment CPU;DCB information includes at least inbound port
Reason, timestamp, vlan information are sent in information, protocol massages;
Step 520, ENCAP module are searched according to L2 forwarding table and internal target MAC (Media Access Control) address, the vlan information used
To the information of the CPU mouth of the exchange chip of the exchange chip and main equipment of main equipment;Wherein, inside is included at least in L2 forwarding table
The target MAC (Media Access Control) address used, vlan information, the information of the CPU mouth of the exchange chip of the exchange chip and main equipment of main equipment
Corresponding relationship;
Step 530, ENCAP module are according to MOD/PORT forwarding table and the letter of the exchange chip of the main equipment found
Breath, finds the stack port information with the exchange chip CPU port communications of main equipment, and the protocol massages after encapsulation are forwarded to
Stack port indicated by the stack port information found;The exchange chip of main equipment is included at least in MOD/PORT forwarding table
Information and stack port information corresponding relationship;
After step 540, the stack port found receive the protocol massages of ENCAP module encapsulation, sealed for protocol massages
Dress carries the HIGIG head of the information of the CPU mouth of the exchange chip of main equipment, and is sent to the exchange chip of main equipment.
In the embodiment of the present invention, using only ENCAP module this hardware module in exchange chip, specially treats master and setting
The protocol massages of standby CPU processing are packaged, and compared with being forwarded to be packaged from the CPU of equipment in the prior art, are not only sealed
It is shorter the time required to dress process, and repeating process is simplified, hardware forwarding speed only is carried out faster using exchange chip, in this way
It is greatly improved the stacking system protocol convergence time, the treatment effeciency of protocol massages is improved, reduces agreement and switched
Packet loss quantity in journey.In addition, also disposably encapsulated in RCPU protocol massages it is original on send main equipment CPU DCB
Information, it is ensured that by protocol massages it is original on the information preservation sent get off, be sent to the CPU of main equipment, without being lost,
It can accomplish under the information for giving the CPU of main equipment from the received protocol massages of equipment end and interchanger single machine on protocol massages
The information for giving the CPU of single machine is consistent.
Preferably, the ENCAP module of exchange chip is to the agreement to the main equipment CPU processing in stacking system received
Message, before encapsulation RCPU, method provided in an embodiment of the present invention further include:
Whether the message that the forwarding logic module judgement of exchange chip receives is protocol massages;If it is protocol massages,
The protocol massages are forwarded to the CMIC module of exchange chip;
CMIC module forwards the protocol massages received in the state that the RCPU CHECK module of exchange chip is enabled
To RCPU CHECK module;In the state that RCPU CHECK module is not enabled on, the protocol massages received are forwarded to from setting
Standby CPU is packaged;
Whether the protocol massages that the judgement of RCPU CHECK module receives are the protocol massages handled to main equipment CPU;Such as
Fruit is that the protocol massages received are forwarded to ENCAP module;Otherwise, the protocol massages received are returned into CMIC module, by
CMIC module forwards are handled to from the CPU of equipment.
Preferably, whether the protocol massages that the judgement of RCPU CHECK module receives are the agreement report handled to main equipment
Text, specific implementation may is that RCPU CHECK module judge protocol massages on send reason whether belong to prestore on give
To main equipment CPU the reason of;If it is, determining that protocol massages are the protocol massages handled to main equipment.
Preferably, if forwarding logic module judges that the message received from the port of equipment is protocol massages, the present invention
The processing method that embodiment provides further include:
That send on forwarding logic module assignment protocol massages enters internal priority information, so as to main equipment CPU according to association
The internal priority information of view message up sending handles protocol massages.
Based on same inventive concept, the embodiment of the present invention also provides a kind of switchboard stacked system, including main equipment and
Slave equipment as described in any of the above embodiment.
Based on same inventive concept, the embodiment of the present invention also provides a kind of exchange piling as described above in Example
The method of processing protocol message in system, as shown in fig. 6, this method comprises:
Step 610, from the device, the ENCAP module of exchange chip is to receiving to the main equipment CPU in stacking system
The protocol massages of processing encapsulate RCPU head;Wherein, include in RCPU L2 with protocol massages it is original on send main equipment CPU's
DCB information;Wherein, L2 include the internal target MAC (Media Access Control) address used, and the MAC Address from equipment CPU;DCB information is at least wrapped
It includes ingress port information, send reason, timestamp, vlan information on protocol massages;
Step 620, ENCAP module are searched according to L2 forwarding table and internal target MAC (Media Access Control) address, the vlan information used
To the information of the CPU mouth of the exchange chip of the exchange chip and main equipment of main equipment;Wherein, inside is included at least in L2 forwarding table
The target MAC (Media Access Control) address used, vlan information, the information of the CPU mouth of the exchange chip of the exchange chip and main equipment of main equipment
Corresponding relationship;
Step 630, ENCAP module are according to MOD/PORT forwarding table and the letter of the exchange chip of the main equipment found
Breath, finds the stack port information with the exchange chip CPU port communications of main equipment, and the protocol massages after encapsulation are forwarded to
Stack port indicated by the stack port information found;The exchange chip of main equipment is included at least in MOD/PORT forwarding table
Information and stack port information corresponding relationship;
After step 640, the stack port found receive the protocol massages of ENCAP module encapsulation, sealed for protocol massages
Dress carries the HIGIG head of the information of the CPU mouth of the exchange chip of main equipment, and is sent to the exchange chip of main equipment;
In step 650, main equipment, exchange chip receives the protocol massages sent from equipment, and is forwarded to main equipment
CPU。
Preferably, from the device, the ENCAP module of exchange chip is to receiving to the main equipment CPU in stacking system
The protocol massages of processing, before encapsulation RCPU, method provided in an embodiment of the present invention further include:
From the device, the logical forwarding module of exchange chip is by receiving message from the inbound port of equipment;
Whether the message that the judgement of forwarding logic module receives is protocol massages;If it is protocol massages, by the agreement report
Text is forwarded to the CMIC module from the exchange chip of equipment;
CMIC module is in the state that the RCPU CHECK module of the exchange chip from equipment is enabled, the agreement that will receive
Message is forwarded to RCPU CHECK module;In the state that RCPU CHECK module is not enabled on, the protocol massages received are turned
It is sent to from the CPU of equipment and is packaged;
Whether the protocol massages that the judgement of RCPU CHECK module receives are the protocol massages handled to main equipment CPU;Such as
Fruit is that the protocol massages received are forwarded to ENCAP module;Otherwise, the protocol massages received are returned into CMIC module, by
CMIC module forwards are handled to from the CPU of equipment.
Below with reference to specific application scenarios to a kind of switchboard stacked system provided in an embodiment of the present invention, from equipment,
Exchange chip and processing protocol message method are described below in greater detail.
In the switchboard stacked system of the present embodiment, as shown in fig. 7, comprises main equipment 30 and from equipment 40, main equipment packet
CPU50 and exchange chip 60 are included, includes exchange chip 20 and CPU70 from equipment 40.
The hardware configuration of exchange chip in the present embodiment is as shown in Figure 4, comprising: inbound port 26, forwarding logic module 25,
CMIC module 23, RCPU CHECK module 24, ENCAP module 21, stack port 22.
It is specific as follows to the treatment process of protocol massages in the present embodiment based on this:
Step 1: being sent to forwarding logic module 25 after receiving message from inbound port 26.
Step 2: forwarding logic module 25 judges whether the message is protocol massages, if it is protocol massages, forwarding logic
Internal priority information is written in module 25 in the corresponding DCB information of protocol massages, and protocol massages are forwarded to CMIC module
23。
Step 3: protocol massages are forwarded to RCPU CHECK module 24 by CMIC module 23.
Wherein, the above-mentioned detection function of RCPU CHECK module 24 has been enabled when initializing from equipment.
Step 4: RCPU CHECK module 24 judges whether the protocol massages received are the association handled to main equipment CPU
Discuss message;If so, the protocol massages received are forwarded to ENCAP module;Otherwise, the protocol massages received are returned
CMIC module is handled by CMIC module forwards to from the CPU of equipment.
In implementation, the reason of RCPU CHECK module of exchange chip can be preset register, the value of register is
The reason of CPU of main equipment is given on protocol massages passes through CAP including at least the reason of sending on protocol massages register is passed through
The reason of being sent in matching rule, by MAC table be arranged on send the reason of, if meeting these reasons of setting, it is necessary to enter
ENCAP module automatic packaging, to be forwarded to the CPU of main equipment.
Step 5: ENCAP module 21 is that protocol massages encapsulate RCPU head;It wherein, include L2 and agreement report in RCPU
The DCB information of main equipment CPU is sent on text is original;Wherein, L2 include the internal target MAC (Media Access Control) address used, and from equipment CPU's
MAC Address;DCB information includes at least ingress port information, the internal priority information sent on protocol massages, send original on protocol massages
Cause, timestamp, vlan information.
In implementation, in L2, VLAN is default vlan 1, and Ethernet protocol type is the internal protocol type used.
In implementation, the internal priority information sent on the protocol massages is individually encapsulated in RCPU by ENCAP module
In CPU_TC field.The field occupies 2 byte wides, which is located at the 28th byte of encapsulated message (not counting VLAN
It is the 24th byte in the case where TAG).
Step 6: ENCAP module 21 is searched according to L2 forwarding table and internal target MAC (Media Access Control) address, the vlan information used
To the information of the CPU mouth of the exchange chip of the exchange chip and main equipment of main equipment;Wherein, inside is included at least in L2 forwarding table
The target MAC (Media Access Control) address used, vlan information, the information of the CPU mouth of the exchange chip of the exchange chip and main equipment of main equipment
Corresponding relationship.
Step 7: ENCAP module 21 is according to MOD/PORT forwarding table and the letter of the exchange chip of the main equipment found
Breath, finds the stack port information with the exchange chip CPU port communications of main equipment, and the protocol massages after encapsulation are forwarded to
Stack port indicated by the stack port information found;The exchange chip of main equipment is included at least in MOD/PORT forwarding table
Information and stack port information corresponding relationship.
Step 8: being sealed after the stack port 22 found receives the protocol massages that ENCAP module encapsulates for protocol massages
Dress carries the HIGIG head of the information of the CPU mouth of the exchange chip of main equipment, and is sent to the exchange chip 60 of main equipment.
Step 9: the exchange chip 60 of main equipment passes through the agreement after receiving encapsulation with the stack port connecting from equipment
After message, which has HIGIG head, and the exchange chip of main equipment searches the purpose that the HIGIG hair shows protocol massages
Port is the CPU mouth of exchange chip, then protocol massages are directly transmitted to the CPU mouth of exchange chip.
Step 10: when the CPU50 for the main equipment connecting with the CPU of exchange chip mouth receives the protocol massages after encapsulation,
The head for parsing RCPU, obtains above-mentioned L2 and DCB information, so that it may the reason of obtaining the CPU that main equipment is given on protocol massages,
Receive the inbound port of protocol massages, internal priority information etc..
Due to being packaged with internal priority information in the RCPU of protocol massages head, need to create in main equipment exchange chip
New inside suction parameter of configuration access (Ingress Content Aware Processer, an ICAP) template list item is built to be used to
Protocol fields after the encapsulation of match protocol message, and setting user are customized (User File Directory, UDF), setting
Matched field be message offset be initially 24 bytes, byte wide is 2 bytes, for match encapsulate after message RCPU head
In CPU_TC internal priority value field.In this way by match the two fields can identify such protocol massages and certain
Then the message of a internal priority value carries out the specially treated of next step for this kind of message.
For the message for some internal priority being identified above, ICAP relevant action, movement are as follows: in main equipment are set
The grade of service (Class of Service, COS) queue of the internal priority modification transmitted to CPU of CPU, modifies internal priority
Value be matched CPU_TC field (internal priority value).The priority COS team from the CPU of equipment is sent on this ensures that
Column are consistent by arriving the priority COS queue of CPU of main equipment after forwarding with protocol massages, to guarantee the report of high priority
Text is in high-priority queue, is preferentially handled by the CPU of main equipment.
In the present embodiment, the trend of the data flow of protocol massages is as shown in the arrow of Fig. 7, by the exchange core from equipment
Piece, the exchange chip of main equipment, main equipment CPU, compared with the data flow of protocol massages shown in FIG. 1 in the prior art,
The process by the CPU from equipment is saved, faster to the processing speeds of protocol massages.
Switchboard stacked system provided in an embodiment of the present invention, from equipment, exchange chip and processing protocol message method,
Using only ENCAP module this hardware module in exchange chip, the protocol massages for specially treating main equipment CPU processing are carried out
Encapsulation, it is not only shorter the time required to encapsulation process compared with being forwarded to be packaged from the CPU of equipment in the prior art, but also
Repeating process is simplified, only carries out hardware forwarding speed faster using exchange chip, is greatly improved stacking system association in this way
Convergence time is discussed, the treatment effeciency of protocol massages is improved, the packet loss quantity in agreement reversed process is reduced.In addition, also
Disposably encapsulated in RCPU protocol massages it is original on send main equipment CPU DCB information, it is ensured that by protocol massages
The information preservation sent on original is got off, and the CPU of main equipment is sent to, and without being lost, can be accomplished received from equipment end
The information that the CPU for giving single machine in the information and protocol massages under interchanger single machine of the CPU of main equipment is given on protocol massages is
It is consistent.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (8)
1. a kind of exchange chip, from the device applied to switchboard stacked system, which is characterized in that including encapsulating ENCAP mould
Block and stack port;
The ENCAP module, is used for:
To the protocol massages to the main equipment central processor CPU processing in the stacking system received, far-end is encapsulated
Manage device RCPU head;Wherein, include two layers of Ethernet protocol L2 in RCPU described with protocol massages it is original on send main equipment CPU
Data center bridging DCB information;Wherein, described L2 includes the internal purpose MAC address used and institute
State the MAC Address from equipment CPU;The DCB information includes at least ingress port information, send reason, timestamp, void on protocol massages
Quasi- local area network vlan information;
According to target MAC (Media Access Control) address, vlan information that L2 forwarding table and the inside use, the exchange of the main equipment is found
The information of the CPU mouth of the exchange chip of chip and main equipment;Wherein, include at least what the inside used in the L2 forwarding table
Target MAC (Media Access Control) address, vlan information, the exchange chip of the main equipment, the main equipment exchange chip CPU mouth information
Corresponding relationship;
According to module/port MOD/PORT forwarding table and the information of the exchange chip of the main equipment found, find
With the stack port information of the exchange chip CPU port communications of the main equipment, and the protocol massages after encapsulation are forwarded to
Stack port indicated by the stack port information found;Including at least the main equipment in the MOD/PORT forwarding table
The information of exchange chip and the corresponding relationship of stack port information;
The stack port is sealed after receiving the protocol massages that the ENCAP module encapsulates for the protocol massages
Dress carries the HIGIG head of the information of the CPU mouth of the exchange chip of the main equipment, and is sent to the exchange core of the main equipment
Piece;
Wherein, the exchange chip further includes forwarding logic module, central processing unit management interface controller CMIC module and remote
Hold central processing unit processing detection RCPU CHECK module;
The forwarding logic module, for judging whether received message is protocol massages, if protocol massages, then by the association
View message is forwarded to the CMIC module;
The CMIC module, in the state that RCPU CHECK module is enabled, the protocol massages received to be forwarded to
RCPU CHECK module;In the state that RCPU CHECK module is not enabled on, by the protocol massages received be forwarded to it is described from
The CPU of equipment is packaged;
The RCPU CHECK module, for judging whether the protocol massages received are the association handled to the main equipment CPU
Discuss message;If so, the protocol massages received are forwarded to the ENCAP module;Otherwise, the protocol massages received are returned
The CMIC module is returned, by the CMIC module forwards to described from the CPU of equipment processing.
2. exchange chip according to claim 1, which is characterized in that the RCPU CHECK module is specifically used for:
Judge protocol massages on send reason whether belong to prestore on the reason of giving the CPU of the main equipment;If it is,
Determine that the protocol massages received are the protocol massages handled to main equipment.
3. exchange chip according to claim 1, which is characterized in that further include being sent on protocol massages in the DCB information
Internal priority information.
4. the slave equipment in a kind of switchboard stacked system, which is characterized in that described to appoint from equipment including such as claims 1 to 3
Exchange chip described in one.
5. one kind is as claimed in claim 4 from the method for equipment processing protocol message characterized by comprising
The ENCAP module of exchange chip is to the agreement to the main equipment central processor CPU processing in stacking system received
Message encapsulates remote processor RCPU head;It wherein, include two layers of Ethernet protocol L2 and protocol massages original in RCPU described
The data center bridging DCB information of main equipment CPU is sent on beginning;Wherein, described L2 includes the internal purpose media interviews used
Control MAC Address and the MAC Address from equipment CPU;The DCB information is including at least on ingress port information, protocol massages
Send reason, timestamp, virtual LAN VLAN information;
Target MAC (Media Access Control) address, the vlan information that the ENCAP module is used according to L2 forwarding table and the inside, find institute
State the information of the CPU mouth of the exchange chip of main equipment and the exchange chip of main equipment;Wherein, it is included at least in the L2 forwarding table
Target MAC (Media Access Control) address that the inside uses, vlan information, the exchange chip of the main equipment, the main equipment exchange chip
CPU mouth information corresponding relationship;
The ENCAP module is according to module/port MOD/PORT forwarding table and the exchange chip of the main equipment found
Information, find the stack port information with the exchange chip CPU port communications of the main equipment, and by the association after encapsulation
View message is forwarded to stack port indicated by the stack port information found;It is included at least in the MOD/PORT forwarding table
The information of the exchange chip of the main equipment and the corresponding relationship of stack port information;
After the stack port found receives the protocol massages of the ENCAP module encapsulation, sealed for the protocol massages
Dress carries the HIGIG head of the information of the CPU mouth of the exchange chip of the main equipment, and is sent to the exchange core of the main equipment
Piece;
Wherein, the ENCAP module of exchange chip is to the protocol massages received to the main equipment CPU processing in stacking system,
Before encapsulation RCPU, this method further include:
Whether the message that the forwarding logic module judgement of exchange chip receives is protocol massages;If it is protocol massages, by this
Protocol massages are forwarded to the central processing unit management interface controller CMIC module of exchange chip;
The CMIC module in the state that distal center processor processing detection RCPU CHECK module of exchange chip is enabled,
The protocol massages received are forwarded to RCPU CHECK module;In the state that RCPU CHECK module is not enabled on, it will receive
To protocol massages be forwarded to and described be packaged from the CPU of equipment;
Whether the protocol massages that the RCPU CHECK module judgement receives are the agreement report handled to the main equipment CPU
Text;If so, the protocol massages received are forwarded to the ENCAP module;Otherwise, the protocol massages received are returned
The CMIC module is returned, by the CMIC module forwards to described from the CPU of equipment processing;
Whether the protocol massages that the RCPU CHECK module judgement receives are the protocol massages handled to main equipment, comprising:
The RCPU CHECK module judge protocol massages on send reason whether belong to prestore on give the main equipment
The reason of CPU;If it is, determining that the protocol massages are the protocol massages handled to main equipment.
6. according to the method described in claim 5, it is characterized in that, if forwarding logic module judgement is described from equipment
The message that port receives is protocol massages, this method further include:
The internal priority information sent on protocol massages described in the forwarding logic module assignment, so as to main equipment CPU according to
The internal priority information sent on protocol massages handles the protocol massages.
7. a kind of switchboard stacked system, which is characterized in that including main equipment and as claimed in claim 4 from equipment.
8. a kind of method of processing protocol message in switchboard stacked system as claimed in claim 7, which is characterized in that packet
It includes:
From the device, the ENCAP module of exchange chip is to receiving to the main equipment central processor CPU in stacking system
The protocol massages of reason encapsulate remote processor RCPU head;Wherein, include two layers of Ethernet protocol L2 in RCPU described and assist
The data center bridging DCB information of main equipment CPU is sent on view message is original;Wherein, described L2 includes the internal purpose used
MAC address and the MAC Address from equipment CPU;The DCB information includes at least ingress port information, association
Discuss message up sending reason, timestamp, virtual LAN VLAN information;
Target MAC (Media Access Control) address, the vlan information that the ENCAP module is used according to L2 forwarding table and the inside, find institute
State the information of the CPU mouth of the exchange chip of main equipment and the exchange chip of main equipment;Wherein, it is included at least in the L2 forwarding table
Target MAC (Media Access Control) address that the inside uses, vlan information, the exchange chip of the main equipment, the main equipment exchange chip
CPU mouth information corresponding relationship;
The ENCAP module is according to module/port MOD/PORT forwarding table and the exchange chip of the main equipment found
Information, find the stack port information with the exchange chip CPU port communications of the main equipment, and by the association after encapsulation
View message is forwarded to stack port indicated by the stack port information found;It is included at least in the MOD/PORT forwarding table
The information of the exchange chip of the main equipment and the corresponding relationship of stack port information;
After the stack port found receives the protocol massages of the ENCAP module encapsulation, sealed for the protocol massages
Dress carries the HIGIG head of the information of the CPU mouth of the exchange chip of the main equipment, and is sent to the exchange core of the main equipment
Piece;
In main equipment, exchange chip receives the protocol massages sent from equipment, and is forwarded to the CPU of main equipment;
Wherein, it is described from the device, the ENCAP module of exchange chip is to receiving to the main equipment in the stacking system
The protocol massages of CPU processing, before encapsulation RCPU, this method further include:
It is described from the device, the forwarding logic module of exchange chip is by receiving message from the inbound port of equipment;
Whether the message that the forwarding logic module judgement receives is protocol massages;If it is protocol massages, by the agreement report
Text is forwarded to the central processing unit management interface controller CMIC module from the exchange chip of equipment;
The CMIC module is enabled in the distal center processor processing detection RCPU CHECK module of the exchange chip from equipment
In the state of, the protocol massages received are forwarded to RCPU CHECK module;In the state that RCPU CHECK module is not enabled on
Under, the protocol massages received are forwarded to and described are packaged from the CPU of equipment;
Whether the protocol massages that the RCPU CHECK module judgement receives are the agreement report handled to the main equipment CPU
Text;If so, the protocol massages received are forwarded to the ENCAP module;Otherwise, the protocol massages received are returned
The CMIC module is returned, by the CMIC module forwards to described from the CPU of equipment processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611094388.1A CN106685826B (en) | 2016-12-01 | 2016-12-01 | Switchboard stacked system, from equipment, exchange chip and processing protocol message method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611094388.1A CN106685826B (en) | 2016-12-01 | 2016-12-01 | Switchboard stacked system, from equipment, exchange chip and processing protocol message method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106685826A CN106685826A (en) | 2017-05-17 |
CN106685826B true CN106685826B (en) | 2019-09-17 |
Family
ID=58865993
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611094388.1A Active CN106685826B (en) | 2016-12-01 | 2016-12-01 | Switchboard stacked system, from equipment, exchange chip and processing protocol message method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106685826B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107257323A (en) * | 2017-06-21 | 2017-10-17 | 山东超越数控电子有限公司 | A kind of exchange piling method in plate |
CN109995678B (en) * | 2017-12-29 | 2022-06-10 | 迈普通信技术股份有限公司 | Message transmission method and device |
CN108924064B (en) * | 2018-06-27 | 2021-03-09 | 北京东土军悦科技有限公司 | Switch quick start method, switch and medium |
CN111221660B (en) * | 2018-11-26 | 2023-03-24 | 中兴通讯股份有限公司 | Method, apparatus and storage medium for I2C device management in a stacked system |
CN110830393B (en) * | 2019-10-22 | 2021-07-30 | 苏州盛科科技有限公司 | Method and device for realizing MACsec in chip stacking mode |
CN113452538B (en) | 2020-03-26 | 2022-12-13 | 华为技术有限公司 | Control device, execution device, device management method, and device management system |
CN111464447B (en) * | 2020-04-08 | 2021-08-13 | 苏州盛科通信股份有限公司 | Method and device for synchronizing forwarding tables of ultra-bandwidth multi-core Ethernet switching chips |
CN111654560B (en) * | 2020-06-02 | 2022-10-21 | 中电科航空电子有限公司 | Physical address table management interaction method for airborne software and hardware stack switch |
CN115118682A (en) * | 2022-06-06 | 2022-09-27 | 上海华信长安网络科技有限公司 | Method and device for communication between stacking switch and external equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7613201B1 (en) * | 2003-04-18 | 2009-11-03 | Rmi Corporation | Stacked network switch using resilient packet ring communication protocol |
CN101527643B (en) * | 2009-03-26 | 2011-05-11 | 杭州华三通信技术有限公司 | Method, system and main equipment for acquiring stacking system information |
CN102307137A (en) * | 2011-07-13 | 2012-01-04 | 北京星网锐捷网络技术有限公司 | Method and device for transmitting and receiving management message, stacked switchboard and switchboard system |
CN103401773A (en) * | 2013-06-26 | 2013-11-20 | 杭州华三通信技术有限公司 | Method and network equipment realizing interboard communication |
CN103763115A (en) * | 2014-01-20 | 2014-04-30 | 杭州华三通信技术有限公司 | Method and device for processing protocol message |
CN105704023A (en) * | 2014-11-26 | 2016-06-22 | 中兴通讯股份有限公司 | Packet forwarding method and packet forwarding device for stacking system, and stacking equipment |
-
2016
- 2016-12-01 CN CN201611094388.1A patent/CN106685826B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7613201B1 (en) * | 2003-04-18 | 2009-11-03 | Rmi Corporation | Stacked network switch using resilient packet ring communication protocol |
CN101527643B (en) * | 2009-03-26 | 2011-05-11 | 杭州华三通信技术有限公司 | Method, system and main equipment for acquiring stacking system information |
CN102307137A (en) * | 2011-07-13 | 2012-01-04 | 北京星网锐捷网络技术有限公司 | Method and device for transmitting and receiving management message, stacked switchboard and switchboard system |
CN103401773A (en) * | 2013-06-26 | 2013-11-20 | 杭州华三通信技术有限公司 | Method and network equipment realizing interboard communication |
CN103763115A (en) * | 2014-01-20 | 2014-04-30 | 杭州华三通信技术有限公司 | Method and device for processing protocol message |
CN105704023A (en) * | 2014-11-26 | 2016-06-22 | 中兴通讯股份有限公司 | Packet forwarding method and packet forwarding device for stacking system, and stacking equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106685826A (en) | 2017-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106685826B (en) | Switchboard stacked system, from equipment, exchange chip and processing protocol message method | |
CN104601432B (en) | A kind of message transmitting method and equipment | |
TWI521922B (en) | Multi-homing in an extended bridge | |
CN104639470B (en) | Traffic identifier packaging method and system | |
CN104410541B (en) | The method and device that VXLAN internal layer virtual machine traffics are counted in intermediary switch | |
CN104579695B (en) | A kind of data forwarding device and method | |
CN107181663A (en) | A kind of message processing method, relevant device and computer-readable recording medium | |
CN104618194B (en) | Software defined network monitoring messages method and SDN controllers, switching equipment | |
CN106878138B (en) | A kind of message transmitting method and device | |
CN102857414B (en) | A kind of forwarding table write-in, message forwarding method and device | |
US20160261496A1 (en) | Packet forwarding in data center network | |
CN103944818B (en) | A kind of method and system for returning Message processing in access stacking network more | |
CN104780111B (en) | Virtualize the method and device, virtualization network that message forwards in network | |
CN106603550B (en) | A kind of Network Isolation method and device | |
CN107733799A (en) | A kind of message transmitting method and device | |
EP1614250A2 (en) | Transparent ipsec processing inline between a framer and a network component | |
CN105162732B (en) | Create the method, apparatus of ECP Extended Capabilities Port | |
CN105991387A (en) | Message transformation method and device of virtual extensible local area network (VXLAN) | |
US10050859B2 (en) | Apparatus for processing network packet using service function chaining and method for controlling the same | |
CN106209638B (en) | From virtual LAN to the message forwarding method and equipment of virtual expansible local area network | |
CN106385344B (en) | A kind of monitoring messages method and apparatus | |
CN109617995A (en) | To management system, method and the electronic equipment of tenant's cluster VPC internal container | |
CN104639440B (en) | A kind of method and apparatus for realizing three layers of forwarding and tunneling information in a network | |
CN105339934B (en) | A kind of message processing method and device | |
CN106506315B (en) | A kind of transparent configuration method of message forwarding |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 100094 First to Fifth Floors of Building 11, East Yard, No. 10 Wangdong Road, Northwest Haidian District, Beijing Applicant after: Raisecom Technology Inc. Address before: 100085 No. 2 Building, No. 28 Shangdi Sixth Street, Haidian District, Beijing Applicant before: Raisecom Technology Inc. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |