CN105515861A - Network configuration-avoiding method and device - Google Patents

Network configuration-avoiding method and device Download PDF

Info

Publication number
CN105515861A
CN105515861A CN201510906123.6A CN201510906123A CN105515861A CN 105515861 A CN105515861 A CN 105515861A CN 201510906123 A CN201510906123 A CN 201510906123A CN 105515861 A CN105515861 A CN 105515861A
Authority
CN
China
Prior art keywords
equipment
port
notification packet
information notification
vlan
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.)
Granted
Application number
CN201510906123.6A
Other languages
Chinese (zh)
Other versions
CN105515861B (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.)
Ruijie Networks Co Ltd
Original Assignee
Fujian Star Net Communication 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 Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN201510906123.6A priority Critical patent/CN105515861B/en
Publication of CN105515861A publication Critical patent/CN105515861A/en
Application granted granted Critical
Publication of CN105515861B publication Critical patent/CN105515861B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/0866Checking the configuration

Landscapes

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

Abstract

The invention provides a network configuration-avoiding method and device. Through the adoption of the network configuration-avoiding method and device, a main device is used for sending a user-defined information announcement message to a slave device, and carries port allowable VLAN list information in the message so that the slave device can acquire the VLAN list and sets the same on the self port; furthermore, the address acquisition is performed on a VLAN in the list, the subsequent interaction process and the configuration of the slave device are all automatically performed except that the original main device setting needs to be done manually, the problem that the network configuration and maintenance in the prior art is complex and easy to get wrong is solved; the configuration efficiency of the network device is improved, and the error probability is lowered.

Description

