CN102447637B - Message processing method, system and network apparatus - Google Patents

Message processing method, system and network apparatus Download PDF

Info

Publication number
CN102447637B
CN102447637B CN201210005672.2A CN201210005672A CN102447637B CN 102447637 B CN102447637 B CN 102447637B CN 201210005672 A CN201210005672 A CN 201210005672A CN 102447637 B CN102447637 B CN 102447637B
Authority
CN
China
Prior art keywords
message
fcoe
information
extension header
vsan
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210005672.2A
Other languages
Chinese (zh)
Other versions
CN102447637A (en
Inventor
黄志彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ruijie Networks Co Ltd
Original Assignee
Fujian Star Net Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN201210005672.2A priority Critical patent/CN102447637B/en
Publication of CN102447637A publication Critical patent/CN102447637A/en
Application granted granted Critical
Publication of CN102447637B publication Critical patent/CN102447637B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a message processing method, system and network apparatus. The method comprises the following steps: receiving an FCoE (Fiber Channel over Ethernet) message transmitted by an FCoE host computer, wherein an expansion header is carried in the FCoE message; extracting the expansion header of the FCoE message and VSAN (virtual storage area network) information according to the offset position of the expansion header in the FCoE message as well as the offset position of the VSAN information in the expansion header in the FCoE message; and correspondingly processing the FCoE message according to the preset message processing strategy on the basis of the expansion header and the VSAN information. The network apparatus comprises a receiving module, an extracting module and a message processing module. The message processing system comprises the FCoE host computer and the network apparatus. According to the invention, the VSAN information can be directly acquired from the FCoE message, and the corresponding processing can be carried out according to the VSAN information, thereby overcoming the defect that the consistency between the VLAN and the VSAN information binding relationship must be ensured in the prior art.

Description

Message processing method, System and Network equipment
Technical field
The present invention relates to the communication technology, relate in particular to a kind of message processing method, System and Network equipment.
Background technology
In traditional data center, local area network (LAN) (Local Area Network; Hereinafter to be referred as: LAN) and storage area network (Storage Area Network; Hereinafter to be referred as: SAN) be mutually isolation, what conventionally in LAN, move is Ethernet protocol, and that in SAN network, move is optical-fibre channel (Fibre Channel; Hereinafter to be referred as: FC) agreement.In storage networking, be packet loss not to the basic demand of network, and the besteffort service that traditional ethernet provides cannot meet the demand of storage networking.Along with the development of harmless ethernet technology, data center is also gradually to the future development of the network integration.Ethernet optical-fibre channel (Fibre Channel over Ethernet; Hereinafter to be referred as: FCoE) be again (the InterNational Committee for Information Technology Standards of the international information technical standard committee of 2007; Hereinafter to be referred as: T11 committee INCITS) starts the standard of formulating, FCoE is in comprehensive stem that encapsulates Ethernet of FC frame, carry storage networking business by Ethernet, realize the network integration of data center, Ethernet message and storage network message in data center all can be operated on ethernet link.The forwarding process of FCoE message in Ethernet chip can be divided into following step substantially: stem parsing, Lookup engine, appointment outlet and amendment message; Wherein, the message of resolving entering forwarding chip by stem is resolved, and obtains the keyword that follow-up needs mate; In the time that the keyword of packet parsing has hit the forwarding-table item on Lookup engine, specify the outlet information of this message etc., and revise message content.In FC network, by introducing virtual region storage networking (Virtual Storage Area Network; Hereinafter to be referred as: concept VSAN), to realize the object of sharing multiple logical topologys in a physical topology.Therefore,, in FC switch, VSAN information is one of message characteristic of the required coupling of Lookup engine.
In the prior art, because Ethernet chip does not have FC protocol stack, cannot directly resolve the VSAN information of the FC data of FCoE message encapsulation.Therefore,, conventionally by VLAN and VSAN information are bound together, under FCoE environment, main frame and switch both sides directly navigate to VSAN by mapping VLAN.Bind by VLAN and VSAN information, the FC protocol massages that had originally carried VSAN information is encapsulated in Ethernet to the mark of VLAN, on exchange chip, being configured to VLAN is the forwarding-table item of searching feature, this message is through Ethernet chip, hit forwarding-table item by coupling vlan information, realize the forwarding based on VLAN, bound due to VLAN and VSAN information, also indirectly realized in this way the forwarding object based on VSAN information of FC network.
But, it is one to one that scheme of the prior art requires between the VLAN of whole net and VSAN information, if different port is mapped to identical VSAN by different VLAN, or the VLAN on distinct device is different with the mapping relations of VSAN, causes FCoE message normally to forward or may be forwarded to mistakenly on the equipment of other VSAN.
Summary of the invention
The invention provides a kind of message processing method, System and Network equipment, what in solution prior art, exist must guarantee VLAN and the consistent defect of VSAN information binding relationship, without according to the VLAN in FCoE message, message being processed accordingly.
First aspect of the present invention is to provide a kind of message processing method, comprising:
Receive the FCoE message that Ethernet Fibre Channel oE main frame sends, in described FCoE message, carry extension header;
Deviation post according to described extension header in described FCoE message, and the deviation post of virtual region storage networking VSAN information in described FCoE message in described extension header, extract extension header and the VSAN information of described FCoE message;
According to described extension header and described VSAN information, according to default message processing policy, described FCoE message is processed accordingly.
Another aspect of the present invention is to provide a kind of network equipment, comprising:
Receiver module, the FCoE message sending for receiving Ethernet Fibre Channel oE main frame carries extension header in described FCoE message;
Extraction module, for the deviation post at described FCoE message according to described extension header, and the deviation post of virtual region storage networking VSAN information in described FCoE message in described extension header, extract extension header and the VSAN information of described FCoE message;
Message processing module (MPM), for according to described extension header and described VSAN information, processes described FCoE message accordingly according to default message processing policy.
Another aspect of the present invention is to provide a kind of message handling system, comprises Ethernet Fibre Channel oE main frame and the above-mentioned network equipment.
Technique effect of the present invention is: by carrying extension header in the FCoE message sending at FCoE main frame, deviation post according to extension header in FCoE message, and the deviation post of VSAN information in FCoE message in extension header, extract extension header and the VSAN information of FCoE message, according to extension header and VSAN information, according to default message processing policy, FCoE message is processed accordingly.The present embodiment can directly obtain VSAN information from FCoE message, and process accordingly according to VSAN information, without the VLAN relying in FCoE message, thus solved in prior art, exist must guarantee VLAN and the consistent defect of VSAN information binding relationship, simplified network configuration.
Brief description of the drawings
Fig. 1 is the flow chart of message processing method embodiment mono-of the present invention;
Fig. 2 is the signaling diagram of message processing method embodiment bis-of the present invention;
Fig. 3 is the frame format schematic diagram of FCoE message in message processing method embodiment bis-of the present invention;
Fig. 4 is the frame format schematic diagram of FC frame in message processing method embodiment bis-of the present invention;
Fig. 5 is the frame format schematic diagram of VFT stem in message processing method embodiment bis-of the present invention;
Fig. 6 is the network architecture schematic diagram of the FCoE message repeating based on VSAN in message processing method embodiment bis-of the present invention;
Fig. 7 is the structure chart of network equipment embodiment mono-of the present invention;
Fig. 8 is the structure chart of network equipment embodiment bis-of the present invention.
Embodiment
Fig. 1 is the flow chart of message processing method embodiment mono-of the present invention, and as shown in Figure 1, the present embodiment provides a kind of message processing method, can specifically comprise the steps:
Step 101, receives the FCoE message that FCoE main frame sends, and in described FCoE message, carries extension header.
In the present embodiment, when FCoE message processing in prior art in order to overcome, VLAN and VSAN information need to be bound, and by the VLAN in FCoE message, message is forwarded etc. the defect of processing, the present embodiment provides a kind of improved message processing method, without VLAN and VSAN information are bound.This step is to receive the FCoE message that FCoE main frame sends, in this FCoE message, can carry extension header, be specially switch and receive the FCoE message that FCoE main frame sends, switch herein can be specially switch (the FCoE Forwarder that supports FCoE characteristic; Hereinafter to be referred as: FCF) equipment.Existing based on VLAN forwarding scheme in, conventionally in FCoE message, do not carry extension header, realize message repeating by the VLAN field in FCoE message.In the present embodiment, sign in in the process of FCF equipment at FCoE main frame, consult by the two, FCF equipment requirement FCoE main frame carries extension header in the FCoE message sending, and uses in order in subsequent process.Extension header herein can be specially virtual switch matrix label (Virtual Fabric Tagging; Hereinafter to be referred as: VFT) stem can be also (the Inter-Fabic Routing of route between switching matrix; Hereinafter to be referred as: IFR) stem specifically describes as an example of VFT stem example herein.Wherein, the VSAN information in FCoE message is specifically arranged in the VFT stem of the FC frame that FCoE message encapsulates.
Step 102, the deviation post according to described extension header in described FCoE message, and the deviation post of VSAN information in described FCoE message in described extension header, extract extension header and the VSAN information of described FCoE message.
Receiving after the FCoE message of FCoE main frame transmission, FCF equipment extracts extension header and VSAN information from this FCoE message, extract VFT stem and VSAN information, this step is specially the deviation post in FCoE message according to VFT stem and extracts this VFT stem, and the deviation post according to VSAN information in FCoE message extracts VSAN information.In the FCoE message of a type, VFT stem and deviation post corresponding to VSAN information are fixed, therefore, receiving after a FCoE message, deviation post according to the VFT stem of knowing in advance in FCoE message, just can get the information that in FCoE message, fill in this deviation post place, this information is VFT stem, correspondingly, deviation post according to the VSAN information of knowing in advance in FCoE message, just can get the information that in FCoE message, fill in this deviation post place, this information is VSAN information.
Step 103, according to described extension header and described VSAN information, processes described FCoE message accordingly according to default message processing policy.
Getting the information that in FCoE message, fill in place, relative offset position,, after VFT stem and VSAN information, according to extension header and VSAN information, according to default message processing policy, described FCoE message is processed accordingly.Message processing policy herein can be specially message repeating strategy, can be also packet filtering strategy, can also be message sending strategy, can also be other association message processing policies well known to those skilled in the art certainly, repeats no more herein.The present embodiment by extracting VSAN information from FCoE message, according to VSAN information to relevant message forward, filter, the processing of transmission etc., VLAN and VSAN information need to be bound thereby overcome when FCoE message processing in prior art, and by the VLAN in FCoE message, message is forwarded etc. the defect of processing, the message processing method that the present embodiment provides is without VLAN and VSAN information are bound, just can accurately navigate to the FCoE message of appointment, thereby process accordingly.
Particularly, above-mentioned steps 103 can specifically comprise the steps: in the time that described default message processing policy is message repeating strategy, according to described extension header and the pre-configured message repeating table of described VSAN information searching, obtain outlet information corresponding to described VSAN information; According to described outlet information, described FCoE message is carried out to forward process.
Or particularly, above-mentioned steps 103 can specifically comprise the steps: in the time that described default message processing policy is packet filtering strategy, and the extension header and FCoE message corresponding to VSAN information that meet described packet filtering strategy are carried out to discard processing.Or, in the time that described default message processing policy is message sending strategy, the extension header and FCoE message corresponding to VSAN information that meet described message sending strategy are sent to the object equipment that described message sending strategy is specified.
Further, the message processing method that the present embodiment provides can also comprise the steps: to obtain the deviation post of described extension header in described FCoE message according to the frame format of FCoE message, and the deviation post of described VSAN information in described FCoE message; Deviation post according to described extension header in described FCoE message and the deviation post of described VSAN information in described FCoE message, configure user define byte adaptation UDB; Using described UDB as keyword, each forwarding-table item in message repeating table is configured.
Further, above-mentioned according to described extension header and the pre-configured message repeating table of described VSAN information searching in the message processing method that the present embodiment provides, the step of obtaining outlet information corresponding to described VSAN information can specifically comprise the steps: the described extension header UDB corresponding with extension header in message repeating table to mate; The UDB that described VSAN information is corresponding with VSAN information in message repeating table mates; In pre-configured message repeating table, search forwarding-table item corresponding to described FCoE message; From forwarding-table item corresponding to described FCoE message, obtain outlet information corresponding to described VSAN information.
The present embodiment provides a kind of message processing method, by carrying extension header in the FCoE message sending at FCoE main frame, deviation post according to extension header in FCoE message, and the deviation post of VSAN information in FCoE message in extension header, extract extension header and the VSAN information of FCoE message, according to extension header and VSAN information, according to default message processing policy, FCoE message is processed accordingly.The present embodiment can directly obtain VSAN information from FCoE message, and process accordingly according to VSAN information, without the VLAN relying in FCoE message, thus solved in prior art, exist must guarantee VLAN and the consistent defect of VSAN information binding relationship, simplified network configuration.
Fig. 2 is the signaling diagram of message processing method embodiment bis-of the present invention, and as shown in Figure 2, the present embodiment provides a kind of message processing method, and the present embodiment is specially message repeating process, can specifically comprise the steps:
Step 201, FCoE host A sends FC initializtion protocol (FC Initialization Protocol to FCF equipment; Hereinafter to be referred as: FIP) VLAN request message.
Message processing method is in the present embodiment specially message forwarding method, and the FCoE message that FCF equipment mails to FCoE host B to FCoE host A forwards.Before message repeating, FCoE main frame need to first be logined FCF equipment, step 201-208 in the present embodiment is whole login process, only describe as an example of the process of FCoE host A login FCF equipment example herein, FCoE host B also adopts similar reciprocal process to complete login, repeats no more herein.The process of FCoE main frame login FCF equipment roughly can be divided into FIP VLAN discovery, FCF discovery, optical fiber login (Fabric Login; Hereinafter to be referred as: FLOGI), port login (Port Login; Hereinafter to be referred as: PLOGI) four-stage.This step is that FCoE host A sends FIP VLAN request message to FCF equipment, sends FIP VLAN Request.
Step 202, FCF equipment returns to FIP VLAN notice message to FCoE host A.
FCF equipment is receiving after the FIP VLAN Request of FCoE host A transmission, return to FIP VLAN notice message to FCoE host A, return to FIP VLAN Notification, show to find FIP VLAN, to complete the FIP VLAN discovery procedure in the login of FCoE main frame.
Step 203, FCoE host A sends and finds request message to FCF equipment.
Complete after FIP VLAN discovery procedure, FCoE host A sends and finds request message to FCF equipment, sends Discovery Solicitation.
Step 204, FCF equipment returns to discovery notification packet to FCoE host A.
FCF equipment, receiving after the Discovery Solicitation of FCoE host A transmission, returns to discovery notification packet to FCoE host A, returns to Discovery Advertisement, shows to find FCF equipment, to complete FCF discovery procedure.
Step 205, FCoE host A sends FIP FLOGI message to FCF equipment.
Complete after FCF discovery procedure, FCoE host A sends FIP FLOGI message to FCF equipment, to hold consultation with FCF equipment, whether in follow-up FCoE, carries VFT stem.
Step 206, FCF equipment returns to FIP FLOGI to FCoE host A and accepts message.
FCF equipment is receiving after the FIP FLOGI message of FCoE host A transmission, accept the negotiation request of FCoE host A, return to FIP FLOGI to FCoE host A and accept message, return to FIPLS_ACC, to complete the negotiation of the two, in the FCoE message that follow-up FCoE host A sends, carry VFT stem.
Step 207, FCoE host A sends FIP PLOGI message to FCF equipment.
Complete after FCF discovery procedure, FCoE host A sends FIP PLOGI message to FCF equipment, with the forwarding port of FCF equipment negotiate further FCoE message.
Step 208, FCF equipment returns to FIP PLOGI to FCoE host A and accepts message.
FCF equipment, receiving after the FIP PLOGI message of FCoE host A transmission, is accepted the negotiation request of FCoE host A, returns to FIP PLOGI accept message to FCoE host A.
Step 209, FCF equipment obtains the deviation post of VFT stem in FCoE message according to the frame format of FCoE message, and the deviation post of VSAN information in FCoE message.
In the present embodiment, the frame format of the FCoE message of every type is fixed, therefore, and before forwarding FCoE message, FCF equipment can be by each FCoE main frame the message interaction in login process, just can know the frame format of the FCoE message that each FCoE main frame sends.Be illustrated in figure 3 the frame format schematic diagram of FCoE message in message processing method embodiment bis-of the present invention, in figure, every row comprises the data of 32bit, i.e. 4 Byte, as can be seen from the figure, in FCoE message, be packaged with FC frame, FC framing bit is in the 9th row, and FC framing bit is in the Byte of FCoE message 33-36.Be illustrated in figure 4 the frame format schematic diagram of FC frame in message processing method embodiment bis-of the present invention, wherein, VFT_Header represents VFT stem, it takies the space of 8 bit, can be similar to the VLAN Tag field in ethernet frame format, Frame_Header represents frame head, and it takies the space of 24 bit, Data_Field representative data territory, takies the space of 0-2112 bit.Be illustrated in figure 5 the frame format schematic diagram of VFT stem in message processing method embodiment bis-of the present invention, the content of supposing R_CTL field is 0x50, represent that this stem type is VFT stem, because R_CTL field is positioned at the first byte of VFT stem, therefore represent VFT stem by R_CTL field in the present embodiment.In 3-Fig. 5, can find out from the graph, because FC framing bit is in the Byte of FCoE message 33-36 (Fig. 3), and VFT_Header is arranged in the 5-12bit of FC frame, be positioned at the first byte (Fig. 4) of FC frame, and R_CTL field is positioned at the first byte (Fig. 5) of VFT_Header, therefore, R_CTL field is positioned at the position of the 33rd byte of whole FCoE message, being equivalent to the skew that VFT stem is positioned at FCoE message is Byte33, and the deviation post of VFT stem in FCoE message is Byte33.In the present embodiment, the VSAN information of the content representation message of the VF_ID field in VFT stem, as can be seen from the figure, VF_ID field is positioned at the position of the 35-36 byte of whole FCoE message, being equivalent to the skew that VSAN information is arranged in FCoE message is Byte35-36, and the deviation post of VSAN information in FCoE message is Byte35-36.
Step 210, FCF equipment is the deviation post in FCoE message and the deviation post of VSAN information in FCoE message according to VFT stem, configure user define byte adaptation (User Defined Bytes; Hereinafter to be referred as: UDB).
Getting after the deviation post and the deviation post of VSAN information in FCoE message of VFT stem in FCoE message, FCF equipment can configure UDB according to the information of deviation post, mates different deviation posts by different UDB.Under normal circumstances, Ethernet chip can provide UDB, and the present embodiment, by UDB is configured, is realized the flexible parsing to FCoE message.Particularly, the present embodiment mates three bytes of FCoE message with UDB, i.e. Byte33, Byte35, Byte36 specifically can be according to following configuration mode configuration UDB, i.e. UDB0:Byte33; UDB1:Byte35; UDB2:Byte36.Wherein, UDB0 is used for mating VFT stem, and UDB1-2 is used for mating VSAN information (bit12-1), in the present embodiment, except coupling VSAN information, also needs to mate VFT stem, so just can reach the object of complete identification VFT stem.
Step 211, FCF equipment, using UDB as keyword, is configured each forwarding-table item in message repeating table.
In the present embodiment, before carrying out FCoE message repeating, FCF equipment is first configured the each forwarding-table item in message repeating table, is specially the UDB of configuration is before carried out to configuration message as keyword and transmits.Particularly, FCF equipment can obtain by the login process of each FCoE main frame VFT stem and the VSAN information of all kinds FCoE message, and configure the outlet information of all types of FCoE messages, VFT stem and VSAN information are kept in message repeating table as forwarding-table item with the corresponding relation of outlet information.For example, for the forwarding-table item that need to mate VSAN100, UDB keyword that can this forwarding-table item is set to:
UDB0:key0x50/mask0xFF;
UDB1:key0x0/mask0x1F;
UDB2:key0xC8/mask0xFE。
Wherein, key0x50 represents that in this forwarding-table item, VFT stem is 0x50 in the content of the corresponding deviation post of FCoE message, be that the content of filling in R_CTL field in Fig. 5 is 0x50, mask0xFF represents the validity of each byte in this R_CTL field, because 0xFF represents binary system " 1,111 1111 ", represent that 8 bit positions in R_CTL field are all effective.Key0x0 and key0xC8 represent that in forwarding-table item, VSAN information is 0x0C8 in the content of the corresponding deviation post of FCoE message jointly, be that the content of filling in VF_ID field in Fig. 5 is 0x0C8, mask0x1F and mask0xFE represent the validity of each byte in this VF_ID field, and 0x1F represents binary system " 0,001 1111 ", 0xFE represents binary system " 1,111 1110 ", the two constitutes binary system " 0,001 1,111 1,111 1110 ", represents that in VF_ID field, 12 bit positions from the 1st to the 12nd are effective.0x0C8 represents binary system " 0,000 1,100 1000 ", due to the 0th invalid, binary system " 1100100 " is further scaled the decimal system and is " 100 ", therefore this forwarding-table item coupling VSAN100.
Step 212, FCoE host A sends FCoE message to FCF equipment, carries VFT stem in FCoE message.
After every configuration effort before completing, each FCoE message that FCF equipment just can send FCoE main frame successively forwards, and this step is that FCoE host A sends FCoE message to FCF equipment, carries VFT stem in FCoE message.
Step 213, FCF equipment is the deviation post in FCoE message according to VFT stem, and the deviation post of VSAN information in FCoE message in VFT stem, extracts VFT stem and the VSAN information of FCoE message.
Receiving after FCoE message, FCF equipment can get the deviation post of VFT stem in such FCoE message according to the type of this FCoE message, and the deviation post of VSAN information in such FCoE message in VFT stem.For example, known according to the description in above-mentioned steps, for the FCoE message shown in Fig. 3, the deviation post of VFT stem in FCoE message is Byte33, and the deviation post of VSAN information in FCoE message is Byte35-36.This step is the deviation post in FCoE message according to VFT stem, and the deviation post of VSAN information in FCoE message, extracts extension header and the VSAN information of FCoE message, gets from corresponding deviation post the bit information that is filled in this position.
Step 214, FCF equipment, according to VFT stem and the pre-configured message repeating table of VSAN information searching, obtains outlet information corresponding to VSAN information.
After the VFT stem and VSAN information that get in FCoE message, according to VFT stem and the pre-configured message repeating table of VSAN information searching, obtain outlet information corresponding to VSAN information.Particularly, this step can be mated the VFT stem UDB0 corresponding with VFT stem in message repeating table, the UDB1-2 that VSAN information is corresponding with VSAN information in message repeating table mates, then in pre-configured message repeating table, find the forwarding-table item that this FCoE message is corresponding by above-mentioned matching process, and from forwarding-table item corresponding to FCoE message, obtain outlet information corresponding to described VSAN information.Suppose that VSAN information is 100,, by searching message repeating table, can match its corresponding forwarding-table item, and then get outlet information corresponding to this VSAN information, the outlet information that this FCoE message is corresponding.
Step 215, FCF equipment according to outlet information by FCoE message repeating to FCoE host B.
Getting after the outlet information that FCoE message is corresponding, FCF equipment just can be according to this outlet information by this FCoE message repeating to FCoE host B, be forwarded on port corresponding to this outlet information, thereby realize the direct forwarding of FCoE message based on VSAN, and no longer by binding VLAN and VSAN information, and table look-up and indirectly forward by VLAN.Fig. 6 is the network architecture schematic diagram of the FCoE message repeating based on VSAN in message processing method embodiment bis-of the present invention, as shown in Figure 6, switch (Switch) A, Switch B, Switch C are equivalent to FCF equipment, as can be seen from the figure, switch can be directly according to the VSAN information of carrying in the FCoE message forwarding of tabling look-up, and then be that the FCoE message repeating of VSAN 100 is to corresponding equipment by VSAN information.
The present embodiment provides a kind of message processing method, by carrying extension header in the FCoE message sending at FCoE main frame, deviation post according to extension header in FCoE message, and the deviation post of VSAN information in FCoE message in extension header, extract extension header and the VSAN information of FCoE message, according to extension header and VSAN information, according to default message processing policy, FCoE message is processed accordingly.The present embodiment can directly obtain VSAN information from FCoE message, and process accordingly according to VSAN information, without the VLAN relying in FCoE message, thus solved in prior art, exist must guarantee VLAN and the consistent defect of VSAN information binding relationship, simplified network configuration.In the present embodiment, user need to not configure the binding relationship of VLAN and VSAN information on FCF equipment, has simplified network configuration; And there will not be because binding relationship is inconsistent, and cause forwarding the phenomenon of makeing mistakes while tabling look-up; In addition, in the prior art, if after VLAN and VSAN information are bound, also can bring a problem, if use VSAN to divide logical topology or service in FC network, just the VLAN that needs to consume equal number in FCoE network is storage service service, has therefore removed the binding relationship of VLAN and VSAN due to the present embodiment, has improved actual available quantity of service in data center network than prior art.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each embodiment of the method can complete by the relevant hardware of program command.Aforesaid program can be stored in a computer read/write memory medium.This program, in the time carrying out, is carried out the step that comprises above-mentioned each embodiment of the method; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
Fig. 7 is the structure chart of network equipment embodiment mono-of the present invention, and as shown in Figure 7, the present embodiment provides a kind of network equipment, can specifically carry out each step in said method embodiment mono-, repeats no more herein.The network equipment that the present embodiment provides can be specially switch or router, and this network equipment can specifically comprise receiver module 701, extraction module 702 and message processing module (MPM) 703.Wherein, the FCoE message that receiver module 701 sends for receiving Ethernet Fibre Channel oE main frame carries extension header in described FCoE message.Extraction module 702 is for the deviation post at described FCoE message according to described extension header, and the deviation post of virtual region storage networking VSAN information in described FCoE message in described extension header, extract extension header and the VSAN information of described FCoE message.Message processing module (MPM) 703, for according to described extension header and described VSAN information, is processed described FCoE message accordingly according to default message processing policy.
Fig. 8 is the structure chart of network equipment embodiment bis-of the present invention, and as shown in Figure 8, the present embodiment provides a kind of network equipment, can specifically carry out each step in said method embodiment bis-, repeats no more herein.The network equipment that the present embodiment provides is on the basis shown in above-mentioned Fig. 7, and message processing module (MPM) 703 can specifically comprise acquiring unit 713 and retransmission unit 723.Wherein, acquiring unit 713, in the time that described default message processing policy is message repeating strategy, according to described extension header and the pre-configured message repeating table of described VSAN information searching, obtains outlet information corresponding to described VSAN information.Retransmission unit 723 is for carrying out forward process according to described outlet information to described FCoE message.
Or the message processing module (MPM) 703 in the network equipment that the present embodiment provides can specifically comprise filter element 733 or transmitting element 743.Wherein, filter element 733, in the time that described default message processing policy is packet filtering strategy, carries out discard processing by the extension header and FCoE message corresponding to VSAN information that meet described packet filtering strategy.Transmitting element 743, in the time that described default message processing policy is message sending strategy, sends to by the extension header and FCoE message corresponding to VSAN information that meet described message sending strategy the object equipment that described message sending strategy is specified.
Further, the network equipment that the present embodiment provides can also comprise acquisition module 801 and configuration module 802.Wherein, acquisition module 801 is for obtain the deviation post of described extension header at described FCoE message according to the frame format of FCoE message, and the deviation post of described VSAN information in described FCoE message.Configuration module 802 is for deviation post and the deviation post of described VSAN information in described FCoE message at described FCoE message according to described extension header, configure user define byte adaptation UDB, and using described UDB as keyword, each forwarding-table item in message repeating table is configured.
Particularly, the acquisition module 801 in the network equipment that the present embodiment provides can specifically comprise matching unit 811 and search unit 821.Wherein, matching unit 811 is for mating the described extension header UDB corresponding with message repeating table extension header, and the UDB that described VSAN information is corresponding with VSAN information in message repeating table mates.Search unit 821 and search forwarding-table item corresponding to described FCoE message for the message repeating table pre-configured, and obtain outlet information corresponding to described VSAN information from forwarding-table item corresponding to described FCoE message.
The present embodiment provides a kind of network equipment, by carrying extension header in the FCoE message sending at FCoE main frame, deviation post according to extension header in FCoE message, and the deviation post of VSAN information in FCoE message in extension header, extract extension header and the VSAN information of FCoE message, according to extension header and VSAN information, according to default message processing policy, FCoE message is processed accordingly.The present embodiment can directly obtain VSAN information from FCoE message, and process accordingly according to VSAN information, without the VLAN relying in FCoE message, thus solved in prior art, exist must guarantee VLAN and the consistent defect of VSAN information binding relationship, simplified network configuration.In the present embodiment, user need to not configure the binding relationship of VLAN and VSAN information on FCF equipment, has simplified network configuration; And there will not be because binding relationship is inconsistent, and cause forwarding the phenomenon of makeing mistakes while tabling look-up; In addition, in the prior art, if after VLAN and VSAN information are bound, also can bring a problem, if use VSAN to divide logical topology or service in FC network, just the VLAN that needs to consume equal number in FCoE network is storage service service, has therefore removed the binding relationship of VLAN and VSAN due to the present embodiment, has improved actual available quantity of service in data center network than prior art.
The present embodiment also provides a kind of message handling system, can specifically comprise the network equipment shown in FCoE main frame and above-mentioned Fig. 7 or Fig. 8.
Finally it should be noted that: above each embodiment, only in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to aforementioned each embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or some or all of technical characterictic is wherein equal to replacement; And these amendments or replacement do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (7)

1. a message processing method, is characterized in that, comprising:
Receive the FCoE message that Ethernet Fibre Channel oE main frame sends, in described FCoE message, carry extension header;
Deviation post according to described extension header in described FCoE message, and the deviation post of virtual region storage networking VSAN information in described FCoE message in described extension header, extract extension header and the VSAN information of described FCoE message;
According to described extension header and described VSAN information, according to default message processing policy, described FCoE message is processed accordingly;
Wherein, described according to described extension header and described VSAN information, according to default message processing policy, described FCoE message is carried out to corresponding processing and comprise:
In the time that described default message processing policy is message repeating strategy, according to described extension header and the pre-configured message repeating table of described VSAN information searching, obtain outlet information corresponding to described VSAN information; According to described outlet information, described FCoE message is carried out to forward process;
Or,
Described according to described extension header and described VSAN information, according to default message processing policy, described FCoE message is carried out to corresponding processing and comprise:
In the time that described default message processing policy is packet filtering strategy, the extension header and FCoE message corresponding to VSAN information that meet described packet filtering strategy are carried out to discard processing; Or, in the time that described default message processing policy is message sending strategy, the extension header and FCoE message corresponding to VSAN information that meet described message sending strategy are sent to the object equipment that described message sending strategy is specified.
2. method according to claim 1, is characterized in that, also comprises:
Obtain the deviation post of described extension header in described FCoE message according to the frame format of FCoE message, and the deviation post of described VSAN information in described FCoE message;
Deviation post according to described extension header in described FCoE message and the deviation post of described VSAN information in described FCoE message, configure user define byte adaptation UDB;
Using described UDB as keyword, each forwarding-table item in message repeating table is configured.
3. method according to claim 2, is characterized in that, described according to described extension header and the pre-configured message repeating table of described VSAN information searching, obtains outlet information corresponding to described VSAN information and comprises:
The UDB that described extension header is corresponding with extension header in message repeating table mates;
The UDB that described VSAN information is corresponding with VSAN information in message repeating table mates;
In pre-configured message repeating table, search forwarding-table item corresponding to described FCoE message;
From forwarding-table item corresponding to described FCoE message, obtain outlet information corresponding to described VSAN information.
4. a network equipment, is characterized in that, comprising:
Receiver module, the FCoE message sending for receiving Ethernet Fibre Channel oE main frame carries extension header in described FCoE message;
Extraction module, for the deviation post at described FCoE message according to described extension header, and the deviation post of virtual region storage networking VSAN information in described FCoE message in described extension header, extract extension header and the VSAN information of described FCoE message;
Message processing module (MPM), for according to described extension header and described VSAN information, processes described FCoE message accordingly according to default message processing policy;
Wherein, described message processing module (MPM) comprises:
Acquiring unit, in the time that described default message processing policy is message repeating strategy, according to described extension header and the pre-configured message repeating table of described VSAN information searching, obtains outlet information corresponding to described VSAN information; Retransmission unit, for carrying out forward process according to described outlet information to described FCoE message;
Or,
Described message processing module (MPM) comprises:
Filter element, in the time that described default message processing policy is packet filtering strategy, carries out discard processing by the extension header and FCoE message corresponding to VSAN information that meet described packet filtering strategy; Or transmitting element, in the time that described default message processing policy is message sending strategy, sends to by the extension header and FCoE message corresponding to VSAN information that meet described message sending strategy the object equipment that described message sending strategy is specified.
5. equipment according to claim 4, is characterized in that, also comprises:
Acquisition module, for obtain the deviation post of described extension header at described FCoE message according to the frame format of FCoE message, and the deviation post of described VSAN information in described FCoE message;
Configuration module, for deviation post and the deviation post of described VSAN information in described FCoE message at described FCoE message according to described extension header, configure user define byte adaptation UDB, and using described UDB as keyword, each forwarding-table item in message repeating table is configured.
6. equipment according to claim 5, is characterized in that, described acquisition module comprises:
Matching unit, for the described extension header UDB corresponding with message repeating table extension header mated, the UDB that described VSAN information is corresponding with VSAN information in message repeating table mates;
Search unit, search forwarding-table item corresponding to described FCoE message for the message repeating table pre-configured, and obtain outlet information corresponding to described VSAN information from forwarding-table item corresponding to described FCoE message.
7. a message handling system, is characterized in that, comprises the network equipment described in any one in Ethernet Fibre Channel oE main frame and claim 4-6.
CN201210005672.2A 2012-01-09 2012-01-09 Message processing method, system and network apparatus Active CN102447637B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210005672.2A CN102447637B (en) 2012-01-09 2012-01-09 Message processing method, system and network apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210005672.2A CN102447637B (en) 2012-01-09 2012-01-09 Message processing method, system and network apparatus

Publications (2)

Publication Number Publication Date
CN102447637A CN102447637A (en) 2012-05-09
CN102447637B true CN102447637B (en) 2014-07-30

Family

ID=46009738

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210005672.2A Active CN102447637B (en) 2012-01-09 2012-01-09 Message processing method, system and network apparatus

Country Status (1)

Country Link
CN (1) CN102447637B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103825824A (en) * 2014-03-04 2014-05-28 华为技术有限公司 Message processing method and message processing device
CN110768724B (en) * 2019-09-29 2021-08-10 北京浪潮数据技术有限公司 Adapter binding method and device
CN111464559B (en) * 2020-04-20 2022-12-23 苏州雄立科技有限公司 Message data transmission method and transmission device based on UDB

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488921A (en) * 2009-02-24 2009-07-22 华为技术有限公司 Packet track recording method and packet track recording apparatus
CN102123072A (en) * 2010-01-11 2011-07-13 中兴通讯股份有限公司 Data message classification processing method and network, and terminal
CN102158977A (en) * 2011-04-07 2011-08-17 大唐移动通信设备有限公司 Service class indication method, device and system
CN102291408A (en) * 2011-08-15 2011-12-21 成都市华为赛门铁克科技有限公司 Processing method and device for iSCSI (Internet small computer system interface) protocol message
US8369347B2 (en) * 2009-09-14 2013-02-05 Futurewei Technologies, Inc. Fiber channel over Ethernet and fiber channel switching based on Ethernet switch fabrics

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488921A (en) * 2009-02-24 2009-07-22 华为技术有限公司 Packet track recording method and packet track recording apparatus
US8369347B2 (en) * 2009-09-14 2013-02-05 Futurewei Technologies, Inc. Fiber channel over Ethernet and fiber channel switching based on Ethernet switch fabrics
CN102123072A (en) * 2010-01-11 2011-07-13 中兴通讯股份有限公司 Data message classification processing method and network, and terminal
CN102158977A (en) * 2011-04-07 2011-08-17 大唐移动通信设备有限公司 Service class indication method, device and system
CN102291408A (en) * 2011-08-15 2011-12-21 成都市华为赛门铁克科技有限公司 Processing method and device for iSCSI (Internet small computer system interface) protocol message

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《FCoE交换机***中VSAN数据配置模块的设计与实现》;王珏;《中国优秀硕士学位论文全文数据库信息科技辑》;20110315(第3期);全文 *
王珏.《FCoE交换机***中VSAN数据配置模块的设计与实现》.《中国优秀硕士学位论文全文数据库信息科技辑》.2011,(第3期),

Also Published As

Publication number Publication date
CN102447637A (en) 2012-05-09

Similar Documents

Publication Publication Date Title
US9306761B2 (en) Video streaming system and method
KR101442321B1 (en) Network system with initiator subnetwork communication
US6438128B1 (en) Alternate use of data packet fields to convey information
US8774215B2 (en) Fibre channel over Ethernet
JP5805821B2 (en) Communication method and network device
US20080159260A1 (en) Fibre channel over ethernet frame
US8520686B2 (en) Method for interfacing a fibre channel network with an ethernet based network
CN102232281B (en) Method and system for network switch element
US8094567B2 (en) Method for transferring test messages and network element device
US9414136B2 (en) Methods and apparatus to route fibre channel frames using reduced forwarding state on an FCoE-to-FC gateway
US8798058B2 (en) Providing fibre channel services and forwarding fibre channel over ethernet frames
US20120113990A1 (en) Communication switching apparatus for switching data in multiple protocol data frame formats
CN105323137B (en) Service data transmission method and device
CN103490961A (en) Network equipment
CN109412922A (en) A kind of method of transmitting message, forwarding device, controller and system
CN102447637B (en) Message processing method, system and network apparatus
CN104205729B (en) Method, device, and system for configuring device in network
CN112543108A (en) Network isolation policy management method and network isolation policy management system
WO2016107269A1 (en) Device and method for data transmission in virtual extensible local area network
US20080056287A1 (en) Communication between an infiniband fabric and a fibre channel network
CN103095608A (en) Delegation forwarding method for domain name system (DNS) data package
CN100463426C (en) Sevice quality control/device and method based on virtual network marker
WO2001006385A1 (en) A communication system for general connection interface machines
US9979561B2 (en) Systems and methods for stacking fibre channel switches with fibre channel over ethernet stacking links
US20060114892A1 (en) Method and apparatus to transmit state information through a communication link

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee after: RUIJIE NETWORKS Co.,Ltd.

Address before: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee before: Beijing Star-Net Ruijie Networks Co.,Ltd.

CP01 Change in the name or title of a patent holder