CN103051985A - Method and equipment for forwarding data through FCoE (Fiber Channel over Ethernet) router - Google Patents

Method and equipment for forwarding data through FCoE (Fiber Channel over Ethernet) router Download PDF

Info

Publication number
CN103051985A
CN103051985A CN2013100035735A CN201310003573A CN103051985A CN 103051985 A CN103051985 A CN 103051985A CN 2013100035735 A CN2013100035735 A CN 2013100035735A CN 201310003573 A CN201310003573 A CN 201310003573A CN 103051985 A CN103051985 A CN 103051985A
Authority
CN
China
Prior art keywords
fcid
fcoe
route entry
routing device
field
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013100035735A
Other languages
Chinese (zh)
Other versions
CN103051985B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201310003573.5A priority Critical patent/CN103051985B/en
Publication of CN103051985A publication Critical patent/CN103051985A/en
Application granted granted Critical
Publication of CN103051985B publication Critical patent/CN103051985B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for forwarding data through an FCoE (Fiber Channel over Ethernet) router. The method comprises the following steps of: setting different types of FC (Fiber Channel) routing entries, and establishing an MAC (Media Access Control) address forwarding table; after receiving an FCoE data frame, finding a corresponding routing entry according to a VFID (Virtual Fabric Identifier) and a target FCID (Fiber Channel Address Identifier) corresponding to the FCoE data frame, and taking a next skip field in the corresponding routing entry as a next skip FCID; when the corresponding routing entry is taken as an internal routing entry in an address mode routing entry, sending the FCoE data frame to an internal well-known address corresponding to the next skip FCID; and otherwise, finding the MAC address corresponding to the next skip FCID in the MAC address forwarding table, and forwarding the FCoE data frame according to an MAC address. The invention also discloses FCoE routing equipment. Due to the adoption of the method and the equipment, the FCoE data frame can be forwarded through the next skip FCID under the condition of one-to-many interconnection of FCoE forwarding equipment and ENode (Ethernet Node).

Description

