CN1300988C - Method for ensuring consistent configurations among subsystems in distributed VLAN - Google Patents

Method for ensuring consistent configurations among subsystems in distributed VLAN Download PDF

Info

Publication number
CN1300988C
CN1300988C CNB031279864A CN03127986A CN1300988C CN 1300988 C CN1300988 C CN 1300988C CN B031279864 A CNB031279864 A CN B031279864A CN 03127986 A CN03127986 A CN 03127986A CN 1300988 C CN1300988 C CN 1300988C
Authority
CN
China
Prior art keywords
vlan
dynamic
dynamic vlan
flag bit
configuration
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.)
Expired - Fee Related
Application number
CNB031279864A
Other languages
Chinese (zh)
Other versions
CN1543134A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB031279864A priority Critical patent/CN1300988C/en
Publication of CN1543134A publication Critical patent/CN1543134A/en
Application granted granted Critical
Publication of CN1300988C publication Critical patent/CN1300988C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The present invention discloses a method for ensuring consistent configuration among subsystems in a distributed virtual local area network. A timing updating flow path judges whether a dynamic VLAN is updated according to whether an existing flag bit of each dynamic virtual local area network (VLAN) is set, if the existing flag bit is set, the configuring information in a subsystem responsible for interface management updates the configuration of the current dynamic VLAN in the subsystem responsible for configuration processing; if the existing flag bit is reset, one aging flag bit is set for each dynamic VLAN. The method also comprises: the timing updating flow path judges whether the aging flag bits of the current dynamic VLAN are set, and if the aging flag bits are set, the deleted configuration of the current dynamic VLAN in the subsystem responsible for interface management is distributed to the subsystem responsible for configuration processing, and thus, the configuration of the dynamic VLAN is updated, else, the dynamic VLAN is not updated. The method solves the problem that subsystems of a distributed VLAN system have inconsistent configuration.

Description

