Method for realizing network equipment management configuration through FC bus
By implementing network device management and configuration through the FC bus, the problem of complex management and configuration in large-scale FC networks is solved, cabling is simplified and costs are reduced, and device sensitivity and communication reliability are improved.
Patent Information
- Application Number
- CN202411636177.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2026-05-15
AI Technical Summary
Existing technologies involve complex network device management and configuration, especially in large-scale FC networks where cabling and maintenance are difficult, and the static configuration of dual-redundant network connections also brings difficulties in maintenance and debugging.
Network device management and configuration are achieved through the FC bus. Topology management is performed during power-on initialization using the first and second main switching devices to determine device IDs and route cascading. Parameters are queried and configured through the FC bus, supporting dynamic allocation and multicast management, and achieving dual redundant communication.
It simplifies the port types of network devices, reduces the complexity and cost of cabling layout, improves the sensitivity of main switching equipment, reduces maintenance and debugging difficulty, improves network fault recovery time, and enhances communication reliability.
Smart Images

Figure CN122054017A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and in particular to a method for managing and configuring network devices via an FC bus. Background Technology
[0002] Fibre Channel (FC) is a high-speed data transmission protocol commonly used in SANs (Storage Area Networks). FC uses optical fiber as the transmission medium, allowing high-bandwidth communication over long distances.
[0003] Network device management and configuration widely adopts Ethernet or debugging serial ports to manage network devices. Each device needs to have physical interfaces in addition to the communication interface. For large-scale FC networks, management functions also require the implementation of Ethernet switching networks or serial networks, which poses significant challenges in terms of system complexity, cabling, and cost. Furthermore, for dual-redundant network connections, existing static configuration methods require specified port connections for switching devices, which imposes significant constraints on maintenance, debugging, and layout.
[0004] Therefore, there is an urgent need for a simple and fast technical solution for managing and configuring network devices. Summary of the Invention
[0005] Based on the above analysis, the embodiments of the present invention aim to provide a method for network device management and configuration via FC bus, so as to solve the problem of complex network device management and configuration in the prior art.
[0006] This invention provides a method for managing and configuring network devices via an FC bus, wherein the network devices include a first main switch, a second main switch, various sub-switches, and various fiber optic nodes connected via an FC bus;
[0007] The method includes:
[0008] During power-on initialization, the first and second main switching devices perform topology management on the network devices, determining the routing cascading and device IDs of the network devices;
[0009] Based on the routing cascading and device IDs of the network devices, the management node performs parameter queries and configurations for each network device via the FC bus;
[0010] The management node can be any fiber optic node in the network device.
[0011] Based on a further improvement to the above method, the network device connects in the following manner:
[0012] The first and second main switching devices are connected using the FC bus.
[0013] The first and second main switching devices are respectively connected to all sub-switching devices via the FC bus;
[0014] Each fiber optic node is connected to each sub-switching device, the first main switching device, and the second main switching device via an FC bus.
[0015] Based on a further improvement of the above method, during power-on initialization, the first and second main switching devices perform topology management on the network devices, including:
[0016] The first and second main switching devices simultaneously assign device IDs to each sub-switching device; when the first and second main switching devices assign different device IDs to the same sub-switching device, the device ID assigned by the main switching device with higher configuration priority shall prevail.
[0017] The first and second main switching devices assign device IDs to each fiber optic node connected to them.
[0018] Each sub-switching device assigns a device ID to each fiber optic node it connects to.
[0019] Based on a further improvement to the above method, when the first primary switching device or the second primary switching device detects a change in the link status, the following steps are performed:
[0020] The source primary switch sends a topology update frame to the destination primary switch and other sub-switches; the source primary switch is the primary switch that has detected a change in the link status, and the destination primary switch is the primary switch that has not detected a change in the link status.
[0021] After receiving a topology update frame, the destination primary switching device or other sub-switching device determines whether an abnormal situation has occurred. If an abnormal situation has occurred, it sends a topology update rejection frame to the source primary switching device.
[0022] Based on further improvements to the above method, if no abnormalities occur, the destination primary switching device or other sub-switching device shall perform the following steps:
[0023] Based on the destination switch ID of the topology update frame, each switch ID is updated, and the cascading routes of each switch are redefined. A topology update response frame is then sent to the source master switch.
[0024] Based on a further improvement to the above method, the method also includes multicast management, wherein when a source node sends multicast messages to multiple destination nodes, the following steps are performed:
[0025] The destination nodes are classified according to the switch IDs corresponding to multiple destination nodes, resulting in multiple groups of destination nodes; among them, the source node and the destination node are two different fiber optic nodes.
[0026] For each group of destination nodes, the routing concatenation between the destination nodes and the source nodes is determined. The source nodes send multicast messages to the switches of each group of destination nodes according to the corresponding routing concatenation. The switches then send the multicast messages to the destination nodes connected to the switches.
[0027] Based on further improvements to the above method, the topology update frame includes one or more of the following:
[0028] Send the switching address of the sending switching device, the port number of the sending switching device, the switching address of the receiving switching device, the port number of the receiving switching device, the interface speed, and the topology cascading information of the sending switching devices.
[0029] Based on a further improvement to the above method, the management node, based on the routing cascading and device IDs of the network devices, performs parameter queries on each network device via the FC bus, including:
[0030] The management node generates parameter query information and sends it to the switching device connected to the management node.
[0031] The switching device parses the parameter query information, obtains its own query information and sends it to the management node. At the same time, it sends the remaining parameter query information to the corresponding other switching devices according to the routing cascade. The other switching devices are all switching devices other than the switching device connected to the management node.
[0032] Other switching devices that receive parameter query information obtain their own query information and send it to the management node.
[0033] A further improvement to the above method, whereby the management node configures parameters for each network device via the FC bus based on the routing cascading and device IDs of the network devices, also includes:
[0034] The management node generates parameter configuration information and sends it to the switching device connected to it.
[0035] The switching device parses the parameter configuration information, obtains its own configuration information, and configures itself. After configuration, it sends a parameter configuration response to the management node. At the same time, it sends the remaining parameter configuration information to the corresponding other switching devices according to the routing cascade. The other switching devices are all switching devices other than the switching device connected to the management node.
[0036] Each switching device that receives the parameter configuration information obtains its own configuration information and configures itself. After the configuration is completed, it sends a parameter configuration response to the management node.
[0037] Based on further improvements to the above method, the parameter query information includes one or more of the following:
[0038] Mirror parameters;
[0039] Status information;
[0040] Software information;
[0041] Link status;
[0042] The parameter configuration information includes one or more of the following:
[0043] Time synchronization information;
[0044] Remote upgrade information;
[0045] Mirroring function information.
[0046] Compared with the prior art, the present invention can achieve at least one of the following beneficial effects:
[0047] 1. By connecting network devices through a dual-redundant FC bus, the communication and management configuration of network devices can be implemented using the FC bus, which reduces the number of port types of network devices, reduces the complexity of cabling layout in network devices, and reduces the cost of network devices;
[0048] 2. By managing and configuring network devices through the FC bus, the sensitivity of the main switching equipment is improved, dynamic allocation of sub-switches is realized, maintenance, debugging and layout difficulty is reduced, and network fault recovery time is improved from seconds to milliseconds.
[0049] 3. This application not only manages and configures network devices via the FC bus, but also implements communication functions based on the FC bus. For multicast messages in network devices, any node can send multicast messages to any designated switching device, and the multicast message is only transmitted within the designated switching device and will not spread to other switching devices, thereby reducing the waste of network bandwidth and increasing the reliability of network device communication.
[0050] In this invention, the above-described technical solutions can be combined with each other to achieve more preferred combinations. Other features and advantages of this invention will be set forth in the following description, and some advantages may become apparent from the description or be learned by practicing the invention. The objects and other advantages of this invention can be realized and obtained from what is particularly pointed out in the description and drawings. Attached Figure Description
[0051] The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Throughout the drawings, the same reference numerals denote the same parts.
[0052] Figure 1 A flowchart illustrating a method for managing and configuring network devices via an FC bus, as provided in an embodiment of the present invention;
[0053] Figure 2 This is a schematic diagram of a dual-redundancy topology for network device connections provided in an embodiment of the present invention;
[0054] Figure 3 A schematic diagram of the topology update process provided in an embodiment of the present invention;
[0055] Figure 4 This is a schematic diagram of the multicast message sending process provided in an embodiment of the present invention;
[0056] Figure 5 This is a schematic diagram illustrating the parameter query and parameter configuration process provided in an embodiment of the present invention. Detailed Implementation
[0057] Preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings, which form part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not intended to limit the scope of the present invention.
[0058] A specific embodiment of the present invention discloses a method for managing and configuring network devices via an FC bus. The network devices include a first main switch, a second main switch, various sub-switches, and various fiber optic nodes connected via an FC bus, such as... Figure 1 As shown, the method includes:
[0059] Step S1: During power-on initialization, the first and second main switching devices perform topology management on the network devices and determine the routing cascading and device IDs of the network devices.
[0060] Step S2: The management node queries and configures parameters for each network device via the FC bus based on the routing cascading and device ID of the network devices; the management node can be any fiber optic node among the network devices.
[0061] Specifically, this embodiment of the invention provides a method for managing and configuring network devices via an FC bus. In application, the FC bus is used to connect a first main switch, a second main switch, various sub-switches, and various fiber optic nodes within the network device. The first main switch, the second main switch, and each sub-switches are all switches used to connect the fiber optic nodes to the entire network system for communication.
[0062] Preferably, such as Figure 2 As shown, the network devices are connected in the following manner:
[0063] The first and second main switching devices are connected using the FC bus.
[0064] The first and second main switching devices are respectively connected to all sub-switching devices via the FC bus;
[0065] Each fiber optic node is connected to each sub-switching device, the first main switching device, and the second main switching device via an FC bus.
[0066] Specifically, such as Figure 2 As shown, exemplarily, in the network equipment, the main switching devices are a first main switching device and a second main switching device, and the sub-switching devices are sub-switching device 1 and sub-switching device 2. Sub-switching device 1 is connected to fiber optic nodes 11 and 12, and sub-switching device 2 is connected to fiber optic nodes 21 and 22. It is worth noting that the number of sub-switching devices in the network equipment is multiple and not specifically limited. Similarly, the number of fiber optic nodes simultaneously connected to each sub-switching device is also specifically limited and can be connected according to the devices included in the actual network.
[0067] Specifically, each main switching device can also connect to fiber optic nodes. That is, the first and second main switching devices can not only connect to various sub-switching devices, but also to multiple fiber optic nodes.
[0068] Specifically, such as Figure 2 As shown, the first main switching device and the second main switching device are connected via an FC bus, the first main switching device and each sub-switching device are connected via an FC bus, the second main switching device and each sub-switching device are connected via an FC bus, each sub-switching device and its connected fiber optic node are connected via an FC bus, the first main switching device and its connected fiber optic node are connected via an FC bus, and the second main switching device and its connected fiber optic node are connected via an FC bus.
[0069] After connecting network devices using the FC bus, the network devices are then managed and configured using the FC bus.
[0070] Specifically, such as Figure 1 As shown, in step S1, when the network device is powered on and initialized, the first main switch and the second main switch start working to perform topology management on the network device and use the FC bus to manage and configure each network device, thereby determining the routing cascading and device ID of each network device.
[0071] Specifically, such as Figure 2As shown, the routing cascading relationship of each network device is determined according to the connection relationship of the network devices. When the first and second main switching devices are powered on and initialized, they confirm the routing cascading of all network devices.
[0072] Preferably, during the power-on initialization, the first main switch and the second main switch perform topology management on the network devices, including:
[0073] The first and second main switching devices simultaneously assign device IDs to each sub-switching device; when the first and second main switching devices assign different device IDs to the same sub-switching device, the device ID assigned by the main switching device with higher configuration priority shall prevail.
[0074] The first and second main switching devices assign device IDs to each fiber optic node connected to them.
[0075] Each sub-switching device assigns a device ID to each fiber optic node it connects to.
[0076] Specifically, when configuring device IDs for sub-switches, the configuration priorities of the first and second primary switches are pre-defined, with the first primary switch having a higher configuration priority than the second primary switch. This means that both primary and secondary switches will assign device IDs to the same sub-switches. If a sub-switch obtains a different device ID from either primary or secondary switch, the device ID assigned by the primary switch with the higher configuration priority will prevail. This ensures that the device IDs of the sub-switches do not conflict, guaranteeing normal data communication in dual-redundancy communication.
[0077] Specifically, after the main switching device assigns device IDs to the sub-switches, each sub-switches assigns device IDs to each fiber optic node connected to it, and the first and second main switching devices assign device IDs to the fiber optic nodes connected to them.
[0078] Preferably, such as Figure 3 As shown, when the first or second primary switching device detects a change in link status, the following steps are executed:
[0079] The source primary switch sends a topology update frame to the destination primary switch and other sub-switches; the source primary switch is the primary switch that has detected a change in the link status, and the destination primary switch is the primary switch that has not detected a change in the link status.
[0080] After receiving a topology update frame, the destination primary switching device or other sub-switching device determines whether an abnormal situation has occurred. If an abnormal situation has occurred, it sends a topology update rejection frame to the source primary switching device.
[0081] Specifically, during network device operation, the first and second primary switches perform real-time monitoring of link status. The primary switch that detects a change in link status is designated as the source primary switch, while the primary switch that does not detect a change in link status is not designated as the destination primary switch. It is worth noting that in extreme cases, where both the first and second primary switches simultaneously detect a change in link status, the primary switch with the higher configuration priority is designated as the source primary switch, and the primary switch with the lower configuration priority is designated as the destination primary switch.
[0082] Specifically, the source master switch sends a topology update frame to the target master switch and the sub-switches connected to the source master switch. Preferably, the topology update frame includes one or more of the following:
[0083] Send the switching address of the sending switching device, the port number of the sending switching device, the switching address of the receiving switching device, the port number of the receiving switching device, the interface speed, and the topology cascading information of the sending switching devices.
[0084] Specifically, the sending switching device represents the source master switching device, and the receiving switching device represents the destination master switching device. The topology cascading relationship of the sending switching devices includes the connection relationships between the source master switching device and the destination master switching device, each sub-switching device, and each fiber optic node connected to it after the link status of the source master switching device changes.
[0085] The format of the topology update frame is shown in Table 1 below.
[0086] Table 1 Topology Update Frames
[0087]
[0088]
[0089] Specifically, upon receiving a topology update frame, the destination primary switch or other sub-switches first determine if an anomaly has occurred. If an anomaly has occurred, it sends a topology update rejection frame to the source primary switch. The source primary switch then initiates a topology update process after receiving the rejection frame, continuing until the update is complete.
[0090] It is understandable that abnormal situations may include the receiving switch address in the received topology update frame being inconsistent with the address of the destination main switch or other sub-switches, or the receiving switch port number in the received topology update frame being inconsistent with the port number of the destination main switch or other sub-switches.
[0091] Specifically, if the destination primary switching device or other sub-switching device receives a topology update frame, when determining whether an abnormal situation has occurred, preferably, if no abnormal situation has occurred, the destination primary switching device or other sub-switching device performs the following steps:
[0092] Based on the destination switch ID of the topology update frame, each switch ID is updated, and the cascading routes of each switch are redefined. A topology update response frame is then sent to the source master switch.
[0093] It is worth noting that, as shown in Table 1, different switching devices receive different destination switch IDs in the topology update frames, and each switching device updates according to the destination switch ID corresponding to its own topology update frame.
[0094] Specifically, as shown in Table 1, the topology update frame includes the source switch address ID and the destination switch address ID. The destination master switch or other sub-switches that receive the topology update frame compare and update the topology update according to their respective stored switch IDs and destination switch address IDs. After the update, they redetermine the cascading routes of their respective switches and send a topology update response frame to the source master switch.
[0095] It is understandable that the device ID, switch ID, and switch address ID have the same meaning, so we will not go into details here.
[0096] Specifically, the topology update response frames are shown in Table 2.
[0097] Table 2 Topology Update Response Frames
[0098]
[0099] Preferably, the method further includes multicast management, wherein when a source node sends multicast messages to multiple destination nodes, the following steps are performed:
[0100] The destination nodes are classified according to the switch IDs corresponding to multiple destination nodes, resulting in multiple groups of destination nodes; among them, the source node and the destination node are two different fiber optic nodes.
[0101] For each group of destination nodes, the routing concatenation between the destination nodes and the source nodes is determined. The source nodes send multicast messages to the switches of each group of destination nodes according to the corresponding routing concatenation. The switches then send the multicast messages to the destination nodes connected to the switches.
[0102] Specifically, in network devices, each fiber optic node has a corresponding connected switch, which has a corresponding switch ID. When a source node sends multicast messages to multiple destination nodes, each destination node has corresponding switch ID information.
[0103] The source node categorizes multiple destination nodes, resulting in multiple groups of destination nodes, each with a unique switch ID. The routing concatenation information between each group of destination nodes and the source node is determined. The source node then sends multicast messages to the switching device of each group of destination nodes according to the routing concatenation information. This switching device then forwards the multicast messages to the destination nodes connected to it. The switching device is called a switch.
[0104] Specifically, such as Figure 4 As shown, the destination nodes corresponding to the sub-switching device n are treated as a group of destination nodes. Based on the routing cascading relationship of the network devices, the routes between the source node and the destination node are obtained. The source node sends multicast messages to multiple destination nodes connected to the sub-switching device n at one time.
[0105] Specifically, the multicast management frame format, based on the parameter management implementation frame format, defines relevant configuration parameters according to the needs of multicast transmission, forming a multicast transmission request frame and a multicast transmission response frame. The parameter content mainly includes: the destination address is the sub-switching device n, and the transmission content includes the source MAC, destination MAC, multicast port number, message length, and multicast data, etc.
[0106] The multicast send request frame is initiated by the source node. After receiving the multicast send request frame, the switching equipment extracts the data content and converts it into a multicast packet to be sent to the fiber optic nodes directly connected to it. The format of the multicast send request frame is shown in Table 3.
[0107] Table 3 Multicast Sending Request Frames
[0108]
[0109] Specifically, the multicast send response frame is initiated by the switching device in response to the multicast send request frame sent by the node, and responds based on the sending result. The multicast send response frames are shown in Table 4.
[0110] Table 4 Multicast Sending Response Frames
[0111]
[0112]
[0113] Specifically, multicast frames are framed according to the frame format required by the RFC4338 standard.
[0114] Preferably, such as Figure 5 As shown, the management node, based on the routing cascading and device IDs of the network devices, performs parameter queries on each network device via the FC bus, including:
[0115] The management node generates parameter query information and sends it to the switching device connected to the management node.
[0116] The switching device parses the parameter query information, obtains its own query information and sends it to the management node. At the same time, it sends the remaining parameter query information to the corresponding other switching devices according to the routing cascade. The other switching devices are all switching devices other than the switching device connected to the management node.
[0117] Other switching devices that receive parameter query information obtain their own query information and send it to the management node.
[0118] Preferably, the management node configures parameters for each network device via the FC bus based on the routing cascading and device ID of the network devices, and further includes:
[0119] The management node generates parameter configuration information and sends it to the switching device connected to it.
[0120] The switching device parses the parameter configuration information, obtains its own configuration information, and configures itself. After configuration, it sends a parameter configuration response to the management node. At the same time, it sends the remaining parameter configuration information to the corresponding other switching devices according to the routing cascade. The other switching devices are all switching devices other than the switching device connected to the management node.
[0121] For example, when the management node is connected to the first primary switching device, the other switching devices are the second primary switching device and various sub-switches;
[0122] Each other switching device that receives the parameter configuration information obtains its own configuration information and configures itself. After the configuration is completed, it sends a parameter configuration response to the management node.
[0123] For example, such as Figure 5 As shown in Table 5, the management node can be any fiber optic node in the network device. When the management node wants to query the parameter information in the network device, it sends parameter query information, i.e., parameter query request frame, to the switching device connected to it.
[0124] Table 5 Parameter Query Request Frame
[0125]
[0126] Specifically, the switching device connected to the management node parses the parameter query information and sends its own query information to the management node through a parameter query response frame.
[0127] Meanwhile, the switching devices connected to the management node send the remaining parameter query information to the corresponding other switching devices according to the routing cascade. Each sub-switching device, the first main switching device, and the second main switching device that receive the parameter query information obtain their own query information and send it to the management node through a parameter query response frame.
[0128] Specifically, the parameter query response frames are shown in Table 6.
[0129] Table 6 Parameter Query Response Frame
[0130]
[0131]
[0132] Specifically, when a management node wants to configure parameter information in a network device, it sends parameter configuration information, i.e., a parameter configuration frame, to the switching device connected to it, as shown in Table 7.
[0133] Table 7 Parameter Configuration Frame
[0134]
[0135] Specifically, after receiving the parameter configuration frame, the switching device connected to the management node parses it, obtains its own configuration information, configures itself, and sends a parameter configuration response frame to the management node after the configuration is completed. The parameter configuration response frame is shown in Table 8.
[0136] Meanwhile, the switching devices connected to the management node send the remaining parameter configuration information to the corresponding other switching devices according to the routing cascade. Each sub-switching device, the first main switching device, or the second main switching device that receives the parameter configuration information obtains its own configuration information and configures itself. After the configuration is completed, it sends a parameter configuration response frame to the management node.
[0137] Table 8 Parameter Configuration Response Frame
[0138]
[0139] Specifically, the parameter query information includes one or more of the following:
[0140] Mirror parameters;
[0141] Status information;
[0142] Software information;
[0143] Link status;
[0144] The parameter configuration information includes one or more of the following:
[0145] Time synchronization information;
[0146] Remote upgrade information;
[0147] Mirroring function information.
[0148] For example, the parameter information is shown in Table 9.
[0149] Table 9 Parameter Information Table
[0150]
[0151] Compared with existing technologies, the method for network device management and configuration via FC bus provided by this invention connects network devices using a dual-redundant FC bus, and implements both communication and management configuration of network devices using the FC bus. This reduces the number of port types in network devices, lowers the complexity of cabling layout in network devices, and reduces the cost of network devices. At the same time, managing and configuring network devices via the FC bus improves the sensitivity of the main switching device, enables dynamic allocation of sub-switches, reduces the difficulty of maintenance, debugging, and layout, and improves network fault recovery time from seconds to milliseconds. This application not only manages and configures network devices via the FC bus, but also implements communication functions based on the FC bus. Furthermore, for multicast messages in network devices, any node can send multicast messages to any designated switching device, and the multicast message is only transmitted within the designated switching device and will not spread to other switching devices, reducing network bandwidth waste and increasing the reliability of network device communication.
[0152] Those skilled in the art will understand that all or part of the processes of the methods described in the above embodiments can be implemented by a computer program instructing related hardware, and the program can be stored in a computer-readable storage medium. The computer-readable storage medium may be a disk, optical disk, read-only memory, or random access memory, etc.
[0153] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for managing and configuring network devices via an FC bus, characterized in that, The network equipment includes a first main switching device, a second main switching device, various sub-switches, and various fiber optic nodes connected via an FC bus; The method includes: During power-on initialization, the first and second main switching devices perform topology management on the network devices, determining the routing cascading and device IDs of the network devices; Based on the routing cascading and device IDs of the network devices, the management node performs parameter queries and configurations for each network device via the FC bus; The management node can be any fiber optic node in the network device.
2. The method according to claim 1, characterized in that, The network devices are connected in the following manner: The first and second main switching devices are connected using the FC bus. The first and second main switching devices are respectively connected to all sub-switching devices via the FC bus; Each fiber optic node is connected to each sub-switching device, the first main switching device, and the second main switching device via an FC bus.
3. The method according to claim 2, characterized in that, During power-on initialization, the first and second main switching devices perform topology management on the network devices, including: The first and second main switching devices simultaneously assign device IDs to each sub-switching device; when the first and second main switching devices assign different device IDs to the same sub-switching device, the device ID assigned by the main switching device with higher configuration priority shall prevail. The first and second main switching devices assign device IDs to each fiber optic node connected to them. Each sub-switching device assigns a device ID to each fiber optic node it connects to.
4. The method according to claim 3, characterized in that, When the first or second primary switching device detects a change in link status, the following steps are performed: The source master switch sends a topology update frame to the destination master switch and other sub-switches; The source primary switching device is the primary switching device that detected a change in the link status, and the destination primary switching device is the primary switching device that did not detect a change in the link status. After receiving a topology update frame, the destination primary switching device or other sub-switching device determines whether an abnormal situation has occurred. If an abnormal situation has occurred, it sends a topology update rejection frame to the source primary switching device.
5. The method according to claim 4, characterized in that, If no abnormalities occur, the destination primary switching device or other sub-switching device shall perform the following steps: Based on the destination switch ID of the topology update frame, each switch ID is updated, and the cascading routes of each switch are redefined. A topology update response frame is then sent to the source master switch.
6. The method according to claim 2, characterized in that, The method also includes multicast management, whereby the following steps are performed when a source node sends multicast messages to multiple destination nodes: The destination nodes are classified according to the switch IDs corresponding to multiple destination nodes, resulting in multiple groups of destination nodes; among them, the source node and the destination node are two different fiber optic nodes. For each group of destination nodes, the routing concatenation between the destination nodes and the source nodes is determined. The source nodes send multicast messages to the switches of each group of destination nodes according to the corresponding routing concatenation. The switches then send the multicast messages to the destination nodes connected to the switches.
7. The method according to claim 3, characterized in that, The topology update frame includes one or more of the following: Send the switching address of the sending switching device, the port number of the sending switching device, the switching address of the receiving switching device, the port number of the receiving switching device, the interface speed, and the topology cascading information of the sending switching devices.
8. The method according to claim 2, characterized in that, The management node, based on the routing cascading and device IDs of the network devices, performs parameter queries on each network device via the FC bus, including: The management node generates parameter query information and sends it to the switching device connected to the management node. The switching device parses the parameter query information, obtains its own query information and sends it to the management node. At the same time, it sends the remaining parameter query information to the corresponding other switching devices according to the routing cascade. The other switching devices are all switching devices other than the switching device connected to the management node. Other switching devices that receive parameter query information obtain their own query information and send it to the management node.
9. The method according to claim 8, characterized in that, The management node configures parameters for each network device via the FC bus based on the routing cascading and device IDs of the network devices, and also includes: The management node generates parameter configuration information and sends it to the switching device connected to it. The switching device parses the parameter configuration information, obtains its own configuration information, and configures itself. After configuration, it sends a parameter configuration response to the management node. At the same time, it sends the remaining parameter configuration information to the corresponding other switching devices according to the routing cascade. The other switching devices are all switching devices other than the switching device connected to the management node. Each other switching device that receives the parameter configuration information obtains its own configuration information and configures itself. After the configuration is completed, it sends a parameter configuration response to the management node.
10. The method according to claim 8, characterized in that, The parameter query information includes one or more of the following: Mirror parameters; Status information; Software information; Link status; The parameter configuration information includes one or more of the following: Time synchronization information; Remote upgrade information; Mirroring function information.