A kind of network exempts from collocation method and device
Technical field
The present invention relates to communication technical field, particularly relate to a kind of network and exempt from collocation method and device.
Background technology
In the network of prior art, have spider lines and wireless network.Wherein cable network relates to outlet device, core switch, access switch; Wireless network relates to AC (WirelessAccessPointController, Radio Access Controller), wireless aps (AccessPoint, WAP (wireless access point)) equipment etc.Dispose when implementing and all need to carry out manual configuration for platform equipment every in network, whole layoutprocedure is loaded down with trivial details, and is easy to make mistakes, and troubleshooting procedure quite bothers, and expends more energy.
After the network hardware is implemented, there is following subject matter in said process:
1, need to establish the mode such as alternate serial port or network interface to configure for platform every in network, process is complicated:
A) equipment needs the address acquisition mode arranging separately interface, static assigned ip address;
B) the upper connecting port of every platform equipment needs the static VLAN (VirtualLocalAreaNetwork, VLAN) specifying permission;
C) second line of a couplet port of every platform equipment needs to specify corresponding access user VLAN etc.;
D) security strategy adjustment is carried out to device port;
2, layoutprocedure is easily made mistakes, and after makeing mistakes, failture evacuation is loaded down with trivial details.
Current a kind of technology to network device management is LLDP (LinkLayerDiscoveryProtocol, Link Layer Discovery Protocol).Pass through LLDP, network management system can grasp the connection of topology, which port of such as equipment is connected with miscellaneous equipment, whether speed, the duplex of the port at link connection two ends mate, keeper can locate rapidly according to these information and investigate fault, but the agreement that this technology needs persistence maintenance comparatively complicated; In addition this technology address only the problem of neighbor uni-cast and Breakdown Maintenance, and unrealized initial deployment such as to get through at the core content.
Summary of the invention
The invention provides a kind of network and exempt from collocation method and device, in order to solve network configuration and maintenance complexity in prior art, and the problem of easily makeing mistakes.
The invention provides a kind of network and exempt from collocation method, described method comprises:
Receive the self-defined information notification packet that main equipment is sent, comprise port in described message and allow vlan list;
Resolve described self-defined information notification packet, obtain described port allow vlan list, and be set to receive described self-defined information notification packet port on;
Allow to carry out address acquisition in a VLAN in vlan list at port.
Present invention also offers a kind of network and exempt from collocation method, described method comprises:
Send self-defined information notification packet from UP port to from equipment, comprise port in described message and allow vlan list, with make described from equipment obtain described port allow vlan list and be set to receive described self-defined information notification packet port.
The invention provides a kind of network and exempt from inking device, described device comprises:
First packet sending and receiving module, for receiving the self-defined information notification packet that main equipment is sent, comprising port and allowing vlan list in described message;
Message processing module (MPM), for resolving described self-defined information notification packet, obtain described port allow vlan list, and be set to receive described self-defined information notification packet port on;
Address acquisition module, carries out address acquisition for allowing at port in a VLAN in vlan list.
Present invention also offers a kind of network and exempt from inking device, described device comprises:
Second message transceiver module, for sending self-defined information notification packet from UP port to from equipment;
Second message generation module, for generating described self-defined information notification packet, comprise port in described message and allow vlan list, with make described from equipment obtain described port allow vlan list and be set to receive described self-defined information notification packet port.
Network of the present invention exempts from collocation method and device, by sending self-defined information notification packet by main equipment to from equipment, and in message, carry port permission vlan list information, make obtain this vlan list from equipment and be arranged on oneself port, a VLAN in lists carries out address acquisition further, manually carry out except initial main equipment arranges needs, follow-up reciprocal process and be all automatically carry out from the configuration of equipment, solve network configuration and maintenance complexity in prior art, and the problem of easily makeing mistakes, improve the efficiency of network equipments configuration, reduce the probability of makeing mistakes.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 exempts from collocation method flow chart for the network that the embodiment of the present invention one provides;
Fig. 2 is self-defined message structure schematic diagram;
Fig. 3 exempts from collocation method flow chart for the network that the embodiment of the present invention two provides;
Fig. 4 exempts from collocation method flow chart for the network that the embodiment of the present invention three provides;
Fig. 5 exempts from collocation method flow chart for the network that the embodiment of the present invention four provides;
Fig. 6 exempts from collocation method flow chart for the network that the embodiment of the present invention five provides;
Fig. 7 exempts from collocation method flow chart for the network that the embodiment of the present invention six provides;
Fig. 8 exempts from inking device structural representation for the network that the embodiment of the present invention seven provides;
Fig. 9 exempts from inking device structural representation for the network that the embodiment of the present invention eight provides;
Figure 10 exempts from inking device structural representation for the network that the embodiment of the present invention nine provides;
Figure 11 exempts from inking device structural representation for the network that the embodiment of the present invention ten provides.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In order to solve network configuration and maintenance complexity in prior art, and the problem of easily makeing mistakes, the present invention proposes a kind of network and exempt from allocation plan.
Fig. 1 exempts from collocation method flow chart for the network that the embodiment of the present invention one provides, and specifically comprises the following steps:
101, receive the self-defined information notification packet that main equipment is sent, comprise port in described message and allow vlan list;
The executive agent of the present embodiment is from equipment, in order to realize this programme, the present invention is self-defined a kind of information announcement message on 802.1Q protocol basis, main equipment is needed the information be configured from equipment by this self-defining information announcement message transmission, in the present embodiment, contain port in this message and allow vlan list, Fig. 2 is a kind of structural representation of self-defined message, wherein target MAC (Media Access Control) address is 01-00-C2-00-00-F1, represent multicast address, source MAC is equipment self port mac address.
Wherein Type can define different parameters as required, in the present embodiment, can be carry port in the Value value of 6 to allow vlan list at Type, as follows:
The Value that other Type value can certainly be selected corresponding, to carry this information, is an example here.
201, resolve described self-defined information notification packet, obtain described port allow vlan list, and be set to receive described self-defined information notification packet port on;
After receiving this self-defined information notification packet from equipment, resolve this message, such as, resolve the Value value that Type is 6 correspondences, obtain port and allow vlan list, be set on the port of this message of reception.
Three layer interfaces arranging this port place are that dynamic address obtains, if the equipment being received from definition information notification packet is two-layer equipment, then adopt the VLAN of permission to create three layer interfaces successively, this three layer interface is management mouth, preferential first VLAN used in vlan list.
301, allow to carry out address acquisition in a VLAN in vlan list at port.
As preferred mode, the mode of carrying out address acquisition at least comprises following two kinds:
Preferentially in preferred VLAN, carry out address acquisition, allow to carry out address acquisition successively in vlan list at port when not getting;
Or, allow to carry out address acquisition successively in vlan list at port;
Described self-defined information notification packet comprises preferred vlan information.
Such as, can be carry preferred vlan information in the Value of 5 in Type value, as follows:
In addition, can also be in the Value of 4, carry the value selecting address obtain manner in Type value, as follows:
The present embodiment is by sending self-defined information notification packet by main equipment to from equipment, and in message, carry port permission vlan list information, make obtain this vlan list from equipment and be arranged on oneself port, a VLAN in lists carries out address acquisition further, manually carry out except initial main equipment arranges needs, follow-up reciprocal process and be all automatically carry out from the configuration of equipment, solve network configuration and maintenance complexity in prior art, and the problem of easily makeing mistakes, improve the efficiency of network equipments configuration, reduce the probability of makeing mistakes.
The network that Fig. 3 gives the embodiment of the present invention two to be provided exempts from collocation method flow chart, and embodiment two is on the basis of embodiment one, further comprising the steps of:
401, resolve described self-defined information notification packet, obtain described second line of a couplet port vlan parameter, and be set on second line of a couplet port.
Second line of a couplet port vlan parameter is also comprised in described self-defined information notification packet.
Such as, can be in the Value of 8, carry second line of a couplet port vlan parameter in Type value, as follows:
The present embodiment comprises second line of a couplet port vlan parameter by issuing at main equipment further from the self-defined information notification packet of equipment, make the automatic configuration carrying out VLAN from equipment at second line of a couplet port, solve network configuration and maintenance complexity in prior art further, and the problem of easily makeing mistakes, improve the efficiency of network equipments configuration, reduce the probability of makeing mistakes.
The network that Fig. 4 gives the embodiment of the present invention three to be provided exempts from collocation method flow chart, and embodiment three, on the basis of embodiment one, further comprises following steps:
501, when this equipment is more than three layers or three layers equipment, resolve described self-defined information notification packet, obtain described DHCP relay information, and be set on this equipment.
DHCP relay information is also comprised in described self-defined information notification packet.
Such as, can be carry DHCP relay information in the Value of 7 in Type value, as follows:
It should be noted that, embodiment three also can comprise above step further on the basis of embodiment two.
The present embodiment is by carrying DHCP relay information in self-defined information notification packet, make equipment to be arranged this DHCP relay information more than three layers or three layers, the i.e. address of Dynamic Host Configuration Protocol server, make this equipment as the DHCP relay equipment of this network segment, follow-up equipment sends to the Dynamic Host Configuration Protocol server indicated in DHCP relay information when receiving DHCP message, Dynamic Host Configuration Protocol server address is made automatically to be configured to DHCP message can be transmitted by cross-network segment on equipment, solve network configuration and maintenance complexity in prior art further, and the problem of easily makeing mistakes, improve the efficiency of network equipments configuration, reduce the probability of makeing mistakes.
The network that Fig. 5 gives the embodiment of the present invention four to be provided exempts from collocation method flow chart, and embodiment four is on the basis of embodiment one, before step 101, further comprising the steps of:
601, the principal and subordinate that first equipment that receives is sent elects request message, judges the non-first category equipment of this equipment, does not respond described principal and subordinate and elect request message, and maintaining this equipment is from equipment; Or, send principal and subordinate from UP port and elect request message, after the principal and subordinate that second equipment that receives is sent elects back message, reply principal and subordinate and elect notification packet, indicate this equipment to be from equipment.
The equipment of first category is preferentially made to carry out miscellaneous equipment in supervising the network as main equipment in the process that the present invention elects principal and subordinate, such as first category equipment can be three-layer switching equipment, any one equipment can be specified time initial as main equipment, and the process of being elected by principal and subordinate can finally make first category equipment become main equipment.
For current be this equipment from equipment, two kinds of situations are had to make this equipment become from equipment, a kind of situation is this equipment was exactly originally from equipment, so when this equipment receive principal and subordinate that main equipment (i.e. the first equipment) sends elect request message time, judge the non-first category equipment of this equipment, do not respond this message, maintaining this equipment is from equipment; Another kind of situation is this equipment was originally main equipment, become from equipment in the process of principal and subordinate's election, namely when principal and subordinate elects, after electing request message from UP port transmission principal and subordinate, respond principal and subordinate after first category equipment (i.e. the second equipment) in network receives this request message and elect back message, this equipment then accepts the second equipment as main equipment, replys principal and subordinate and elects notification packet to the second equipment, indicate this equipment to become from equipment.
Wherein principal and subordinate elects request message, principal and subordinate elects back message and principal and subordinate elects the message format of notification packet as shown in Figure 2, identical with self-defined information notification packet form, specifically can define three kinds of Type values to complete the function of principal and subordinate's election, as follows:
For the Value value that Type value is 3, in principal and subordinate's election process, this Value value is set to 0, represent that in advertised network, miscellaneous equipment principal and subordinate election is carried out, principal and subordinate's election information that all devices all needs reception main equipment to send, once principal and subordinate has elected in network, such as three-layer switching equipment is elected as main equipment, the Value value that then can arrange Type3 by three-layer switching equipment is 1, and be advertised in network from equipment, represent that election process terminates, all devices no longer receives principal and subordinate's election information that main equipment is sent.
It should be noted that, embodiment four also can comprise above step further on the basis of embodiment two or embodiment three.
The present embodiment is by automatic principal and subordinate's election process between master-slave equipment, make at first when selecting arbitrarily main equipment, preferred first category equipment finally can both be made automatically to become main equipment, in conjunction with follow-up automatic layoutprocedure, solve network configuration and maintenance complexity in prior art further, and the problem of easily makeing mistakes, improves the efficiency of network equipments configuration, reduces the probability of makeing mistakes.
The network that Fig. 6 gives the embodiment of the present invention five to be provided exempts from collocation method flow chart, specifically comprises the following steps:
102, send self-defined information notification packet from UP port to from equipment, comprise port in described message and allow vlan list, with make described from equipment obtain described port allow vlan list and be set to receive described self-defined information notification packet port.
The executive agent of the present embodiment is main equipment, and main equipment is issued and illustrated from the self-defined information notification packet of equipment is existing embodiment one, and the present embodiment is the behavior describing main equipment from the angle of main equipment, its be one to one from the operation of equipment.
The present embodiment is by sending self-defined information notification packet by main equipment to from equipment, and in message, carry port permission vlan list information, make obtain this vlan list from equipment and be arranged on oneself port, a VLAN in lists carries out address acquisition further, manually carry out except initial main equipment arranges needs, follow-up reciprocal process and be all automatically carry out from the configuration of equipment, solve network configuration and maintenance complexity in prior art, and the problem of easily makeing mistakes, improve the efficiency of network equipments configuration, reduce the probability of makeing mistakes.
The network that Fig. 7 gives the embodiment of the present invention six to be provided exempts from collocation method flow chart, and embodiment six is on the basis of embodiment five, before step 102, further comprising the steps of:
202, send principal and subordinate from UP port and elect request message, in first time period, do not receive principal and subordinate when electing back message, maintaining this equipment is main equipment; Or the principal and subordinate that the 3rd equipment that receives is sent elects request message, judge that this equipment is first category equipment, reply principal and subordinate and elect back message, indicate this equipment to be main equipment.
Described in embodiment four, the equipment of first category is preferentially made to carry out miscellaneous equipment in supervising the network as main equipment in the process that the present invention elects principal and subordinate, such as first category equipment can be three-layer switching equipment, any one equipment can be specified time initial as main equipment, and the process of being elected by principal and subordinate can finally make first category equipment become main equipment.
For current be this equipment of main equipment, there are two kinds of situations, a kind of situation is this equipment was exactly originally main equipment, after this equipment elects request message from UP port transmission principal and subordinate, in first time period, do not receive principal and subordinate elect back message, illustrate that in network, miscellaneous equipment is not all first category equipment, so this equipment is just as main equipment; Another kind of situation is this equipment is first category equipment, and this equipment was originally from equipment, receives after principal and subordinate that original main equipment sends elects request message, reply principal and subordinate and elect back message, indicate this equipment to be main equipment in the process of principal and subordinate's election.
The present embodiment is by automatic principal and subordinate's election process between master-slave equipment, make at first when selecting arbitrarily main equipment, preferred first category equipment finally can both be made automatically to become main equipment, in conjunction with follow-up automatic layoutprocedure, solve network configuration and maintenance complexity in prior art further, and the problem of easily makeing mistakes, improves the efficiency of network equipments configuration, reduces the probability of makeing mistakes.
Fig. 8 exempts from inking device structural representation for the network that the embodiment of the present invention seven provides, and described device comprises:
First packet sending and receiving module 10, for receiving the self-defined information notification packet that main equipment is sent, comprising port and allowing vlan list in described message;
Message processing module (MPM) 20, for resolving described self-defined information notification packet, obtain described port allow vlan list, and be set to receive described self-defined information notification packet port on;
Address acquisition module 30, carries out address acquisition for allowing at port in a VLAN in vlan list.
Described address acquisition module 30 specifically may be used for preferentially in preferred VLAN, carrying out address acquisition, allows to carry out address acquisition successively in vlan list when not getting at port; Or, allow to carry out address acquisition successively in vlan list at port;
Described self-defined information notification packet comprises preferred vlan information.
The device of the present embodiment is by sending self-defined information notification packet by main equipment to from equipment, and in message, carry port permission vlan list information, make obtain this vlan list from equipment and be arranged on oneself port, a VLAN in lists carries out address acquisition further, manually carry out except initial main equipment arranges needs, follow-up reciprocal process and be all automatically carry out from the configuration of equipment, solve network configuration and maintenance complexity in prior art, and the problem of easily makeing mistakes, improve the efficiency of network equipments configuration, reduce the probability of makeing mistakes.
Further alternative, also comprise second line of a couplet port vlan parameter in described self-defined information notification packet;
Described message processing module (MPM) 20, also for resolving described self-defined information notification packet, obtaining described second line of a couplet port vlan parameter, and being set on second line of a couplet port.
The device of the present embodiment comprises second line of a couplet port vlan parameter by issuing at main equipment further from the self-defined information notification packet of equipment, make the automatic configuration carrying out VLAN from equipment at second line of a couplet port, solve network configuration and maintenance complexity in prior art further, and the problem of easily makeing mistakes, improve the efficiency of network equipments configuration, reduce the probability of makeing mistakes.
Further alternative, also comprise DHCP relay information in described self-defined information notification packet;
Described message processing module (MPM) 20 also for when this equipment is more than three layers or three layers equipment, resolves described self-defined information notification packet, obtains described DHCP relay information, and is set on this equipment.
The device of the present embodiment is by carrying DHCP relay information in self-defined information notification packet, make equipment to be arranged this DHCP relay information more than three layers or three layers, the i.e. address of Dynamic Host Configuration Protocol server, make this equipment as the DHCP relay equipment of this network segment, follow-up equipment sends to the Dynamic Host Configuration Protocol server indicated in DHCP relay information when receiving DHCP message, Dynamic Host Configuration Protocol server address is made automatically to be configured to DHCP message can be transmitted by cross-network segment on equipment, solve network configuration and maintenance complexity in prior art further, and the problem of easily makeing mistakes, improve the efficiency of network equipments configuration, reduce the probability of makeing mistakes.
Fig. 9 exempts from inking device structural representation for the network that the embodiment of the present invention eight provides, and further alternative, described device also comprises the first judging treatmenting module 40;
Described first packet sending and receiving module 10 is also for before receiving the self-defined information notification packet sent of main equipment, and the principal and subordinate that first equipment that receives is sent elects request message;
Described first judging treatmenting module 40, for judging the non-first category equipment of this equipment, is not responded described principal and subordinate and is elected request message, and maintaining this equipment is from equipment;
Or,
Described first packet sending and receiving module 10 also elects request message for sending principal and subordinate from UP port, and the principal and subordinate that second equipment that receives is sent elects back message;
Described first judging treatmenting module 40, for electing notification packet for replying principal and subordinate, indicates this equipment to be from equipment;
Described first packet sending and receiving module 10 is also for electing notification packet to send to the second equipment described principal and subordinate.
The device of the present embodiment is by automatic principal and subordinate's election process between master-slave equipment, make at first when selecting arbitrarily main equipment, preferred first category equipment finally can both be made automatically to become main equipment, in conjunction with follow-up automatic layoutprocedure, solve network configuration and maintenance complexity in prior art further, and the problem of easily makeing mistakes, improves the efficiency of network equipments configuration, reduces the probability of makeing mistakes.
Figure 10 exempts from inking device structural representation for the network that the embodiment of the present invention nine provides, and described device comprises:
Second message transceiver module 11, for sending self-defined information notification packet from UP port to from equipment;
Second message generation module 21, for generating described self-defined information notification packet, comprise port in described message and allow vlan list, with make described from equipment obtain described port allow vlan list and be set to receive described self-defined information notification packet port.
The device of the present embodiment is by sending self-defined information notification packet by main equipment to from equipment, and in message, carry port permission vlan list information, make obtain this vlan list from equipment and be arranged on oneself port, a VLAN in lists carries out address acquisition further, manually carry out except initial main equipment arranges needs, follow-up reciprocal process and be all automatically carry out from the configuration of equipment, solve network configuration and maintenance complexity in prior art, and the problem of easily makeing mistakes, improve the efficiency of network equipments configuration, reduce the probability of makeing mistakes.
Figure 11 exempts from inking device structural representation for the network that the embodiment of the present invention ten provides,
Further alternative, described device also comprises the second judging treatmenting module 31;
Described second message transceiver module 11 also for from UP port to before equipment transmission self-defined information notification packet, sends principal and subordinate from UP port and elects request message;
Described second judging treatmenting module 31, for do not receive in first time period principal and subordinate elect back message time, maintaining this equipment is main equipment;
Or,
Described second message transceiver module 11 elects request message for the principal and subordinate receiving the 3rd equipment and send;
Described second judging treatmenting module 31, for judging that this equipment is first category equipment, is replied principal and subordinate and is elected back message, indicate this equipment to be main equipment.
The device of the present embodiment is by automatic principal and subordinate's election process between master-slave equipment, make at first when selecting arbitrarily main equipment, preferred first category equipment finally can both be made automatically to become main equipment, in conjunction with follow-up automatic layoutprocedure, solve network configuration and maintenance complexity in prior art further, and the problem of easily makeing mistakes, improves the efficiency of network equipments configuration, reduces the probability of makeing mistakes.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that program command is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Device embodiment described above is only schematic, the module wherein illustrated as separating component or unit or can may not be and physically separate, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed at least two network element.Some or all of module wherein or unit can be selected according to the actual needs to realize the object of the present embodiment scheme.Those of ordinary skill in the art, when not paying performing creative labour, are namely appreciated that and implement.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (14)

