CN107493185B - Configuration information notification method and device for interface extension equipment - Google Patents

Configuration information notification method and device for interface extension equipment Download PDF

Info

Publication number
CN107493185B
CN107493185B CN201610422090.2A CN201610422090A CN107493185B CN 107493185 B CN107493185 B CN 107493185B CN 201610422090 A CN201610422090 A CN 201610422090A CN 107493185 B CN107493185 B CN 107493185B
Authority
CN
China
Prior art keywords
configuration information
version
information
equipment
interface
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
Application number
CN201610422090.2A
Other languages
Chinese (zh)
Other versions
CN107493185A (en
Inventor
黄锦元
曹淑玲
王同乐
郑炎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201610422090.2A priority Critical patent/CN107493185B/en
Priority to PCT/CN2017/086721 priority patent/WO2017215446A1/en
Publication of CN107493185A publication Critical patent/CN107493185A/en
Application granted granted Critical
Publication of CN107493185B publication Critical patent/CN107493185B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0843Configuration by using pre-existing information, e.g. using templates or copying from other elements based on generic templates
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks

Abstract

The embodiment of the invention provides a configuration information notification method and a configuration information notification device of interface extension equipment, which are characterized in that pre-stored configuration information of the interface extension equipment is obtained, the configuration information and address information of a local terminal are filled into a private message field of an example message, and the example message is sent to the interface extension equipment through a cascade interface; by implementing the method provided by the embodiment of the invention, the PE equipment can directly obtain the configuration information of the PE equipment through the received message, the link information between the CB equipment and the P equipment and the member port of the uplink LACP link of the PE equipment can be obtained without manual operation or equipment processing through gateway equipment, and the version file is downloaded from the CB for deployment and setting according to the analyzed information, so that the dynamic perception configuration information of the PE equipment is realized.

Description

Configuration information notification method and device for interface extension equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a configuration information notification method and apparatus for an interface extension device.
Background
With the continuous development of network technology, the interactive data volume is continuously increased, the data center of an enterprise inevitably generates some management problems, the use efficiency of a processor is improved through virtualization, and the cost is further reduced, in order to adapt to the development, a series of new 802.1 standards are proposed by an IEEE organization (Institute of Electrical and Electronics Engineers ) aiming at new technologies such as data center virtual machine migration, and the like, including congestion notification 802.1Qau, enhanced transmission selection 802.1Qaz, priority-based flow control 802.1Qbb, edge virtual bridge 802.1Qbg, virtual bridge port extension 802.1BR, and the like.
802.1Qbg introduces a Virtual border interface Aggregator (VEPA), which sends all information to the border bridge, so that the use of an ACL (Access Control List) is no longer dependent on the location of the Virtual machine. The VDP protocol implements discovery and configuration of a VSI (Virtual Switch Interface), the CDCP protocol implements discovery and configuration of a channel, and the VEPA protocol can reduce complexity related to highly virtualized deployment. The edge intermediate-level method is simple, and the format of the message transmitted on the current link does not need to be modified. However, when multicast or a large amount of information passes through the physical link, there may be multiple identical frame copies of a frame in the physical link, since one frame copy may be sent on each channel.
In order to solve the problem that the 802.1Qbg occupies the bandwidth due to the occurrence of a plurality of identical frame copies, the 802.1BR adds additional tag information, and limits that only one frame copy can be sent and copied through the tag information, so as to reduce the bandwidth occupation under the multicast condition, which is usually realized through hardware setting. The 802.1BR standard can deploy a remote switch as a policy control switch in a virtual environment, rather than as a switch adjacent to a server rack, and by means of a plurality of virtual channels, an edge virtual bridge copies frames to a group of remote interfaces, and a network is designed flexibly by means of a waterfall type serial interface, so that bandwidth is more effectively allocated to multicast frames, broadcast frames and unicast frames. The operations, interaction protocols, management objects and algorithms of the extension bridge are defined for the 802.1BR standard as follows:
1) defining a tag which supports E-CID to realize flow distinguishing and isolation between interfaces on an expansion bridge;
2) establishing an expansion bridge system which comprises a control bridge and one or more interface expansion devices;
3) defining the requirements of the attachment of the interface expansion equipment on bridge construction elements and a system;
4) extending MAC service extension of the bridge interface to bridge interface extension equipment and supporting a user VLAN;
5) defining a PE CSP Protocol (Client Server Protocol), configuring and monitoring bridge interface expansion equipment through a control bridge;
6) the requirement for defining Bridge management, management object and management operation 1BR protocol establish an extended Bridge system, which includes a Control Bridge (CB) and one or more interface extension devices (PE).
In the 1BR vertical stack environment, the core of the zero deployment of the PE device is the plug and play of the PE device. The PE device can achieve the purpose of self-starting and normal operation of the service without directly configuring the PE device through any CLI (Command Line Interface) or network manager, and only manual configuration is performed on the CB device as if a Line card is inserted. One of the prerequisites for zero deployment of a vertically stacked PE device is not any special configuration of the device at the time of shipment and is capable of identifying a vertically stacked environment and a non-vertically stacked environment. Because the PE device in the vertical stack environment is plug-and-play, and a Link between the CB device and the PE device is not fixed, the PE device needs to dynamically sense an uplink LACP (Link Aggregation Control Protocol) Link member port, and in order to implement zero deployment, the PE device needs to sense information such as a PE device version file storage path, version compiling time, version number, and the like. In the prior art, the PE device cannot dynamically sense the information of the member port and version file of the uplink LACP link.
Disclosure of Invention
The embodiment of the invention provides a configuration information notification method and a configuration information notification device for interface extension equipment, which are used for solving the problem that in a BR longitudinal stacking environment, PE equipment cannot sense configuration information of the PE equipment and further cannot perform zero deployment.
To solve the foregoing technical problem, an embodiment of the present invention provides a method for notifying configuration information of an interface extension device, where the method includes:
acquiring pre-stored configuration information of interface extension equipment, wherein the configuration information at least comprises: the device type, the version number of the device, the version compiling time and the version storing path;
filling the configuration information and the address information of the local terminal into a private message field of an example message;
and sending the example message to the interface expansion equipment through a cascade interface of the local terminal.
The embodiment of the invention also provides a configuration information notification method of the interface extension equipment, which comprises the following steps:
receiving an instance message with a private message field, wherein the private message field has configuration information of an interface extension device and address information of a control bridge, and the configuration information at least comprises: the device type, the version number of the device, the version compiling time and the version storing path;
analyzing the example message to obtain configuration information, and judging whether the equipment type in the configuration information is consistent with the type of the local terminal;
if the types are consistent, downloading the version file according to the configuration information and the address information of the control network bridge, and writing the configuration information into the configuration file of the local terminal.
An embodiment of the present invention further provides a device for notifying configuration information of an interface extension device, including: the device comprises an acquisition module, a processing module and a sending module;
the obtaining module is configured to obtain pre-stored configuration information of the interface expansion device, where the configuration information at least includes: the device type, the version number of the device, the version compiling time and the version storing path;
the processing module is used for filling the configuration information and the address information of the local terminal into a private message field of an example message;
and the sending module is used for sending the instance message to the interface expansion equipment through the cascade interface of the local terminal.
An embodiment of the present invention further provides a device for notifying configuration information of an interface extension device, including: the device comprises a receiving module, an analysis processing module and a judging module;
the receiving module is configured to receive an instance packet with a private packet field, where the private packet field includes configuration information of the interface extension device and address information of the control bridge, and the configuration information at least includes: the device type, the version number of the device, the version compiling time and the version storing path;
the analysis processing module is used for analyzing the example message to obtain configuration information;
the judging module is used for judging whether the equipment type in the configuration information is consistent with the type of the local terminal;
and the analysis processing module is also used for downloading a version file according to the configuration information and the address information of the control network bridge when the judgment module judges that the configuration information is consistent with the address information of the control network bridge, and writing the configuration information into a configuration file of the local terminal.
The embodiment of the present invention further provides a computer storage medium, where a computer executable instruction is stored in the computer storage medium, and the computer executable instruction is used to execute the configuration information notification method of the interface extension device.
The invention has the beneficial effects that:
according to the configuration information notification method, the configuration information notification device and the computer storage medium of the interface extension equipment provided by the embodiment of the invention, the configuration information and the address information of the local terminal are filled into the private message field of the example message by acquiring the pre-stored configuration information of the interface extension equipment, and the example message is sent to the interface extension equipment through the cascade interface; the configuration information of the interface expansion equipment is added to the example message in a private message field mode and sent to the interface expansion equipment, so that the interface expansion equipment can directly analyze and obtain the corresponding configuration information after receiving the example message, the dynamic perception of the configuration information of the interface expansion equipment is realized, and the zero deployment is further realized.
Drawings
Fig. 1 is a schematic structural diagram of a configuration communication device of an interface expansion apparatus according to a first embodiment of the present invention;
fig. 2 is a flowchart of a configuration communication method of an interface expansion device according to a first embodiment of the present invention;
fig. 3 is a schematic diagram of a basic format of a private message field according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a basic format of an LLDP 1BR private message field according to an embodiment of the present invention;
fig. 5 is a schematic diagram of an information format carried by an LLDP 1BR private message field according to an embodiment of the present invention;
fig. 6 is a schematic diagram illustrating specific information carried in an LLDP 1BR private message field according to an embodiment of the present invention;
fig. 7 is another schematic structural diagram of a configuration communication device of an interface expansion apparatus according to a second embodiment of the present invention;
fig. 8 is another flowchart of a configuration communication method of an interface expansion device according to a second embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The method and the device for notifying the configuration information of the interface expansion equipment provided by the embodiment of the invention have the advantages that the CB equipment side fills the acquired configuration information of the interface expansion equipment into the example message, the example message is added in a private message field (TLV) form, the example message added with the configuration information is sent to the interface expansion equipment through the cascade port, after the example message is received, the PE equipment side analyzes the example message to obtain the corresponding configuration information, judges whether the equipment type in the configuration information is consistent with the type of the PE equipment side or not, if so, downloads the corresponding version File from the CB through an FTP (File Transfer Protocol), and finally writes the analyzed configuration information into the configuration File of the PE side, thereby solving the problem that the PE equipment cannot dynamically sense the configuration information and leading the PE equipment to be in a longitudinal stacking environment, the configuration information may also be obtained by parsing the received instance packet, and the uplink LACP link member port is perceived, so as to implement zero deployment, where the specific zero deployment may be understood as that the PE device stores the port information into the PE device by detecting the connection link between the PE device and the CB device and the corresponding port, so as to implement the current corresponding version file of the PE device through the corresponding link.
The invention will now be further explained by means of embodiments in conjunction with the accompanying drawings.
The first embodiment:
referring to fig. 1, fig. 1 is a schematic structural diagram of a configuration information notification apparatus of an interface extension device provided in this embodiment, the configuration information notification apparatus 1 includes: an obtaining module 11, a processing module 12 and a sending module 13, wherein:
the obtaining module 11 is configured to obtain pre-stored configuration information of the interface expansion device, where the configuration information at least includes: the type of device. Version number of the device, version compiling time and version storage path.
The processing module 12 is configured to fill the configuration information and the address information of the local end acquired by the acquiring module 11 into a private message field of the instance message.
The sending module 13 is configured to send the instance packet to the interface expansion device through the cascade interface of the local end, where the instance packet is an instance packet carrying the configuration information.
In this embodiment, before the obtaining module 11 obtains the configuration information, the processing module 12 converts the configuration information of the interface expansion device into a form of a configuration file in advance, and stores the configuration file in the local device, and when an instance packet needs to be sent, the obtaining module 11 obtains the configuration information by reading the configuration file, specifically, the processing module 12 stores the configuration information in a flash of the device, and converts the configuration information into the configuration file, which is then stored, where the configuration file may be an XML file, and the obtaining module 11 reads the XML file from the flash, and parses the file to obtain the configuration information of the interface expansion device, such as the type of the PE device, the version number of the PE device, the version compiling time, and the version storing path.
In this embodiment, after obtaining the configuration information, the processing module 12 is further configured to add a private packet field to the instance, and then fill the obtained configuration information into the private TLV according to the corresponding format, specifically, the processing module 12 fills the configuration information and the address information of the local terminal into the packet content in the private packet field of the instance packet in the corresponding format, and sets the private packet field type and the private packet field information length in the packet header of the packet field.
In this embodiment, the configuration information of each port of the interface expansion device is not fixed, and when the configuration information of the interface expansion device needs to be modified, only the corresponding content of the configuration file stored in the flash on the local terminal needs to be modified. The obtaining module 11 obtains the configuration file of the interface expansion device from the flash at irregular time, analyzes the configuration file to obtain corresponding configuration information, then refills the configuration information into the private TLV of the instance packet, and sends the configuration information to the interface expansion device, so as to update the configuration information, without changing the two ends at the same time, as long as the configuration file content at one end is modified, the other end can automatically modify according to the sent instance packet, thereby realizing the dynamic sensing configuration information of the PE device, and realizing the zero deployment of the PE device.
Based on the hardware basis of the configuration information notification apparatus 1 provided in fig. 1, the present invention further provides a configuration information notification method of an interface extension device, as shown in fig. 2, the configuration information notification method provided in this embodiment includes the following processing steps:
s202, the configuration information of the interface expansion equipment which is stored in advance is obtained.
In this step, the configuration information includes at least: preferably, it is understood that the configuration information may be stored in a specific configuration file, and the specific configuration information notification device sends an instance message, specifically, an LLDP neighbor bridge instance message, to which the configuration information of the PE device is added, in a private TLV format.
In this embodiment, the acquiring the configuration information specifically includes: the device converts the configuration information on the interface expansion device into a configuration file in advance, or stores the configuration file in a configuration file, and then stores the configuration file in a memory of the device for saving, for example: and storing in a flash. When the write-in instance message needs to be read, the device reads the configuration file from the flash, and analyzes the configuration file to obtain configuration information of the type of the device, the version number of the device, version compiling time, a version storage path and the like.
S204, the configuration information and the address information of the local terminal are filled into the private message field of the example message.
In this step, after the configuration information is obtained, a private message field is added to the instance message, as shown in fig. 3, fig. 3 is a basic format schematic diagram of the message field provided in this embodiment, where the message field specifically includes a header of the message field and information content of the message field, and the header further includes a type of the message field and a length of header information.
In this embodiment, the processing module adds the obtained PE device to the instance packet, where the format of the private TLV addition specifically includes a type TLV type of the packet field and a length of header information in a header of the packet field, and an information content of the packet field includes each link identifier, a private TLV subtype and a corresponding packet content Value, as specifically shown in fig. 4.
In this embodiment, after the 1BR private TLV definition is completed according to the format of fig. 4, the processing module needs to fill the obtained configuration information into the TLV, where the specifically filled configuration information includes: and correspondingly filling the configuration information into a position corresponding to the TLV.
In this embodiment, in order to implement that the PE devices can dynamically perceive the configuration information of each interface expansion device, the processing module further fills the configuration information of the next PE device into the TLV, so that the next PE device can also simultaneously learn the corresponding configuration information to implement the deployment of the device, as specifically shown in fig. 5. For example, when the configuration information of the PE device specifically includes a device ID of 0x01, a version change FLAG of 0x00, a version compilation information generation identifier of hash, a compilation time of 20151110957, a version number of V3.02.20B13, and a version name of msxp.
S206, the example message is sent to the interface expansion equipment through the cascade interface of the local terminal.
In this embodiment, after the message field is set in step S204 and the configuration information is filled into the instance message according to the set message field, the sending module sends the instance message with the configuration information to the interface expansion device through the local cascade interface, and the interface expansion device performs parsing and deployment according to the received message.
According to the configuration information notification method and device for the interface expansion device, the configuration information of the interface expansion device is acquired through the acquisition module, and is filled into the example message, so that the example message is sent together with the configuration information of the PE device, and after the PE device receives the example message, the PE device can analyze the example message to obtain the configuration information, so that the PE device can acquire the member port of the uplink device, and perform corresponding zero deployment according to the acquired configuration information.
Second embodiment:
referring to fig. 7, fig. 7 is a schematic structural diagram of a configuration information notification apparatus of an interface extension device according to an embodiment of the present invention, in this embodiment, the configuration information notification apparatus 7 of the interface extension device includes: a receiving module 71, an analysis processing module 72 and a judging module 73, wherein:
the receiving module 71 is configured to receive an instance packet with a private packet field, where the private packet field has configuration information of the interface extension device and address information of the control bridge, where the configuration information at least includes: specifically, the receiving module 71 receives the instance message, which is an LLDP near bridge instance message sent by the CB device.
The parsing module 72 is configured to parse the instance packet received by the receiving module 71 to obtain configuration information of the corresponding PE device.
The judging module 73 is configured to judge whether the device type in the configuration information analyzed by the analysis processing module 72 is consistent with the local type.
The parsing module 72 is further configured to download a file according to the configuration information and the address information of the control network bridge when the determining module 73 determines that the configuration information is consistent with the address information of the control network bridge, and write the configuration information into the configuration file of the local terminal.
In this embodiment, when receiving an instance packet, the configuration information notification device 7 of the interface extension device first detects whether the instance packet has a private TLV of 1BR, if so, analyzes the instance packet through the analysis processing module 72 to obtain a device type, then determines, by the determining module 73, whether the analyzed device type is consistent with the device type of the local terminal, and if so, determines that a port of the PE device receiving the packet is a member port of an uplink LACP link of the PE device, and the current environment is a vertical stacking environment, and continues to analyze according to the transmitted private TLV format of 1BR to obtain an IP address of a VLAN1 of a CB and corresponding version file information of the PE device, where the version file information of the PE device includes a version number of the device, version compilation time, a version storage path, and the like.
In this embodiment, after the analysis processing module 72 obtains the version storage path of the PE device and the port for sending the instance packet through analysis, a version file corresponding to the version information is downloaded from the CB device according to the obtained version storage path, specifically, the version file is downloaded through a file transfer protocol.
In this embodiment, after downloading the version file according to the version file information of the PE device, the parsing processing module 72 further writes the parsed configuration information into the configuration file of the local terminal, so that when the PE device is deployed at one time, the configuration file of the local terminal can be directly read from the configuration file of the local terminal, and the version file information can be directly read from the configuration file of the local terminal.
In this embodiment, because the example message received by the configuration information notification device 7 of the interface extension device includes configuration information of the PE device, connection links between the CB device and the PE device are different, but the PE device may directly obtain a corresponding port according to the received message, and use the port information of the PE device obtained from the message as a member port of an uplink LACP link of the local device, and download a corresponding version file from the CB, thereby implementing deployment of the device by the PE device according to the received message.
Based on the hardware basis of the configuration information notification apparatus 7 of the interface extension device provided in fig. 7, the present invention further provides a configuration information notification method of the interface extension device, as shown in fig. 8, where the processing steps of the configuration information notification method provided in this embodiment are as follows:
s802, receiving an instance message with a private message field, wherein the private message field has configuration information of the interface extension device and address information of the control network bridge.
In this example, the configuration information includes at least: the specific configuration information notification device receives an instance message, specifically, an LLDP nearest bridge instance message sent by the CB device, where the instance message is added with configuration information of the PE device and is added in a private TLV format.
S804, the example message is analyzed to obtain configuration information.
In this step, when receiving the instance packet, the configuration information notification device first detects whether the instance packet has a private TLV of 1BR, if so, analyzes the instance packet through the analysis processing module 72 to obtain a device type, then the determination module 73 determines whether the analyzed device type is consistent with the device type of the local terminal, and if so, determines that the port of the PE device receiving the packet is a member port of an uplink LACP link of the PE device, the current environment is a vertical stacking environment, and continues to analyze according to the transmitted private TLV format of 1BR to obtain an IP address of VLAN1 of the CB and corresponding version file information of the PE device, where the version file information of the PE device includes a version number of the device, version compiling time, a version storage path, and the like.
S806, judging whether the device type in the configuration information is consistent with the type of the local terminal.
And S808, if the judgment in the step S806 is consistent, downloading the version file according to the configuration information and the address information of the control network bridge, and writing the configuration information into the configuration file of the local terminal.
In this embodiment, when the device type, the version number of the device, the version compiling time, the version storing path, the port of the PE device, and the like obtained by the parsing are determined to be consistent, the configuration information notification device performs zero deployment, specifically, searches for a corresponding communication link through the port of the PE device obtained by the parsing, connects with the CB through the communication link, downloads a version file corresponding to the version number from the CB device in an FTP manner according to the version number of the device, and deploys according to the version file. Further, the configuration information notification device writes the parsed configuration information into a configuration file of the local terminal, where the configuration file may be an XML file, and writes the configuration information into the XML file and stores the configuration information in a flash of the local terminal, and when the PE device needs to be deployed again, the configuration information of the PE device may be obtained by directly reading the XML file from the flash.
To sum up, the method and apparatus for notifying configuration information of an interface expansion device according to the embodiments of the present invention specifically include filling, by a processing module, acquired configuration information of a PE device in a private TLV format into an instance message, sending, by a sending module, the instance message with the private TLV to a PE device end through a cascade interface, after receiving the instance message with the private TLV, the PE device performing parsing processing on the instance message to obtain configuration information of the sent PE device, determining whether a device type in the configuration information is consistent with a type of the end, and if so, downloading a version file from a CB device according to the configuration information and address information; by implementing the method provided by the embodiment of the invention, the PE equipment can directly obtain the configuration information of the PE equipment through the received message, the link information between the CB equipment and the P equipment and the member port of the uplink LACP link of the PE equipment can be obtained without manual operation or equipment processing through gateway equipment, and the version file is downloaded from the CB for deployment and setting according to the analyzed information, so that the dynamic perception configuration information of the PE equipment is realized.
It will be apparent to those skilled in the art that the modules or steps of the embodiments of the invention described above may be implemented in a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented in program code executable by a computing device, such that they may be stored on a computer storage medium (ROM/RAM, magnetic disk, optical disk) and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The foregoing is a more detailed description of embodiments of the present invention, and the present invention is not to be considered limited to such descriptions. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (11)

