[go: up one dir, main page]

CN103414662B - A kind of method that realizes FCOE Fabric network domains ID distribution - Google Patents

A kind of method that realizes FCOE Fabric network domains ID distribution Download PDF

Info

Publication number
CN103414662B
CN103414662B CN201310401087.9A CN201310401087A CN103414662B CN 103414662 B CN103414662 B CN 103414662B CN 201310401087 A CN201310401087 A CN 201310401087A CN 103414662 B CN103414662 B CN 103414662B
Authority
CN
China
Prior art keywords
domain
switch
message
master
master switch
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.)
Expired - Fee Related
Application number
CN201310401087.9A
Other languages
Chinese (zh)
Other versions
CN103414662A (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.)
Chongqing University
Original Assignee
Chongqing University
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 Chongqing University filed Critical Chongqing University
Priority to CN201310401087.9A priority Critical patent/CN103414662B/en
Publication of CN103414662A publication Critical patent/CN103414662A/en
Application granted granted Critical
Publication of CN103414662B publication Critical patent/CN103414662B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

一种实现FCOE?Fabric网络域ID分配的方法,实现的步骤为:1)主交换机给自己分配域ID,更新本地域ID列表,并向邻居交换机发送EFP通告,邻居交换机转发该EFP通告;2)主交换机向邻居交换机发送DIA报文,邻居交换机再转发该DIA报文;3)各个非主交换机收到DIA报文后,回复DIA-ACC并发送RDI报文给主交换机请求域ID;4)主交换机给各个非主交换机分配完域ID后,更新本地的域ID列表,并发送更新的EFP通告;5)各个非主交换机根据收到的EFP通告,更新本地域ID列表。该方法由主交换机统一对网络内的非主交换机分配域ID和通告,可以节省网络资源,提高网络运行效率。

A way to achieve FCOE? The method of fabric network domain ID allocation, the implementation steps are: 1) The master switch assigns itself a domain ID, updates the local domain ID list, and sends an EFP notification to the neighbor switch, and the neighbor switch forwards the EFP notification; The switch sends a DIA message, and the neighbor switch forwards the DIA message; 3) After receiving the DIA message, each non-master switch replies with a DIA-ACC and sends an RDI message to the master switch to request a domain ID; 4) The master switch sends each After allocating domain IDs, the non-master switch updates the local domain ID list and sends an updated EFP notification; 5) Each non-master switch updates the local domain ID list according to the received EFP notification. In this method, the master switch uniformly assigns domain IDs and notifications to non-master switches in the network, which can save network resources and improve network operation efficiency.

Description

一种实现FCOE Fabric网络域ID分配的方法A method for realizing FCOE Fabric network domain ID allocation

技术领域 technical field

本发明涉及网络中域ID(IdentifierDomain)分配技术,特别涉及在以太网上运行光纤协议的FCOEFabric网络中交换机获取域ID的方法。 The invention relates to a domain ID (IdentifierDomain) distribution technology in a network, in particular to a method for obtaining a domain ID by a switch in an FCOEFabric network running an optical fiber protocol on the Ethernet.

背景技术 Background technique

数据中心正以前所未有的速度增长,为了降低多种并行的网络架构带来的建设成本,多网融合成为必然趋势。FCOE(FibreChanneloverEthernet)便是一种网络融合的技术,它可以使得存储网络和以太网共享一个单一的、集成的网络基础设施。在以太网中,具有FCOE功能的FCF(FCOEForworder)交换机组成了Fabric网络,也即是FCOEFabric。 Data centers are growing at an unprecedented rate. In order to reduce the construction costs brought by multiple parallel network architectures, multi-network integration has become an inevitable trend. FCOE (Fibre Channel over Ethernet) is a network convergence technology that enables storage networks and Ethernet to share a single, integrated network infrastructure. In Ethernet, FCF (FCOEForworder) switches with FCOE functions form a Fabric network, that is, FCOEFabric.