A kind of method and equipment thereof of Ethernet optical-fibre channel routing forwarding data
Technical field
The present invention relates to the routing forwarding technology in the Ethernet, relate in particular to method and the equipment thereof of a kind of Ethernet optical-fibre channel (FCoE, Fiber Channel over Ethernet) routing forwarding data.
Background technology
Optical-fibre channel (FC, Fiber Channel) agreement is a kind of high speed storing procotol of design of memory systems that is, current only being used among memory device interconnected, such as between server and the disk array.The transmission network of FC protocol definition and Ethernet are two kinds of complete dissimilar networks, in the FC network, each equipment has the unique fibre channel address sign (FCID of the overall situation, Fiber Channel AddressIdentifier), the Frame of FC protocol definition is realized end to end transmission by the FCID of source device and the FCID of destination device.Storage area network network (SAN, Storage Area Network) based on the FC agreement relies on the characteristics such as its low time delay, high bandwidth, high reliability to be widely applied to the data center field, but the FC framework is started late its compatibility and open relatively poor.
The ethernet technology internet protocol-based is widely used in the fields such as local area network (LAN), wide area network, if be implemented on the Ethernet of high-speed lossless based on the SAN of FC agreement, so, the shortcoming of SAN just can solve.In order to solve the problem at Ethernet transmission FC Frame, the FCoE agreement has appearred, in Ethernet, introduce the FCoE agreement, the FC Frame is encapsulated into the FCoE Frame that can in Ethernet, transmit, like this, the FC Frame just can transmit with the form of FCoE Frame in Ethernet.
SAN based on the FCoE protocol definition, routing device is by merging enhanced ethernet (CEE, Convergence Enhanced Ethernet) with a plurality of ethernet node (ENode, Ethernet Node) links to each other, it is interconnected to belong to one-to-many, routing device is when transmitting the FCoE Frame, by media access control layer (MAC, Media Access Control) address location ENode.Based on the SAN of FC protocol definition, routing device links to each other with a node (Node) by FC, belongs to interconnected one to one, and routing device is when transmitting the FC Frame, by port locations Node; Transmit rule based on the Frame under the FC agreement and no longer be applicable to the FCoE agreement, existing FC forwarding entry can't satisfy the demand that network data is transmitted among the CEE.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method and equipment thereof of FCoE routing forwarding data, can in the interconnected situation of FCoE routing device and ENode one-to-many, carry out the forwarding of FCoE Frame by down hop FCID address.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides a kind of Ethernet optical-fibre channel routing forwarding data method, dissimilar FC route entrys is set; The method also comprises:
In the CEE network, set up linking of FCoE routing device and terminal equipment and the direct-connected FCoE of foreign lands routing device by the FIP agreement, obtain FCID and the MAC of terminal equipment, and the MAC Address of the direct-connected FCoE of foreign lands routing device, again by the FSPF protocol interaction, obtain the FCID of the direct-connected FCoE of foreign lands routing device, set up mac address forwarding table according to described FCID and MAC Address;
After receiving the FCoE Frame, VFID and the purpose FCID corresponding according to this FCoE Frame search the route entry corresponding with it; With the down hop field in the corresponding route entry as down hop FCID; When corresponding route entry is inner route entry in the address type route entry, this FCoE Frame is sent to well-known address, inside corresponding to down hop FCID; Otherwise, in mac address forwarding table, search MAC Address corresponding to down hop FCID, transmit this FCoE Frame according to this MAC Address.
In the such scheme, before route entry was set, the method also comprised: host exchange is all the FCoE routing device allocation domain controller FCID in the CEE network.
In the such scheme, describedly dissimilar route entrys be set comprise:
The domain controller FCID that distributes according to host exchange arranges the direct linkage type route entry; According to the FSPF protocol interaction, obtain the FCID of the FCoE of foreign lands routing device feedback in the CEE network, territory segment type route entry is set; Automatic calculated address type route entry.
In the such scheme, described direct linkage type route entry, territory segment type route entry, address type route entry comprise: virtual framework identification field, purpose FCID field, mask field, down hop field, type field.
In the such scheme, during the direct linkage type route entry, default setting is 1 to virtual framework identification field when initial powering on; Purpose FCID field is the FCID of FCoE routing device; Mask field is the mask of FCoE routing device; The down hop field is the down hop FCID that Frame is transmitted, and described down hop field selects the FCID of purpose terminal as down hop FCID automatically; Type field is direct;
During territory segment type route entry, default setting is 1 to virtual framework identification field when initial powering on; Purpose FCID field is the FCID of the FCoE of foreign lands routing device in the CEE network; Mask field is the mask of FCoE routing device; The down hop field is the down hop FCID that Frame is transmitted, and described down hop field selects FCID with the FCoE routing device FCoE of direct-connected foreign lands routing device as down hop FCID according to FABRIC SPF FSPF agreement; Type field is the territory;
During the address type route entry, default setting is 1 to virtual framework identification field when initial powering on; Purpose FCID is FCID, the domain controller FCID of the inner well-known address of FCoE routing device or is FFFC00; Mask field should be mutually well-known address mask, domain controller FCID mask or be the mask of FFFC00; The down hop field is the down hop FCID that Frame is transmitted, described down hop field should be mutually described well-known address FCID, this territory FCoE routing device domain controller FCID or for default; Type field should be inner or other mutually.
In the such scheme, described down hop field is selected to comprise as down hop FCID with the domain controller FCID of the FCoE routing device FCoE of direct-connected foreign lands routing device according to the FSPF agreement:
When purpose FCID field was the FCID of the direct-connected FCoE of foreign lands routing device, the down hop field was the FCID of the described direct-connected FCoE of foreign lands routing device;
When purpose FCID field was the FCID of the FCoE of foreign lands routing device of indirect joint, the down hop field was the FCID of the direct connection FCoE of the foreign lands routing device that can arrive the purpose territory.
In the such scheme, describedly set up mac address forwarding table according to FIP agreement and FSPF agreement and be: the domain controller FCID of terminal FCID or the direct-connected FCoE of foreign lands routing device and the mapping relations between the MAC Address are write in the mac address forwarding table.
In the such scheme, describedly search the route entry corresponding with it according to VFID corresponding to this FCoE Frame and purpose FCID and comprise:
When VFID corresponding to this FCoE Frame was consistent with the virtual framework identification field of the purpose in the route entry and FCID field with purpose FCID, then this route entry was the route entry corresponding with this FCoE Frame;
When VFID corresponding to this FCoE Frame and the purpose FCID field in purpose FCID and the route entry are inconsistent, then search the route entry corresponding with it according to the territory FCID under this VFID and the purpose FCID; When described territory FCID was consistent with DID field in the route entry, then this route entry was the route entry corresponding with this FCoE Frame.
The invention provides a kind of Ethernet optical-fibre channel routing device, this Ethernet optical-fibre channel routing device comprises: routing module, physical address map module, FCoE Frame distribution module; Wherein,
Described routing module is used for arranging dissimilar route entrys;
Described physical address map module is obtained FCID and the MAC of terminal equipment and the MAC Address of the direct-connected FCoE of foreign lands routing device according to the FIP agreement; Obtain the FCID of the direct-connected FCoE of foreign lands routing device according to the FSPF agreement, set up mac address forwarding table according to described FCID and MAC Address; When also being used for receiving the down hop FCID of FCoE Frame distribution module transmission, searching MAC Address corresponding to down hop FCID, and this MAC Address is sent to FCoE Frame distribution module;
Described FCoE Frame distribution module after being used for receiving the FCoE Frame, is sent to routing module with the purpose FCID of this FCoE Frame and carries out route entry and search; Receive down hop FCID and route entry type that routing module returns; When the route entry type is inner route entry in the address type route entry, this FCoE Frame is sent to well-known address, inside corresponding to down hop FCID; Otherwise, down hop FCID is sent to the physical address map module carries out physical address and search; Receive MAC Address corresponding to down hop FCID that the physics address mapping module is returned, transmit this FCoE Frame according to this MAC Address.
In the such scheme, described routing module also comprises: route entry arranges module, route entry is searched module; Wherein,
Described route entry arranges module, is used for according to the domain controller FCID that host exchange distributes the direct linkage type route entry being set; By the FSPF protocol interaction, receive the domain controller FCID of the FCoE of the foreign lands routing device feedback in the CEE network, the territory segment type route entry of the described FCoE of foreign lands routing device is set according to this FCID; Powering on when initial, automatically calculated address type route entry; The reception route entry is searched the route entry of module and is searched;
Described route entry is searched module, when being used for receiving the VFID of the correspondence that FCoE Frame distribution module sends and purpose FCID, arranging in route entry and to search the route entry corresponding with this VFID and purpose FCID in the module; Down hop FCID in the corresponding route entry and route entry type are sent to FCoE Frame distribution module.
In the such scheme, described physical address map module also comprises: physical address acquisition module, physical address are searched module; Wherein,
Described physical address acquisition module, in the CEE network, set up linking of FCoE routing device and terminal equipment and the direct-connected FCoE of foreign lands routing device by the FIP agreement, obtain FCID and the MAC of terminal equipment, and the MAC Address of the direct-connected FCoE of foreign lands routing device, by the FSPF protocol interaction, obtain the FCID of the direct-connected FCoE of foreign lands routing device; Set up mac address forwarding table according to described FCID and MAC Address; Accepting physics address search module carries out physical address and searches;
Described physical address is searched module, when being used for receiving the down hop FCID of FCoE Frame distribution module transmission, searching MAC Address corresponding to down hop FCID, and this MAC Address is sent to FCoE Frame distribution module.
Method and the equipment thereof of FCoE routing forwarding data provided by the invention arrange dissimilar FC route entrys, set up mac address forwarding table by the physical address map mode; Receive the FCoE Frame, and search the route entry corresponding with it according to VFID and the purpose FCID of this FCoE Frame; With the FCID of the down hop field in the corresponding route entry as down hop; When corresponding route entry is inner route entry in the address type route entry, this FCoE Frame is sent to well-known address, inside corresponding to down hop FCID processes; Otherwise, in mac address forwarding table, search MAC Address corresponding to down hop FCID, transmit this FCoE Frame according to this MAC Address; So, can in the interconnected situation of FCoE routing device and ENode one-to-many, carry out the forwarding of FCoE Frame by down hop FCID address.
Description of drawings
Fig. 1 is the method realization flow schematic diagram of FCoE routing device forwarding data of the present invention;
Fig. 2 is that FCoE routing device structure of the present invention forms schematic diagram.
Embodiment
In order more at large to understand characteristics of the present invention and technology contents, below in conjunction with accompanying drawing realization of the present invention is described in detail, the usefulness of appended accompanying drawing explanation only for reference is not to limit the present invention.
Fig. 1 is the method realization flow schematic diagram of FCoE routing device forwarding data of the present invention, and as shown in Figure 1, the method comprising the steps of:
Step 101:FCoE routing device arranges dissimilar route entrys;
Here, described dissimilar FC route entry comprises direct linkage type route entry, territory segment type route entry and address type route entry;
Concrete, the FCoE routing device arranges the direct linkage type route entry according to the FCID that host exchange distributes; According to framework SPF (FSPF, Fabric Shortest Path First) protocol interaction, obtain the FCID of the FCoE of foreign lands routing device feedback in the CEE network, the territory segment type route entry of the described FCoE of foreign lands routing device is set; Powering on when initial, automatically calculated address type route entry;
In the such scheme, described FCoE routing device is: local FCoE routing device; The described FCoE of foreign lands routing device is: the FCoE routing device in the CEE network beyond the local FCoE routing device;
Further, FCoE routing device and the FCoE of foreign lands routing device are powering on when initial, and the host exchange of described FCoE routing device and the FCoE of foreign lands routing device last layer is respectively allocation domain controller FCID of described FCoE routing device and the FCoE of foreign lands routing device; Be that the FCID of the 010000, first FCoE of foreign lands routing device is that the FCID of the 020000, second FCoE of foreign lands routing device is 030000 etc. such as: the FCID of FCoE routing device;
In the such scheme, described direct linkage type route entry represents the employed route entry of the terminal that is connected with the FCoE routing device; Here, described terminal comprises server, memory device;
Further, described direct linkage type route entry comprises: virtual framework sign (VFID, Virtual FabricIDentifier) field, purpose FCID (DID, Destination FCID) field, mask (MASK) field, down hop (NEXTHOP) field, type (TYPE) field; Wherein, the VFID field is set to 1 when initial powering on; The DID field is the FCID of FCoE routing device; The MASK field is the mask of FCoE routing device; The NEXTHOP field is the down hop FCID that Frame is transmitted, and NEXTHOP selects the FCID of purpose terminal as down hop FCID automatically here; The TYPE field is direct (DIRECT), represents that this route entry is the direct linkage type route entry; Here, described purpose terminal is the purpose terminal that Frame is transmitted;
In the such scheme, described territory segment type route entry represents the employed clauses and subclauses of foreign lands' FCoE routing device that are connected with the FCoE routing device;
Further, described territory segment type route entry comprises: VFID field, DID field, MASK field, NEXTHOP field, TYPE field; Wherein, default setting is 1 to the VFID field when initial powering on; The DID field is the FCID of the FCoE of foreign lands routing device in the CEE network; The MASK field is the mask of FCoE routing device; The NEXTHOP field is the down hop FCID that Frame is transmitted, and the FCID of NEXTHOPFSPF agreement selection here and the FCoE routing device FCoE of direct-connected foreign lands routing device is as down hop FCID; The TYPE field is territory (DOMAIN), represents that this route entry is territory segment type route entry;
In the such scheme, the foreign lands' FCoE routing device in the described CEE network comprises: with the FCoE routing device FCoE of direct-connected foreign lands routing device, with the FCoE of the foreign lands routing device of FCoE routing device indirect joint; Here, described indirect joint is: the FCoE of foreign lands routing device is connected to the FCoE routing device by the FCoE of another foreign lands routing device;
In the such scheme, described NEXTHOP selects to comprise two kinds of situations with the FCID of the FCoE routing device FCoE of direct-connected foreign lands routing device as down hop FCID according to the FSPF agreement:
When the DID field is the FCID of the direct-connected FCoE of foreign lands routing device, NEXTHOP with the FCID of the described direct-connected FCoE of foreign lands routing device as down hop FCID;
When the DID field is the FCID of the FCoE of foreign lands routing device of indirect joint, NEXTHOP can arrive the FCID of the direct connection FCoE of foreign lands routing device in purpose territory as down hop FCID;
In the such scheme, described address type route entry represents the employed route in the inner well-known address of FCoE routing device;
Here, described well-known address is generated when initial powering on automatically by the FCoE routing device, and described well-known address can be name server address, domain controller address, switching port (F_PORT) address, Extended Capabilities Port (E_PORT) address; Wherein, the FCID of name server address is that the FCID of FFFFFC, domain controller address is that the FCID of FFFC01, F_PORT address is that the FCID of FFFFFE, E_PORT address is FFFFFD;
Further, described address type route entry comprises: VFID field, DID field, MASK field, NEXTHOP field, TYPE field; Wherein, the VFID field is set to 1 when initial powering on; The DID field is the FCID of the inner well-known address of FCoE routing device or is FFFC00; The MASK field should be mutually the mask of well-known address or is the mask of FFFC00; The NEXTHOP field is the down hop FCID that Frame is transmitted, and NEXTHOP should be the FCID of described well-known address or the FCID of the FCoE of foreign lands routing device mutually here; The TYPE field should be inner (ME) or other (OTHER) mutually, represents that this route entry is inner route entry or forward type route entry; Here, inner route entry and forward type route entry belong to the address type route entry;
Further, after described direct linkage type route entry, territory segment type route entry, the setting of address type route entry were finished, this step also comprised: the FCoE routing device is shown in described direct linkage type route entry, territory segment type route entry, address type route entry in the routing table with tabular form;
Here, every list items in the described routing table is in in the described direct linkage type route entry one or the territory segment type route entry one or the address type route entry one; And every list items longitudinal arrangement is in routing table; VFID field, DID field, MASK field, NEXTHOP field, TYPE field in every list items are transversely arranged in routing table successively.
Step 102: according to FCoE initializtion protocol (FIP, FCoE Initialization Protocol) obtains FCID and the MAC Address of terminal equipment, and the MAC Address of the direct-connected FCoE of foreign lands routing device, obtain the FCID of the direct-connected FCoE of foreign lands routing device according to the FSPF agreement, set up mac address forwarding table according to described FCID and MAC Address;
Concrete, FIP message is sent in the CEE network with the form of broadcasting, and therefore, terminal and the direct-connected FCoE of foreign lands routing devices all in the CEE network all can receive this FIP message; Further, after terminal and the direct-connected FCoE of foreign lands routing device are received this FIP message, carry out switching fabric and login (FLogin, FabricLogin) link setup, mutual by FIP agreement and FCoE routing device; FCID and the MAC Address corresponding relation of FCoE routing device by obtaining alternately terminal, and the MAC Address of obtaining the direct-connected FCoE of foreign lands routing device; By the FSPF agreement, obtain the FCID of the direct-connected FCoE of foreign lands routing device, thereby obtain FCID and the MAC corresponding relation of the direct-connected FCoE of foreign lands routing device;
Here, the described mac address forwarding table of setting up is specially: terminal or the FCID of the direct-connected FCoE of foreign lands routing device and the mapping relations between the MAC Address are write in the mac address forwarding table.
After step 103:FCoE routing device is received the FCoE Frame, search the route entry corresponding with it according to the VFID of this FCoE Frame with purpose FCID; With the down hop field in the corresponding route entry as down hop FCID; When corresponding route entry is inner route entry in the address type route entry, this FCoE Frame is sent to well-known address, inside corresponding to down hop FCID processes; Otherwise, in mac address forwarding table, search MAC Address corresponding to down hop FCID, transmit this FCoE Frame according to this MAC Address;
In the such scheme, the FCoE Frame that the FCoE routing device is received comprises two kinds of situations: a kind of is the FCoE Frame that is sent to the FCoE routing device by terminal; Another kind is the FCoE Frame that is sent to the FCoE routing device by foreign lands' FCoE routing device;
In the such scheme, describedly search the route entry corresponding with it according to VFID corresponding to this FCoE Frame with purpose FCID and comprise two kinds of situations:
When the VFID in the VFID of this FCoE Frame and purpose FCID and the route entry and DID field were consistent, then this route entry was the route entry corresponding with this FCoE Frame;
When the VFID of this FCoE Frame and the VFID in purpose FCID and the route entry and DID field are inconsistent, then search the route entry corresponding with it according to the territory FCID under VFID and this purpose FCID; When the VFID in described VFID and territory FCID and the route entry and DID field were consistent, then this route entry was the route entry corresponding with this FCoE Frame;
Further, during situation when the VFID in described VFID when this FCoE Frame and purpose FCID and the route entry and DID field are consistent, then this route entry is the inner route entry in the address type route entry, and its TYPE field is ME;
Further, described VFID and the VFID in purpose FCID and the route entry and DID field when inconsistent when this FCoE Frame, then this route entry is forward type route entry, direct linkage type route entry or the territory segment type route entry in the address type route entry;
In the such scheme, the territory FCID under the described purpose FCID is: the FCID of the FCoE of the foreign lands routing device in territory, this purpose FCID place;
Further, described NEXTHOP field in the corresponding route entry is comprised two kinds of situations as down hop FCID:
When route entry was the direct linkage type route entry, the NEXTHOP field in this route entry selected the FCID of purpose terminal as down hop FCID automatically;
When route entry was territory segment type route entry, the NEXTHOP field in this route entry selected FCID with the FCoE routing device FCoE of direct-connected foreign lands routing device as down hop FCID according to the FSPF agreement;
In the such scheme, described MAC Address corresponding to down hop FCID of in mac address forwarding table, searching, transmitting this FCoE Frame according to this MAC Address is specially: this MAC Address is write the target MAC (Media Access Control) address of FCoE Frame, transmit this FCoE Frame according to this MAC Address;
In the such scheme, the source FCID of the FCoE Frame that the FCoE routing device is received is the FCID of this FCoE Frame origination terminal, and source MAC is the MAC Address of upper hop terminal or the FCoE of foreign lands routing device; The purpose FCID of the FCoE Frame that the FCoE routing device is received is the FCID of this FCoE Frame terminating terminal, and target MAC (Media Access Control) address is the MAC Address of FCoE routing device;
In the such scheme, the source FCID of the FCoE Frame that the FCoE routing device is transmitted is the FCID of this FCoE Frame origination terminal, and source MAC is the MAC Address of FCoE routing device; The purpose FCID of the FCoE Frame that the FCoE routing device is transmitted is the FCID of this FCoE Frame terminating terminal, and target MAC (Media Access Control) address is the MAC Address of down hop terminal or the FCoE of foreign lands routing device;
Here, source FCID and the purpose FCID of FCoE Frame remain constant, represent respectively the initial sending side terminal of this FCoE Frame and final receiver terminal.
Fig. 2 is that FCoE routing device structure of the present invention forms schematic diagram, and as shown in Figure 2, this equipment comprises: routing module 21, physical address map module 22, FCoE Frame distribution module 23; Wherein,
Described routing module 21 is used for arranging dissimilar route projects; During also for the VFID that receives 23 transmissions of FCoE Frame distribution module and purpose FCID, search the route entry corresponding with this VFID and purpose FCID; Down hop FCID in the corresponding route entry and route entry type are sent to FCoE Frame distribution module 23;
Concrete, the FCID that distributes according to host exchange arranges the direct linkage type route entry; According to the FSPF protocol interaction, obtain the FCID of the FCoE of foreign lands routing device feedback in the CEE network, territory segment type route entry is set; Automatic calculated address type route entry;
Described physical address map module 22, obtain FCID and the MAC Address of terminal equipment according to the FIP agreement, and the MAC Address of the direct-connected FCoE of foreign lands routing device, obtain the FCID of the direct-connected FCoE of foreign lands routing device according to the FSPF agreement, set up mac address forwarding table according to described FCID and MAC Address; When also being used for receiving the down hop FCID of FCoE Frame distribution module 23 transmissions, searching MAC Address corresponding to down hop FCID, and this MAC Address is sent to FCoE Frame distribution module 23;
Described FCoE Frame distribution module 23 after being used for receiving the FCoE Frame, is sent to routing module 21 with the VFID of this FCoE Frame and purpose FCID and carries out route entry and search; Receive down hop FCID and route entry type that routing module 21 returns; When the route entry type is inner route entry in the address type route entry, this FCoE Frame is sent to well-known address, inside corresponding to down hop FCID; Otherwise, down hop FCID is sent to physical address map module 22 carries out physical address and search; Receive MAC Address corresponding to down hop FCID that physics address mapping module 22 is returned, transmit this FCoE Frame according to this MAC Address;
In the such scheme, the FCoE Frame that the FCoE routing device is received comprises two kinds of situations: a kind of is the FCoE Frame that is sent to the FCoE routing device by terminal; Another kind is the FCoE Frame that is sent to the FCoE routing device by foreign lands' FCoE routing device;
In the such scheme, described VFID and purpose FCID according to this FCoE Frame searches the route entry corresponding with it and comprises two kinds of situations:
When the VFID in the VFID of this FCoE Frame and purpose FCID and the route entry and DID field were consistent, then this route entry was the route entry corresponding with this FCoE Frame;
When the VFID of this FCoE Frame and the VFID in purpose FCID and the route entry and DID field are inconsistent, then search the route entry corresponding with it according to the territory FCID under VFID and this purpose FCID; When described territory FCID was consistent with DID field in the route entry, then this route entry was the route entry corresponding with this FCoE Frame;
Further, during situation when the VFID in described VFID when this FCoE Frame and purpose FCID and the route entry and DID field are consistent, its TYPE field is ME, and then this route entry is the inner route entry in the address type route entry;
Further, described VFID and the VFID in purpose FCID and the route entry and DID field when inconsistent when this FCoE Frame, then this route entry is forward type route entry, direct linkage type route entry or the territory segment type route entry in the address type route entry;
In the such scheme, the territory FCID under the described purpose FCID is: the FCID of the FCoE of the foreign lands routing device in territory, this purpose FCID place;
Further, described NEXTHOP field in the corresponding route entry is comprised three kinds of situations as down hop FCID:
When route entry was the direct linkage type route entry, the NEXTHOP field in this route entry selected the FCID of purpose terminal as down hop FCID automatically;
When route entry was territory segment type route entry, the NEXTHOP field in this route entry selected FCID with the FCoE routing device FCoE of direct-connected foreign lands routing device as down hop FCID according to the FSPF agreement;
When route entry is forward type route entry in the address type route entry, obtain domain information from the purpose FCID of described FCoE Frame, form the FCID of foreign lands, search route according to VFID and the FCID of foreign lands of FCoE Frame, the NEXTHOP in the route entry that finds is as down hop FCID;
In the such scheme, described MAC Address corresponding to down hop FCID of in mac address forwarding table, searching, transmitting this FCoE Frame according to this MAC Address is specially: this MAC Address is write the target MAC (Media Access Control) address of FCoE Frame, transmit this FCoE Frame according to this MAC Address;
In the such scheme, the source FCID of the FCoE Frame that the FCoE routing device is received is the FCID of this FCoE Frame origination terminal, and source MAC is the MAC Address of upper hop terminal or the FCoE of foreign lands routing device; The purpose FCID of the FCoE Frame that the FCoE routing device is received is the FCID of this FCoE Frame terminating terminal, and target MAC (Media Access Control) address is the MAC Address of FCoE routing device;
In the such scheme, the source FCID of the FCoE Frame that the FCoE routing device is transmitted is the FCID of this FCoE Frame origination terminal, and source MAC is the MAC Address of FCoE routing device; The purpose FCID of the FCoE Frame that the FCoE routing device is transmitted is the FCID of this FCoE Frame terminating terminal, and target MAC (Media Access Control) address is the MAC Address of down hop terminal or the FCoE of foreign lands routing device;
Here, source FCID and the purpose FCID of FCoE Frame remain constant, represent respectively the initial sending side terminal of this FCoE Frame and final receiver terminal.
Further, described routing module 21 also comprises: route entry arranges module 211, route entry is searched module 212; Wherein,
Described route entry arranges module 211, is used for arranging dissimilar route entrys;
Concrete, the FCID that distributes according to host exchange arranges the direct linkage type route entry; According to the FSPF protocol interaction, obtain the FCID of the FCoE of foreign lands routing device feedback in the CEE network, the territory segment type route entry of the described FCoE of foreign lands routing device is set; Powering on when initial, automatically calculated address type route entry; The reception route entry is searched the route entry of module 212 and is searched;
Described route entry is searched module 212, when being used for receiving VFID that FCoE Frame distribution module 23 sends and purpose FCID, arranging in route entry and to search the route entry corresponding with this VFID and purpose FCID in the module 211; Down hop FCID in the corresponding route entry and route entry type are sent to FCoE Frame distribution module 23;
In the such scheme, the described FCoE of foreign lands routing device is: the FCoE routing device that does not comprise local FCoE routing device in the CEE network;
Further, local FCoE routing device and the FCoE of foreign lands routing device are powering on when initial, and the host exchange of described FCoE routing device and the FCoE of foreign lands routing device last layer is that described FCoE routing device and the FCoE of foreign lands routing device distribute respectively FCID;
In the such scheme, described direct linkage type route entry represents the employed route entry of the terminal that is connected with the FCoE routing device; Here, described terminal comprises server, memory device;
Further, described direct linkage type route entry comprises: VFID field, DID field, MASK field, NEXTHOP field, TYPE field; Wherein, the VFID field is set to 1 when initial powering on; The DID field is the FCID of FCoE routing device; The MASK field is the mask of FCoE routing device; The NEXTHOP field is the down hop FCID that Frame is transmitted, and NEXTHOP selects the FCID of purpose terminal as down hop FCID automatically here; The TYPE field is DIRECT, represents that this route entry is the direct linkage type route entry; Here, described purpose terminal is the purpose terminal that Frame is transmitted;
In the such scheme, described territory segment type route entry represents the employed clauses and subclauses of foreign lands' FCoE routing device that are connected with the FCoE routing device;
Further, described territory segment type route entry comprises: VFID field, DID field, MASK field, NEXTHOP field, TYPE field; Wherein, the VFID field is set to 1 when initial powering on; The DID field is the FCID of the FCoE of foreign lands routing device in the CEE network; The MASK field is the mask of FCoE routing device; The NEXTHOP field is the down hop FCID that Frame is transmitted, and NEXTHOP selects FCID with the FCoE routing device FCoE of direct-connected foreign lands routing device as down hop FCID according to the FSPF agreement here; The TYPE field is DOMAIN, represents that this route entry is territory segment type route entry;
In the such scheme, the foreign lands' FCoE routing device in the described CEE network comprises: with the FCoE routing device FCoE of direct-connected foreign lands routing device, with the FCoE of the foreign lands routing device of FCoE routing device indirect joint; Here, described indirect joint is: the FCoE of foreign lands routing device is connected to the FCoE routing device by the FCoE of another foreign lands routing device;
In the such scheme, described NEXTHOP selects to comprise two kinds of situations with the FCID of the FCoE routing device FCoE of direct-connected foreign lands routing device as down hop FCID according to the FSPF agreement:
When the DID field is the FCID of the direct-connected FCoE of foreign lands routing device, NEXTHOP with the FCID of the described direct-connected FCoE of foreign lands routing device as down hop FCID;
When the DID field is the FCID of the FCoE of foreign lands routing device of indirect joint, NEXTHOP will with the direct FCID of the FCoE of foreign lands routing device that is connected that can arrive the purpose territory as down hop FCID;
In the such scheme, described address type route entry represents the employed route in the inner well-known address of FCoE routing device;
Here, described well-known address is generated when initial powering on automatically by the FCoE routing device; Well-known address, described inside can be: name server address, domain controller address, F_PORT address, E_PORT address; Wherein, the FCID of name server address is that the FCID of FFFFFC, domain controller address is that the FCID of FFFC01, F_PORT address is that the FCID of FFFFFE, E_PORT address is FFFFFD;
Further, described address type route entry comprises: VFID field, DID field, MASK field, NEXTHOP field, TYPE field; Wherein, the VFID field is set to 1 when initial powering on; The DID field is the FCID of the inner well-known address of FCoE routing device or is FFFC00; The MASK field should be mutually the mask of well-known address or is the mask of FFFC00; The NEXTHOP field is the down hop FCID that Frame is transmitted, and NEXTHOP should be the FCID of described well-known address or the FCID of the FCoE of foreign lands routing device mutually here; The TYPE field should be ME or OTHER mutually, represents that this route entry is inner route entry or forward type route entry; Here, inner route entry and forward type route entry belong to the address type route entry;
Further, after described direct linkage type route entry, territory segment type route entry, the setting of address type route entry were finished, this step also comprised: routing device is shown in described direct linkage type route entry, territory segment type route entry, address type route entry in the routing table with tabular form;
Here, every list items in the described routing table is among in the described direct linkage type route entry one, territory segment type route entry one or the address type route entry one; And every list items longitudinal arrangement is in routing table; VFID field, DID field, MASK field, NEXTHOP field, TYPE field in every list items are once transversely arranged in routing table.
Further, described physical address map module 22 also comprises: physical address acquisition module 221, physical address are searched module 222; Wherein,
Described physical address acquisition module 221, obtain FCID and the MAC Address of terminal equipment according to the FIP agreement, and the MAC Address of the direct-connected FCoE of foreign lands routing device, obtain the FCID of the direct-connected FCoE of foreign lands routing device according to the FSPF agreement, set up mac address forwarding table according to described FCID and MAC Address; Accepting physics address search module 222 carries out physical address and searches;
Described physical address is searched module 222, when being used for receiving the down hop FCID of FCoE Frame distribution module 23 transmissions, searching MAC Address corresponding to down hop FCID, and this MAC Address is sent to FCoE Frame distribution module 23;
In the such scheme, described FCID and the MAC Address of obtaining terminal equipment according to the FIP agreement, and the MAC Address of the direct-connected FCoE of foreign lands routing device is specially: the form of FIP message with broadcasting is sent in the CEE network, therefore, all terminal and the direct-connected FCoE of foreign lands routing devices all can receive this FIP message in the CEE network; Further, after terminal and the direct-connected FCoE of foreign lands routing device are received this FIP message, carry out the FLogin link setup, mutual by FIP agreement and physical address acquisition module 221; Physical address acquisition module 221 is by obtaining alternately FCID and terminal MAC corresponding relation, and the MAC Address of the direct-connected FCoE of foreign lands routing device;
Here, the described mac address forwarding table of setting up is specially: terminal or the FCID of the FCoE of foreign lands routing device and the mapping relations between the MAC Address are write in the mac address forwarding table.
The above is preferred embodiment of the present invention only, is not for limiting protection scope of the present invention.

