CN115134256B - Method, system, terminal and storage medium for constructing switch management network - Google Patents
Method, system, terminal and storage medium for constructing switch management network Download PDFInfo
- Publication number
- CN115134256B CN115134256B CN202210899997.3A CN202210899997A CN115134256B CN 115134256 B CN115134256 B CN 115134256B CN 202210899997 A CN202210899997 A CN 202210899997A CN 115134256 B CN115134256 B CN 115134256B
- Authority
- CN
- China
- Prior art keywords
- port
- chip
- management
- bmc
- mac
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000004891 communication Methods 0.000 claims abstract description 51
- 230000006870 function Effects 0.000 claims description 36
- 230000015654 memory Effects 0.000 claims description 22
- 238000010276 construction Methods 0.000 claims description 11
- 230000008569 process Effects 0.000 claims description 8
- 239000002131 composite material Substances 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 3
- 230000000873 masking effect Effects 0.000 claims description 2
- 238000007726 management method Methods 0.000 description 62
- RTZKZFJDLAIYFH-UHFFFAOYSA-N Diethyl ether Chemical compound CCOCC RTZKZFJDLAIYFH-UHFFFAOYSA-N 0.000 description 6
- 238000012545 processing Methods 0.000 description 4
- 101100289995 Caenorhabditis elegans mac-1 gene Proteins 0.000 description 3
- 101100513046 Neurospora crassa (strain ATCC 24698 / 74-OR23-1A / CBS 708.71 / DSM 1257 / FGSC 987) eth-1 gene Proteins 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 108010028984 3-isopropylmalate dehydratase Proteins 0.000 description 2
- 101100059544 Arabidopsis thaliana CDC5 gene Proteins 0.000 description 2
- 101100244969 Arabidopsis thaliana PRL1 gene Proteins 0.000 description 2
- 102100039558 Galectin-3 Human genes 0.000 description 2
- 101100454448 Homo sapiens LGALS3 gene Proteins 0.000 description 2
- 101150115300 MAC1 gene Proteins 0.000 description 2
- 101150051246 MAC2 gene Proteins 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 241000700605 Viruses Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- QWCRAEMEVRGPNT-UHFFFAOYSA-N buspirone Chemical compound C1C(=O)N(CCCCN2CCN(CC2)C=2N=CC=CN=2)C(=O)CC21CCCC2 QWCRAEMEVRGPNT-UHFFFAOYSA-N 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
- H04L41/145—Network analysis or design involving simulating, designing, planning or modelling of a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0893—Assignment of logical groups to network elements
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Abstract
The invention relates to the technical field of switches, and particularly provides a method, a system, a terminal and a storage medium for constructing a switch management network, wherein the method comprises the following steps: an independent management data input/output bus is constructed by respectively connecting an MAC port of the switch BMC with the switch chip and the communication chip; performing function setting on ports of the exchange chip in the BMC; the user ports of the switching chip are assigned with IP and network links are configured based on the assigned IP. The invention can quickly build the switch management network, simplify the use of complex network equipment and save labor cost and time cost.
Description
Technical Field
The invention belongs to the technical field of switches, and particularly relates to a switch management network construction method, a system, a terminal and a storage medium.
Background
In the intelligent switch product, the OS is responsible for data processing, and the BMC is responsible for monitoring and managing the device status of the whole switch, and because of the product size limitation, the BMC needs to share a management network port with the OS to communicate with the outside. On the basis, a switching chip mv88e6321 needs to be added to realize network port sharing. In addition, since the cable length is too long, a communication chip (PHY chip RTL 8211) is further added to ensure the quality of data communication based on the switching chip mv88e 6321.
The current management method for the exchange chip mv88e632 and the PHY chip RTL8211 is that the BMC indirectly manages the mv88e6321 and the RTL8211 through a complex third party tool. However, the third party command is complicated to use, and needs to fully understand the entire network topology and registers of mv88e6321 and RTL8211 to configure, and the time cost and labor cost to be input are large.
Disclosure of Invention
The invention provides a method, a system, a terminal and a storage medium for constructing a switch management network to solve the technical problems.
In a first aspect, the present invention provides a method for constructing a switch management network, including:
an independent management data input/output bus is constructed by respectively connecting an MAC port of the switch BMC with the switch chip and the communication chip;
performing function setting on ports of the exchange chip in the BMC;
the user ports of the switching chip are assigned with IP and network links are configured based on the assigned IP.
Further, the method for constructing the independent management data input/output bus by connecting the MAC port of the switch BMC to the switch chip and the communication chip respectively includes:
the method comprises the steps that a first MAC port of a BMC is connected with a communication chip, a second MAC port of the BMC is connected with a management port of an exchange chip, wherein the first port of the exchange chip is connected with a composite network card chip, the second port of the exchange chip is connected with the communication chip, and the communication chip is provided with an external RJ45 port;
masking initialization of the management data input/output bus in the MAC drive by adding an empty management data input/output node in the configuration process of the first MAC drive;
and constructing a virtual management data input/output bus by utilizing multiplexing pins of the BMC.
Further, performing function setting on a port of the switch chip in the BMC includes:
setting the management port of the exchange chip as a management function, and setting the first port and the second port of the exchange chip as user ports;
adding a chip configuration item for the exchange chip, and setting only one layer of the exchange chip using a single address mode and using a distributed exchange architecture;
setting register offset corresponding to a management port as 5, defining the function type of the management port as a management function by designating a label as cpu, and setting the management port to provide no signal enhancement service by a communication chip by setting an Ethernet item as a first MAC port to designate BMC to actually manage a switching chip through the first MAC port;
setting the first port and the second port to bear the communication function with other network equipment, and carrying out parameter configuration on the first port and the second port.
In a second aspect, the present invention provides a switch management network construction system, including:
the topology construction unit is used for constructing independent management data input/output buses by enabling the MAC port of the switch BMC to be respectively connected with the switch chip and the communication chip;
the port configuration unit is used for performing function setting on the port of the switching chip in the BMC;
and the network configuration unit is used for distributing the IP to the user ports of the switching chip and configuring a network link based on the distributed IP.
Further, the topology building unit includes:
the hardware building module is used for enabling a first MAC port of the BMC to be connected with the communication chip and enabling a second MAC port of the BMC to be connected with a management port of the exchange chip, wherein the first port of the exchange chip is connected with the composite network card chip, the second port of the exchange chip is connected with the communication chip, and the communication chip is provided with an external RJ45 port;
the drive configuration module is used for shielding the initialization of the management data input/output bus in the MAC drive by adding an empty management data input/output node in the configuration process of the first MAC drive;
the virtual building module is used for building a virtual management data input/output bus by utilizing multiplexing pins of the BMC.
Further, the port configuration unit includes:
the function designating module is used for setting the management port of the switching chip as a management function and setting the first port and the second port of the switching chip as user ports;
the chip configuration module is used for adding a chip configuration item for the exchange chip, and setting only one layer of the exchange chip using a single address mode and using a distributed exchange architecture;
the management configuration module is used for setting register offset corresponding to the management port as 5, defining the function type of the management port as a management function by designating the label as cpu, and setting the management port to provide signal enhancement service without a communication chip by setting the Ethernet item as a first MAC port to designate BMC to actually manage the exchange chip through the first MAC port;
and the user configuration module is used for setting the first port and the second port to bear the communication function with other network equipment and carrying out parameter configuration on the first port and the second port.
In a third aspect, a terminal is provided, including:
a processor, a memory, wherein,
the memory is used for storing a computer program,
the processor is configured to call and run the computer program from the memory, so that the terminal performs the method of the terminal as described above.
In a fourth aspect, there is provided a computer storage medium having instructions stored therein which, when run on a computer, cause the computer to perform the method of the above aspects.
The method, the system, the terminal and the storage medium for constructing the switch management network have the beneficial effects that the switch management network can be quickly built, so that the use of complex network equipment is simplified, and the labor cost and the time cost are saved.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic flow chart of a method of one embodiment of the invention.
Fig. 2 is a hardware topology of a method of one embodiment of the invention.
FIG. 3 is a schematic block diagram of a system of one embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the technical solution of the present invention better understood by those skilled in the art, the technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
The following explains key terms appearing in the present invention.
BMC, execution server remote management controller, english name Baseboard Management controller. The method can perform firmware upgrade, check machine equipment and other operations on the machine in a state that the machine is not started. Fully implementing IPMI functionality in a BMC requires a powerful 16-bit or 32-bit microcontroller and RAM for data storage, flash memory for non-volatile data storage, and firmware to provide basic remote manageability in terms of secure remote reboot, secure re-power-up, LAN alerting, and system health monitoring. In addition to the basic IPMI and system operation monitoring functions, the mBMC can also enable BIOS flash element selection and protection by storing the previous BIOS using one of the 2 flash memories. For example, when the system fails to boot after a remote BIOS upgrade, the remote administrator may switch back to the previously-working BIOS image to boot the system. Once BIOS is upgraded, the BIOS image can be locked, so as to effectively prevent virus from invading it.
The MAC (Media Access Control or Medium Access Control) address, which is interpreted as a media access control, or physical address, a hardware address, is used to define the location of the network device. In the OSI model, the third layer network layer is responsible for IP addresses, and the second layer data link layer is responsible for MAC addresses. Thus a host will have a MAC address and each network location will have an IP address specific to it.
FIG. 1 is a schematic flow chart of a method of one embodiment of the invention. Wherein the execution body of fig. 1 may construct a system for a switch management network.
As shown in fig. 1, the method includes:
step 110, constructing independent management data input/output buses by enabling MAC ports of a switch BMC to be respectively connected with a switch chip and a communication chip;
step 120, performing function setting on a port of the switch chip in the BMC;
step 130, allocating IP to the user port of the switch chip and configuring the network link based on the allocated IP.
In order to facilitate understanding of the present invention, the switch management network construction method provided by the present invention is further described below with reference to a process of constructing a switch management network in the embodiment by using the principle of the switch management network construction method of the present invention.
Specifically, the switch management network construction method includes:
s1, an independent management data input/output bus is constructed by enabling an MAC port of a switch BMC to be respectively connected with a switch chip and a communication chip.
In this embodiment, the BMC is an AST2500 chip of an aspeed manufacturer, an environment for building DSA needs to be built, an independent MDIO bus system is needed for building the DSA environment, and an MDIO related register in the AST2500 chip is integrated in an MAC controller, and an MAC controller driver and an MDIO bus are mixed together. The construction of an independent MDIO bus system is a foundation for building a DSA environment, and on the basis of the foundation, a DSA-based design management network topology is built again, so that the management of the BMC on the mv88e6321 and the RTL8211 and the simplicity and operability of network communication are realized.
Referring to fig. 2, the network communication protocol of bmc connected to the management port (P5) of mv88e6321 through MAC2 is RGMII, mv88e6321 is connected to I210 (finally connected to OS) through port P0, the communication protocol is 1000base-X, mv88e6321 is connected to RTL8211 through port P1, the communication protocol is 1000base-t, management of RTL is managed by MAC1 through MDIO, and RTL8211 is externally connected to RJ45 for communication with the outside. Based on the topology, a network topology is constructed on hardware that the BMC and the OS communicate with the outside through an RJ45 port.
The system MAC driver at the ast2500 is mixed with the MDIO, and firstly, the initialization of the MDIO bus in the MAC driver is shielded for subsequent independent setting. Specifically, an empty MDIO node is added in the configuration process of the system MAC1 driver, so that the MAC driver is informed of the fact that the existing MDIO node is not initialized together with the MAC driver.
The virtual MDIO bus is built by means of multiplexing pin pins aspeed_gpio (a, 6), aspeed_gpio (a, 7) provided by AST2500, which are originally MDIO bus pin pins of MAC2, since they are no longer used in the above steps, one virtual MDIO bus based on GPIO is built here. After the virtual MDIO bus is constructed, the MDIO bus system and the MAC driver are completely independent, and network topology design based on DSA can be performed.
S2, performing function setting on ports of the exchange chip in the BMC.
Based on the constructed MDIO bus frame, the configuration of the mv88e6321 is added, specifically, the compatible field indicates that the field "marvell" corresponding to the drive to be used, the mv88e6321 "is a chip configuration item added specifically for the mv88e6321, reg indicates that the mv88e6321 uses a single address mode, and the" dsa, module "field indicates that only one layer of dsa architecture is used.
From the hardware topology, it can be seen that mv88e6321 uses three ports, port0, port1 and port5, where port5 is the management port, mainly responsible for BMC management of mv88e 6321. Setting management ports: reg=5 indicates that the register offset corresponding to port5 is 5, label is required to be designated as "cpu", mac1 indicates that management port is managed, mac1 indicates that BMC actually manages mv88e6321 through mac1, and the fixed-link module indicates that PHY device is not required for management port.
port0 and port1 are used as user ports and mainly bear the communication function with other network devices, and the specific setting method is as follows:
reg=0 for port0 indicates that the offset address is 0; label is "lan0", which indicates that the name of this portal will be displayed after the system is started is "lan0"; phy-mode= "1000base-X" means that the communication mode with I210 is 1000base-X; the I210 network card is a multifunctional composite network card that communicates with mv88e6321 and is not used as a PHY, so a fixed-link needs to be configured here to indicate that communication via port0 is not a PHY.
Reg=1 for port1 indicates that the offset address is 0; label is "lan1", which means that the name of this portal will be displayed after the system is started is "lan1"; phy-mode= "1000base-t" means that the communication mode with RTL8211 is 1000base-t; RTL8211 is a standard PHY device that communicates with mv88e6321, but because its MDIO bus is connected to MAC0 and control is not passed to mv88e6321, it cannot be connected as a normal PHY, so fixed-link needs to be configured to indicate that it is a PHY that does not need control to communicate via port 1.
S3, distributing IP for the user port of the exchange chip, and configuring network links based on the distributed IP.
port0 and port1 as user ports need to configure IP addresses by, for example:
Ip link set eth1 down
Sleep1
Ip link set lan0 down
Sleep1
Ip addr add 100.2.73.4/24 brd 100.2.73.255 dev lan0
based on the configured addresses of port0 and port1, for example:
root@sc7650el-32d:~#ipa
1:lo:<LO0PBACK,UP,LOWER UP>mtu 65536qdisc noqueue qlen 1000
link/loopback 00:00:00:00:00:00brd 00:00:00:00:00:00inet 127.0.0.1/8scope host lo
valid_lft forever preferred_lft forever
inet6:11/128scope host
valid_1ft forever preferred 1ft forever
2:eth:<BROADCAST,MULTICAST>mtu 1500qdisc pfifo_fatqlen 1000
link/ether 00:00:00:00:00:22brd ff:ff:ff:ff:ff:ff
3:eth1:<BROADCAST,MULTICAST,UP,LOWER_UP>mtu 1508qdisc pfifo_fast qlen 1000
link/ether be:b9:1e:3f:6a:9a brd ff:ff:ff:ff:ff:ff
inet 169.254.77.133/16brd 169.254.255,255scope link eth1
valid_1ft forever preferred_1ft forever inet6fe80::bcb9:1eff:fe3f:6a9a/64scope link
valid_lft forever preferred_lft forever
4:lan00eth1:<BROADCAST,MULTICAST,UP,LOWER_UP>mtu1500 qdisc noqueue qlen 1000
link/ether be:b9:1e:3f:6a:9a brd ff:ff:ff:ff:ff:ff
as shown in fig. 3, the system 300 includes:
a topology construction unit 310, configured to construct an independent management data input/output bus by connecting the MAC port of the switch BMC to the switch chip and the communication chip respectively;
a port configuration unit 320, configured to perform function setting on a port of the switch chip in the BMC;
the network configuration unit 330 is configured to allocate an IP for a user port of the switch chip and configure a network link based on the allocated IP.
Optionally, as an embodiment of the present invention, the topology building unit includes:
the hardware building module is used for enabling a first MAC port of the BMC to be connected with the communication chip and enabling a second MAC port of the BMC to be connected with a management port of the exchange chip, wherein the first port of the exchange chip is connected with the composite network card chip, the second port of the exchange chip is connected with the communication chip, and the communication chip is provided with an external RJ45 port;
the drive configuration module is used for shielding the initialization of the management data input/output bus in the MAC drive by adding an empty management data input/output node in the configuration process of the first MAC drive;
the virtual building module is used for building a virtual management data input/output bus by utilizing multiplexing pins of the BMC.
Optionally, as an embodiment of the present invention, the port configuration unit includes:
the function designating module is used for setting the management port of the switching chip as a management function and setting the first port and the second port of the switching chip as user ports;
the chip configuration module is used for adding a chip configuration item for the exchange chip, and setting only one layer of the exchange chip using a single address mode and using a distributed exchange architecture;
the management configuration module is used for setting register offset corresponding to the management port as 5, defining the function type of the management port as a management function by designating the label as cpu, and setting the management port to provide signal enhancement service without a communication chip by setting the Ethernet item as a first MAC port to designate BMC to actually manage the exchange chip through the first MAC port;
and the user configuration module is used for setting the first port and the second port to bear the communication function with other network equipment and carrying out parameter configuration on the first port and the second port.
Fig. 4 is a schematic structural diagram of a terminal 400 according to an embodiment of the present invention, where the terminal 400 may be used to execute the switch management network construction method according to the embodiment of the present invention.
The terminal 400 may include: processor 410, memory 420, and communication unit 430. The components may communicate via one or more buses, and it will be appreciated by those skilled in the art that the configuration of the server as shown in the drawings is not limiting of the invention, as it may be a bus-like structure, a star-like structure, or include more or fewer components than shown, or may be a combination of certain components or a different arrangement of components.
The memory 420 may be used to store instructions for execution by the processor 410, and the memory 420 may be implemented by any type of volatile or nonvolatile memory terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk. The execution of the instructions in memory 420, when executed by processor 410, enables terminal 400 to perform some or all of the steps in the method embodiments described below.
The processor 410 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by running or executing software programs and/or modules stored in the memory 420, and invoking data stored in the memory. The processor may be comprised of an integrated circuit (Integrated Circuit, simply referred to as an IC), for example, a single packaged IC, or may be comprised of a plurality of packaged ICs connected to the same function or different functions. For example, the processor 410 may include only a central processing unit (Central Processing Unit, simply CPU). In the embodiment of the invention, the CPU can be a single operation core or can comprise multiple operation cores.
And a communication unit 430 for establishing a communication channel so that the storage terminal can communicate with other terminals. Receiving user data sent by other terminals or sending the user data to other terminals.
The present invention also provides a computer storage medium in which a program may be stored, which program may include some or all of the steps in the embodiments provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a random-access memory (random access memory, RAM), or the like.
Therefore, the invention can quickly build the switch management network, simplify the use of complex network equipment, save labor cost and time cost, and the technical effects achieved by the embodiment can be seen from the description above, and are not repeated here.
It will be apparent to those skilled in the art that the techniques of embodiments of the present invention may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solution in the embodiments of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium such as a U-disc, a mobile hard disc, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk or an optical disk, etc. various media capable of storing program codes, including several instructions for causing a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, etc.) to execute all or part of the steps of the method described in the embodiments of the present invention.
The same or similar parts between the various embodiments in this specification are referred to each other. In particular, for the terminal embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and reference should be made to the description in the method embodiment for relevant points.
In the several embodiments provided by the present invention, it should be understood that the disclosed systems and methods may be implemented in other ways. For example, the system embodiments described above are merely illustrative, e.g., the division of the elements is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interface, system or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
Although the present invention has been described in detail by way of preferred embodiments with reference to the accompanying drawings, the present invention is not limited thereto. Various equivalent modifications and substitutions may be made in the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and it is intended that all such modifications and substitutions be within the scope of the present invention/be within the scope of the present invention as defined by the appended claims. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (4)
1. A method for constructing a switch management network, comprising:
an independent management data input/output bus is constructed by respectively connecting an MAC port of the switch BMC with the switch chip and the communication chip;
performing function setting on ports of the exchange chip in the BMC;
distributing IP for user port of the exchange chip and configuring network link based on the distributed IP;
the method for constructing independent management data input/output buses by respectively connecting the MAC ports of the switch BMC with the switch chip and the communication chip comprises the following steps:
the method comprises the steps that a first MAC port of a BMC is connected with a communication chip, a second MAC port of the BMC is connected with a management port of an exchange chip, wherein the first port of the exchange chip is connected with a composite network card chip, the second port of the exchange chip is connected with the communication chip, and the communication chip is provided with an external RJ45 port;
masking initialization of the management data input/output bus in the MAC drive by adding an empty management data input/output node in the configuration process of the first MAC drive;
constructing a virtual management data input/output bus by utilizing multiplexing pins of the BMC;
functional setting is carried out on ports of the exchange chip in the BMC, and the method comprises the following steps:
setting the management port of the exchange chip as a management function, and setting the first port and the second port of the exchange chip as user ports;
adding a chip configuration item for the exchange chip, wherein the number of layers of the exchange chip using a single address mode and the exchange chip using a distributed exchange architecture is 1;
setting register offset corresponding to a management port as 5, defining the function type of the management port as a management function by designating a label as cpu, and setting the management port to provide no signal enhancement service by a communication chip by setting an Ethernet item as a first MAC port to designate BMC to actually manage a switching chip through the first MAC port;
setting the first port and the second port to bear the communication function with other network equipment, and carrying out parameter configuration on the first port and the second port.
2. A switch management network construction system, comprising:
the topology construction unit is used for constructing independent management data input/output buses by enabling the MAC port of the switch BMC to be respectively connected with the switch chip and the communication chip;
the port configuration unit is used for performing function setting on the port of the switching chip in the BMC;
a network configuration unit, configured to allocate an IP for a user port of the switch chip, and configure a network link based on the allocated IP;
the topology building unit includes:
the hardware building module is used for enabling a first MAC port of the BMC to be connected with the communication chip and enabling a second MAC port of the BMC to be connected with a management port of the exchange chip, wherein the first port of the exchange chip is connected with the composite network card chip, the second port of the exchange chip is connected with the communication chip, and the communication chip is provided with an external RJ45 port;
the drive configuration module is used for shielding the initialization of the management data input/output bus in the MAC drive by adding an empty management data input/output node in the configuration process of the first MAC drive;
the virtual building module is used for building a virtual management data input/output bus by utilizing multiplexing pins of the BMC;
the port configuration unit includes:
the function designating module is used for setting the management port of the switching chip as a management function and setting the first port and the second port of the switching chip as user ports;
the chip configuration module is used for adding a chip configuration item to the exchange chip, wherein the configuration item is provided with a single address mode used by the exchange chip and the number of layers of a distributed exchange architecture used by the exchange chip is 1;
the management configuration module is used for setting register offset corresponding to the management port as 5, defining the function type of the management port as a management function by designating the label as cpu, and setting the management port to provide signal enhancement service without a communication chip by setting the Ethernet item as a first MAC port to designate BMC to actually manage the exchange chip through the first MAC port;
and the user configuration module is used for setting the first port and the second port to bear the communication function with other network equipment and carrying out parameter configuration on the first port and the second port.
3. A terminal, comprising:
a processor;
a memory for storing execution instructions of the processor;
wherein the processor is configured to perform the method of claim 1.
4. A computer readable storage medium storing a computer program, which when executed by a processor implements the method of claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210899997.3A CN115134256B (en) | 2022-07-28 | 2022-07-28 | Method, system, terminal and storage medium for constructing switch management network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210899997.3A CN115134256B (en) | 2022-07-28 | 2022-07-28 | Method, system, terminal and storage medium for constructing switch management network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115134256A CN115134256A (en) | 2022-09-30 |
CN115134256B true CN115134256B (en) | 2023-08-18 |
Family
ID=83386172
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210899997.3A Active CN115134256B (en) | 2022-07-28 | 2022-07-28 | Method, system, terminal and storage medium for constructing switch management network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115134256B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20130108880A (en) * | 2012-03-26 | 2013-10-07 | 주식회사 다산네트웍스 | Apparatus for ethernet switch |
CN209545618U (en) * | 2019-04-23 | 2019-10-25 | 山东超越数控电子股份有限公司 | A kind of interchanger of included BMC management function |
CN211720749U (en) * | 2020-04-24 | 2020-10-20 | 苏州浪潮智能科技有限公司 | Control panel, management equipment and system for realizing wireless transmission of fault information |
CN111800298A (en) * | 2020-07-08 | 2020-10-20 | 苏州浪潮智能科技有限公司 | Network node management method, device, equipment and readable medium |
CN113645047A (en) * | 2021-07-23 | 2021-11-12 | 苏州浪潮智能科技有限公司 | Out-of-band management system and server based on intelligent network card |
-
2022
- 2022-07-28 CN CN202210899997.3A patent/CN115134256B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20130108880A (en) * | 2012-03-26 | 2013-10-07 | 주식회사 다산네트웍스 | Apparatus for ethernet switch |
CN209545618U (en) * | 2019-04-23 | 2019-10-25 | 山东超越数控电子股份有限公司 | A kind of interchanger of included BMC management function |
CN211720749U (en) * | 2020-04-24 | 2020-10-20 | 苏州浪潮智能科技有限公司 | Control panel, management equipment and system for realizing wireless transmission of fault information |
CN111800298A (en) * | 2020-07-08 | 2020-10-20 | 苏州浪潮智能科技有限公司 | Network node management method, device, equipment and readable medium |
CN113645047A (en) * | 2021-07-23 | 2021-11-12 | 苏州浪潮智能科技有限公司 | Out-of-band management system and server based on intelligent network card |
Also Published As
Publication number | Publication date |
---|---|
CN115134256A (en) | 2022-09-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108509210B (en) | System and method for automatically updating basic input output system | |
KR101530472B1 (en) | Method and apparatus for remote delivery of managed usb services via a mobile computing device | |
WO2020024413A1 (en) | Method for controlling deployment of cloud computing platform, server, and storage medium | |
CN113452830B (en) | Batch control method of android cloud mobile phone, computer readable medium and electronic device | |
WO2020057469A1 (en) | Data processing method, related device, and computer storage medium | |
JP2005006303A (en) | Virtual network address | |
CN114070723B (en) | Virtual network configuration method and system of bare metal server and intelligent network card | |
US10360205B2 (en) | Cooperative MKEY locking for managing infiniband networks | |
CN113419815B (en) | Method, system, equipment and medium for pre-starting operation environment installation | |
CN113645047B (en) | Out-of-band management system and server based on intelligent network card | |
CN111901177A (en) | Bare metal server network configuration method, system and related equipment | |
CN108259305A (en) | A kind of physical machine remote dummy lan handover method and device based on openstack | |
US20190140897A1 (en) | Method for automatically initializing network device, remote server and network system using the same | |
CN116069709A (en) | Server system and network card integrated device | |
WO2023050667A1 (en) | Method and system for implementing bare metal inspection process, device, and storage medium | |
CN113918174A (en) | Bare metal server deployment method, deployment controller and server cluster | |
CN115134256B (en) | Method, system, terminal and storage medium for constructing switch management network | |
CN113127144B (en) | Processing method, processing device and storage medium | |
CN109889421B (en) | Router management method, device, terminal, system and storage medium | |
CN114124714B (en) | Multi-level network deployment method, device, equipment and storage medium | |
CN113886153B (en) | Network card pressure testing method and device based on container | |
Cisco | Interface Configuration Overview | |
Cisco | Interface Configuration Overview | |
Cisco | Interface Configuration Overview | |
Cisco | Interface Configuration Overview |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |