CN107332695A - A kind of method and device for disposing double layer network - Google Patents

A kind of method and device for disposing double layer network Download PDF

Info

Publication number
CN107332695A
CN107332695A CN201710453102.2A CN201710453102A CN107332695A CN 107332695 A CN107332695 A CN 107332695A CN 201710453102 A CN201710453102 A CN 201710453102A CN 107332695 A CN107332695 A CN 107332695A
Authority
CN
China
Prior art keywords
configuration
interchanger
double layer
layer network
information
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.)
Pending
Application number
CN201710453102.2A
Other languages
Chinese (zh)
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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology Co Ltd
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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201710453102.2A priority Critical patent/CN107332695A/en
Publication of CN107332695A publication Critical patent/CN107332695A/en
Pending legal-status Critical Current

Links

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
    • 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/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • H04L49/354Switches specially adapted for specific applications for supporting virtual local area networks [VLAN]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Small-Scale Networks (AREA)

Abstract

The embodiment of the present invention provides a kind of method and device for disposing double layer network, is related to communication technical field, can conveniently complete the deployment of double layer network.This method includes:Interchanger in double layer network is divided into the first interchanger and second switch, first interchanger is the interchanger of initial configuration in double layer network, second switch is the interchanger in double layer network in addition to the first interchanger, first interchanger can obtain configuration-direct, the configuration-direct includes configuration sharing information, and the configuration sharing information is the configuration information of all interchanger all sames in double layer network;And configuration sharing information is configured according to configuration-direct, and to connected second switch send configuration message;Wherein, the configuration message includes the configuration sharing information, and in the case where the first interchanger receives the configuration message, the first interchanger abandons the configuration message.The embodiment of the present invention is used to dispose double layer network.

Description