Claims (11)

1. an Ethernet optical-fibre channel routing forwarding data method is characterized in that, dissimilar FC route entrys is set; The method also comprises:
In the CEE network, set up linking of FCoE routing device and terminal equipment and the direct-connected FCoE of foreign lands routing device by the FIP agreement, obtain FCID and the MAC of terminal equipment, and the MAC Address of the direct-connected FCoE of foreign lands routing device, again by the FSPF protocol interaction, obtain the FCID of the direct-connected FCoE of foreign lands routing device, set up mac address forwarding table according to described FCID and MAC Address;
After receiving the FCoE Frame, VFID and the purpose FCID corresponding according to this FCoE Frame search the route entry corresponding with it; With the down hop field in the corresponding route entry as down hop FCID; When corresponding route entry is inner route entry in the address type route entry, this FCoE Frame is sent to well-known address, inside corresponding to down hop FCID; Otherwise, in mac address forwarding table, search MAC Address corresponding to down hop FCID, transmit this FCoE Frame according to this MAC Address.
2. method according to claim 1 is characterized in that, before route entry was set, the method also comprised: host exchange is all the FCoE routing device allocation domain controller FCID in the CEE network.
3. method according to claim 1 and 2 is characterized in that, describedly dissimilar route entrys is set comprises:
The domain controller FCID that distributes according to host exchange arranges the direct linkage type route entry; According to the FSPF protocol interaction, obtain the FCID of the FCoE of foreign lands routing device feedback in the CEE network, territory segment type route entry is set; Automatic calculated address type route entry.
4. method according to claim 3 is characterized in that, described direct linkage type route entry, territory segment type route entry, address type route entry comprise: virtual framework identification field, purpose FCID field, mask field, down hop field, type field.
5. method according to claim 4 is characterized in that,
During the direct linkage type route entry, default setting is 1 to virtual framework identification field when initial powering on; Purpose FCID field is the FCID of FCoE routing device; Mask field is the mask of FCoE routing device; The down hop field is the down hop FCID that Frame is transmitted, and described down hop field selects the FCID of purpose terminal as down hop FCID automatically; Type field is direct;
During territory segment type route entry, default setting is 1 to virtual framework identification field when initial powering on; Purpose FCID field is the FCID of the FCoE of foreign lands routing device in the CEE network; Mask field is the mask of FCoE routing device; The down hop field is the down hop FCID that Frame is transmitted, and described down hop field selects FCID with the FCoE routing device FCoE of direct-connected foreign lands routing device as down hop FCID according to FABRIC SPF FSPF agreement; Type field is the territory;
During the address type route entry, default setting is 1 to virtual framework identification field when initial powering on; Purpose FCID is FCID, the domain controller FCID of the inner well-known address of FCoE routing device or is FFFC00; Mask field should be mutually well-known address mask, domain controller FCID mask or be the mask of FFFC00; The down hop field is the down hop FCID that Frame is transmitted, described down hop field should be mutually described well-known address FCID, this territory FCoE routing device domain controller FCID or for default; Type field should be inner or other mutually.
6. method according to claim 5 is characterized in that, described down hop field is selected to comprise as down hop FCID with the domain controller FCID of the FCoE routing device FCoE of direct-connected foreign lands routing device according to the FSPF agreement:
When purpose FCID field was the FCID of the direct-connected FCoE of foreign lands routing device, the down hop field was the FCID of the described direct-connected FCoE of foreign lands routing device;
When purpose FCID field was the FCID of the FCoE of foreign lands routing device of indirect joint, the down hop field was the FCID of the direct connection FCoE of the foreign lands routing device that can arrive the purpose territory.
7. method according to claim 1 and 2, it is characterized in that, describedly set up mac address forwarding table according to FIP agreement and FSPF agreement and be: the domain controller FCID of terminal FCID or the direct-connected FCoE of foreign lands routing device and the mapping relations between the MAC Address are write in the mac address forwarding table.
8. method according to claim 1 and 2 is characterized in that, describedly searches the route entry corresponding with it according to VFID corresponding to this FCoE Frame and purpose FCID and comprises:
When VFID corresponding to this FCoE Frame was consistent with the virtual framework identification field of the purpose in the route entry and FCID field with purpose FCID, then this route entry was the route entry corresponding with this FCoE Frame;
When VFID corresponding to this FCoE Frame and the purpose FCID field in purpose FCID and the route entry are inconsistent, then search the route entry corresponding with it according to the territory FCID under this VFID and the purpose FCID; When described territory FCID was consistent with DID field in the route entry, then this route entry was the route entry corresponding with this FCoE Frame.
9. an Ethernet optical-fibre channel routing device is characterized in that, this Ethernet optical-fibre channel routing device comprises: routing module, physical address map module, FCoE Frame distribution module; Wherein,
Described routing module is used for arranging dissimilar route entrys;
Described physical address map module is obtained FCID and the MAC of terminal equipment and the MAC Address of the direct-connected FCoE of foreign lands routing device according to the FIP agreement; Obtain the FCID of the direct-connected FCoE of foreign lands routing device according to the FSPF agreement, set up mac address forwarding table according to described FCID and MAC Address; When also being used for receiving the down hop FCID of FCoE Frame distribution module transmission, searching MAC Address corresponding to down hop FCID, and this MAC Address is sent to FCoE Frame distribution module;
Described FCoE Frame distribution module after being used for receiving the FCoE Frame, is sent to routing module with the purpose FCID of this FCoE Frame and carries out route entry and search; Receive down hop FCID and route entry type that routing module returns; When the route entry type is inner route entry in the address type route entry, this FCoE Frame is sent to well-known address, inside corresponding to down hop FCID; Otherwise, down hop FCID is sent to the physical address map module carries out physical address and search; Receive MAC Address corresponding to down hop FCID that the physics address mapping module is returned, transmit this FCoE Frame according to this MAC Address.
10. Ethernet optical-fibre channel routing device according to claim 9, it is characterized in that described routing module also comprises: route entry arranges module, route entry is searched module; Wherein,
Described route entry arranges module, is used for according to the domain controller FCID that host exchange distributes the direct linkage type route entry being set; By the FSPF protocol interaction, receive the domain controller FCID of the FCoE of the foreign lands routing device feedback in the CEE network, the territory segment type route entry of the described FCoE of foreign lands routing device is set according to this FCID; Powering on when initial, automatically calculated address type route entry; The reception route entry is searched the route entry of module and is searched;
Described route entry is searched module, when being used for receiving the VFID of the correspondence that FCoE Frame distribution module sends and purpose FCID, arranging in route entry and to search the route entry corresponding with this VFID and purpose FCID in the module; Down hop FCID in the corresponding route entry and route entry type are sent to FCoE Frame distribution module.
11. according to claim 9 or 10 described Ethernet optical-fibre channel routing devices, it is characterized in that described physical address map module also comprises: physical address acquisition module, physical address are searched module; Wherein,
Described physical address acquisition module, in the CEE network, set up linking of FCoE routing device and terminal equipment and the direct-connected FCoE of foreign lands routing device by the FIP agreement, obtain FCID and the MAC of terminal equipment, and the MAC Address of the direct-connected FCoE of foreign lands routing device, by the FSPF protocol interaction, obtain the FCID of the direct-connected FCoE of foreign lands routing device; Set up mac address forwarding table according to described FCID and MAC Address; Accepting physics address search module carries out physical address and searches;
Described physical address is searched module, when being used for receiving the down hop FCID of FCoE Frame distribution module transmission, searching MAC Address corresponding to down hop FCID, and this MAC Address is sent to FCoE Frame distribution module.
CN201310003573.5A 2013-01-06 2013-01-06 A kind of method of Ethernet optical-fibre channel routing forwarding data and equipment thereof Active CN103051985B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310003573.5A CN103051985B (en) 2013-01-06 2013-01-06 A kind of method of Ethernet optical-fibre channel routing forwarding data and equipment thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310003573.5A CN103051985B (en) 2013-01-06 2013-01-06 A kind of method of Ethernet optical-fibre channel routing forwarding data and equipment thereof