1. network exempts from a collocation method, it is characterized in that, described method comprises:
Receive the self-defined information notification packet that main equipment is sent, comprise port in described message and allow vlan list;
Resolve described self-defined information notification packet, obtain described port allow vlan list, and be set to receive described self-defined information notification packet port on;
Allow to carry out address acquisition in a VLAN in vlan list at port.
2. method according to claim 1, is characterized in that,
Carry out address acquisition in a described VLAN in port permission vlan list specifically to comprise:
Preferentially in preferred VLAN, carry out address acquisition, allow to carry out address acquisition successively in vlan list at port when not getting;
Or, allow to carry out address acquisition successively in vlan list at port;
Described self-defined information notification packet comprises preferred vlan information.
3. method according to claim 1, is characterized in that,
Second line of a couplet port vlan parameter is also comprised in described self-defined information notification packet;
Described method also comprises:
Resolve described self-defined information notification packet, obtain described second line of a couplet port vlan parameter, and be set on second line of a couplet port.
4. method according to claim 1, is characterized in that,
DHCP relay information is also comprised in described self-defined information notification packet;
Described method also comprises:
When this equipment is more than three layers or three layers equipment, resolve described self-defined information notification packet, obtain described DHCP relay information, and be set on this equipment.
5. the method according to any one of claim 1-4, is characterized in that, describedly also comprises before receiving the self-defined information notification packet sent of main equipment:
The principal and subordinate that first equipment that receives is sent elects request message, judges the non-first category equipment of this equipment, does not respond described principal and subordinate and elect request message, and maintaining this equipment is from equipment;
Or, send principal and subordinate from UP port and elect request message, after the principal and subordinate that second equipment that receives is sent elects back message, reply principal and subordinate and elect notification packet, indicate this equipment to be from equipment.
6. network exempts from a collocation method, it is characterized in that, described method comprises:
Send self-defined information notification packet from UP port to from equipment, comprise port in described message and allow vlan list, with make described from equipment obtain described port allow vlan list and be set to receive described self-defined information notification packet port.
7. method according to claim 6, is characterized in that, describedly also comprises before sending self-defined information notification packet from equipment from UP port:
Send principal and subordinate from UP port and elect request message, in first time period, do not receive principal and subordinate when electing back message, maintaining this equipment is main equipment;
Or the principal and subordinate that the 3rd equipment that receives is sent elects request message, judge that this equipment is first category equipment, reply principal and subordinate and elect back message, indicate this equipment to be main equipment.
8. network exempts from an inking device, it is characterized in that, described device comprises:
First packet sending and receiving module, for receiving the self-defined information notification packet that main equipment is sent, comprising port and allowing vlan list in described message;
Message processing module (MPM), for resolving described self-defined information notification packet, obtain described port allow vlan list, and be set to receive described self-defined information notification packet port on;
Address acquisition module, carries out address acquisition for allowing at port in a VLAN in vlan list.
9. device according to claim 8, is characterized in that,
Described address acquisition module, specifically for preferentially carrying out address acquisition in preferred VLAN, allows to carry out address acquisition successively in vlan list at port when not getting; Or, allow to carry out address acquisition successively in vlan list at port;
Described self-defined information notification packet comprises preferred vlan information.
10. device according to claim 8, is characterized in that,
Second line of a couplet port vlan parameter is also comprised in described self-defined information notification packet;
Described message processing module (MPM), also for resolving described self-defined information notification packet, obtaining described second line of a couplet port vlan parameter, and being set on second line of a couplet port.
11. devices according to claim 8, is characterized in that,
DHCP relay information is also comprised in described self-defined information notification packet;
Described message processing module (MPM) also for when this equipment is more than three layers or three layers equipment, resolves described self-defined information notification packet, obtains described DHCP relay information, and is set on this equipment.
12. devices according to Claim 8 described in-11 any one, it is characterized in that, described device also comprises the first judging treatmenting module;
Described first packet sending and receiving module is also for before receiving the self-defined information notification packet sent of main equipment, and the principal and subordinate that first equipment that receives is sent elects request message;
Described first judging treatmenting module, for judging the non-first category equipment of this equipment, is not responded described principal and subordinate and is elected request message, and maintaining this equipment is from equipment;
Or,
Described first packet sending and receiving module also elects request message for sending principal and subordinate from UP port, and the principal and subordinate that second equipment that receives is sent elects back message;
Described first judging treatmenting module elects notification packet for replying principal and subordinate, indicates this equipment to be from equipment;
Described first packet sending and receiving module is also for electing notification packet to send to the second equipment described principal and subordinate.
13. 1 kinds of networks exempt from inking device, it is characterized in that, described device comprises:
Second message transceiver module, for sending self-defined information notification packet from UP port to from equipment;
Second message generation module, for generating described self-defined information notification packet, comprise port in described message and allow vlan list, with make described from equipment obtain described port allow vlan list and be set to receive described self-defined information notification packet port.
14. devices according to claim 13, is characterized in that, described device also comprises the second judging treatmenting module;
Described second message transceiver module also for from UP port to before equipment transmission self-defined information notification packet, sends principal and subordinate from UP port and elects request message;
Described second judging treatmenting module, for do not receive in first time period principal and subordinate elect back message time, maintaining this equipment is main equipment;
Or,
Described second message transceiver module elects request message for the principal and subordinate receiving the 3rd equipment and send;
Described second judging treatmenting module, for judging that this equipment is first category equipment, is replied principal and subordinate and is elected back message, indicate this equipment to be main equipment.
CN201510906123.6A 2015-12-09 2015-12-09 A kind of network exempts from configuration method and device Active CN105515861B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510906123.6A CN105515861B (en) 2015-12-09 2015-12-09 A kind of network exempts from configuration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510906123.6A CN105515861B (en) 2015-12-09 2015-12-09 A kind of network exempts from configuration method and device