The method of configuration consistency between subsystem in the assurance distributed virtual local area network (LAN)
Technical field
The present invention relates to the data synchronization technology in the distributed virtual local area network (LAN), particularly guarantee in the distributed virtual local area network (LAN) method of configuration consistency between subsystem.
Background technology
Other VLAN that VLAN (VLAN) usually is adjacent under the subscriber equipment intercom mutually, VLAN was by general-purpose attribute logging virtual local area fidonetFido (GVRP) under this just required the user, learn the set VLAN message of adjacent vlan network equipment, in order to distinguish the vlan network vlan network adjacent under the subscriber equipment with subscriber equipment, the VLAN that subscriber equipment is learnt adjacent vlan network setting is designated dynamic vlan, and the VLAN of vlan network setting is designated static VLAN under the subscriber equipment.
Vlan network under the subscriber equipment is communicated by letter with adjacent VLAN foundation by each arterial highway (trunk) port, when subscriber equipment will insert adjacent vlan network, can move GVRP/VTP, vlan network system under the subscriber equipment detects the state of each coupled trunk port, judge whether the trunk port is available, if detecting the trunk port can use, then set up the binding of dynamic vlan and this trunk port of adjacent vlan network, if it is unavailable to detect the trunk port, then the dynamic vlan of adjacent vlan network is aging, the dynamic vlan of learning from this trunk port will all be worn out, and removes all bindings of dynamic vlan and this trunk port that is:.In the vlan network under subscriber equipment, the binding relationship of all dynamic vlans and trunk port finally will be handed down to network processing unit and use.
The process that dynamic vlan and trunk port are set up or unbind concerns as shown in Figure 1, Fig. 1 is the structure chart that dynamic vlan and trunk port are set up or unbind concerns, its detailed process is described as: the vlan network system under the subscriber equipment is made up of the subsystem 100 of vlan network and the subsystem 101 of vlan network, wherein, subsystem 100 comprises GVRP module 102 and interface management module 103, two lines in the subsystem 100 are used to connect GVRP module 102 and interface management module 103, the line on the left side is represented the dynamic vlan of GVRP modules learn to adjacent vlan network, set up binding relationship with the trunk port, the line on the right is represented the dynamic vlan of the aging adjacent vlan network of GVRP module, remove binding relationship with the trunk port, no matter set up or the binding of aging trunk port, the direction of two lines all is to interface management module 103 by GVRP/VTP module 102; Subsystem 101 comprises configuration messages processing module 104, heavy weight line between interface management module 103 and the configuration messages processing module 104 is represented: the binding relationship of dynamic vlan and trunk port is sent to configuration messages processing module 104 by interface management module 103, promptly set up the binding relationship of dynamic vlan and trunk port, or the binding relationship of releasing dynamic vlan and trunk port, issue configuration messages to the vlan network processor under the user by this configuration messages processing module 104 again.
Handle and improve the efficient of vlan network system for convenience, what have in the dynamic vlan data structure of adjacent vlan network in the interface management module 103 whether this dynamic vlan of expression exist exists flag bit, when this dynamic vlan is aging, remove the binding relationship of this dynamic vlan and corresponding trunk port, this dynamic vlan will be deleted the vlan network system under the user, and the flag bit that exists of this dynamic vlan resets.But, when interface management module 103 when subsystem 101 issues the configuration messages of unbind, the situation that configuration messages is lost might appear, generation for fear of this situation, prior art adopts the strategy of periodic refreshing, be that subsystem 100 starts timer, regularly the dynamic vlan configuring condition with all adjacent vlan networks sends in the subsystem 101, refreshes the dynamic vlan message in the subsystem 101.
But the method for this periodic refreshing is aging for the dynamic vlan of adjacent vlan network to be infeasible, when this dynamic vlan is aging, this dynamic vlan is with deleted, and the flag bit that exists of this dynamic vlan will be reset after the deletion, and refresh flow will be inquired about the flag bit that exists of this dynamic vlan.If this exists flag bit to be reset, this dynamic vlan will be refreshed flow process and skip, be that refresh flow does not refresh this dynamic vlan, the current configuration messages of this dynamic vlan just can not be issued in the subsystem 101 by subsystem 100 and go, therefore, lose with the configuration messages of corresponding trunk port binding in case remove dynamic vlan, the method for periodic refreshing is also powerless, causes between the subsystem in the distributed vlan network system and disposes inconsistent problem.
Summary of the invention
In view of this, the invention provides and relate to the method for configuration consistency between subsystem that guarantees in the distributed virtual local area network (LAN), this method has solved the inconsistent problem of configuration between the subsystem of distributed vlan network system.
According to above-mentioned purpose, technical scheme of the present invention is achieved in that
A kind ofly guarantee in the distributed virtual local area network (LAN) method of configuration consistency between subsystem, whether set judges whether to refresh this dynamic vlan to timing refresh flow according to the flag bit that exists of each dynamic virtual local area network (LAN) (VLAN), if there is flag bit set in this, then refresh the configuration of being responsible for current dynamic vlan in the configuration process subsystem with the configuration information of being responsible in the interface management subsystem, if this exists flag bit to reset, for each dynamic vlan is provided with an aging flag bit; This method also comprises:
Timing refresh flow is judged the whether set of aging flag bit of current dynamic vlan, if should wear out flag bit set, the configuration distributing that then will be responsible for current dynamic vlan deleted in the interface management subsystem is in responsible configuration process subsystem, refresh the configuration of this dynamic vlan, otherwise, do not refresh this dynamic vlan.
Set in advance the refreshing frequency threshold value, this method further comprises:
After deleted dynamic vlan being refreshed at every turn, judge whether the refreshing frequency of this dynamic vlan reaches the refreshing frequency threshold value, if do not reach, then refreshing frequency is added 1; Otherwise, the aging flag bit of this dynamic vlan is resetted, and this dynamic vlan is deleted from each subsystem.
This method further comprises: after having refreshed current dynamic vlan, judge whether to have refreshed all dynamic vlans, if then start timer and wait for periodic refreshing next time; Otherwise, handle next dynamic vlan.
The aging flag bit of described dynamic vlan is provided with in the interface management module.
This method further comprises: when dynamic vlan carries out general-purpose attribute logging virtual local area fidonetFido (GVRP) ager process, with the aging flag bit set of described dynamic vlan.
By such scheme as can be seen, the present invention increases aging flag bit in interface management module 103, when deleting, the dynamic vlan of adjacent vlan network is somebody's turn to do aging flag bit set, in timing refresh flow, the flag bit that exists according to this aging flag bit and this dynamic vlan judges whether to exist the dynamic vlan of having deleted jointly, and the dynamic vlan configuration information that this has been deleted is issued in the subsystem 101, the present invention can not exist flag bit to reset and skips deleted dynamic vlan because of dynamic vlan, do not dispose deleted dynamic vlan in subsystem 101, therefore, the invention solves the inconsistent problem of configuration between the subsystem of distributed VLAN system.
Description of drawings
Fig. 1 is the structure chart that dynamic vlan and trunk port are set up or unbind concerns.
Fig. 2 realizes in the distributed virtual local area network (LAN) method flow diagram of configuration consistency between the subsystem for the present invention.
Embodiment
In order to make the purpose, technical solutions and advantages of the present invention clearer, by the following examples and with reference to accompanying drawing, the present invention is described in more detail.
In order to make two subsystem configures unanimities in the distributed VLAN system, the present invention must determine current deleted dynamic vlan, and the configuration of this dynamic vlan is issued in the subsystem 101 by periodic refreshing, therefore, in the interface management module 103 of the present invention in subsystem 101 aging flag bit is set, the VLAN that the mark position bit representation that should wear out is tested is a dynamic vlan and deleted, in timing refresh flow, judge whether to exist the dynamic vlan of having deleted according to this aging flag bit, if exist, this dynamic vlan configuration distributing in subsystem 101, if there is no, is refreshed next VLAN.
Because the many interfaces in the system all need the real-time status of this aging flag bit, as: the VLAN of the current existence of vlan network system under the explicit user equipment, therefore, the flag bit that exists of dynamic vlan is not removed in the present invention, keeps the flag bit that exists of dynamic vlan.
The present invention at first is provided with the aging flag bit of dynamic vlan of adjacent vlan network in the interface management module 103 of subsystem 100, should aging mark position this VLAN of bit representation be dynamic vlan and deleted, when the GVRP ager process starts, all dynamic vlans that the deletion of notifications interface management 103 modules is learnt from aging trunk port, interface management module 103 reset this dynamic vlan have flag bit the time, with the aging flag bit set of this dynamic vlan.
The present invention also can set in advance the refreshing frequency threshold value of VLAN system, when refreshing frequency arrives this threshold value, stops to refresh.
The specific embodiment of the present invention as shown in Figure 2, Fig. 2 realizes in the distributed virtual local area network (LAN) method flow diagram of configuration consistency between the subsystem for the present invention, its detailed process is:
Step 200,201, the periodic refreshing program judges whether the flag bit that exists of current dynamic vlan resets, if reset, change step 202 over to, otherwise, refresh the configuration of this dynamic vlan, that is: the configuration information with this dynamic vlan in the subsystem 100 is issued in the subsystem 101, judges whether then to have refreshed all dynamic vlans, if do not have, then return step 200, handle next dynamic vlan,, then return step 200 if refreshed all dynamic vlans, start timer, wait for periodic refreshing next time.
Step 202,203,204, the periodic refreshing program judges whether to refresh this dynamic vlan according to the aging flag bit of this dynamic vlan, if the aging flag bit set of this dynamic vlan, refresh this dynamic vlan, that is: this is deleted dynamic vlan configuration distributing is in subsystem 101, and refreshing frequency adds 1, changes step 205 then over to, if the aging flag bit of this dynamic vlan resets, do not refresh this dynamic vlan.
Step 205,206 judges whether refreshing frequency reaches the threshold value of refreshing frequency, if reach, change step 207 over to, otherwise, judge whether to have refreshed all dynamic vlans, if do not have, then return step 200, handle next dynamic vlan,, then return step 200 if refreshed all dynamic vlans, start timer, wait for that periodic refreshing returns next time.
Step 207,208, the aging flag bit of dynamic vlan that this is identified as " deleted dynamic vlan " resets, and this dynamic vlan is deleted from subsystem 101 and subsystem 100, thereby stops to refresh this dynamic vlan.Judge whether then to have refreshed all dynamic vlans,, then return step 200, judge next dynamic vlan,, then return step 200, start timer, wait for that periodic refreshing returns next time if refreshed all dynamic vlans if do not have.
The present invention also can be after the aging flag bit set of determining dynamic vlan, earlier judge whether refreshing frequency reaches the refreshing frequency threshold value, if reach, the aging flag bit of dynamic vlan that then this is identified as " deleted dynamic vlan " resets, and this dynamic vlan is deleted from subsystem 101 and subsystem 100; If do not reach, then with the configuration distributing of this deleted dynamic vlan in subsystem 101, and refreshing frequency added 1.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being made within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (5)

