Method and system for simulating multiple fc nodes using fc switches
By using FC switches and test equipment to simulate multiple FC nodes, the problems of high cost and complex network topology were solved, achieving low-cost and efficient FC switching network verification.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-23
- Publication Date
- 2026-03-20
AI Technical Summary
When verifying complex FC fiber optic communication networks, a large number of supporting devices are needed to construct data frames with different source and destination addresses, resulting in high R&D costs and complex network topologies, which limits the testing scenarios and efficiency.
Multiple FC nodes are simulated using one FC switch and one companion device. Routing is performed by configuring the source or destination address of FC data frames, which reduces equipment costs and allows for flexible simulation of complex network topologies.
It significantly reduces testing costs, improves testing efficiency and accuracy, is highly scalable, adapts to different testing scenarios, simplifies the testing process, and improves the comparability of results.
Smart Images

Figure CN119172292B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of FC Fibre Channel network technology, and in particular to FC switch testing technology, specifically to a method and system for simulating multiple FC nodes using an FC switch. Background Technology
[0002] When validating complex FC fiber optic communication networks, multiple devices under test (DUTs) need to be connected via switches for testing. Setting up the test environment is relatively complex. For example, when validating a switching network with N FC terminal devices, the required network topology is as follows: Figure 1 As shown. The environment of the device under test includes the FC switch under test and device under test 1, device under test 2... device under test N. In order to facilitate the test and set up a multi-node FC data transmission and reception environment, it is also necessary to use auxiliary devices 1, auxiliary devices 2... auxiliary devices N as the data source of FC frames.
[0003] exist Figure 1 In the test network topology shown, the FC switch's routing method is based on querying the routing table using the destination address in the FC frame to forward FC data frames. Therefore, when simulating the interaction between multiple devices, such as a complex network where test device 1 sends data to device under test 1, test device 2 sends data to device under test 2, and so on, with test device N sending data to device under test N, each test device needs to construct a data frame with the test device as the source address and the device under test as the destination address. It is precisely because of the need to construct data frames with different source and destination addresses that a large number of test devices are required, resulting in significant R&D costs. Summary of the Invention
[0004] In view of the defects and deficiencies of the existing technology, the purpose of this invention is to provide a method and system for simulating multiple FC nodes using an FC switch, and to construct a test system that simulates multiple FC nodes, including an FC switch and a node device. By setting the routing mode of the FC switch to selectable, routing can be performed based on the source address or destination address in the FC data frame to simulate multiple test devices sending FC data. This allows for the verification of complex FC switching networks with lower equipment costs, without the need to actually configure multiple node devices as test devices.
[0005] According to a first aspect of the present invention, a system for simulating multiple FC nodes using an FC switch is provided, comprising:
[0006] The FC switch under test has at least ports 1 through N;
[0007] Multiple FC devices under test are connected one-to-one to the first to Nth ports of the FC switch under test; and
[0008] A test system consisting of one test FC switch and one test FC device is used to simulate multiple FC nodes.
[0009] The accompanying FC device is used to construct and send FC data frames, and the source address and destination address in the constructed FC data frame are configurable to serve as the data source for an accompanying system simulating multiple FC nodes.
[0010] The accompanying FC switch is used to receive FC data frames sent by the accompanying FC device and send them to different ports of the accompanying FC device according to the configuration. The multiple ports A to M of the accompanying FC switch are output ports for simulating FC signals and are connected one by one to the N test ports of the FC switch under test to simulate multiple data transmission and reception.
[0011] As an optional implementation, the routing table for each port in the accompanying FC switch can be configured.
[0012] As an optional implementation, in the routing table of each port of the FC switch being tested, the field used for routing is either the source address or the destination address in the FC data frame. The routing method can be selected by configuration, i.e., source address routing or destination address routing can be chosen.
[0013] As an optional implementation, during the data transmission process of the FC-simulated test system with multiple FC nodes, the FC-simulated test device constructs an FC data frame and configures the source and destination addresses before sending the constructed FC data frame to the FC-simulated test switch.
[0014] After receiving the data frame, the port of the FC switch under test connected to the FC device under test routes and forwards the data according to the routing table. Then, the port of the FC switch under test connected to the FC switch under test receives the forwarded FC data frame and sends the FC data frame to the FC switch under test.
[0015] As an optional implementation, the port connected to the FC switch under test and the FC device under test is configured to be routed based on the source address of the FC data frame, and a corresponding routing table is configured. The configuration rule of the routing table is to forward the data to the port connected to the FC switch under test in the corresponding port of the FC switch under test according to the source address in the FC data frame.
[0016] As an optional implementation, the accompanying FC device is configured to simultaneously construct multiple FC data frames.
[0017] As an optional implementation, during the data transmission process of the FC-supported system simulating multiple FC nodes, the port of the FC-supported switch connected to the FC-supported switch is configured to route based on the destination address in the FC data frame, and a corresponding routing table is configured. The configuration rule of the routing table is to forward the data to the port of the FC-supported switch connected to the FC-supported device according to the destination address in the FC data frame.
[0018] The FC testing device receives and processes FC data frames from the FC testing switch.
[0019] According to a second aspect of the present invention, a method for simulating multiple FC nodes is also proposed, the method comprising:
[0020] The workflow for simulating data transmission in a test system with multiple FC nodes is as follows:
[0021] Step 1.1: The FC device under test constructs an FC data frame. Based on the test requirement that the source address of the FC data frame received by the FC device under test is the input port address of the FC switch under test, and the destination address is the port address connecting the FC device under test and the FC switch under test, the FC data frame constructed by the FC device under test has a destination address of the port address connecting the FC device under test and the FC switch under test, and a source address of the FC data frame input to the FC switch under test.
[0022] Step 1.2: The FC device under test sends the completed FC data frame to the FC switch under test. The port of the FC switch connected to the FC device under test is set to source address routing based on the FC data frame, and a corresponding routing table is configured. The configuration rule of the routing table is: forward the data to the corresponding port of the FC switch under test and the port connected to the FC switch under test according to the source address in the FC data frame; after the port of the FC switch connected to the FC device under test receives the FC data frame, it forwards the data according to the routing table.
[0023] Step 1.3: After receiving the forwarded FC data frame, the port of the FC switch being tested that is connected to the FC switch being tested sends the FC data frame to the FC switch being tested.
[0024] The workflow for data reception in a simulated multi-FC node test system is as follows:
[0025] Step 2.1: The port of the FC switch being tested that is connected to the FC switch being tested is configured to route based on the destination address in the FC data frame, and the corresponding routing table is configured. The configuration rule of the routing table is to forward the data to the port of the FC switch being tested that is connected to the FC device being tested according to the destination address in the FC data frame.
[0026] Step 2.2: The FC device under test receives FC data frames from the FC switch under test and processes them.
[0027] As an optional implementation, the method further includes the following steps:
[0028] The accompanying FC device simultaneously constructs multiple FC data frames and configures the source address and destination address;
[0029] Multiple FC data frames are sent to the FC switch under test. The ports of the FC switch under test and the FC device under test are routed based on the source address of the FC data frames and then forwarded to the corresponding ports of the FC switch under test and the ports of the FC switch under test.
[0030] After receiving FC data frames on each port connected to the FC switch and the FC device under test, the data is forwarded according to the routing table.
[0031] After receiving the forwarded FC data frame, the port of the FC switch being tested that is connected to the FC switch being tested sends the FC data frame to the FC switch being tested.
[0032] As an optional implementation, the routing table of each port in the FC switch being tested is configurable, and the field used for routing is based on the source address or destination address in the FC data frame. The routing method can be selected by configuration, that is, source address routing or destination address routing can be selected.
[0033] Compared with existing technologies, the simulation system and method for multiple FC nodes proposed in this invention, which uses an FC switch and an FC device, reduces testing costs and system setup. This is because traditional methods require a separate FC testing device for each FC node to be tested, resulting in high testing equipment costs.
[0034] Meanwhile, traditional testing methods are limited by the number of available actual FC devices, restricting the testing scenarios. The simulation system proposed in this invention, by configuring the routing table of the FC switch under test, can flexibly simulate any number of FC nodes, offering strong scalability to meet the needs of different testing scenarios. Especially for testing scenarios simulating FC node interactions in large-scale networks, this invention can simulate complex network topologies and node interactions by configuring the routing table of the FC switch under test. Furthermore, compared to traditional methods that require connecting and configuring multiple FC devices one by one, the simulation system can be deployed and started more quickly. This reduces pre-test preparation time and improves testing efficiency.
[0035] The present invention proposes a simulated testing system and method for multiple FC nodes. The operation of the simulated nodes can be uniformly managed and controlled by configuring the FC switch and FC device for testing, which simplifies the testing process, improves testing efficiency, and ensures that the conditions for each test are completely consistent, thereby improving the accuracy and repeatability of the test. This is especially important for scenarios where multiple repeated tests are conducted to verify the stability and performance of the system. By creating a standardized and repeatable testing environment, the results between different tests are more comparable, which is beneficial for evaluating the impact of different configurations or optimization measures on system performance.
[0036] It should be understood that all combinations of the foregoing concepts and the additional concepts described in more detail below may be considered part of the inventive subject matter of this disclosure, provided that such concepts do not contradict each other. Furthermore, all combinations of the claimed subject matter are considered part of the inventive subject matter of this disclosure.
[0037] The foregoing and other aspects, embodiments, and features of the teachings of the present invention will be more fully understood from the following description in conjunction with the accompanying drawings. Other additional aspects of the invention, such as features and / or beneficial effects of exemplary embodiments, will become apparent from the following description or may be learned through practice of specific embodiments according to the teachings of the present invention. Attached Figure Description
[0038] The accompanying drawings are not intended to be drawn to scale. In the drawings, each identical or nearly identical component shown in the various figures may be denoted by the same reference numeral. For clarity, not every component is labeled in each figure. Embodiments of various aspects of the invention will now be described by way of example and with reference to the accompanying drawings.
[0039] Figure 1 This is a schematic diagram of the network topology built to verify the switching network of N FC terminal devices according to the existing design requirements.
[0040] Figure 2 This is a schematic diagram of a simulated testing system for multiple FC nodes built using an FC switch according to an embodiment of the present invention. Detailed Implementation
[0041] To better understand the technical content of the present invention, specific embodiments are described below in conjunction with the accompanying drawings.
[0042] Various aspects of the invention are described in this disclosure with reference to the accompanying drawings, which illustrate numerous illustrative embodiments. The embodiments of this disclosure are not necessarily intended to encompass all aspects of the invention. It should be understood that the various concepts and embodiments described above, as well as those described in more detail below, can be implemented in any of many ways, because the concepts and embodiments disclosed herein are not limited to any particular implementation. Furthermore, some aspects of the invention disclosed may be used alone or in any suitable combination with other aspects of the invention disclosed.
[0043] Example 1
[0044] Combination Figure 2 The example shown illustrates a system that uses an FC switch to simulate multiple FC nodes according to an embodiment of this disclosure, including an FC switch under test, an FC device under test, and a companion system.
[0045] The aforementioned FC switch under test, as the test object, has at least ports 1 to N. As shown in the figure, for ease of explanation, ports 1 to N are used as examples for connecting to the FC device under test; ports N+1 to 2N are used as examples for connecting to the auxiliary test system.
[0046] like Figure 2 Multiple FC devices under test are connected to the first to Nth ports of the FC switch under test, one by one.
[0047] Combination Figure 2 The emulation system consists of one emulation FC switch and one emulation FC device, used to simulate multiple FC nodes.
[0048] The FC companion device is used to construct and send FC data frames, and the source and destination addresses in the constructed FC data frames are configurable to serve as the data source for a companion system simulating multiple FC nodes.
[0049] The accompanying FC switch is used to receive FC data frames sent by the accompanying FC device and send them to different ports of the accompanying FC device according to the configuration. Multiple ports A to M of the accompanying FC switch are output ports for simulating FC signals, and are connected one-to-one with the N test ports of the FC switch under test (i.e., the aforementioned N+1 to 2N ports) to simulate multiple data transmissions and receptions. Thus, the verification of complex FC switching networks can be completed with relatively low equipment costs.
[0050] As an optional implementation, the routing table of each port in the FC switch being tested is configurable. In the routing table of each port in the FC switch being tested, the field used for routing is either the source address or the destination address in the FC data frame. The routing method can be selected by configuration, i.e., source address routing or destination address routing can be chosen.
[0051] As an optional implementation, during the data transmission process of the FC-simulated test system with multiple FC nodes, the FC-simulated test device constructs an FC data frame and configures the source and destination addresses before sending the constructed FC data frame to the FC-simulated test switch.
[0052] After receiving the data frame, the port of the FC switch under test connected to the FC device under test routes and forwards the data according to the routing table. Then, the port of the FC switch under test connected to the FC switch under test receives the forwarded FC data frame and sends the FC data frame to the FC switch under test.
[0053] As an optional implementation, the port connected to the FC switch under test and the FC device under test is configured to be routed based on the source address of the FC data frame, and a corresponding routing table is configured. The configuration rule of the routing table is to forward the data to the port connected to the FC switch under test in the corresponding port of the FC switch under test according to the source address in the FC data frame.
[0054] As an optional implementation, the accompanying FC device is configured to simultaneously construct multiple FC data frames.
[0055] As an optional implementation, during the data transmission process of the FC-supported system simulating multiple FC nodes, the port of the FC-supported switch connected to the FC-supported switch is configured to route based on the destination address in the FC data frame, and a corresponding routing table is configured. The configuration rule of the routing table is to forward the data to the port of the FC-supported switch connected to the FC-supported device according to the destination address in the FC data frame.
[0056] The FC testing device receives and processes FC data frames from the FC testing switch.
[0057] Combination Figure 2 As shown, based on the aforementioned system design, we will further elaborate on how to use this system to simulate the data sending and receiving process of multiple FC nodes.
[0058] The workflow for data transmission in a simulated multi-FC node test system is as follows:
[0059] Step 1.1: The FC device under test constructs an FC data frame. Based on the test requirement that the source address of the FC data frame received by the FC device under test is the input port address of the FC switch under test, and the destination address is the port address connecting the FC device under test and the FC switch under test, the FC data frame constructed by the FC device under test has a destination address of the port address connecting the FC device under test and the FC switch under test, and a source address of the FC data frame input to the FC switch under test.
[0060] Step 1.2: The FC device under test sends the completed FC data frame to the FC switch under test. The port of the FC switch connected to the FC device under test is set to source address routing based on the FC data frame, and a corresponding routing table is configured. The configuration rule of the routing table is: forward the data to the corresponding port of the FC switch under test and the port connected to the FC switch under test according to the source address in the FC data frame; after the port of the FC switch connected to the FC device under test receives the FC data frame, it forwards the data according to the routing table.
[0061] Step 1.3: After receiving the forwarded FC data frame, the port of the FC switch being tested that is connected to the FC switch under test sends the FC data frame to the FC switch under test.
[0062] The workflow for data reception in a simulated multi-FC node test system is as follows:
[0063] Step 2.1: The port of the FC switch being tested that is connected to the FC switch being tested is configured to route based on the destination address in the FC data frame, and the corresponding routing table is configured. The configuration rule of the routing table is to forward the data to the port of the FC switch being tested that is connected to the FC device being tested according to the destination address in the FC data frame.
[0064] Step 2.2: The FC device under test receives FC data frames from the FC switch under test and processes them.
[0065] As an optional implementation, the method further includes the following steps:
[0066] The accompanying FC device simultaneously constructs multiple FC data frames and configures the source address and destination address;
[0067] Multiple FC data frames are sent to the FC switch under test. The ports of the FC switch under test and the FC device under test are routed based on the source address of the FC data frames and then forwarded to the corresponding ports of the FC switch under test and the ports of the FC switch under test.
[0068] After receiving FC data frames on each port connected to the FC switch and the FC device under test, the data is forwarded according to the routing table.
[0069] After receiving the forwarded FC data frame, the port of the FC switch being tested that is connected to the FC switch being tested sends the FC data frame to the FC switch being tested.
[0070] As an optional implementation, the routing table of each port in the FC switch being tested is configurable, and the field used for routing is based on the source address or destination address in the FC data frame. The routing method can be selected by configuration, that is, source address routing or destination address routing can be selected.
[0071] Example 2
[0072] In this example, combined Figure 2 We will take a simulated FC node testing system consisting of one FC testing device 1 and one FC testing switch as an example to further describe the implementation of the present invention.
[0073] Figure 2 In this test, the FC network to be tested and verified includes the FC switch under test, FC device 1 under test, FC device 2 under test, ..., FC device N under test. FC devices 1 to N under test are connected to ports 1 to N of the FC switch under test, respectively.
[0074] FC Companion Device 1: Used to construct and send FC data frames, and the source address and destination address in the FC data frame are configurable. This FC Companion Device 1 serves as the data source for a FC companion system that simulates multiple FC nodes. In a multi-node FC data transmission and reception environment, all FC data frames originate from this device.
[0075] The FC switch used for testing: This switch receives FC data frames from the FC device under test (1) and sends them to different ports according to configuration requirements. Ports A through M of this FC switch are analog FC signal output ports, connected to the test ports of the switch under test, used to simulate multiple data transmission sources.
[0076] The routing table for each port in the FC switch under test is configurable, and the fields used for routing can be based on the source address or destination address in the FC data frame. The routing method can be selected by configuration, that is, source address routing or destination address routing.
[0077] As an optional embodiment, combined with Figure 2 The example shown illustrates the workflow of a simulated test system with multiple FC nodes sending data as follows:
[0078] Step 1: The FC testing device 1 constructs FC data frames according to the test requirements. To simulate the actual working environment, the source address of the FC data frame received by the device under test is the input port address of the switch under test, and the destination address is the port address connecting the device under test and the switch under test. According to this requirement, the destination address of the FC data frame constructed by the FC testing device 1 is the port address connecting the device under test and the switch under test, and the source address is the input port address of the FC data input to the switch under test. Depending on the test scenario, the FC testing device 1 can construct multiple FC data streams simultaneously.
[0079] Step 2: The FC device 1 under test sends the completed FC data stream to the FC switch under test. The port of the FC switch under test connected to the FC device 1 under test is set to source address routing based on FC frames, and a corresponding routing table is configured. The configuration rule of the routing table is to forward the data to the port of the FC switch under test connected to the FC switch under test according to the source address in the FC data frame. After receiving the data frame, the port of the FC switch under test connected to the FC device 1 under test forwards the data according to the routing table.
[0080] Step 3: After receiving the forwarded FC data frame, the port of the FC switch being tested that is connected to the switch under test sends the FC data frame to the switch under test.
[0081] For example, taking a simulated FC data stream input at port N+1 of the switch under test and output to device under test 1 as an example, the source address of this FC data stream is N+1 and the destination address is 1, and the process is as follows:
[0082] Step 1: The FC device 1 under test constructs an FC data frame according to the test requirements. The source address of the FC data frame is N+1 and the destination address is 1. The constructed data frame is then sent to the FC switch under test.
[0083] Step 2: The port connecting the FC switch under test and the FC device under test 1 is port M+1. This port is configured for source address routing based on FC frames. The routing table configuration for this port is as follows:
[0084] FC frame source address Forwarding port number N+1 A N+2 B N+3 C N+4 D … …
[0085] When port M+1 receives this FC data frame, it parses it and finds that the source address of this FC data frame is N+1. Therefore, according to the routing table configuration, it sends this data frame to port A.
[0086] Step 3: Port A of the FC switch under test receives the FC data frame forwarded from port M+1 and sends it to port N+1 of the switch under test, which is connected to port A.
[0087] By following the steps above, the data flow of the simulated switch port N+1 input and the output port of the device under test 1 is realized.
[0088] The above describes the process of simulating a single FC data stream. Depending on the testing requirements, if multiple FC data streams need to be simulated simultaneously, such as "Input from port N+1 of the switch under test, output to device under test 1", "Input from port N+2 of the switch under test, output to device under test 2", "Input from port N+3 of the switch under test, output to device under test 3", "Input from port N+4 of the switch under test, output to device under test 4", "Input from port N+5 of the switch under test, output to device under test 5", and "Input from port N+6 of the switch under test, output to device under test 6", then only the FC device under test 1 needs to send multiple FC data frames corresponding to the source and destination addresses.
[0089] As an optional embodiment, combined with Figure 2 The example shown illustrates the workflow of a simulated multi-FC node test system for data reception as follows:
[0090] Step 1: The port of the FC switch being tested that is connected to the switch under test is configured to route based on the destination address in the FC frame, and the corresponding routing table is configured. The configuration rule of the routing table is to forward the data to the port of the FC switch being tested that is connected to the FC device 1 being tested according to the destination address in the FC data frame.
[0091] Step 2: The FC device 1 under test receives and processes the FC data frames.
[0092] For example, taking the reception of an FC data stream from device under test 1 to port 1 of the switch under test, and from port N+1 of the switch under test as an example, the source address of this FC data stream is 1, and the destination address is N+1. The process is as follows:
[0093] Step 1: Port A of the FC switch being tested, which is connected to the switch under test, is configured to route based on the destination address in the FC frame, and the corresponding routing table is configured. The routing table configuration for this port is as follows:
[0094]
[0095]
[0096] The FC switch under test received this FC data frame on port A, parsed it and found that the destination address of this FC data frame was N+1. Therefore, according to the routing table configuration, this data frame was sent to port M+1.
[0097] Step 2: The FC switch under test receives the FC data frame forwarded from port A on port M+1 and sends it to the FC device under test 1 for recording and processing.
[0098] By following the steps above, it is possible to receive an FC data stream input from device under test 1 to port 1 of the switch under test.
[0099] According to the testing requirements, if multiple FC data streams need to be received, such as "DUT1 input, DUTN+1 output", "DUT2 input, DUTN+2 output", "DUT3 input, DUTN+3 output", "DUT4 input, DUTN+4 output", "DUT5 input, DUTN+5 output", "DUTN+6 input, DUTN+6 output", etc., it is only necessary to configure the ports of the FC switch under test and the switch under test to be routed based on the FC destination address, and configure the FC destination address forwarding port in the routing table as port M+1.
[0100] While the present invention has been disclosed above with reference to preferred embodiments, it is not intended to limit the invention. Those skilled in the art can make various modifications and refinements without departing from the spirit and scope of the invention. Therefore, the scope of protection of the present invention shall be determined by the claims.
Claims
1. A system that uses an FC switch to simulate multiple FC nodes, characterized in that, include: The FC switch under test has at least ports 1 through N; Multiple FC devices under test are connected to the first to Nth ports of the FC switch under test in a one-to-one correspondence. as well as A test system consisting of one test FC switch and one test FC device is used to simulate multiple FC nodes. The accompanying FC device is used to construct and send FC data frames, and the source address and destination address in the constructed FC data frame are configurable to serve as the data source for an accompanying system simulating multiple FC nodes. The accompanying FC switch is used to receive FC data frames sent by the accompanying FC device and send them to different ports of the accompanying FC device according to the configuration. The multiple ports A~M of the accompanying FC switch are output ports for simulating FC signals and are connected one by one to the N test ports of the FC switch under test to simulate multiple data transmission and reception. In the routing table of each port of the FC switch under test, the field used for routing is either the source address or the destination address in the FC data frame. The routing method can be selected by configuration, that is, either source address routing or destination address routing. During the data transmission process of the simulated FC node companion system, the companion FC device constructs an FC data frame and configures the source address and destination address before sending the constructed FC data frame to the companion FC switch. After receiving the data frame, the port of the FC switch under test connected to the FC device under test routes and forwards the data according to the routing table. Then, after receiving the forwarded FC data frame, the port of the FC switch under test connected to the FC switch under test sends the FC data frame to the FC switch under test. The workflow for data transmission in a simulated multi-FC node test system is as follows: Step 1.1: The FC device under test constructs an FC data frame. Based on the test requirement that the source address of the FC data frame received by the FC device under test is the input port address of the FC switch under test, and the destination address is the port address connecting the FC device under test and the FC switch under test, the FC data frame constructed by the FC device under test has a destination address of the port address connecting the FC device under test and the FC switch under test, and a source address of the FC data frame input to the FC switch under test. Step 1.2: The FC device under test sends the completed FC data frame to the FC switch under test. The port of the FC switch connected to the FC device under test is set to source address routing based on the FC data frame, and a corresponding routing table is configured. The configuration rule of the routing table is: forward the data to the corresponding port of the FC switch under test and the port connected to the FC switch under test according to the source address in the FC data frame; after the port of the FC switch connected to the FC device under test receives the FC data frame, it forwards the data according to the routing table. Step 1.3: After receiving the forwarded FC data frame, the port of the FC switch being tested that is connected to the FC switch being tested sends the FC data frame to the FC switch being tested. The workflow for data reception in a simulated multi-FC node test system is as follows: Step 2.1: The port of the FC switch being tested that is connected to the FC switch being tested is configured to route based on the destination address in the FC data frame, and the corresponding routing table is configured. The configuration rule of the routing table is to forward the data to the port of the FC switch being tested that is connected to the FC device being tested according to the destination address in the FC data frame. Step 2.2: The FC device under test receives FC data frames from the FC switch under test and processes them.
2. The system for simulating multiple FC nodes using an FC switch according to claim 1, characterized in that, The routing table for each port in the accompanying FC switch is configurable.
3. The system for simulating multiple FC nodes using an FC switch according to claim 1, characterized in that, The port connected to the FC switch under test and the FC device under test is configured to be routed based on the source address of the FC data frame, and a corresponding routing table is configured. The configuration rule of the routing table is to forward the data to the port of the FC switch under test that is connected to the FC switch under test according to the source address in the FC data frame.
4. The system for simulating multiple FC nodes using an FC switch according to claim 3, characterized in that, The accompanying FC device is configured to simultaneously construct multiple FC data frames.
5. The system for simulating multiple FC nodes using an FC switch according to claim 1, characterized in that, During the data transmission process of the FC-supported system simulating multiple FC nodes, the port of the FC switch being supported and connected to the FC switch being tested is configured to route based on the destination address in the FC data frame, and a corresponding routing table is configured. The configuration rule of the routing table is to forward the data to the port of the FC switch being supported and connected to the FC device being supported according to the destination address in the FC data frame. The FC testing device receives and processes FC data frames from the FC testing switch.
6. A method for simulating multiple FC nodes implemented according to any one of claims 1-5, characterized in that, The method includes: The accompanying FC device simultaneously constructs multiple FC data frames and configures the source and destination addresses; Multiple FC data frames are sent to the FC switch under test. The ports of the FC switch under test and the FC device under test are routed based on the source address of the FC data frames and then forwarded to the corresponding ports of the FC switch under test and the ports of the FC switch under test. After receiving FC data frames on each port connected to the FC switch and the FC device under test, the data is forwarded according to the routing table. After receiving the forwarded FC data frame, the port of the FC switch being tested that is connected to the FC switch being tested sends the FC data frame to the FC switch being tested.
7. The method for simulating multiple FC nodes according to claim 6, characterized in that, The routing table of each port in the accompanying FC switch is configurable, and the field used for routing is based on the source address or destination address in the FC data frame. The routing method can be selected by configuration, that is, source address routing or destination address routing.
Citation Information
Patent Citations
Device test verification system and method based on FC (Fiber Channel) network
CN108880948A