Publications (2)

Publication Number Publication Date
CN105515861A true CN105515861A (en) 2016-04-20
CN105515861B CN105515861B (en) 2019-06-14

Family

ID=55723520

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510906123.6A Active CN105515861B (en) 2015-12-09 2015-12-09 A kind of network exempts from configuration method and device

Country Status (1)

Country Link
CN (1) CN105515861B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108156016A (en) * 2016-12-05 2018-06-12 欧姆龙株式会社 Communication system, communication device and communication means

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2586558C (en) * 2006-04-28 2012-09-25 Research In Motion Limited Methods and apparatus for reducing power consumption for mobile devices using broadcast-to-unicast message conversion
CN103095495A (en) * 2013-01-06 2013-05-08 华为技术有限公司 Network implementation configuration method, device and system
CN103457767A (en) * 2013-08-23 2013-12-18 福建星网锐捷网络有限公司 Method and system for allocating network devices
CN104639348A (en) * 2013-11-07 2015-05-20 华为技术有限公司 Network device and configuration method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2586558C (en) * 2006-04-28 2012-09-25 Research In Motion Limited Methods and apparatus for reducing power consumption for mobile devices using broadcast-to-unicast message conversion
CN103095495A (en) * 2013-01-06 2013-05-08 华为技术有限公司 Network implementation configuration method, device and system
CN103457767A (en) * 2013-08-23 2013-12-18 福建星网锐捷网络有限公司 Method and system for allocating network devices
CN104639348A (en) * 2013-11-07 2015-05-20 华为技术有限公司 Network device and configuration method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108156016A (en) * 2016-12-05 2018-06-12 欧姆龙株式会社 Communication system, communication device and communication means