Publications (2)

Publication Number Publication Date
CN103051985A true CN103051985A (en) 2013-04-17
CN103051985B CN103051985B (en) 2015-08-12

Family

ID=48064466

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310003573.5A Active CN103051985B (en) 2013-01-06 2013-01-06 A kind of method of Ethernet optical-fibre channel routing forwarding data and equipment thereof

Country Status (1)

Country Link
CN (1) CN103051985B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546382A (en) * 2013-11-05 2014-01-29 中国联合网络通信集团有限公司 Data processing method, device and system
CN104468364A (en) * 2013-09-18 2015-03-25 华为技术有限公司 Route synchronization method and device
CN106664250A (en) * 2014-05-12 2017-05-10 谷歌公司 Prefix-aware weighted cost multi-path group reduction

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102264A (en) * 2006-07-04 2008-01-09 华为技术有限公司 Ethernet data forwarding method and Ethernet system
CN102244614A (en) * 2011-08-15 2011-11-16 福建星网锐捷网络有限公司 Message forwarding method, system and routing switch
CN102340436A (en) * 2010-07-14 2012-02-01 杭州华三通信技术有限公司 Cross-network message forwarding method and switch system
CN102624613A (en) * 2012-02-29 2012-08-01 福建星网锐捷网络有限公司 Ethernet network equipment and method for forwarding FCoE (Fibre Channel Over Ethernet) data
WO2012162832A1 (en) * 2011-06-02 2012-12-06 International Business Machines Corporation Fibre channel forwarder fabric login sequence

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102264A (en) * 2006-07-04 2008-01-09 华为技术有限公司 Ethernet data forwarding method and Ethernet system
CN102340436A (en) * 2010-07-14 2012-02-01 杭州华三通信技术有限公司 Cross-network message forwarding method and switch system
WO2012162832A1 (en) * 2011-06-02 2012-12-06 International Business Machines Corporation Fibre channel forwarder fabric login sequence
CN102244614A (en) * 2011-08-15 2011-11-16 福建星网锐捷网络有限公司 Message forwarding method, system and routing switch
CN102624613A (en) * 2012-02-29 2012-08-01 福建星网锐捷网络有限公司 Ethernet network equipment and method for forwarding FCoE (Fibre Channel Over Ethernet) data

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468364A (en) * 2013-09-18 2015-03-25 华为技术有限公司 Route synchronization method and device
CN104468364B (en) * 2013-09-18 2018-02-13 华为技术有限公司 route synchronization method and device
US10063670B2 (en) 2013-09-18 2018-08-28 Huawei Technologies Co., Ltd. Route synchronization method and apparatus
CN103546382A (en) * 2013-11-05 2014-01-29 中国联合网络通信集团有限公司 Data processing method, device and system
CN103546382B (en) * 2013-11-05 2016-08-17 中国联合网络通信集团有限公司 Data processing method, equipment and system
CN106664250A (en) * 2014-05-12 2017-05-10 谷歌公司 Prefix-aware weighted cost multi-path group reduction
CN106664250B (en) * 2014-05-12 2020-08-14 谷歌有限责任公司 Method and system for generating forwarding tables for packet switches