FCOEFabric网络初始化过程如图1所示。步骤1是FIP(FabricinitializationProtocol)初始化,当网络中的交换机上电启动后,FCF交换机之间通过此过程建立以太网上点对点的虚链路。步骤2是FC(FibreChannel)链路初始化,即交换机间通过发送ELP(ExchangeLinkPrarmeters)报文进行链路参数协商。ELP报文中会携带定时器参数值、交换机的WWN(WordWildName)和各种流控参数等信息。步骤3是区分端口操作类型,当端口间的安全认证通过,端口的操作类型就为E模式。步骤4是选择主交换机,即当交换机发现自己处于多交换机环境(有E端口UP),将会引发一个主机换机选举过程,交换机间通过相连接的E端口发送EFP((ExchangeFabricPrarmeters)报文,来完成主交换机选举。步骤5是分配域ID,即在FCOEFabric网络中由选举出来的主交换机为每个交换机分配域ID。步骤6是路径选择FSPF(FabricShortestPathFirst),即网络内的交换机获得域ID之后,将利用最短路径优先算法找出所有路径信息,从而确定到达目标的最佳路径。 The initialization process of the FCOEFabric network is shown in Figure 1. Step 1 is FIP (FabricinitializationProtocol) initialization. After the switches in the network are powered on and started, FCF switches establish a point-to-point virtual link on the Ethernet through this process. Step 2 is FC (FibreChannel) link initialization, that is, exchange link parameters are negotiated between switches by sending ELP (ExchangeLinkPrarmeters) messages. The ELP message will carry information such as timer parameter values, WWN (WordWildName) of the switch, and various flow control parameters. Step 3 is to distinguish the port operation type. When the security authentication between ports is passed, the port operation type is E mode. Step 4 is to select the main switch, that is, when the switch finds itself in a multi-switch environment (with E port UP), it will trigger a host replacement election process, and the switches send EFP ((ExchangeFabricPrarmeters) messages through the connected E ports, To complete the master switch election. Step 5 is to assign domain IDs, that is, in the FCOEFabric network, the elected master switch assigns domain IDs to each switch. Step 6 is path selection FSPF (FabricShortestPathFirst), that is, the switches in the network obtain domain IDs Afterwards, the shortest path first algorithm will be used to find out all the path information to determine the best path to reach the goal.

根据网络初始化过程图可以看出,通过FCOEFabric网络传输数据之前,必须为FCOEFabric网络中的每台FCF交换机分配域ID。域ID是FCF交换机在Fabric网络中的唯一标志,FCF交换机也会根据分配给自己的域ID,计算出和其相连的节点设备的Fabric地址,从而实现节点间端到端的转发。 According to the network initialization process diagram, it can be seen that before data is transmitted through the FCOEFabric network, a domain ID must be assigned to each FCF switch in the FCOEFabric network. The domain ID is the unique identifier of the FCF switch in the Fabric network. The FCF switch will also calculate the Fabric address of the node device connected to it according to the domain ID assigned to it, so as to realize end-to-end forwarding between nodes.

现有的FCOEFabric网络分配域ID的方法如图2所示。分配过程中,主交换机首先为自己分配最小可用域ID并更新本地域ID列表,分配完成后发送EFP1通告报文通知非主交换机1,非主交换机1更新本地域ID列表的同时也会转发EFP1报文给非主交换机2。之后主交换机向非主交换机1发送DIA1(DomainIdentifierAssigned)报文,通知其可以开始申请域ID。非主交换机1收到DIA1后,回复DIA1-ACC(DomainIdentifierAssignedAccept)并发送RDI1(RequestDomainID)报文,用于请求域ID。主交换机收到RDI1请求之后,通过RDI1-ACC(RequestDomainIDAccept)为其分配域ID,并更新本地域ID列表。分配完成后发送EFP2通告报文通知非主交换机1,非主交换机1更新本地域ID列表的同时也会转发EFP2报文给非主交换机2,通知其进行域列表更新。非主交换机1拥有域ID后,就向非主交换机2发送DIA2报文,通知其开始申请域ID。非主交换机2收到DIA2后,回复DIA2-ACC并发送RDI2报文,请求域ID。非主交换机1收到RDI2报文后,将RDI2通过上游主链路转发给主交换机。主交换机收到RDI2请求,通过RDI2-ACC为其分配域ID,并更新本地域ID列表。非主交换机1收到RDI2-ACC,再将此回应报文转发给非主交换机2,这样非主交换机2就获取到了域ID。主交换机分配完成后,发送EFP3通告报文通知非主交换机1,非主交换机1更新本地域ID列表的同时也会转发EFP3报文给非主交换机2,通知其进行域列表更新。以此类推进行域ID分配和通告,最后网络中的每一个交换机在本地都记录了其他交换机的名字和其对应的域ID。 The method for assigning domain IDs in the existing FCOEFabric network is shown in FIG. 2 . During the allocation process, the master switch first allocates the minimum available domain ID for itself and updates the local domain ID list. After the allocation is completed, it sends an EFP1 notification message to notify the non-master switch 1. The non-master switch 1 updates the local domain ID list and forwards EFP1 at the same time. The message is sent to the non-master switch 2. Afterwards, the master switch sends a DIA1 (DomainIdentifierAssigned) message to the non-master switch 1, informing it that it can start applying for a domain ID. After receiving DIA1, non-master switch 1 replies with DIA1-ACC (DomainIdentifierAssignedAccept) and sends RDI1 (RequestDomainID) message to request the domain ID. After receiving the RDI1 request, the master switch assigns a domain ID to it through RDI1-ACC (RequestDomainIDAccept), and updates the local domain ID list. After the allocation is completed, send an EFP2 notification message to notify the non-master switch 1. When the non-master switch 1 updates the local domain ID list, it will also forward the EFP2 message to the non-master switch 2 to notify it to update the domain list. After the non-master switch 1 has the domain ID, it sends a DIA2 message to the non-master switch 2 to notify it to start applying for a domain ID. After receiving DIA2, non-master switch 2 replies with DIA2-ACC and sends RDI2 message to request domain ID. After receiving the RDI2 packet, the non-master switch 1 forwards RDI2 to the master switch through the upstream main link. The master switch receives the RDI2 request, assigns a domain ID to it through RDI2-ACC, and updates the local domain ID list. The non-master switch 1 receives the RDI2-ACC, and then forwards the response packet to the non-master switch 2, so that the non-master switch 2 obtains the domain ID. After the master switch is allocated, it sends an EFP3 notification message to notify the non-master switch 1. When the non-master switch 1 updates the local domain ID list, it will also forward the EFP3 message to the non-master switch 2 to notify it to update the domain list. By analogy, the domain ID is assigned and notified, and finally each switch in the network records the names of other switches and their corresponding domain IDs locally.

可见现有的域ID分配过程中,每分配出去一个域ID时,都会发送一个EFP通告给所有的非主交换机,通知其更新域ID列表。这样会产生大量的EFP通告报文而且每个交换机要不断地更新本地的域ID列表,直到所有交换机都获得域ID。尤其当网络中的FCF交换机数量增加时,更会导致网络运行效率降低。 It can be seen that in the existing domain ID allocation process, every time a domain ID is allocated, an EFP notification will be sent to all non-master switches to notify them to update the domain ID list. In this way, a large number of EFP notification messages will be generated, and each switch must continuously update the local domain ID list until all switches obtain domain IDs. Especially when the number of FCF switches in the network increases, the network operation efficiency will be reduced.

发明内容 Contents of the invention

解决上述技术问题的途径,是一种实现FCOEFabric网络域ID分配的方法,该方法实现步骤为: The way to solve the above-mentioned technical problems is a method for realizing the distribution of FCOEFabric network domain IDs, and the implementation steps of the method are as follows:

第一步,主交换机首先给自己分配一个最小可用的域ID(IdentifierDomain),然后更新自己的域ID列表,并向邻居交换机发送更新的EFP(ExchangeFabricParameters)通告报文,其中,邻居交换机是指与主交换机相连的非主交换机;邻居交换机再向其相连的非主交换机转发EFP通告报文;网络中包括邻居交换机在内的所有非主交换机收到EFP通告报文后,都需要更新自己本地的域ID列表; In the first step, the master switch first assigns itself a minimum available domain ID (IdentifierDomain), then updates its own domain ID list, and sends an updated EFP (ExchangeFabricParameters) notification message to the neighbor switch, where the neighbor switch refers to the The non-master switch connected to the master switch; the neighbor switch forwards the EFP notification message to the non-master switch connected to it; after receiving the EFP notification message, all non-master switches including the neighbor switch in the network need to update their local List of Domain IDs;

第二步,主交换机向邻居交换机发送DIA(DomainIdentifierAssigned)报文,通知邻居交换机可以申请域ID;邻居交换机收到DIA报文后,也向相邻的非主交换机发送DIA报文;经过转发,网络中的所有非主交换机都收到DIA报文,准备发送RDI(RequestDomainID)请求报文; In the second step, the master switch sends a DIA (DomainIdentifierAssigned) message to the neighbor switch to notify the neighbor switch that it can apply for a domain ID; after receiving the DIA message, the neighbor switch also sends a DIA message to the adjacent non-master switch; after forwarding, All non-master switches in the network have received the DIA message and are ready to send the RDI (RequestDomainID) request message;

第三步,包括主交换机的邻居交换机在内的各个非主交换机回复DIA-ACC(DomainIdentifierAssignedAccept)报文给主交换机,同时,发送RDI请求报文,请求域ID;RDI请求报文字段填上请求域ID的交换机名和需要请求的域ID,如果没有特殊需要的域ID,请求的域ID对应字段填上0x00;其中非主交换机中的非邻居交换机发送的DIA-ACC报文和RDI报文需要通过上游主链路,由邻居交换机转发给主交换机进行处理; In the third step, each non-master switch, including the neighbor switch of the master switch, replies a DIA-ACC (DomainIdentifierAssignedAccept) message to the master switch, and at the same time, sends an RDI request message requesting the domain ID; the RDI request message field fills in the request The switch name of the domain ID and the domain ID that needs to be requested. If there is no special required domain ID, fill in the corresponding field of the requested domain ID with 0x00; among them, the DIA-ACC message and RDI message sent by the non-neighbor switch in the non-master switch need Through the upstream main link, the neighbor switch forwards it to the main switch for processing;

第四步,主交换机对收到RDI报文进行处理,根据RDI报文中携带的内容,分别给包括邻居交换机在内的所有非主交换机分配对应的域ID:若RDI报文中请求的域ID对应字段为0x00,则随机分配最小的可用域ID;若RDI报文中请求的域ID对应字段不为0x00,则分配该字段的值作为非主交换机域ID;主交换机处理完毕之后,由RDI-ACC(RequestDomainIDAccept)报文,通过下游主链路,分配给包括邻居交换机在内的所有非主交换机;主交换机分配完域ID之后,更新自己本地的域ID列表,并发送带有更新的域ID列表的EFP通告报文给所有非主交换机,这个EFP通告报文中携带网络中所有的非主交换机名以及其对应的域ID; Step 4: The master switch processes the received RDI message, and assigns corresponding domain IDs to all non-master switches including neighboring switches according to the content carried in the RDI message: if the domain requested in the RDI message If the field corresponding to the ID is 0x00, the smallest available domain ID will be randomly assigned; if the field corresponding to the domain ID requested in the RDI message is not 0x00, the value of this field will be assigned as the domain ID of the non-master switch; after the master switch finishes processing, the The RDI-ACC (RequestDomainIDAccept) message is distributed to all non-master switches including neighbor switches through the downstream main link; after the master switch distributes the domain ID, it updates its local domain ID list and sends an updated The EFP notification message of the domain ID list is sent to all non-master switches. This EFP notification message carries the names of all non-master switches in the network and their corresponding domain IDs;

第五步,各个非主交换机获得域ID,并且根据收到的EFP通告报文内容更新本地的域ID记录,至此网络中的所有交换机都拥有自己的域ID,并且本地也记录了网络中其它交换机的名字和对应的域ID。 The fifth step, each non-master switch obtains the domain ID, and updates the local domain ID record according to the content of the received EFP notification message. So far, all switches in the network have their own domain ID, and the local records of other domain IDs in the network are also recorded. The name of the switch and the corresponding domain ID.

本发明适用于FCOEFabric网络初始化过程中的域ID分配过程,能够大大节省该过程的网络资源消耗,提高网络运行效率。 The invention is applicable to the domain ID allocation process in the FCOEFabric network initialization process, can greatly save the network resource consumption in the process, and improve the network operation efficiency.

附图说明 Description of drawings

图1为FCOEFabric网络初始化过程流程图 Figure 1 is a flow chart of the FCOEFabric network initialization process

图2为现有的FCOEFabric网络中域ID的分配方法示意图 Figure 2 is a schematic diagram of the domain ID allocation method in the existing FCOEFabric network

图3为本发明提供的FCOEFabric网络中域ID的分配方法流程图 Fig. 3 is the flow chart of the distribution method of the domain ID in the FCOEFabric network provided by the present invention

图4为本发明提供的FCOEFabric网络中域ID的分配方法示意图 Fig. 4 is a schematic diagram of the distribution method of the domain ID in the FCOEFabric network provided by the present invention

具体实施方式 detailed description

本发明的主要思想是:当主交换机选举出来以后,由主交换机统一对其所在Fabric网络内的其它非主交换机发送DIA请求,进行域ID分配。分配完成以后,主交换机一次性发送EFP通告报文给全部的非主交换机。 The main idea of the present invention is: after the master switch is elected, the master switch uniformly sends DIA requests to other non-master switches in the fabric network where it is located, and performs domain ID distribution. After the assignment is completed, the master switch sends an EFP notification message to all non-master switches at one time.

本发明是在支持FCOE协议的FCF交换机互连而成的Fabric网络中实现的。 The present invention is realized in a Fabric network formed by interconnecting FCF switches supporting the FCOE protocol.

本发明方法的流程图如图3所示,分为五个步骤: The flow chart of the inventive method is as shown in Figure 3, is divided into five steps:

第一步,主交换机给自己分配最小可用域ID,更新本地域ID列表,并且发送更新的EFP通告报文; In the first step, the master switch assigns the minimum available domain ID to itself, updates the local domain ID list, and sends an updated EFP notification message;

第二步,主交换机发送DIA报文给相邻非主交换机,相邻非主交换机收到DIA之后,也发送DIA给自己相邻的非主交换机; In the second step, the master switch sends a DIA message to the adjacent non-master switch, and after the adjacent non-master switch receives the DIA, it also sends the DIA message to its adjacent non-master switch;

第三步,各个非主交换机回复DIA-ACC并且分别发送RDI报文给主交换机,请求域ID; In the third step, each non-master switch replies to DIA-ACC and sends RDI messages to the master switch respectively, requesting the domain ID;

第四步,主交换机对收到的RDI报文进行确认,通过RDI-ACC报文分别给各个非主交换机分配域ID,更新自己本地域ID列表,并发送带有更新的域ID列表的EFP通告报文给所有的非主交换机; Step 4: The master switch confirms the received RDI message, assigns domain IDs to each non-master switch through the RDI-ACC message, updates its own local domain ID list, and sends EFP with the updated domain ID list Notify the message to all non-master switches;

第五步,各个非主交换机获得域ID,并且更新本地的域ID记录。 In the fifth step, each non-master switch obtains the domain ID, and updates the local domain ID record.

根据图3所示的流程图,本发明提供的FCOEFabric网络分配域ID的方法的具体实现过程如图4所示: According to the flowchart shown in Figure 3, the specific implementation process of the method for the FCOEFabric network allocation domain ID provided by the present invention is as shown in Figure 4:

图4中,主交换机已经选举出来,它首先为自己分配最小可用域ID并更新本地域ID列表,分配完成后发送EFP1通告报文通知邻居交换机,即非主交换机1,非主交换机1更新本地域ID列表的同时也会转发EFP1报文给非主交换机2。 In Figure 4, the master switch has been elected. It first allocates the minimum available domain ID for itself and updates the local domain ID list. After the allocation is completed, it sends an EFP1 notification message to notify the neighbor switch, that is, the non-master switch 1, and the non-master switch 1 updates the local domain ID list. The region ID list will also forward the EFP1 message to the non-master switch 2 at the same time.

主交换机再向非主交换机1发送DIA1报文,通知它们可以申请域ID。非主交换机1收到DIA1报文后,也向非主交换机2发送DIA2报文,通知其可以申请域ID。非主交换机1收到DIA1后,向主交换机回复DIA1-ACC确认报文。非主交换机2收到DIA2后,也向非主交换机1回复DIA2-ACC确认报文。 The master switch then sends a DIA1 message to the non-master switch 1 to notify them that they can apply for a domain ID. After receiving the DIA1 message, the non-master switch 1 also sends a DIA2 message to the non-master switch 2 to notify it that it can apply for a domain ID. After receiving the DIA1, the non-master switch 1 replies a DIA1-ACC confirmation message to the master switch. After receiving the DIA2, the non-master switch 2 also replies a DIA2-ACC confirmation message to the non-master switch 1.

非主交换机1和非主交换机2分别发送RDI1和RDI2请求报文,请求域ID。其中非主交换机2发送的RDI2请求报文,需要经过上游主链路由非主交换机1转发给主交换机。 The non-master switch 1 and the non-master switch 2 respectively send RDI1 and RDI2 request packets to request domain IDs. The RDI2 request message sent by the non-master switch 2 needs to be forwarded by the non-master switch 1 to the master switch through the upstream main link.

主交换机对收到RDI1和RDI2报文分别进行处理。根据RDI1和RDI2报文中携带的内容,分别给各个非主交换机分配对应的域ID。并由RDI1-ACC和RDI2-ACC确认报文,携带所分配的域ID。其中发送给非主交换机2的RDI2-ACC确认报文,需要经过下游主链路由非主交换机1转发给主交换机2。 The master switch processes the received RDI1 and RDI2 packets respectively. According to the content carried in the RDI1 and RDI2 messages, assign corresponding domain IDs to each non-master switch. And the message is confirmed by RDI1-ACC and RDI2-ACC, carrying the allocated domain ID. The RDI2-ACC confirmation message sent to the non-master switch 2 needs to be forwarded by the non-master switch 1 to the master switch 2 through the downstream main link.

主交换机分配完域ID之后,更新自己本地的域ID列表为已经分配的域ID及其所对应的交换机名,并发送EFP2通告报文。此时的EFP2通告报文中携带非主交换机1名字和非主交换机2名字,及其各自对应的域ID。 After the master switch has allocated the domain ID, it updates its local domain ID list with the allocated domain ID and the corresponding switch name, and sends an EFP2 notification message. At this time, the EFP2 notification message carries the name of the non-master switch 1 and the name of the non-master switch 2, and their corresponding domain IDs.

各个非主交换机收到EFP2通告报文,分别更新本地的域ID。至此网络中的所有FCF交换机都拥有自己的域ID,并且本地也记录了网络中其它交换机的名字和对应的域ID。 Each non-master switch receives the EFP2 notification message, and updates the local domain ID respectively. So far, all FCF switches in the network have their own domain IDs, and the names and corresponding domain IDs of other switches in the network are also recorded locally.

图4和图2经过比较,可以看出,图4中当网络中主交换机选举出来之后,由主交换机统一对其所在Fabric网络内的其它非主交换机进行域ID分配。这样分配完成以后,主交换机发送一次EFP通告给全部的非主交换机。而图2中每分配出去一个域ID,就发送一个EFP通告给所有非主交换机,而且每通告一次,非主交换机都要更新一次域ID列表。如果网络中的交换机数量很多的情况下,这样每次更新将会占用大量网络资源。 Comparing Figure 4 with Figure 2, it can be seen that in Figure 4, after the master switch is elected in the network, the master switch uniformly assigns domain IDs to other non-master switches in the fabric network where it is located. After the allocation is completed, the master switch sends an EFP notification to all non-master switches. However, in Figure 2, every time a domain ID is allocated, an EFP notification is sent to all non-master switches, and each time a notification is made, the non-master switch must update the domain ID list once. If there are many switches in the network, each update will take up a lot of network resources.

综上所述,本发明提出的FCOEFabric网络的域ID分配方法,能够在网络初始化过程中节省网络资源,提高网络运行效率。 To sum up, the domain ID allocation method of the FCOEFabric network proposed by the present invention can save network resources during the network initialization process and improve network operation efficiency.

Claims (1)

1.一种实现FCOEFabric网络域ID分配的方法,实现的步骤为:1. A method for realizing FCOEFabric network domain ID distribution, the steps of realization are: 第一步,主交换机首先给自己分配一个最小可用的域ID(IdentifierDomain),然后更新自己的域ID列表,并向邻居交换机发送更新的EFP(ExchangeFabricParameters)通告报文,其中,邻居交换机是指与主交换机相连的非主交换机;邻居交换机再向其相连的非主交换机转发EFP通告报文;网络中包括邻居交换机在内的所有非主交换机收到EFP通告报文后,都需要更新自己本地的域ID列表;In the first step, the master switch first assigns itself a minimum available domain ID (IdentifierDomain), then updates its own domain ID list, and sends an updated EFP (ExchangeFabricParameters) notification message to the neighbor switch, where the neighbor switch refers to the The non-master switch connected to the master switch; the neighbor switch forwards the EFP notification message to the non-master switch connected to it; after receiving the EFP notification message, all non-master switches including the neighbor switch in the network need to update their local List of Domain IDs; 第二步,主交换机向邻居交换机发送DIA(DomainIdentifierAssigned)报文,通知邻居交换机可以申请域ID;邻居交换机收到DIA报文后,也向相邻的非主交换机发送DIA报文;经过转发,网络中的所有非主交换机都收到DIA报文,准备发送RDI(RequestDomainID)请求报文;In the second step, the master switch sends a DIA (DomainIdentifierAssigned) message to the neighbor switch to notify the neighbor switch that it can apply for a domain ID; after the neighbor switch receives the DIA message, it also sends a DIA message to the adjacent non-master switch; through forwarding, All non-master switches in the network have received the DIA message and are ready to send the RDI (RequestDomainID) request message; 第三步,包括主交换机的邻居交换机在内的各个非主交换机回复DIA-ACC(DomainIdentifierAssignedAccept)报文给主交换机,同时,发送RDI请求报文,请求域ID;RDI请求报文字段填上请求域ID的交换机名和需要请求的域ID,如果没有特殊需要的域ID,请求的域ID对应字段填上0x00;其中非主交换机中的非邻居交换机发送的DIA-ACC报文和RDI报文需要通过上游主链路,由邻居交换机转发给主交换机进行处理;In the third step, each non-master switch including the neighbor switch of the master switch replies a DIA-ACC (DomainIdentifierAssignedAccept) message to the master switch, and at the same time, sends an RDI request message to request a domain ID; the RDI request message field fills in the request The switch name of the domain ID and the domain ID that needs to be requested. If there is no special required domain ID, fill in the corresponding field of the requested domain ID with 0x00; among them, the DIA-ACC message and RDI message sent by the non-neighbor switch in the non-master switch need Through the upstream main link, the neighbor switch forwards it to the main switch for processing; 第四步,主交换机对收到RDI报文进行处理,根据RDI报文中携带的内容,分别给包括邻居交换机在内的所有非主交换机分配对应的域ID:若RDI报文中请求的域ID对应字段为0x00,则随机分配最小的可用域ID;若RDI报文中请求的域ID对应字段不为0x00,则分配该字段的值作为非主交换机域ID;主交换机处理完毕之后,由RDI-ACC(RequestDomainIDAccept)报文,通过下游主链路,把域ID分配给包括邻居交换机在内的所有非主交换机;主交换机分配完域ID之后,更新自己本地的域ID列表,并发送带有更新的域ID列表的EFP通告报文给所有非主交换机,这个EFP通告报文中携带网络中所有的非主交换机名以及其对应的域ID;Step 4: The master switch processes the received RDI message, and assigns corresponding domain IDs to all non-master switches including neighboring switches according to the content carried in the RDI message: if the domain requested in the RDI message If the field corresponding to the ID is 0x00, the smallest available domain ID will be randomly assigned; if the field corresponding to the domain ID requested in the RDI message is not 0x00, the value of this field will be assigned as the domain ID of the non-master switch; after the master switch finishes processing, the The RDI-ACC (RequestDomainIDAccept) message distributes domain IDs to all non-master switches including neighboring switches through the downstream main link; after the master switch distributes domain IDs, it updates its local domain ID list and sends An EFP notification message with an updated domain ID list is sent to all non-master switches. This EFP notification message carries the names of all non-master switches in the network and their corresponding domain IDs; 第五步,各个非主交换机获得域ID,并且根据收到的EFP通告报文内容更新本地的域ID记录,至此网络中的所有交换机都拥有自己的域ID,并且本地也记录了网络中其它交换机的名字和对应的域ID。The fifth step, each non-master switch obtains the domain ID, and updates the local domain ID record according to the content of the received EFP notification message. So far, all switches in the network have their own domain ID, and the local records of other domain IDs in the network are also recorded. The name of the switch and the corresponding domain ID.
CN201310401087.9A 2013-09-05 2013-09-05 A kind of method that realizes FCOE Fabric network domains ID distribution Expired - Fee Related CN103414662B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310401087.9A CN103414662B (en) 2013-09-05 2013-09-05 A kind of method that realizes FCOE Fabric network domains ID distribution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310401087.9A CN103414662B (en) 2013-09-05 2013-09-05 A kind of method that realizes FCOE Fabric network domains ID distribution

Publications (2)

Publication Number Publication Date
CN103414662A CN103414662A (en) 2013-11-27
CN103414662B true CN103414662B (en) 2016-05-18

Family

ID=49607648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310401087.9A Expired - Fee Related CN103414662B (en) 2013-09-05 2013-09-05 A kind of method that realizes FCOE Fabric network domains ID distribution

Country Status (1)

Country Link
CN (1) CN103414662B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106341188B (en) * 2016-10-28 2020-06-05 新华三技术有限公司 Fabric network merging method and device
CN113438568B (en) * 2021-06-28 2023-01-24 天津津航计算技术研究所 FC exchange host device and exchange method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101795298A (en) * 2003-06-26 2010-08-04 思科技术公司 The fibre channel switch that allows the terminal equipment in the different frameworks when keeping its unique fibre channel domain ID, to communicate with one another
CN102088642A (en) * 2009-12-02 2011-06-08 杭州华三通信技术有限公司 Fiber channel fabrics combining method, system and switches

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8560627B2 (en) * 2003-05-23 2013-10-15 Alcatel Lucent Virtual switch for use in fibre channel applications
US8446817B2 (en) * 2010-01-19 2013-05-21 Cisco Technology, Inc. Distributed virtual fibre channel over Ethernet forwarder

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101795298A (en) * 2003-06-26 2010-08-04 思科技术公司 The fibre channel switch that allows the terminal equipment in the different frameworks when keeping its unique fibre channel domain ID, to communicate with one another
CN102088642A (en) * 2009-12-02 2011-06-08 杭州华三通信技术有限公司 Fiber channel fabrics combining method, system and switches

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Fabric地址配置及数据维护模块的设计与实现;代宗权;《中国优秀硕士学位论文数据库 信息科技辑》;20110315(第3期);I138-404 *
FC地址管理和名字服务数据同步的设计与实现;胥翃飞;《中国优秀硕士学位论文全文数据库 信息科技辑》;20110315(第3期);I136-1373 *

Also Published As

Publication number Publication date
CN103414662A (en) 2013-11-27

Similar Documents

Publication Publication Date Title
CN106487695B (en) A kind of data transmission method, virtual network managing device and data transmission system
US9992137B2 (en) Methods and apparatus for a distributed Fibre Channel control plane
CN104980361B (en) A kind of load-balancing method, apparatus and system
CN104702512B (en) The multi-level control system and computer implemented method of network management are provided for software defined network
CN112911525A (en) Message and system for influencing service route by application function
WO2017032300A1 (en) Data transmission method, virtual network management apparatus, and data transmission system
JP2013527532A5 (en) Data packet delivery management method
CN103812778A (en) Stream table entry generating method and device
CN103814554A (en) Communication method, device and system of virtual extensible local area network
CN111263373A (en) Data processing method, controller and forwarding device
JP6206508B2 (en) Packet transfer device, control device, communication system, communication method, and program
WO2013071765A1 (en) Method, device and system for distributing ip address for user terminal
CN106549873A (en) Communication means and system between a kind of isomery controller
CN102694664B (en) Multicast method and multicast equipment
CN102882989A (en) Method and device for distributing internet protocol (IP) address to multi-network video recorder (NVR) by monitoring network
JP2019532587A (en) Multicast service providing method and software-defined networking controller
CN107615721A (en) Transport Software Defined Networking (SDN)-Logical Link Aggregation (LAG) membership signaling
CN103354525A (en) System and method for realizing wide area network anycast load balancing based on OpenFlow
CN103414662B (en) A kind of method that realizes FCOE Fabric network domains ID distribution
CN103684838B (en) A method, an apparatus, a system for configuring a network strategy of a virtual machine
CN103716169A (en) Point-to-multipoint multicast realization method, network nodes and system
WO2020024907A1 (en) Path identifier transmission method and device, and computer-readable storage medium
WO2015085558A1 (en) Method, device and system for dynamically allocating ip address
CN101217458B (en) A virtual private online resource allocation method
CN106330701A (en) Fast rerouting method and device for ring networking

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160518

Termination date: 20170905

CF01 Termination of patent right due to non-payment of annual fee