A kind of method and device for disposing double layer network
Technical field
The present invention relates to communication technical field, more particularly to a kind of method and device for disposing double layer network.
Background technology
With network flattening design, because the scale of double layer network progressively expands, thus in double layer network equipment number Amount is more and more, and the physical location distribution of equipment is also increasingly wider, generally to complete deployment double layer network, it is necessary to complete Into VLAN (English full name:Virtual local area network, english abbreviation:VLAN) divide and facility information Configuration (for example, configuration Spanning-Tree Protocol).At present when disposing double layer network, network design manager is needed by a wide range of It is mobile to carry out above-mentioned deployment (i.e. VLAN divisions, configuration Spanning-Tree Protocol manually come each equipment in respectively double layer network Deng), it could complete whole deployment double layer network, and when when being deployed with new modification, network is needed again in the double layer network The configuration of each equipment is respectively modified by moving on a large scale by deployment manager, therefore disposes double layer network in the prior art Method lose time, and implement very inconvenient.
In the prior art can by Generic Attribute Registration Protocol (Generic attribute registration, GVRP) disposed to realize Vlan automatic division in an equipment in double layer network, specifically, can be two layers at this VLAN divisions are carried out on an equipment (being properly termed as equipment 1) in network, and send GVRP messages, the GVRP messages can root Be delivered to according to GVRP dynamic vlan login mechanism on all devices in double layer network in addition to equipment 1 so that except equipment 1 with Outer all devices can be automatically performed Vlan division after GVRP messages are received, so as to realize whole double layer network VLAN divide automatically.
Although can realize that VLAN is divided automatically by GVRP in the prior art, the configuration of facility information is (for example, match somebody with somebody Put Spanning-Tree Protocol) but there is still a need for network design manager by moving come each in respectively double layer network on a large scale Equipment manual configuration realizes, so the method for deployment double layer network still has and lost time in the prior art, and implements The problem of coming very inconvenient.
The content of the invention
Embodiments of the invention provide a kind of method and device for disposing double layer network, can conveniently complete two layers The deployment of network.
First aspect is there is provided a kind of method for disposing double layer network, and the interchanger in double layer network is divided into the first interchanger And second switch, the first interchanger be double layer network in initial configuration interchanger, second switch be double layer network in remove Interchanger outside first interchanger, this method includes:
First interchanger obtains configuration-direct, and configuration-direct includes configuration sharing information, and configuration sharing information is two layers The configuration information of all interchanger all sames in network;
First interchanger configures configuration sharing information according to configuration-direct;
First interchanger is to connected second switch send configuration message;Wherein, configuration message includes shared Configuration information;
In the case where the first interchanger receives above-mentioned configuration message, the first interchanger abandons above-mentioned configuration message.
Optionally, above-mentioned configuration sharing information can include spanning tree configuration information, server address, NTP At least one of configuration information and NMP configuration information.
Optionally, above-mentioned configuration message can be GVRP messages.
Interchanger in the method for deployment double layer network provided in an embodiment of the present invention, double layer network is divided into the first interchanger And second switch, the first interchanger be double layer network in initial configuration interchanger, second switch be double layer network in remove Interchanger outside first interchanger, the first interchanger can obtain configuration-direct, and match somebody with somebody according to configuration-direct configuration is shared Confidence breath (being the configuration information of all interchanger all sames in double layer network);And first interchanger according to the configuration-direct Configure after configuration sharing information, can be sent to connected second switch includes the configuration report of configuration sharing information Text, and in the case where the first interchanger receives the configuration message, the first interchanger abandons the configuration message.So as to this hair Bright embodiment can (configuring configuration sharing information and being sent to second switch includes by the operation in the first interchanger The configuration message of configuration sharing information) such that all interchangers automatically configure configuration sharing information in double layer network, to complete two The deployment of layer network, compared to when disposing double layer network, network design manager is needed by moving on a large scale in the prior art Move and compared come each device configuration Spanning-Tree Protocol in respectively double layer network, two layers of deployment provided in an embodiment of the present invention The method of network can conveniently complete to dispose double layer network.
Further, in the case where the first interchanger receives above-mentioned configuration message, the first interchanger abandons above-mentioned match somebody with somebody Message is put, can so avoid repeating the configuration of configuration sharing information, and avoids repetition from receiving above-mentioned configuration message and is accounted for With the transfer resource of interchanger.
Second aspect is there is provided a kind of method for disposing double layer network, interchanger point and second switch in double layer network, First interchanger be double layer network in initial configuration interchanger, second switch be double layer network in addition to the first interchanger Interchanger, this method includes:
Second switch receives configuration message, and configuration message includes configuration sharing information, and configuration sharing information is two layers of net The configuration-direct information of all interchanger all sames of network;
Second switch configures configuration sharing information according to configuration message;
Other interchangers of second switch into connected double layer network forward the configuration message;
In the case where second switch receives above-mentioned configuration message again, second switch abandons above-mentioned configuration report Text.
Optionally, above-mentioned configuration sharing information can include spanning tree configuration information, server address, NTP At least one of configuration information and NMP configuration information.
Optionally, above-mentioned configuration message can be GVRP messages.
Interchanger in the method for deployment double layer network provided in an embodiment of the present invention, double layer network is divided into the first interchanger And second switch, the first interchanger be double layer network in initial configuration interchanger, second switch be double layer network in remove Interchanger outside first interchanger, second switch can receive configuration message, and the configuration sharing in configuration message Information (being the configuration information of all interchanger all sames in double layer network) completes network design, and to connected two layers Other interchangers in network forward the configuration message, and when second switch gets the configuration message again, second Interchanger abandons above-mentioned configuration message.Wherein, configuration message includes configuration sharing information, and the configuration sharing information is two layers of net The configuration information of all interchanger all sames in network.So as to which the embodiment of the present invention can pass through the operation in the first interchanger (configuring configuration sharing information and being sent to second switch includes the configuration message of configuration sharing information) causes double layer network In all interchangers automatically configure configuration sharing information, to complete the deployment of double layer network, compared in the prior art deployment During double layer network, network design manager is needed by moving on a large scale come each device configuration in respectively double layer network Spanning-Tree Protocol is compared, and the method for deployment double layer network provided in an embodiment of the present invention can conveniently complete two layers of deployment Network.
Further, in the case where second switch receives above-mentioned configuration message again, in second switch discarding Configuration message is stated, can so avoid repeating the configuration of configuration sharing information, and avoids repeating to receive above-mentioned configuration report Text takes the transfer resource of interchanger.
The third aspect there is provided a kind of first interchanger, including:Acquisition module, processing module and transceiver module;
Wherein, above-mentioned acquisition module, for obtaining configuration-direct, configuration-direct includes configuration sharing information, shared to match somebody with somebody Confidence breath is the configuration information of all interchanger all sames in double layer network;
Above-mentioned processing module, for configuring configuration sharing information according to configuration-direct;
Above-mentioned transceiver module, for connected second switch send configuration message;Wherein, wrapped in configuration message Include configuration sharing information;
Above-mentioned processing module, is additionally operable in the case where above-mentioned transceiver module receives above-mentioned configuration message, abandons above-mentioned Configuration message.
Optionally, above-mentioned configuration sharing information includes spanning tree configuration information, server address, NTP configuration At least one of information and NMP configuration information.
Optionally, above-mentioned configuration message is GVRP messages.
The associated description of the above-mentioned technique effect for first aspect is referred to for the technique effect of the third aspect, this Place is repeated no more.
Fourth aspect there is provided a kind of second switch, including:Processing module and transceiver module;
Above-mentioned receiving module, for receiving configuration message, configuration message includes configuration sharing information, and configuration sharing information is The configuration information of all interchanger all sames in double layer network;
Above-mentioned processing module, for configuring configuration sharing information according to configuration message;
Above-mentioned transceiver module, is additionally operable to other interchangers forwarding configuration message into connected double layer network;
Above-mentioned processing module, is additionally operable in the case where above-mentioned transceiver module receives above-mentioned configuration message again, abandons Above-mentioned configuration message.
Optionally, above-mentioned configuration sharing information can include spanning tree configuration information, server address, NTP At least one of configuration information and NMP configuration information.
Optionally, above-mentioned configuration message can be GVRP messages.
The associated description of the above-mentioned technique effect for second aspect is referred to for the technique effect of fourth aspect, this Place is repeated no more.
Brief description of the drawings
Fig. 1 is a kind of configuration diagram of double layer network provided in an embodiment of the present invention;
Fig. 2 is a kind of method schematic diagram for disposing double layer network provided in an embodiment of the present invention;Fig. 3 is the embodiment of the present invention A kind of structural representation of first interchanger provided;
Fig. 4 is a kind of structural representation of second switch provided in an embodiment of the present invention.
Embodiment
Term " first " and " second " in the embodiment of the present invention etc. are to be used to distinguish different objects, rather than for describing The particular order of object.For example, the first interchanger and second switch are for distinguishing different interchangers, rather than for retouching State the particular order of interchanger.
In embodiments of the present invention, word " exemplary " or " such as " makees example, illustration or explanation for expression.This Any embodiment or design for being described as " exemplary " or " such as " in inventive embodiments are not necessarily to be construed as ratio Other embodiments or design more preferably or more advantage.Specifically, word purport using " exemplary " or " such as " Related notion is being presented in a concrete fashion.
A kind of method and device for disposing double layer network provided in an embodiment of the present invention is carried out below in conjunction with the accompanying drawings detailed Description.
In the prior art, when disposing double layer network, it can realize that VLAN is divided automatically by GVRP, but double layer network Configuration (for example, configuration Spanning-Tree Protocol) in middle interchanger but there is still a need for network design manager by move on a large scale come Each equipment manual configuration respectively in double layer network realize, so the method for deployment double layer network is still in the prior art The problem of so existing and lose time, and implement very inconvenient.
In order to solve the above problems, the embodiment of the present invention provides a kind of method and device for disposing double layer network, Neng Goufang Just the deployment of double layer network is efficiently completed.
Generally, interchanger is the capital equipment in double layer network, and the double layer network in the embodiment of the present invention can include many Interchanger in individual interchanger, and the double layer network can be divided into the first interchanger and second switch, wherein, the first interchanger For the interchanger of initial configuration in double layer network, and second switch can be in double layer network in addition to above-mentioned first interchanger Interchanger.
In the embodiment of the present invention, the multiple switch that can be selected in double layer network selects any one interchanger as One interchanger, other interchangers in addition to the first interchanger are as second switch.Optionally, in order to ensure network pacify Entirely, network design manager can be controlled to the authority of interchanger, for example, can be arranged on multiple exchanges of double layer network Initial configuration (namely as first interchanger) can be carried out by only having an interchanger in machine.
The method of the deployment double layer network provided in the embodiment of the present invention, can configure configuration sharing information (i.e. two layers net The configuration information of all interchanger all sames in network), the configuration sharing information includes but is not limited to spanning tree configuration information, service Device address, NTP (English full name:Network time protocol, english abbreviation:NTP) configuration information and net Network management agreement (English full name:Simple network management protocol, english abbreviation:SNMP) configuration information At least one of.
Exemplary, as shown in figure 1, be a kind of configuration diagram of double layer network provided in an embodiment of the present invention, wherein, Fig. 1 is to include nine interchangers, 1 the first interchanger (being expressed as W11 in Fig. 1) and 8 second friendships with the double layer network Change planes (in Fig. 1 in order to distinguish 8 second switch, by 8 second switch be expressed as W21, W22, W23, W24, W25, W26, W27 and W28) exemplified by illustrate, nine interchangers can be connected to form double layer network by cable, For the ease of representing, only it is shown in solid in Fig. 1.
Exemplary, with reference to Fig. 1, in the embodiment of the present invention, the deployment manager of double layer network can be in the first interchanger Middle execution corresponding configuration (this is configured to the configuration of the interchanger all same in double layer network, such as spanning tree configuration information) operation To cause the first interchanger to obtain configuration-direct, then configuration sharing information (i.e. two of first interchanger in configuration-direct The configuration information of all interchanger all sames in layer network) configuration of configuration sharing information is completed, and configuration sharing will be included The configuration message of information (such as spanning tree configuration information) is sent to the second switch being connected with the first interchanger, then by with The second switch of first interchanger connection floods configuration message all interchangers into double layer network, so that two layers All second switch in network can be in configuration message configuration information complete configuration sharing information configuration, enter And complete the configuration of double layer network.
Further, in the case where the first interchanger receives above-mentioned configuration message, the first interchanger abandons above-mentioned match somebody with somebody Message is put, and in the case where second switch receives above-mentioned configuration message again, second switch abandons above-mentioned configuration Message, can so avoid repeating the configuration of configuration sharing information, and avoid repeating to receive above-mentioned configuration message occupancy The transfer resource of interchanger.
Optionally, in the embodiment of the present invention, all interchangers in double layer network are in same WLAN.
As shown in Fig. 2 the embodiment of the present invention provides a kind of method for disposing double layer network, this method comprises the following steps S101-S107。
S101, the first interchanger obtain configuration-direct, and the configuration-direct includes configuration sharing information.
Wherein, the configuration sharing information can be the configuration information of all interchanger all sames in double layer network.
Optionally, the configuration sharing information in the embodiment of the present invention includes but is not limited to spanning tree configuration information, server At least one of address, NTP configuration information and NMP configuration information.
Above-mentioned spanning tree configuration information can include the type of Spanning-Tree Protocol, and the function information in Spanning-Tree Protocol Etc. information.
Generally, Spanning-Tree Protocol is also known as expansion tree agreement, is one (English based on inventionthe open systems interconnection reference model Full name:Open system interconnection, english abbreviation:OSI data link layer (second layer) communications protocol), is used Work ensures a loop-free network environment.Reached by selectively clogging networks redundant link in elimination double layer network The purpose of loop.
Optionally, Spanning-Tree Protocol can include STP (English full name:Spanning tree protocol, Chinese:It is raw Into tree protocol), RSTP (English full name:Rapid spanning tree protocol, Chinese:RSTP) and MSTP (English full name:Multiple spanning tree protocol, Chinese:Multiple Spanning Tree Protocol) three types.
Above-mentioned server address can be the shared server of all interchangers in the double layer network, using present invention implementation The method of deployment double layer network is after interchanger in whole double layer network configures the server address, in double layer network in example Interchanger can pass through existing DHCP (English full name:dynamic host configuration Protocol, english abbreviation:DHCP) internet protocol address (English full name is obtained automatically:Internet protocol, English Abbreviation:IP) address, so as to realize its communication with other equipment after IP address is obtained.
Exemplary, above-mentioned NTP configuration informations can include opening the related function letter of the configured information of the NTP, the NTP Breath etc..Above-mentioned SNMP configuration informations can include the configured information for opening the snmp protocol, and the related function informations of SNMP Deng.
It should be noted that NTP is commonly used for the time synchronized between equipment, and it is exemplary, in above-mentioned NTP configurations The mark (IP address of such as server) with some equipment that indicates of the NTP can be included opening in information makes interchanger to it Server carries out time synchronized, and it can provide the time adjustment of high accurancy and precision, and the mode of encrypted acknowledgment can be used Prevent vicious protocol attack.Above-mentioned SNMP is commonly used for carrying out network management.Exemplary, in the embodiment of the present invention, Network design manager can perform corresponding configuration operation (such as life in first interchanger in first interchanger STP is selected into the type of tree protocol), corresponding first interchanger, which is obtained, can include life in configuration-direct, the configuration-direct Into tree configuration information, namely indicate the identification information of this Spanning-Tree Protocol of STP.
S102, the first interchanger configure configuration sharing information according to the configuration-direct.
In the embodiment of the present invention, the Spanning-Tree Protocol type configuration that the first interchanger can be indicated according to configuration-direct is corresponding Spanning-Tree Protocol type, to complete the network design of the first interchanger.
S103, the first interchanger are to connected second switch send configuration message.
Wherein, the configuration message includes above-mentioned configuration sharing information.
First interchanger can send the configuration report in send configuration message to the normal port of all physical connections Text.That is, the first interchanger is not influenceed (for example when receiving and dispatching configuration message by logical protocol in the embodiment of the present invention Port blocked specified in Spanning-Tree Protocol).
Optionally, in the embodiment of the present invention, the configuration message can be a kind of new report for setting in the embodiment of the present invention GVRP messages literary or of the prior art.
Configuration message in embodiments of the present invention be GVRP messages in the case of, according to embodiments of the present invention in deployment The method of double layer network is that the interchanger in double layer network completes network design (namely the above-mentioned configuration sharing information of configuration) Meanwhile, can realize that the VLAN in the double layer network is divided automatically by GVRP messages, due to by GVRP messages realize this two The detailed process that VLAN in layer network is divided automatically with it is identical in the prior art, so here is omitted.
It is exemplary, can be by original in the case that configuration message in embodiments of the present invention is GVRP messages GVRP messages on the basis of carry out field extension so that above-mentioned network design information (namely above-mentioned configuration sharing information) to be taken Band is in the GVRP messages.
GVRP messages of the prior art include destination address, source address, length (i.e. the length of message), purpose service visit Ask point, source service access point, control field and protocol Data Unit.Wherein, multiple message can be included in protocol Data Unit.
In the embodiment of the present invention, a carrying configuration sharing can be increased in the protocol Data Unit in the GVRP messages Message (the English of information (such as spanning tree configuration information):), message attribute type (the English of the message:attribute Type can be) 0x01 (it is GVRP that usual 0x01, which is represented), and in attribute event (English:Attribute event) defined in One new event, for example, can be expressed as 0x06, and the event is the configuration information of deployment, property value (English:attribute Value) corresponding field contents can be specific configuration sharing information (Spanning-Tree Protocol type as escribed above, in the word Corresponding Spanning-Tree Protocol type can be represented using the mark of Spanning-Tree Protocol type in section).
S104, second switch configure configuration sharing information according to the configuration message.
It is corresponding with the second exchange that first interchanger is connected to receive configuration report after the first interchanger performs S103 Text.
It should be noted that in the embodiment of the present invention, above-mentioned second switch can receive matching somebody with somebody for the first interchanger transmission The configuration message that other second switch for being connected with above-mentioned second switch are sent can also be received by putting message, and example of the present invention In be by its receive first interchanger send configuration message exemplified by illustrate.
In the embodiment of the present invention, when second switch is receiving and dispatching configuration message, do not influenceed (for example to give birth to by logical protocol Into port blocked specified in tree protocol), configuration message can be received from the normal port of the first interchanger physical connection.
Other interchangers of S105, second switch into connected double layer network forward the configuration message.
S106, in the case where the first interchanger receives the configuration message, the first interchanger abandons the configuration message.
S107, in the case where second switch receives the configuration message again, second switch abandons the configuration report Text.
It should be noted that during actual deployment double layer network, also exist the second switch that is connected with each other it Between interaction, but be due to that for each second switch, it is performed both by the deployment two shown in S104, S105 and S107 The method of layer network, thus for the interaction between the second switch of interconnection be referred to above-mentioned S104, S105 and S107 description, the present invention no longer elaborates.
Interchanger in the method for deployment double layer network provided in an embodiment of the present invention, double layer network is divided into the first interchanger And second switch, the first interchanger be double layer network in initial configuration interchanger, second switch be double layer network in remove Interchanger outside first interchanger, the first interchanger can obtain configuration-direct, and match somebody with somebody according to configuration-direct configuration is shared Confidence breath (being the configuration information of all interchanger all sames in double layer network);And first interchanger according to the configuration-direct Configure after configuration sharing information, can be sent to connected second switch includes the configuration report of configuration sharing information Text, and in the case where the first interchanger receives the configuration message, the first interchanger abandons the configuration message;Second exchanges Machine can receive configuration message, and in configuration message configuration sharing information (be in double layer network all interchangers it is equal Identical configuration information) network design is completed, and other interchangers into connected double layer network forward the configuration report Text, and in the case where second switch receives above-mentioned configuration message again, second switch abandons above-mentioned configuration message. Wherein, configuration message includes configuration sharing information, and the configuration sharing information is all interchanger all sames in double layer network Configuration information.So as to the embodiment of the present invention can by operation in the first interchanger (configuration configuration sharing information and to Second switch send include the configuration message of configuration sharing information) so that in double layer network all interchangers automatically configure it is shared Configuration information, to complete the deployment of double layer network, compared in the prior art dispose double layer network when, network design manager Need to compare come each device configuration Spanning-Tree Protocol in respectively double layer network by moving on a large scale, the present invention is implemented The method for the deployment double layer network that example is provided can conveniently complete to dispose double layer network.
Further, in the case where the first interchanger receives above-mentioned configuration message, the first interchanger abandons above-mentioned match somebody with somebody Message is put, and in the case where second switch receives above-mentioned configuration message again, second switch abandons above-mentioned configuration Message, can so avoid repeating the configuration of configuration sharing information, and avoid repeating to receive above-mentioned configuration message occupancy The transfer resource of interchanger.
Optionally, as shown in figure 3, the embodiment of the present invention provides a kind of first interchanger, first interchanger includes:Obtain Module 11, processing module 12 and transceiver module 13.
Wherein, acquisition module 11, for obtaining configuration-direct, configuration-direct includes configuration sharing information, configuration sharing Information is the configuration information of all interchanger all sames in double layer network.
Processing module 12, for configuring configuration sharing information according to configuration-direct.
Transceiver module 13, for connected second switch send configuration message;Wherein, configuration message includes Configuration sharing information.
Above-mentioned processing module 12, is additionally operable in the case where above-mentioned transceiver module receives above-mentioned configuration message, in discarding State configuration message.Optionally, above-mentioned configuration sharing information includes spanning tree configuration information, server address, NTP At least one of configuration information and NMP configuration information.
Optionally, above-mentioned configuration message can be GVRP messages.
Optionally, as shown in figure 4, the embodiment of the present invention provides a kind of second switch, the second switch includes:Processing Module 21 and transceiver module 22.
Wherein, transceiver module 22, for receiving configuration message, configuration message includes configuration sharing information, configuration sharing letter Cease for the configuration information of all interchanger all sames in double layer network.
Processing module 21, for configuring configuration sharing information according to configuration message.
Transceiver module 22, is additionally operable to other interchangers forwarding configuration message into connected double layer network.
Above-mentioned processing module, is additionally operable in the case where above-mentioned transceiver module receives above-mentioned configuration message again, abandons Above-mentioned configuration message.
Optionally, above-mentioned configuration sharing information can include spanning tree configuration information, server address, NTP At least one of configuration information and NMP configuration information.
Optionally, configuration message is GVRP messages.Technical scheme provided in an embodiment of the present invention is substantially in other words to existing Have a part that technology contributes, or the technical scheme all or part can by software program, hardware, firmware or It is combined to realize.When being realized using software program, the computer program product refers to including one or more computers Order.When loading and perform the computer instruction on computers, produce whole or in part according to the stream in the embodiment of the present invention Journey or function.The computer can be all-purpose computer, special-purpose computer, computer network or other programmable devices.Should Computer instruction can be stored in a computer-readable storage medium, or from a computer-readable recording medium to another Computer-readable recording medium is transmitted, for example, the computer instruction can be from web-site, computer, server or number According to centrally through wired (such as coaxial cable, optical fiber, Digital Subscriber Line (digital subscriber line, DSL)) mode Or wireless (such as infrared, wireless, microwave) mode is transmitted to another web-site, computer, server or data center. The computer-readable recording medium can be any usable medium that can access of computer or including it is one or more can With data storage devices such as the integrated server of medium, data centers.The usable medium can be magnetic medium (for example, floppy disk, Disk, tape), optical medium (for example, digital video disk (digital video disc, DVD)) or semiconductor medium (such as solid state hard disc (solid state drives, SSD)) etc..
Through the above description of the embodiments, it is apparent to those skilled in the art that, for description It is convenient and succinct, can be as needed and by above-mentioned work(only with the division of above-mentioned each functional module for example, in practical application It can distribute and be completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, more than completion The all or part of function of description.The specific work process of the system, apparatus, and unit of foregoing description, may be referred to foregoing side Corresponding process in method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the module or The division of unit, only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units Or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, institute Display or the coupling each other discussed or direct-coupling or communication connection can be by some interfaces, device or unit INDIRECT COUPLING or communication connection, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in the application each embodiment can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
More than, it is only the embodiment of the present invention, but protection scope of the present invention is not limited thereto, and it is any to be familiar with Those skilled in the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be covered Within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (12)

1. a kind of method for disposing double layer network, it is characterised in that the interchanger in double layer network is divided into the first interchanger and the Two interchangers, first interchanger is the interchanger of initial configuration in double layer network, and the second switch is double layer network In interchanger in addition to first interchanger, methods described includes:
First interchanger obtains configuration-direct, and the configuration-direct includes configuration sharing information, the configuration sharing information For the configuration information of all interchanger all sames in double layer network;
First interchanger configures the configuration sharing information according to the configuration-direct;
First interchanger is to connected second switch send configuration message;Wherein, the configuration message includes The configuration sharing information;
In the case where first interchanger receives the configuration message, first interchanger abandons the configuration report Text.
2. according to the method described in claim 1, it is characterised in that the configuration sharing information include spanning tree configuration information, At least one of server address, NTP configuration information and NMP configuration information.
3. method according to claim 1 or 2, it is characterised in that the configuration message is GVRP messages.
4. a kind of method for disposing double layer network, it is characterised in that the interchanger in double layer network is divided into the first interchanger and the Two interchangers, first interchanger is the interchanger of initial configuration in double layer network, and the second switch is double layer network In interchanger in addition to first interchanger, methods described includes:
The second switch receives configuration message, and the configuration message includes configuration sharing information, the configuration sharing information For the configuration information of all interchanger all sames in double layer network;
The second switch configures the configuration sharing information according to the configuration message;
Other interchangers of the second switch into connected double layer network forward the configuration message;
In the case where the second switch receives the configuration message again, the second switch abandons the configuration Message.
5. method according to claim 4, it is characterised in that the configuration sharing information include spanning tree configuration information, At least one of server address, NTP configuration information and NMP configuration information.
6. the method according to claim 4 or 5, it is characterised in that the configuration message is GVRP messages.
7. a kind of first interchanger, it is characterised in that including:Acquisition module, processing module and transceiver module;
The acquisition module, for obtaining configuration-direct, the configuration-direct includes configuration sharing information, the configuration sharing letter Cease for the configuration information of all interchanger all sames in double layer network;
The processing module, for configuring the configuration sharing information according to the configuration-direct;
The transceiver module, for connected second switch send configuration message;Wherein, wrapped in the configuration message Include the configuration sharing information;
The processing module, is additionally operable in the case where the transceiver module receives the configuration message, abandons the configuration Message.
8. the first interchanger according to claim 7, it is characterised in that
The configuration sharing information includes spanning tree configuration information, server address, NTP configuration information and network At least one of management agreement configuration information.
9. the first interchanger according to claim 7 or 8, it is characterised in that the configuration message is GVRP messages.
10. a kind of second switch, it is characterised in that including:Processing module and transceiver module;
The transceiver module, for receiving configuration message, the configuration message includes configuration sharing information, the configuration sharing letter Cease for the configuration information of all interchanger all sames in double layer network;
The processing module, for configuring the configuration sharing information according to the configuration message;
The transceiver module, other interchangers being additionally operable into connected double layer network forward the configuration message;
The processing module, is additionally operable in the case where the transceiver module receives the configuration message again, abandons described Configuration message.
11. second switch according to claim 10, it is characterised in that the configuration sharing information is matched somebody with somebody including spanning tree At least one of confidence breath, server address, NTP configuration information and NMP configuration information.
12. the second switch according to claim 10 or 11, it is characterised in that the configuration message is GVRP messages.
CN201710453102.2A 2017-06-15 2017-06-15 A kind of method and device for disposing double layer network Pending CN107332695A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710453102.2A CN107332695A (en) 2017-06-15 2017-06-15 A kind of method and device for disposing double layer network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710453102.2A CN107332695A (en) 2017-06-15 2017-06-15 A kind of method and device for disposing double layer network

Publications (1)

Publication Number Publication Date
CN107332695A true CN107332695A (en) 2017-11-07

Family

ID=60194980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710453102.2A Pending CN107332695A (en) 2017-06-15 2017-06-15 A kind of method and device for disposing double layer network

Country Status (1)

Country Link
CN (1) CN107332695A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110995502A (en) * 2019-12-18 2020-04-10 迈普通信技术股份有限公司 Network configuration management method, device, switching equipment and readable storage medium
CN111769960A (en) * 2019-03-30 2020-10-13 华为技术有限公司 Configuration method and device
CN115136558A (en) * 2020-02-12 2022-09-30 奥迪股份公司 Method for configuring a network, in particular in a motor vehicle

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247300A (en) * 2007-12-11 2008-08-20 中兴通讯股份有限公司 Stack system operating GVRP and its distributed processing method
CN101945050A (en) * 2010-09-25 2011-01-12 中国科学院计算技术研究所 Dynamic fault tolerance method and system based on fat tree structure
US8279752B1 (en) * 2007-06-27 2012-10-02 World Wide Packets, Inc. Activating tunnels using control packets
CN105471651A (en) * 2015-12-04 2016-04-06 武汉烽火网络有限责任公司 VLAN synchronization method in two-layer network, local switch and remote switch
CN106209690A (en) * 2015-05-08 2016-12-07 中兴通讯股份有限公司 A kind of synchronize the method for configuration information, main equipment and standby equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8279752B1 (en) * 2007-06-27 2012-10-02 World Wide Packets, Inc. Activating tunnels using control packets
CN101247300A (en) * 2007-12-11 2008-08-20 中兴通讯股份有限公司 Stack system operating GVRP and its distributed processing method
CN101945050A (en) * 2010-09-25 2011-01-12 中国科学院计算技术研究所 Dynamic fault tolerance method and system based on fat tree structure
CN106209690A (en) * 2015-05-08 2016-12-07 中兴通讯股份有限公司 A kind of synchronize the method for configuration information, main equipment and standby equipment
CN105471651A (en) * 2015-12-04 2016-04-06 武汉烽火网络有限责任公司 VLAN synchronization method in two-layer network, local switch and remote switch

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111769960A (en) * 2019-03-30 2020-10-13 华为技术有限公司 Configuration method and device
CN111769960B (en) * 2019-03-30 2022-04-12 华为技术有限公司 Configuration method and device
CN110995502A (en) * 2019-12-18 2020-04-10 迈普通信技术股份有限公司 Network configuration management method, device, switching equipment and readable storage medium
CN115136558A (en) * 2020-02-12 2022-09-30 奥迪股份公司 Method for configuring a network, in particular in a motor vehicle

Similar Documents

Publication Publication Date Title
US8798064B2 (en) Method and system of frame forwarding with link aggregation in distributed ethernet bridges
CN105162704B (en) The method and device of multicast replication in Overlay network
JPH10224382A (en) Method and device for re-configuring virtual lan for network device
CN100531196C (en) Technology for improving STP protocols in Ethernet networks supporting VLANS
CN104468219A (en) Virtual networking network topology discovery method and device
CN104092684B (en) A kind of OpenFlow agreements support VPN method and apparatus
CN107332695A (en) A kind of method and device for disposing double layer network
CN104158768B (en) A kind of method and system of extended network interface, the method for receiving and dispatching message
EP2873196B1 (en) Connectivity fault management in a communication network
CN107911297A (en) A kind of SDN network band control Path Setup method and apparatus
EP1913736B1 (en) Spanning tree bpdu processing method and apparatus facilitating integration of different native vlan configurations
CN104301226A (en) Designated routing bridge (DRB) election method, equipment and system
EP2728797A1 (en) Message processing method, device and system
KR100846630B1 (en) A method for providing point-to-point service in resilient packet ring
EP3691210B1 (en) Flexible ethernet message forwarding method and apparatus
CN106713010A (en) Communication method and system for avionics network system
CN105763489A (en) Method and system for expanding the exchange capacity of exchange service chip
JP2002353998A (en) Communication unit and network system employing the same, and spanning tree buildup method
CN103780437B (en) A kind of information synchronization method and device
CN105681229A (en) Method for extending port serial numbers and switch
CN102480413B (en) Digital microwave equipment, network and network management data transmission method
CN111756659A (en) Multi-master station EtherCAT network implementation method and network system adopting same
US20150113108A1 (en) Method for implementing virtual network, and network management system
CN107786441A (en) A kind of communication means, OpenFlow interchangers and communication system
CN112866143B (en) Device and chip for realizing 802.1CB protocol

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171107