Also Published As

Publication number Publication date
CN103051985B (en) 2015-08-12

Similar Documents

Publication Publication Date Title
CN102368727B (en) Crossed IP network TRILL network communication method, system thereof and devices
CN108476160B (en) switch interconnect based on layered overlay tunneling
CN102413061B (en) Message transmission method and equipment
US20200396162A1 (en) Service function chain sfc-based communication method, and apparatus
CN110324165B (en) Network equipment management method, device and system
CN105450437B (en) SID distribution method and SR node
CN102957589B (en) Method, network node and system for service data transmission
US20150030031A1 (en) Forwarding packets in an edge device
CN104869042A (en) Message forwarding method and message forwarding device
CN104660508A (en) Message forwarding method and device
CN103220215B (en) The retransmission method of FCoE message and device in TRILL network
CN105490957A (en) Load sharing method and device
CN104378297A (en) Message forwarding method and device
KR20140119775A (en) Ip forwarding across a link state protocol controlled ethernet network
CN109995654A (en) A kind of method and device based on tunnel data
CN102946349B (en) A kind of Ethernet E-Line service link discover method based on ospf protocol and device
CN104683210A (en) Automatic tunnel establishing method and device
CN102185782A (en) Data transmission method and device of multilink transparent transmission interconnection network
CN104301252A (en) Data sending system and method
CN103490968B (en) Method and device for interconnecting across data centers in FCoE network
CN103023773A (en) Method, device and system for forwarding message in multi-topology network
CN102318290B (en) Message forward method and device
US9860160B2 (en) Multipath switching using per-hop virtual local area network classification
CN102291305A (en) Method and device for implementing 6 to 4 relay routing, and message forwarding method
CN103051985B (en) A kind of method of Ethernet optical-fibre channel routing forwarding data and equipment thereof

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