1, a kind ofly guarantees in the distributed virtual local area network (LAN) method of configuration consistency between subsystem, whether set judges whether to refresh this dynamic vlan to timing refresh flow according to the flag bit that exists of each dynamic virtual local area network (LAN) VLAN, if there is flag bit set in this, then refresh the configuration of being responsible for current dynamic vlan in the configuration process subsystem with the configuration information of being responsible in the interface management subsystem, it is characterized in that, if the above-mentioned flag bit that exists resets, for each dynamic vlan is provided with an aging flag bit; This method also comprises:
Timing refresh flow is judged the whether set of aging flag bit of current dynamic vlan, if should wear out flag bit set, the configuration distributing that then will be responsible for current dynamic vlan deleted in the interface management subsystem is in responsible configuration process subsystem, refresh the configuration of this dynamic vlan, otherwise, do not refresh this dynamic vlan.
2, the method for claim 1 is characterized in that, sets in advance the refreshing frequency threshold value; This method further comprises:
After deleted dynamic vlan being refreshed at every turn, judge whether the refreshing frequency of this dynamic vlan reaches the refreshing frequency threshold value, if do not reach, then refreshing frequency is added 1; Otherwise, the aging flag bit of this dynamic vlan is resetted, and this dynamic vlan is deleted from each subsystem.
3, method as claimed in claim 1 or 2 is characterized in that, this method further comprises: after having refreshed current dynamic vlan, judge whether to have refreshed all dynamic vlans, if then start timer and wait for periodic refreshing next time; Otherwise, handle next dynamic vlan.
4, the method for claim 1 is characterized in that, the aging flag bit of described dynamic vlan is provided with in the interface management module.
5, the method for claim 1 is characterized in that, this method further comprises: when dynamic vlan carries out general-purpose attribute logging virtual local area fidonetFido GVRP ager process, with the aging flag bit set of described dynamic vlan.
CNB031279864A 2003-04-28 2003-04-28 Method for ensuring consistent configurations among subsystems in distributed VLAN Expired - Fee Related CN1300988C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031279864A CN1300988C (en) 2003-04-28 2003-04-28 Method for ensuring consistent configurations among subsystems in distributed VLAN

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031279864A CN1300988C (en) 2003-04-28 2003-04-28 Method for ensuring consistent configurations among subsystems in distributed VLAN