1. A configuration information notification method of an interface extension device comprises the following steps:
acquiring pre-stored configuration information of interface extension equipment, wherein the configuration information at least comprises: the device type, the version number of the device, the version compiling time and the version storing path;
filling the configuration information and the address information of the local terminal into a private message field of an example message;
and sending the example message to the interface expansion equipment through a cascade interface of the local terminal.
2. The method of claim 1, wherein the obtaining of the pre-stored configuration information of the interface extension device comprises: the configuration information of the interface expansion equipment is pre-stored in a local terminal in a configuration file mode, and the configuration information of the interface expansion equipment is obtained by reading the configuration file.
3. The method according to claim 1 or 2, wherein the filling the configuration information and the address information of the local terminal into the private message field of the instance message comprises: and filling the configuration information and the address information of the local terminal into the message content in the private message field of the example message, and setting the private message field type and the private message field information length in the header of the private message field.
4. The method according to claim 1 or 2, wherein the instance packet is a bridge instance packet closest to LLDP.
5. A configuration information notification method of an interface extension device comprises the following steps:
receiving an instance message with a private message field, wherein the private message field has configuration information of an interface extension device and address information of a control bridge, and the configuration information at least comprises: the device type, the version number of the device, the version compiling time and the version storing path;
analyzing the example message to obtain configuration information, and judging whether the equipment type in the configuration information is consistent with the type of the local terminal;
if the types are consistent, downloading the version file according to the configuration information and the address information of the control network bridge, and writing the configuration information into the configuration file of the local terminal.
6. The method of claim 5, wherein downloading the version file according to the configuration information and the address information of the control bridge comprises: and acquiring the version number, version compiling time and version storage path of the equipment in the configuration information, and downloading the version file from the control network bridge by using the address information of the control network bridge and according to a file transfer protocol.
7. A configuration information notification apparatus of an interface extension device, comprising: the device comprises an acquisition module, a processing module and a sending module;
the obtaining module is configured to obtain pre-stored configuration information of the interface expansion device, where the configuration information at least includes: the device type, the version number of the device, the version compiling time and the version storing path;
the processing module is used for filling the configuration information and the address information of the local terminal into a private message field of an example message;
and the sending module is used for sending the instance message to the interface expansion equipment through the cascade interface of the local terminal.
8. The apparatus according to claim 7, wherein the processing module is further configured to store the configuration information of the interface expansion device in a local terminal in advance in a configuration file manner, and the obtaining module obtains the configuration information of the interface expansion device by reading the configuration file.
9. The apparatus according to claim 7 or 8, wherein the processing module is further configured to fill the configuration information and the address information of the local terminal into the message content in the private message field of the instance message, and set the private message field type and the private message field information length in the header of the private message field.
10. A configuration information notification apparatus of an interface extension device, comprising: the device comprises a receiving module, an analysis processing module and a judging module;
the receiving module is configured to receive an instance packet with a private packet field, where the private packet field includes configuration information of the interface extension device and address information of the control bridge, and the configuration information at least includes: the device type, the version number of the device, the version compiling time and the version storing path;
the analysis processing module is used for analyzing the example message to obtain configuration information;
the judging module is used for judging whether the equipment type in the configuration information is consistent with the type of the local terminal;
and the analysis processing module is also used for downloading a version file according to the configuration information and the address information of the control network bridge when the judgment module judges that the configuration information is consistent with the address information of the control network bridge, and writing the configuration information into a configuration file of the local terminal.
11. The device of claim 10, wherein the parsing module is further configured to obtain a version number, version compilation time, and version storage path of the device in the configuration information, and download the version file from the control bridge according to a file transfer protocol by using address information of the control bridge.
CN201610422090.2A 2016-06-13 2016-06-13 Configuration information notification method and device for interface extension equipment Active CN107493185B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610422090.2A CN107493185B (en) 2016-06-13 2016-06-13 Configuration information notification method and device for interface extension equipment
PCT/CN2017/086721 WO2017215446A1 (en) 2016-06-13 2017-05-31 Configuration information notification method, configuration method and corresponding device for interface expansion apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610422090.2A CN107493185B (en) 2016-06-13 2016-06-13 Configuration information notification method and device for interface extension equipment

