| With the development of society and technology, the life is digital and networking, and we need more and more knowledge to understand world and communicate with each other. As more storage devices are added, it is a huge challenge to traditional storage networks. DASs can’t fulfill the current needs, and then SANs appear in this condition.SANs achieve the separation between storage devices and servers, and support disk mirroring, backup, too. Storage devices, such as disk arrays, tape libraries, and optical jukeboxes which are used generally.SANs consolidate them together using a special network to handle storage communications. Servers are accessible to storage devices so that the devices appear accessible though they are local to themselves. SANs utilize Fibre Channel fabric topology, it provides faster and more reliable storage. In order to support meters of distance, SANs support serial SCSI, comparied to parallel SCSI used in DASs. Typical Fibre Channel SANs fabric are made up of a number of Fibre Channel switches.SANs and early Local Area Networks from different protocols are not compatible. Fiber Channel over Ethernet Protocol as the standard is pushed to the market. The switches support FCoE Protocol called FCoE switches.Within a VSAN, the FCoE switch in a fabric is assigned an8-bits Domain ID, which is different from each other. A SAN network can support1,600millions devices in theory.FCoE N-port Virtualizer (NPV) helps to push Domain ID’s limits. NPV switches locate between FCF switches and storage devices.A NPV switch connects to the fabric as if it was a storage device, and connects to storage devices as if it was a FCF switch. This paper introduces the design and implementation of switching mode in FCoE Switches. Firstly, describes the operating principle and coordination in link layer of FCF switches and NPV switches in detail; analyzes the related module. Secondly, designs the flowcharts and data structures. Determine the plan of implementation and steps, and proved the feasibility by testing. |