Publications (2)

Publication Number Publication Date
CN1543134A CN1543134A (en) 2004-11-03
CN1300988C true CN1300988C (en) 2007-02-14

Family

ID=34322120

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031279864A Expired - Fee Related CN1300988C (en) 2003-04-28 2003-04-28 Method for ensuring consistent configurations among subsystems in distributed VLAN

Country Status (1)

Country Link
CN (1) CN1300988C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101505282B (en) * 2009-03-31 2013-01-16 杭州华三通信技术有限公司 Method and equipment for deleting VLAN information

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713145A (en) * 2015-07-28 2017-05-24 中兴通讯股份有限公司 Method and device for refreshing link state message
CN107517111A (en) * 2016-06-15 2017-12-26 中兴通讯股份有限公司 A kind of dynamic virtual local area network management method and its device, the network equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11234283A (en) * 1998-02-10 1999-08-27 Nec Corp System and method for automatically setting virtual lan synthesis information
JP2000165430A (en) * 1998-11-30 2000-06-16 Hitachi Cable Ltd Vlan management system
WO2000077983A1 (en) * 1999-06-16 2000-12-21 Telefonaktiebolaget Lm Ericsson (Publ) A device and a method in a switched telecommunication system
US6405248B1 (en) * 1998-12-02 2002-06-11 Micromuse, Inc. Method and apparatus for determining accurate topology features of a network
US20020124107A1 (en) * 2000-12-19 2002-09-05 Michele Goodwin Vlan advertisement protocol (VAP)
CN1411213A (en) * 2002-11-14 2003-04-16 烽火通信科技股份有限公司 Ethernet switch in net virtual local network switch in technique

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11234283A (en) * 1998-02-10 1999-08-27 Nec Corp System and method for automatically setting virtual lan synthesis information
JP2000165430A (en) * 1998-11-30 2000-06-16 Hitachi Cable Ltd Vlan management system
US6405248B1 (en) * 1998-12-02 2002-06-11 Micromuse, Inc. Method and apparatus for determining accurate topology features of a network
WO2000077983A1 (en) * 1999-06-16 2000-12-21 Telefonaktiebolaget Lm Ericsson (Publ) A device and a method in a switched telecommunication system
US20020124107A1 (en) * 2000-12-19 2002-09-05 Michele Goodwin Vlan advertisement protocol (VAP)
CN1411213A (en) * 2002-11-14 2003-04-16 烽火通信科技股份有限公司 Ethernet switch in net virtual local network switch in technique

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101505282B (en) * 2009-03-31 2013-01-16 杭州华三通信技术有限公司 Method and equipment for deleting VLAN information