Publications (2)

Publication Number Publication Date
CN107493185A CN107493185A (en) 2017-12-19
CN107493185B true CN107493185B (en) 2022-03-25

Family

ID=60642064

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610422090.2A Active CN107493185B (en) 2016-06-13 2016-06-13 Configuration information notification method and device for interface extension equipment

Country Status (2)

Country Link
CN (1) CN107493185B (en)
WO (1) WO2017215446A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259228B (en) * 2017-12-22 2021-06-08 新华三技术有限公司 Network equipment virtualization system and equipment configuration method and device thereof
CN109274516B (en) * 2017-12-22 2022-01-25 新华三技术有限公司 Extended network bridge and online control method thereof
CN108494842A (en) * 2018-03-13 2018-09-04 国网江苏省电力有限公司无锡供电分公司 A kind of photovoltaic data acquisition method and system
CN108989094B (en) * 2018-06-27 2021-08-27 新华三技术有限公司合肥分公司 Method and device for installing patch package
CN111262928B (en) * 2020-01-15 2023-01-31 上海快仓智能科技有限公司 Data communication method, device, equipment, terminal and system
CN113726830B (en) * 2020-05-25 2023-09-12 网联清算有限公司 Message identifier generation method and device
CN112416457A (en) * 2020-11-19 2021-02-26 中国建设银行股份有限公司 Interface configuration file generation method and device
CN112506816A (en) * 2020-11-26 2021-03-16 珠海格力电器股份有限公司 Configuration information analysis method and device
CN112737852A (en) * 2020-12-30 2021-04-30 北京安博通科技股份有限公司 Method and device for standardizing network equipment configuration
CN115412619A (en) * 2022-07-21 2022-11-29 浙江众合科技股份有限公司 Log message real-time monitoring and analyzing method with user configurable message format
CN117278340B (en) * 2023-11-23 2024-02-13 瑞纳智能设备股份有限公司 Method for realizing low-power-consumption valve firmware upgrade, storage medium and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102769558A (en) * 2011-05-06 2012-11-07 中兴通讯股份有限公司 Method, system and controlling bridge for acquiring port extension topology information
CN103166874A (en) * 2013-03-25 2013-06-19 杭州华三通信技术有限公司 Message forwarding method and device
CN103516609A (en) * 2013-09-17 2014-01-15 杭州华三通信技术有限公司 Method and equipment for transmitting service messages
CN104243358A (en) * 2014-09-18 2014-12-24 杭州华三通信技术有限公司 Loading method and device for PE software in VCF system
CN104427012A (en) * 2013-09-04 2015-03-18 杭州华三通信技术有限公司 Port negotiation method and device
CN104468854A (en) * 2013-09-13 2015-03-25 杭州华三通信技术有限公司 Vertical converged framework constructing method and device
CN104618147A (en) * 2015-01-06 2015-05-13 杭州华三通信技术有限公司 Longitudinally stacked system management method and system
CN104702438A (en) * 2015-03-13 2015-06-10 杭州华三通信技术有限公司 PE apparatus management method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148749B (en) * 2010-11-05 2013-11-06 华为技术有限公司 Method and device for extending switch port
CN102739505B (en) * 2011-04-06 2017-02-08 中兴通讯股份有限公司 Method and system for controlling virtual channel flow in data center network
US9077650B2 (en) * 2012-05-31 2015-07-07 Broadcom Corporation Multi-homing in an extended bridge
US20150312151A1 (en) * 2014-04-29 2015-10-29 Dell Products L.P. Enhanced load distribution of non-unicast traffic to multi-homed nodes in a port extender environment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102769558A (en) * 2011-05-06 2012-11-07 中兴通讯股份有限公司 Method, system and controlling bridge for acquiring port extension topology information
CN103166874A (en) * 2013-03-25 2013-06-19 杭州华三通信技术有限公司 Message forwarding method and device
CN104427012A (en) * 2013-09-04 2015-03-18 杭州华三通信技术有限公司 Port negotiation method and device
CN104468854A (en) * 2013-09-13 2015-03-25 杭州华三通信技术有限公司 Vertical converged framework constructing method and device
CN103516609A (en) * 2013-09-17 2014-01-15 杭州华三通信技术有限公司 Method and equipment for transmitting service messages
CN104243358A (en) * 2014-09-18 2014-12-24 杭州华三通信技术有限公司 Loading method and device for PE software in VCF system
CN104618147A (en) * 2015-01-06 2015-05-13 杭州华三通信技术有限公司 Longitudinally stacked system management method and system
CN104702438A (en) * 2015-03-13 2015-06-10 杭州华三通信技术有限公司 PE apparatus management method and device

