Unified management device and method for switch ports
By designing a unified management device for switch ports on the core board and carrier board, using an identification program to identify the switch chip model and uniformly configuring the SerDes interface, the problem of complex software version management under different port forms of the switch is solved, and a simplified management and maintenance process is achieved.
Patent Information
- Application Number
- CN202410707413.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-09-06
AI Technical Summary
Existing switch products require independent software version management for different port configurations, which complicates compilation and verification and increases the workload and difficulty of developers.
Design a unified management device for switch ports, including a core board, a carrier board and a backplane. The core board is connected to the carrier board through a SOLC connector. The built-in identification program identifies the switch chip model through the GPIO port status value and obtains SerDes based on the model. The configuration file of the interface realizes unified management and configuration.
It achieves unified management of different ports, simplifies software version management and maintenance, reduces developers' workload, and supports unified configuration management of switch products of different chip models.
Smart Images

Figure CN118612167A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of switches, and in particular to a unified management device and method for switch ports. Background Art
[0002] At present, in the process of software development for switches, a switch product of a certain model provides a specific software firmware version, and independent software version management is required for switch products with different port forms of the same switch chip model. However, for switch products, the upper layer protocol stack of each switch product is universal, so no matter what chip model the switch product is, the protocol layer management level is consistent, and the switch products of different chip models have the same application protocol except for the different number of interfaces.
[0003] Therefore, if the method of independently compiling versions is used to manage and process switch products with different chip models, it is necessary to compile a corresponding number of software versions based on the number of different ports of the switch product. If a problem with the protocol layer of the switch product is found during the testing process or use, then after the problem at the protocol layer is corrected, it is necessary to recompile the corresponding number of software versions, and re-verify on the platform of switch products with different chip models before the switch product can be used.
[0004] Therefore, there is an urgent need to uniformly manage different ports of switches. Summary of the invention
[0005] Based on the above-mentioned deficiencies of the prior art, the present application provides a unified management device and method for switch ports to achieve the purpose of unified management of different ports of the switch.
[0006] In order to achieve the above objectives, this application provides the following technical solutions:
[0007] A first aspect of the present application provides a unified management device for switch ports, the software version unified device comprising: a core board, a carrier board and a backplane;
[0008] The output end of the core board is connected to the input end of the carrier board through a SOLC connector, the multi-channel SerDes interface and multi-channel GPIO port pins of the core board are connected to the carrier board, and the core board is provided with an identification program for identifying the switch chip model of the switch through the status value of the GPIO port;
[0009] The circuit port of the backplane is connected to the output end of the carrier board;
[0010] Among them, the identification program of the core board identifies the switching chip model corresponding to the GPIO port by reading and according to the status value of the GPIO port, obtains the configuration file corresponding to each of the SerDes interfaces according to the switching chip model, and uniformly manages and configures each of the SerDes interfaces according to the configuration file corresponding to each of the SerDes interfaces.
[0011] Optionally, in the above-mentioned unified management device for switch ports, the core board includes a CPU module and a switching module;
[0012] The CPU module and the switching module are respectively connected to the input end of the carrier board through a SOLC connector.
[0013] Optionally, in the above-mentioned unified management device for switch ports, the CPU module is a COMe board.
[0014] Optionally, in the above-mentioned unified management device for switch ports, the switching module is an MXM board.
[0015] Optionally, the above-mentioned unified management device for switch ports further includes:
[0016] The backplane is provided with a plurality of external interfaces, and the external interfaces are used to connect external devices.
[0017] Optionally, in the above-mentioned unified management device for switch ports, the chip model of the core board is CTC7132.
[0018] Optionally, the above-mentioned unified management device for switch ports further includes:
[0019] The core board is provided with a PCIE high-speed interface for a computer bus interface.
[0020] Optionally, the above-mentioned unified management device for switch ports further includes:
[0021] The carrier board is provided with an external interface, and the external interface is used to connect an external device.
[0022] A second aspect of the present application provides a unified management method for switch ports, which is applied to the unified management device for switch ports disclosed in the first aspect above, and the method includes:
[0023] Read the status values of multiple GPIO ports through the core board's identification program;
[0024] For each of the GPIO ports, identify the switch chip model corresponding to the switch according to the state value of the GPIO port;
[0025] Obtaining the port configuration directory corresponding to the switching chip model from the port directory library;
[0026] Store all configuration files in the port configuration directory in a specified directory;
[0027] In the specified directory, read the configuration files corresponding to all SerDes interfaces of the switching chip model;
[0028] According to all the SerDes interfaces respectively, the SerDes interfaces are initialized according to the configuration files corresponding to the SerDes interfaces, so as to uniformly configure and manage all the SerDes interfaces of the switching chip model.
[0029] Optionally, in the above-mentioned unified management method of the switch port, the initializing the SerDes interface according to the configuration file corresponding to the SerDes interface respectively according to all the SerDes interfaces to uniformly configure and manage all the SerDes interfaces of the switch includes:
[0030] Turn on the CPLD chip;
[0031] After the CPLD chip is turned on, detecting whether the FLASH chip is powered on successfully;
[0032] If the FLASH chip is powered on successfully, the circuit between the FLASH chip and the power chip is turned on, and after the circuit is turned on, whether the current state of the switching chip corresponding to the switch is a preset state is detected;
[0033] If the current state of the switching chip corresponding to the switch is the preset state, opening the circuit between the power chip and the switching chip;
[0034] After the circuit between the power chip and the switch chip is turned on, a UBOOT system is loaded to register the peripheral interface of the switch into the UBOOT system;
[0035] After the registration is completed, the LINUX system is loaded to initialize the LINUX system;
[0036] After the LINUX system is initialized, loading the driver application of the switch to initialize the switch;
[0037] After the switch is initialized, the management platform software is loaded, and all the SerDes interfaces are uniformly configured and managed using command lines or WEB instructions in the management platform software to initialize all the SerDes interfaces.
[0038] The application provides a unified management device for a switch port, the software version unified device includes: a core board, a carrier board and a backboard, the output end of the core board is connected to the input end of the carrier board through a SOLC connector, the multi-channel SerDes interface of the core board and the multi-channel GPIO port pins are connected to the carrier board, and an identification program is provided in the core board for identifying the switch chip model of the switch through the state value of the GPIO port, and the circuit port of the backboard is connected to the output end of the carrier board, wherein the identification program of the core board reads and identifies the switch chip model corresponding to the GPIO port according to the state value of the GPIO port, and obtains the configuration file corresponding to each SerDes interface according to the switch chip model, and according to the configuration file corresponding to each SerDes interface, each SerDes interface is uniformly managed and configured. Thus, by using the design method of the core board in hardware, and by burning the software version into the core board, the identification program of the core board is integrated, and the identification program of the core board is used to read the different ports of the switch chip model, thereby achieving the purpose of unified management of different ports. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0040] Figure 1 A first structural block diagram of a unified management device for switch ports provided in an embodiment of the present application;
[0041] Figure 2 A second structural block diagram of a unified management device for switch ports provided in an embodiment of the present application;
[0042] Figure 3 A flowchart of a unified management method for switch ports provided by another embodiment of the present application;
[0043] Figure 4 A flowchart of a port initialization method provided by another embodiment of the present application. DETAILED DESCRIPTION
[0044] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0045] In this application, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0046] As can be seen from the background technology, currently it is necessary to compile a corresponding number of software versions according to the number of different ports of the switch product. If a problem with the protocol layer of the switch product is found during the testing process or the use process, then after the problem at the protocol layer is modified, it is necessary to recompile the corresponding number of software versions, and it is also necessary to re-verify on the platform of switch products with different chip models before the switch product can be used, which is not conducive to the management of different ports of the switch and also increases the workload of developers.
[0047] Therefore, an embodiment of the present application provides a unified management device for switch ports, which includes a core board, a carrier board and a backplane, so that a unified core board is used in hardware, which can meet the common software version and core board requirements of all switching chips, so that the core board can be used on switch products of all switching models, and then unified management of different ports of the switching chip can be achieved based on the core board, carrier board and backplane.
[0048] So see Figure 1 , shows a unified management device for a switch port provided in an embodiment of the present application, the software version unified device includes: a core board 101, a carrier board 102 and a backplane 103.
[0049] The output end of the core board 101 is connected to the input end of the carrier board 102 through a SOLC connector. The multi-channel SerDes interface and multi-channel GPIO port pins of the core board 101 are connected to the carrier board 102. In addition, an identification program is provided in the core board 101 for identifying the switch chip model of the switch through the status value of the GPIO port.
[0050] It should be noted that the core board 101 needs to pin the 8-way GPIO port to the carrier board 102, and set the 8-way GPIO port to the input mode, and then weld the pull-up resistor or not weld the pull-up resistor for each GPIO port on the carrier board 102. When the pull-up resistor is welded, the subsequent recognition program of the core board 101 reads the state value of the GPIO port as a high level, and the unwelded one is a low level. Thus, the recognition program (i.e., software version) of a core board 101 can read the different port forms of all switching chips, and then realize that different ports can be uniformly managed through an recognition program. It should also be noted that the software version is burned into the core board 101, so that the core board 101 can be unified with the gusset interface of switches of different chip models, so that the core board 101 can be moved from the switch of the current chip model to the switch of other chip models for use, and there is no need to change the software version. For switches of different models, only the circuit design of the carrier board 102 and the backplane 103 needs to be paid attention to, thereby simplifying the difficulty of the overall design.
[0051] It should be noted that SerDes is the physical interface of the switching chip. Taking the CTC7132 chip as an example, there are 32 SerDes physical interfaces. The configuration file of the GPIO port is actually the configuration file of the 32 SerDes physical interfaces. By configuring each SerDes mode, it is determined whether the physical link connected to the SerDes physical interface is RJ45, SFP, or QSFP+. It should be noted that when the core board 101 connects the 8-way GPIO port pins to the carrier board 102, the 32-way SerDes physical interface pins also need to be connected to the carrier board 102 to achieve the purpose of unified configuration management.
[0052] In some embodiments, the chip model of the core board 101 is CTC7132, and of course it can also be other chip models, which can be set specifically according to needs.
[0053] In some embodiments, the core board 101 is provided with a PCIE high-speed interface for a computer bus interface, and can also be used to connect other PCIE modules, such as an FPGA module, to further optimize the switch system.
[0054] The circuit port of the back panel 103 is connected to the output end of the carrier board 102 .
[0055] Specifically, the carrier board 102 can pin the port quantity and port form of different switch models to the backplane 103, thereby ensuring that the final switch product can meet the requirements and have good performance and reliability.
[0056] In some embodiments, the backplane 103 refers to an interface circuit provided to the outside, such as a common RJ45 network port, an optical port, and the like.
[0057] In some embodiments, the backplane 103 is provided with a plurality of external interfaces, and the external interfaces are used to connect external devices.
[0058] In some implementations, the carrier board 102 is provided with an external interface, and the external interface is used to connect to an external device.
[0059] Among them, the identification program of the core board 101 identifies the switching chip model corresponding to the GPIO port by reading and according to the status value of the GPIO port, obtains the configuration file corresponding to each SerDes interface according to the switching chip model, and uniformly manages and configures each SerDes interface according to the configuration file corresponding to each SerDes interface.
[0060] Based on the above description, the switch chip leads a total of 8 GPIO ports to the carrier board 102, and then the switch chip sets these 8 GPIO ports to input form, and the default GPIO port is a low-level input. At this time, the 8 GPIO ports can form an overall input of 0000, 0000. Then, by welding pull-up resistors to the GPIO ports to realize their high-level input, for example, welding pull-up resistors on GPIO_0 and GPIO_3, the overall input of the switch chip becomes 0000, 1001. The GPIO has a total of 8 bits, which can be converted into decimal and represent a total of 256 different states from 0 to 255. Therefore, by welding pull-up resistors of GPIO ports at different positions on the carrier board 102, the software version of the switch can obtain different state values when reading the GPIO port, which is used to distinguish different switch products. For example, switch product 1 uses 0000, 0001, switch product 2 uses 0000, 0010, and switch product 3 uses 0000, 0011. By analogy, 256 types of switch products can be satisfied. At this time, the switch software version can include port configuration files of all product models, and then identify the switch chip model based on the read value, and copy the configuration files corresponding to all SerDes interfaces of the switch chip model to the specified port configuration directory, so as to achieve unified management of different port forms of the switch through one software version.
[0061] In the embodiment of the present application, through the core board 101, the carrier board 102 and the backplane 103, it is realized that different ports of the switching chip can be uniformly managed using one software version, which makes the software version management and maintenance simple, and can also meet the increasing demand for switching chip models (for each additional model, only the port of the corresponding model is required in the software version). When dealing with problems at the protocol level and management platform, after modifying the problem, only one version needs to be compiled, and it can be verified on switch products of all chip models, thereby reducing the workload of developers and greatly simplifying the difficulty of version distinction and platform testing.
[0062] In some specific embodiments, in combination Figure 1 , see Figure 2 , shows a second structural block diagram of a unified management device for switch ports provided in an embodiment of the present application, where the core board 101 includes a CPU module 21 and a switching module 22.
[0063] The CPU module and the switch module are connected to the input end of the carrier board 102 through SOLC connectors respectively.
[0064] It should be noted that the CPU module is used to run all the software of the switch system, and the switch module is responsible for forwarding user service traffic. It should also be noted that the switch module refers to the switch chip.
[0065] In some embodiments, the CPU module is a COMe board, and the chip model of the CPU module is 2K1000. Of course, it can also be other chip models, and the specific settings can be made according to requirements.
[0066] In some embodiments, the switching module is an MXM board, and the chip model of the switching module is CTC7132. Of course, it can also be other chip models, and the specific model can be set according to needs.
[0067] In the embodiment of the present application, the core board 101, the carrier board 102 and the backplane are composed of a CPU module and a switching module, forming a device for unified management ports and also forming a switch system, which can effectively achieve the performance, reliability and scalability required by the switch.
[0068] Corresponding to the unified management device for switch ports provided in the above embodiment of the present application, see Figure 3 , shows a flow chart of a unified management method for switch ports provided in an embodiment of the present application, the method comprising:
[0069] S301, reading the status values of multiple GPIO ports through the identification program of the core board.
[0070] It should be noted that for switch products with different chip models, the unified management process of different ports of each chip model is consistent, but the configuration files of each chip model are inconsistent, and the corresponding configuration files of each SerDes interface are also different. In order to uniformly manage the different port forms of the switch, it is necessary to uniformly manage the configuration files of different port forms, and the storage directory of the configuration files of each SerDes interface is inconsistent. Therefore, it is necessary to identify the switching chip model of the switch according to the status value of the GPIO port before the storage address of the configuration file directory of the SerDes interface can be known. Therefore, it is necessary to pre-read the status values of the multiple GPIO ports of the switch through the identification program of the core board.
[0071] S302: for each GPIO port, identify the switch chip model corresponding to the switch according to the state value of the GPIO port.
[0072] Specifically, in order to identify different switch chip models of the switch, in the embodiment of the present application, identification is performed through the state value of the GPIO port, thereby completing the initialization of different interface forms.
[0073] S303: Obtain a port configuration directory corresponding to the switch chip model from a port directory library.
[0074] It is understandable that the port configuration directory corresponding to each switching chip model in the port directory library is different. Therefore, it is necessary to obtain the port configuration directory corresponding to the switching chip model from the port directory library so as to effectively and uniformly configure and manage the different port forms of the switching chip model.
[0075] S304. Store all configuration files in the port configuration directory in a specified directory.
[0076] It should be noted that in order to realize the unified management of configuration files of all SerDes interfaces by the identification program (software version), that is, to realize the unified management of different port forms of the switching chip, all configuration files in the port configuration directory need to be stored in the specified directory.
[0077] S305. Read configuration files corresponding to all SerDes interfaces of the switch chip model in the specified directory.
[0078] Specifically, the identification program of the core board reads configuration files of all SerDes interfaces from a specified directory, so that the identification program of the core board includes configuration files corresponding to all SerDes interfaces, thereby realizing initialization of different port forms.
[0079] S306 , respectively initialize the SerDes interfaces according to the configuration files corresponding to the SerDes interfaces, so as to uniformly configure and manage all the SerDes interfaces of the switching chip model.
[0080] Specifically, the identification program of the core board is run, and at this time, the identification program of the core board will initialize the state of the SerDes interface based on the configuration file to achieve unified management of all SerDes interfaces of the switching chip model.
[0081] Specifically, steps S301 to S306 are all implemented through the recognition program of the core board.
[0082] It should be noted that the specific implementation of steps S301 to S306 is shown in Figure 1 to Figure 2 The contents shown in will not be repeated here.
[0083] Optionally, in another embodiment of the present application, a specific implementation of step S306 is as follows: Figure 4 As shown, the following steps are included:
[0084] S401, turn on the CPLD chip.
[0085] It is understandable that in order to initialize the GPIO port, you need to power on first, that is, power on the core board, carrier board and backplane. At this time, you need to turn on the CPLD chip on the core board to achieve the purpose of powering on.
[0086] S402: After the CPLD chip is turned on, check whether the FLASH chip is powered on successfully.
[0087] It should be noted that, since the FLASH chip (UBOOT program, Linux program, switch application program are all burned into the FLASH chip, when the CPLD chip is turned on, the CPLD chip will power on the FLASH chip. At this time, it is necessary to detect whether the FLASH chip is powered on successfully. Therefore, if the FLASH chip is powered on successfully, it means that the UBOOT program, Linux program, and switch application program can be loaded separately later, and step S403 needs to be executed at this time.
[0088] Optionally, if the FLASH chip is not powered on successfully, it means that the UBOOT program, Linux program, and switch application program cannot be loaded subsequently, so the FLASH chip needs to be powered on at this time.
[0089] S403: Open the circuit between the FLASH chip and the power chip, and after opening the circuit, detect whether the current state of the switching chip corresponding to the switch is a preset state.
[0090] Specifically, when the FLASH chip is powered on successfully, the information that the FLASH chip is powered on successfully needs to be notified to the CPLD chip, so that the circuit between the FLASH chip and the power chip can be turned on. After the circuit between the FLASH chip and the power chip is powered on, the circuit between the power chip and the switching chip needs to be powered on, so that the power chip can supply power to the switching chip to make the switching chip work. However, in order to power on the circuit between the power chip and the switching chip, it is also necessary to detect whether the current state of the switching chip is a preset state, wherein the preset state is an in-position state, which is used to describe the connection status and data forwarding status of each port in the switching device, so that the switching chip in the switching device can be normally monitored and managed to ensure the normal operation of the network and efficient data forwarding. Therefore, if the current state of the switching chip corresponding to the switch is the preset state, step S404 is executed.
[0091] Optionally, if the current state of the switching chip is a non-preset state, continue to detect whether the current state of the switching chip corresponding to the switch is a preset state until the current state of the switching chip is a preset state.
[0092] S404: Open the circuit between the power chip and the switching chip.
[0093] Specifically, when the current state of the switching chip is a preset state, the circuit between the power chip and the switching chip is turned on, so that the power chip starts to supply power to the switching chip.
[0094] S405 , after the circuit between the power chip and the switch chip is turned on, the UBOOT system is loaded to register the peripheral interface of the switch into the UBOOT system.
[0095] Specifically, after turning on the circuit between the power chip and the switching chip, you need to load the UBOOT system. Then, in order to identify the hardware interface on the switch, you need to register the switch's peripheral interface to the UBOOT system. For example, the switch's peripheral interfaces include serial ports, management ports, USB interfaces, memory, PCIE, GPIO, and IIC, etc.
[0096] S406: After the registration is completed, load the LINUX system to initialize the LINUX system.
[0097] It is understandable that, because the LINUX system is the operating system of the entire switch, in order to use the commands and functions of the LINUX system to query and uniformly configure the switch, after the peripheral interface registration of the switch is completed, the LINUX system needs to be loaded to initialize the LINUX system.
[0098] Specifically, the initialization process is: first start with the BIOS / UEFI firmware, then the boot loader, followed by the initialization of the operating system (such as loading and starting the kernel), and finally the initialization script of the user space.
[0099] BIOS / UEFI: This is the first software that loads when your computer starts up. It is responsible for basic hardware detection and loading of the boot loader.
[0100] Boot Loader: Such as GRUB, responsible for loading the Linux kernel.
[0101] Configuration file: / boot / grub / grub.cfg or / etc / grub.d / .
[0102] Kernel boot: The kernel loads and initializes the core components of the system.
[0103] Configuration: / etc / sysctl.conf is loaded via the sysctl command.
[0104] System initialization: This phase is the responsibility of init (which may be replaced by systemd).
[0105] Configuration: / etc / inittab or / etc / init / rcS.conf (Upstart) or / etc / systemd / system / (systemd).
[0106] User space initialization: This phase executes a series of initialization scripts.
[0107] Configuration: / etc / rc.local or / etc / init.d / or systemd unit.
[0108] Login prompt: After completing the above steps, the system waits for the user to log in.
[0109] This process is highly dependent on the Linux distribution, and different distributions may have subtle differences, such as using different init systems or boot loaders.
[0110] S407: After the LINUX system is initialized, a driver application of the switch is loaded to initialize the switch.
[0111] Specifically, after the LINUX system is initialized, the switch driver application needs to be loaded to complete the initialization of the switch chip, interface initialization, and protocol stack initialization. The specific initialization process is: the switch driver application calls the initialization function provided by the switch chip SDK, reads the interface and memory configuration files, initializes the interface through the memory configuration file, and sends the protocol layer message to the CPU by setting various protocol status registers in the switch chip. The protocol stack application performs the protocol stack initialization process.
[0112] S408. After the switch is initialized, the management platform software is loaded, and command lines or WEB instructions in the management platform software are used to uniformly configure and manage all SerDes interfaces to initialize all SerDes interfaces.
[0113] It is understandable that after the switch is initialized, the management platform software of the switch is also loaded. The management platform software calls the unified driver interface to obtain interface information, and uses a unified command line and WEB management system to uniformly configure and manage all SerDes interfaces, thereby completing the initialization of different interface forms of the switching chip.
[0114] The application provides a unified management device for a switch port, the software version unified device includes: a core board, a carrier board and a backboard, the output end of the core board is connected to the input end of the carrier board through a SOLC connector, the multi-channel SerDes interface of the core board and the multi-channel GPIO port pins are connected to the carrier board, and an identification program is provided in the core board for identifying the switch chip model of the switch through the state value of the GPIO port, and the circuit port of the backboard is connected to the output end of the carrier board, wherein the identification program of the core board reads and identifies the switch chip model corresponding to the GPIO port according to the state value of the GPIO port, and obtains the configuration file corresponding to each SerDes interface according to the switch chip model, and according to the configuration file corresponding to each SerDes interface, each SerDes interface is uniformly managed and configured. Thus, by using the design method of the core board in hardware, and by burning the software version into the core board, the identification program of the core board is integrated, and the identification program of the core board is used to read the different ports of the switch chip model, thereby achieving the purpose of unified management of different ports.
[0115] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0116] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A unified management device for switch ports, characterized in that: The software version unification device includes: a core board, a carrier board and a backboard; The output end of the core board is connected to the input end of the carrier board through a SOLC connector, the multi-channel SerDes interface and multi-channel GPIO port pins of the core board are connected to the carrier board, and the core board is provided with an identification program for identifying the switch chip model of the switch through the status value of the GPIO port; The circuit port of the backplane is connected to the output end of the carrier board; Among them, the identification program of the core board identifies the switching chip model corresponding to the GPIO port by reading and according to the status value of the GPIO port, obtains the configuration file corresponding to each of the SerDes interfaces according to the switching chip model, and uniformly manages and configures each of the SerDes interfaces according to the configuration file corresponding to each of the SerDes interfaces.
2. The unified management device according to claim 1, characterized in that: The core board includes a CPU module and a switching module; The CPU module and the switching module are respectively connected to the input end of the carrier board through a SOLC connector.
3. The unified management device according to claim 2, characterized in that: The CPU module is a COMe board.
4. The unified management device according to claim 2, characterized in that: The switching module is an MXM board.
5. The unified management device according to claim 1, characterized in that: Also includes: The backplane is provided with a plurality of external interfaces, and the external interfaces are used to connect external devices.
6. The unified management device according to claim 1, characterized in that: The chip model of the core board is CTC7132.
7. The unified management device according to claim 1, characterized in that: Also includes: The core board is provided with a PCIE high-speed interface for a computer bus interface.
8. The unified management device according to claim 1, characterized in that: Also includes: The carrier board is provided with an external interface, and the external interface is used to connect an external device.
9. A unified management method for switch ports, characterized in that: The unified management device for the switch port according to any one of claims 1 to 8 above, the method comprising: Read the status values of multiple GPIO ports through the core board's identification program; For each of the GPIO ports, identify the switch chip model corresponding to the switch according to the state value of the GPIO port; Obtaining the port configuration directory corresponding to the switching chip model from the port directory library; Store all configuration files in the port configuration directory in a specified directory; In the specified directory, read the configuration files corresponding to all SerDes interfaces of the switching chip model; According to all the SerDes interfaces respectively, the SerDes interfaces are initialized according to the configuration files corresponding to the SerDes interfaces, so as to uniformly configure and manage all the SerDes interfaces of the switching chip model.
10. The method according to claim 9, characterized in that Initializing the SerDes interfaces according to the configuration files corresponding to the SerDes interfaces respectively so as to uniformly configure and manage all the SerDes interfaces of the switch includes: Turn on the CPLD chip; After the CPLD chip is turned on, detecting whether the FLASH chip is powered on successfully; If the FLASH chip is powered on successfully, the circuit between the FLASH chip and the power chip is turned on, and after the circuit is turned on, whether the current state of the switching chip corresponding to the switch is a preset state is detected; If the current state of the switching chip corresponding to the switch is the preset state, opening the circuit between the power chip and the switching chip; After the circuit between the power chip and the switch chip is turned on, a UBOOT system is loaded to register the peripheral interface of the switch into the UBOOT system; After the registration is completed, the LINUX system is loaded to initialize the LINUX system; After the LINUX system is initialized, loading the driver application of the switch to initialize the switch; After the switch is initialized, the management platform software is loaded, and all the SerDes interfaces are uniformly configured and managed using command lines or WEB instructions in the management platform software to initialize all the SerDes interfaces.
Citation Information
Cited By
Management board, management system and method of management board, server, equipment and medium
CN120560733A
Management board, management system and method of management board, server, device and medium
CN120560733B