Also Published As

Publication number Publication date
CN105515861B (en) 2019-06-14

Similar Documents

Publication Publication Date Title
CN102395144B (en) Wireless access point upgrade method, system thereof and device thereof
CN105392181B (en) A kind of networking method of smart machine, apparatus and system
CN105915400A (en) Data stream switching method and system
CN109660442B (en) Method and device for multicast replication in Overlay network
US9455866B2 (en) Auto-configuration of network devices
CN103607308A (en) Virtual machine multi-network management system and method in cloud computing environment
US9350651B2 (en) Packet forwarding device and wireless communication system
CN103916275A (en) BFD detection device and method
CN101854283B (en) Communication method and equipment of RPR (Resilient Packet Ring) looped network
CN103944828A (en) Method and equipment for transmitting protocol messages
CN101483571B (en) RRPP configuring method, system and device
CN104158686A (en) Configuration management method and system
CN106357542B (en) The method and software defined network controller of multicast service are provided
CN104350704B (en) Self-configuring transmission network
CN103581025A (en) Method and system for processing routing information and equipment
CN104734952A (en) Data message forwarding method and device
WO2017000625A1 (en) Dynamic host configuration protocol (dhcp) server management method and apparatus
CN105515861A (en) Network configuration-avoiding method and device
CN107579988A (en) The method and apparatus for configuring security strategy
CN105227455A (en) A kind of method and system of batch user web authentication active-standby switch
CN103546316B (en) A kind of method and device for transmitting OAM message
CN112737946B (en) Route advertising method, device, storage medium and system for IPv6 network
CN109245934B (en) Fault processing method, device, system, control equipment and management equipment
CN115665762A (en) Local area network local exchange control method and system, and user plane function network element
JP3794496B2 (en) Network connection method, network connection system, layer 2 switch and management server constituting the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee after: RUIJIE NETWORKS Co.,Ltd.

Address before: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee before: Beijing Star-Net Ruijie Networks Co.,Ltd.