Also Published As

Publication number Publication date
CN107493185A (en) 2017-12-19
WO2017215446A1 (en) 2017-12-21

Similar Documents

Publication Publication Date Title
CN107493185B (en) Configuration information notification method and device for interface extension equipment
Pakzad et al. Efficient topology discovery in OpenFlow-based software defined networks
US10063470B2 (en) Data center network system based on software-defined network and packet forwarding method, address resolution method, routing controller thereof
CN113300877B (en) Network slice management method and equipment
CN105915427B (en) Message sending and receiving method and device
EP3226132A1 (en) Virtual machine instance deployment method and apparatus and device
CN107222324B (en) Service configuration method and device of network service
US9824080B2 (en) Automatic generation of forms for device configuration
US20200296624A1 (en) Frame aggregation method, network setting frame sending method, and device
CN108900384A (en) Network flow monitoring method, apparatus and system, computer readable storage medium
CN104426680A (en) Data transmission method, device and system
WO2017198003A1 (en) Service processing method and system
WO2021174943A1 (en) Data forwarding method and apparatus, and device and storage medium
CN112887229B (en) Session information synchronization method and device
US11656897B2 (en) Apparatus and method for network function virtualization in wireless communication system
CN114513429A (en) Transmission method for detection message, and method and equipment for determining reverse path
CN105763463B (en) Method and device for transmitting link detection message
CN107566143B (en) Longitudinal stacking discovery method and device
CN113810206B (en) Network automation arrangement management method, entity, controller and electronic equipment
EP3503484A1 (en) Message transmission method, device and network system
CN110391961A (en) A kind of tunnel binding method, equipment and system
CN111262782B (en) Message processing method, device and equipment
CN108123865B (en) Message processing method and device
CN114422297B (en) Multi-scene virtual network flow monitoring method, system, terminal and medium
CN108616453B (en) Method, device and system for network equipment

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