Also Published As

Publication number Publication date
CN1543134A (en) 2004-11-03

Similar Documents

Publication Publication Date Title
CN100347991C (en) Data network integrated monitoring and measuring system
CN103095834B (en) The online moving method of a kind of virtual machine across Visualized data centre
CN101809534B (en) Virtual tape device at original center, virtual tape device at duplicate center, virtual library system and virtual tape control method
US20110211442A1 (en) Virtual router with a priority value per port
CN107391294A (en) A kind of method for building up and device of IPSAN disaster tolerance systems
CN1300988C (en) Method for ensuring consistent configurations among subsystems in distributed VLAN
CN1210911C (en) Method for real time detecting ethernet connected computer on-line state through insertion equipment
CN1308278A (en) IP fault-tolerant method for colony server
CN1365216A (en) High speed fubber managing system of exchanging data base
CN101202670A (en) Method and system for processing network management analysissitus
CN1540544A (en) Method for tracking and controlling users' online states and information
CN102291313B (en) Method, device and equipment for finding virtual router redundancy protocol (VRRP) network topology
CN1889496A (en) Layer control tree-shape network based on CAN bus for supporting plug and use
CN1412995A (en) Information management method in data communication equipment
CN1285198C (en) Method for detecting and controlling user access by using Internet control protocol
CN1521987A (en) Implement method for network management system operation
CN107342944A (en) A kind of ID marks distribution and persistence method and system
CN102271060B (en) Automatic communication state detection method of real-time control system
CN1556478A (en) Embedded type multifunction remote network topological management method
CN105242836B (en) Menu display method and device
Cisco Planning for Installation
Cisco Planning for Installation
Cisco Planning for Installation
Cisco Planning for Installation
CN101183974B (en) Topology refreshing method of network management system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070214

Termination date: 20170428