CN1863089A - Method for configurating slave node of virtual LAN - Google Patents

Method for configurating slave node of virtual LAN Download PDF

Info

Publication number
CN1863089A
CN1863089A CN 200610025771 CN200610025771A CN1863089A CN 1863089 A CN1863089 A CN 1863089A CN 200610025771 CN200610025771 CN 200610025771 CN 200610025771 A CN200610025771 A CN 200610025771A CN 1863089 A CN1863089 A CN 1863089A
Authority
CN
China
Prior art keywords
node
vlan
collocation method
mac frame
virtual lan
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
CN 200610025771
Other languages
Chinese (zh)
Other versions
CN100413260C (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 CNB2006100257711A priority Critical patent/CN100413260C/en
Publication of CN1863089A publication Critical patent/CN1863089A/en
Application granted granted Critical
Publication of CN100413260C publication Critical patent/CN100413260C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a VLAN sub-node configuration method that could make main node remote configuring VLAN belongs to sub-node and could realize QoS dispatching to every MAC frame. The main node sends MAC frame and carrying VLAN mark of sub-node, and the sub-node would set the initial VLAN mark of the sub-node according to the VLAN mark and building up the double direction link connection to main node. The main node would take further configuration to all VLAN mark of the sub-node according to the higher lever instruction and take increasing, deleting or altering operation to the VLAN mark and realize remote configuration maintain and decrease maintain cost. The invention could realize taking QoS dispatching to every MAC frame based on VLAN mark.

Description

The collocation method of slave node of virtual LAN
Technical field
The present invention relates to the VLAN field, particularly the automatic configuring technical of node in the VLAN.
Background technology
Local area network (LAN) (Local Area Network, be called for short " LAN ") be meant in some areas, for example in the scope such as school, enterprise, equipment such as a plurality of terminals, database are coupled together the private network of carrying out information interchange in inside, its distance range is generally tens meters to several kms, normally in a building or adjacent several buildings.
LAN is generally defined as an independent broadcast domain, mainly uses the network equipments such as hub, bridge or switch to connect all interior nodes of the same network segment.Exist together and directly not communicate between the network node within the LAN by network router; The communication that is between the equipment in the LAN section then must be through network router.
VLAN be a kind of by the apparatus logic ground in the LAN being divided (rather than physically dividing) thus become the network segment one by one to realize the emerging technology of virtual work group, also be that vlan technology allows network manager that the LAN of a physics logically is divided into different broadcast domain (being VLAN).
VLAN is a kind of very important ethernet technology, and its most important effect is exactly a big Ethernet to be divided into a plurality of little virtual ethernets, solves the problem of Ethernet broadcast storm.Wherein, each VLAN comprises one group of computer workstation that same requirements is arranged, and with the LAN that physically forms identical attribute is arranged.But because it is logically to divide, so each work station in the same VLAN not necessarily belongs to the same physics LAN network segment.
In addition, the broadcasting of a VLAN inside and unicast traffic can not be forwarded among other VLAN, thereby help to control the fail safe of flow, minimizing equipment investment, simplification network management, raising network.Therefore, VLAN also is a kind of agreement that proposes for the fail safe that improves Ethernet, it has increased the VLAN head on the basis of ethernet frame, with VLAN sign (Identity, be called for short " ID ") user is divided into littler working group, two layers of gateway of user between restriction different operating group are exchanged visits, and each working group is exactly a VLAN.In gateway access rights can be set, the assurance authorized user could be visited specific VLAN.
According to the implementation method of VLAN on switch, can roughly be divided into four classes: based on the VLAN of port division, based on MAC Address division VLAN, layer division VLAN Network Based with according to IP multicast division VLAN.Wherein, the 802.1Q of Institute of Electrical and Electronics Engineers's (Institute of Electrical andElectronics Engineers is called for short " IEEE ") has stipulated to divide according to the port of Ethernet switch the international standard of VLAN.In IEEE802.1Q/P, defined the VLAN label, comprise VLAN ID in the VLAN label, it is the sign of VLAN, the VLAN label also has a grade of service (Classof Service, be called for short " COS ") field, this field is used to realize service quality (the Quality of Service of media interviews control (Medium AccessControl is called for short " MAC ") layer, be called for short " QoS ") function, can carry out the QoS scheduling to each mac frame according to the COS field.
Specifically, be to divide based on the VLAN division methods of port according to the port of Ethernet switch, for example, switch has 24 ports, and wherein, 1~4 port is VLAN 10; 5~17 is VLAN20; 18~24 is VLAN 30, and certainly, these ports that belong to same VLAN can be discontinuous.The concrete configuration of each port of switch is determined that by the keeper same VLAN can cross over several Ethernet switches, and for example, if a plurality of switches are arranged, 1~6 port that can designated switch 1 and 1~4 port of switch 2 are same VLAN.Dividing according to port is the method the most widely that defines VLAN at present.The advantage of the method for this division is simple to member of vlan's definition, as long as all of the port is all defined; Shortcoming is if the user among the VLAN has left original port, when forwarding certain port of new switch to, must redefine.
Based on the VLAN division methods of MAC Address, be to divide according to the MAC Address of each main frame, promptly the main frame of each MAC Address is all disposed it and belong to which group.
The great advantage of the method for this division VLAN is exactly when user's physical location moves, and promptly when a switch was changed to other switch, VLAN need not reconfigure.Therefore, can think that this division methods is based on the user's; When the shortcoming of this method was initialization, all users must be configured, if the user is too much, when hundreds of even thousands of users were for example arranged, this configuration was loaded down with trivial details, cost is higher.In addition,, can't limit the broadcast packet among this VLAN, cause switch to carry out the reduction of efficient owing to all may have much members of a VLAN group at the port of each switch.
The VLAN division methods of layer Network Based is to divide according to each user's network layer address or protocol type (if supporting multi-protocols).Though this division methods is according to the network address, such as the IP address, the route of it and network layer has no relation, just checks the network address of each packet.But owing to be not to divide according to route, therefore, not according to routing information protocol (Routing InformationProtocol, abbreviation " RIP "), OSPF (Open Shortest Path First, be called for short " OSPF ") wait Routing Protocol, exchange but carry out bridge according to spanning tree algorithm.
The advantage of this method is when user's physical location changes, and does not need to reconfigure the affiliated VLAN of this user.In addition, can divide VLAN according to protocol type, this is very important concerning network manager.The frame tagging that this method does not need to add is discerned VLAN, can also reduce the traffic of network.
The shortcoming of this method is that efficient is low, need consume certain processing time because check the network address of each packet, general exchanger chip can the automatic inspection network on the Ethernet frame head of packet, but support the IP frame head if desired, it is consuming time then to need exchanger chip to adopt higher technology and cost more to detect.
According to the VLAN division methods of IP multicast, think promptly that also a multicast group is exactly a VLAN.The method of this division has expanded VLAN to wide area network (Wide Area Network is called for short " WAN "), makes its division can have greater flexibility, and is easy to expand by router; But shortcoming is that this method efficient is not high, is not suitable for LAN.
Based on the advantage more than the VLAN, can utilize VLAN that the private network business is provided, can also provide differentiated service at the MAC layer.
Adopt networking structure that VLAN realizes differentiated service as shown in Figure 1, wherein, comprise host node, from node and two layers of middle Ethernet.
Specifically, host node and all adopt virtual two layers of Ethernet of vlan technology networking from node, at host node with before the node communication, two layers of Ethernet must be set up VLAN in advance and connect.For host node,, can obtain its affiliated vlan information, thereby host node can be received and dispatched the mac frame that carries the VLAN label according to the network planning; For from node, owing to there is not affiliated vlan information, therefore can't receive and dispatch the mac frame that carries the VLAN label, mainly contain two kinds of solutions at present:
First kind of solution be from node before communicating with host node, must set in advance VLANID.This scheme can't accomplish that the host node Remote configuration is from node VLAN.
Second kind of solution is not carry the mac frame of VLAN label from the node transmitting-receiving.This scheme can't be carried out the QOS scheduling to every mac frame.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of collocation method of slave node of virtual LAN, make host node can Remote configuration VLAN under the node, can carry out the QoS scheduling to each mac frame again simultaneously.
For achieving the above object, the invention provides a kind of collocation method of slave node of virtual LAN, comprise following steps:
Host node wherein, carries this virtual local area network tags information from node to issuing mac frame from node;
Described from node according to virtual local area network tags information described in the mac frame of being received, this initial VLAN ID from node is set.
Wherein, also comprise following steps:
Describedly set up this from node according to described initial VLAN ID and be connected with link between the described host node from node;
Described host node connects described all VLAN IDs from node of assignment by described link.
In this external described method, described assignment comprises increase, deletion or changes this VLAN ID from node.
In this external described method, described assignment is undertaken by the high-rise and described high level from node of described host node.
In this external described method, described host node is all described described virtual local area network tags information that issue correspondence from node in described VLAN by broadcasting or multicast mode.
In this external described method, described host node by point-to-point mode to all described this described virtual local area network tags information under the node that issues from node.
In this external described method, also comprise following steps:
Described host node and from node in advance Linktype be set to " Trunk " or " Hybrid " type.
In this external described method, also comprise following steps:
Described behind the node access network, detect the mac frame of whether receiving from the described virtual local area network tags information of carrying of described host node, if then this described initial VLAN ID from node is provided with.
By relatively finding, the main distinction of technical scheme of the present invention and prior art is, host node among the VLAN is to issuing mac frame from node, wherein, carry this VLAN label information from node, from node according to the VLAN label information of being received, this initial VLAN sign from node is set, foundation is connected with the two-way link of host node, thereby has realized the Remote configuration to VLAN under node, has reduced VLAN networking deployment cost.
Host node with set up two-way link and be connected with initial VLAN sign from node after, the indication that host node is answered according to high level, further connecting assignment by this link should be from all VLAN sign of node, and can increase these VLAN sign, deletion or alter operation, thereby realized the Remote configuration from node is safeguarded, reduced maintenance cost.
Because all carry the VLAN label information host node and all mac frames that intercom mutually from node, so when can realize Remote configuration to VLAN under node, realize each mac frame being carried out the QoS scheduling based on the VLAN label information.
Description of drawings
Fig. 1 is the networking structure schematic diagram that available technology adopting VLAN realizes differentiated service;
Fig. 2 is an ethernet vlan configuration structure schematic diagram in the prior art;
Fig. 3 is according to the VLAN of the first embodiment of the invention collocation method flow chart from node;
Fig. 4 is according to the VLAN of the second embodiment of the invention collocation method flow chart from node.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing.
Among the VLAN of the present invention, host node utilization broadcasting, multicast or point-to-point mode be to issuing mac frame from node, wherein comprises the VLAN label information under the node.According to the VLAN label information of being received its initial VLAN ID is set from node, thus set up with host node between two-way link be connected.Connect according to the link of being set up, host node can be according to the network planning, and assignment should realize the VLAN configuration from node from all VLAN ID of node.
In order to support host node and can to carry the VLAN label information from mac frame mutual between the node, host node and from node in advance Linktype be set to " Trunk " or " Hybrid " type, the ethernet vlan configuration structure that is set to " Trunk " type as shown in Figure 2, wherein, every link can be supported a plurality of VLAN.
The VLAN of first embodiment of the invention from the collocation method of node as shown in Figure 3.Host node and from node in advance Linktype be set to " Trunk " or " Hybrid " type, wherein, every link can be supported a plurality of VLAN.
In step 301, when host node system start-up or VLAN are provided with, because host node can obtain own each affiliated VLAN ID according to the network planning, and can know that each VLAN comprises from node, therefore, host node can be in each VLAN issues mac frame to each of this VLAN from node by broadcasting or multicast mode, wherein, carries this VLAN label information from node.
In step 302, behind the node access network, under initial condition, therefore the VLAN the unknown under it, can't generate the mac frame that has the VLAN label information from node, but can receive the mac frame that carries the VLAN label information that sends from Ethernet switch.Also therefore, behind the node access network, can detect the mac frame that carries the VLAN label information of whether receiving autonomous node, if then enter step 303; Otherwise, return step 302, continue to detect.
In step 303, from node according to VLAN label information the mac frame of being received, obtain VLAN ID wherein, and this initial VLAN ID from node is set, this VLAN ID can also be added to this simultaneously from the supported VLAN ID tabulation of node according to this VLAN ID.Enter step 304.
In step 304, from node can utilize this initial VLAN ID set up with host node between two-way link be connected, thereby can send the mac frame that carries the VLAN label information to host node, realize with host node between communicate by letter, host node with the Remote configuration that from the communication process of node, can further realize to VLAN under node, thereby reduce the deployment cost of VLAN networking.
In step 305, according to the network planning, host node judges whether and need if desired, then enter step 306 to carrying out the VLAN assignment from node; Otherwise, return step 305.According to the planning of network, can belong to one or more VLAN from node, but only join the therefore further assignment of needs of an initial VLIANID in the step 304.For example, when node belongs to a plurality of VLAN simultaneously, need to increase the VLAN ID under the node; When the network planning changes the VLAN number minimizing that causes under node, need the corresponding VLAN ID of deletion from node; When VLAN ID changes, need the corresponding VLAN ID of change equally from node.
In step 306, host node can be by its high level to carrying out assignment from node.Specifically, the information of assignment is sent to high level from node, by from the high-rise concrete entity of node to assignment from node VLAN.By assignment, can the VLAN under node be disposed neatly.Certainly, also can make amendment to this initial VLAN ID from node.Specifically, assignment comprises increase, deletion or changes this VLAN ID from node, thereby has realized the Remote configuration from node is safeguarded, can reduce the maintenance cost of VLAN.Enter step 307.
In step 307, whether receive the VLAN assignation information of autonomous node from its high level of node detection, if then enter step 308; Otherwise, return step 307, continue to detect.
In step 308, according to its high-rise assignment this is correspondingly revised from the supported VLAN ID tabulation of node from node.Process ends.
The VLAN of second embodiment of the invention from the collocation method of node as shown in Figure 4.Host node and from node equally in advance Linktype be set to " Trunk " or " Hybrid " type, wherein, every link can be supported a plurality of VLAN.
In step 401, host node periodically issues mac frame to what initial VLANID also was not set successfully from node by point-to-point mode, wherein, carries this VLAN label information from node.Because by network planning information, host node can be known each attribute from node that is subordinated to it, as long as also have from node successfully initial VLAN ID is not set, just periodically issues the mac frame that has the VLAN label information from node to this.In addition,, therefore, compare with broadcasting or multicast mode because the VLAN host node need circulate and issue this mac frame, this point-to-point mode, more suitable under the VLAN situation fewer from node; Under the VLAN situation many from node, will take too much VLAN host node resource, do not advise adopting.
Step 402 is similar to step 308 with step 302 respectively to step 408, does not repeat them here.
In the above-described embodiment, because all carry the VLAN label information host node and all mac frames that intercom mutually from node, so when can realize the Remote configuration to VLAN under node, realize each mac frame being carried out the QoS scheduling based on the VLAN label information.
Though pass through with reference to some of the preferred embodiment of the invention, the present invention is illustrated and describes, but those of ordinary skill in the art should be understood that and can do various changes to it in the form and details, and without departing from the spirit and scope of the present invention.

Claims (8)

1. the collocation method of a slave node of virtual LAN is characterized in that, comprises following steps:
Host node wherein, carries this virtual local area network tags information from node to issuing mac frame from node;
Described from node according to virtual local area network tags information described in the mac frame of being received, this initial VLAN ID from node is set.
2. the collocation method of slave node of virtual LAN according to claim 1 is characterized in that, also comprises following steps:
Describedly set up this from node according to described initial VLAN ID and be connected with link between the described host node from node;
Described host node connects described all VLAN IDs from node of assignment by described link.
3. the collocation method of slave node of virtual LAN according to claim 2 is characterized in that, described assignment comprises increase, deletion or changes this VLAN ID from node.
4. the collocation method of slave node of virtual LAN according to claim 3 is characterized in that, described assignment is undertaken by the high-rise and described high level from node of described host node.
5. the collocation method of slave node of virtual LAN according to claim 1 is characterized in that, described host node is all described described virtual local area network tags information that issue correspondence from node in described VLAN by broadcasting or multicast mode.
6. the collocation method of slave node of virtual LAN according to claim 1 is characterized in that, described host node by point-to-point mode to all described this described virtual local area network tags information under the node that issues from node.
7. according to the collocation method of each described slave node of virtual LAN in the claim 1 to 6, it is characterized in that, also comprise following steps:
Described host node and from node in advance Linktype be set to " Trunk " or " Hybrid " type.
8. the collocation method of slave node of virtual LAN according to claim 7 is characterized in that, also comprises following steps:
Described behind the node access network, detect the mac frame of whether receiving from the described virtual local area network tags information of carrying of described host node, if then this described initial VLAN ID from node is provided with.
CNB2006100257711A 2006-04-17 2006-04-17 Method for configurating slave node of virtual LAN Active CN100413260C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100257711A CN100413260C (en) 2006-04-17 2006-04-17 Method for configurating slave node of virtual LAN

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100257711A CN100413260C (en) 2006-04-17 2006-04-17 Method for configurating slave node of virtual LAN

Publications (2)

Publication Number Publication Date
CN1863089A true CN1863089A (en) 2006-11-15
CN100413260C CN100413260C (en) 2008-08-20

Family

ID=37390422

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100257711A Active CN100413260C (en) 2006-04-17 2006-04-17 Method for configurating slave node of virtual LAN

Country Status (1)

Country Link
CN (1) CN100413260C (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009074045A1 (en) * 2007-12-04 2009-06-18 Huawei Technologies Co., Ltd. A label management method and apparatus in pbb-te
CN101197720B (en) * 2007-12-27 2010-06-23 华为技术有限公司 Method and device for configuring Ethernet equipment
CN101197760B (en) * 2006-12-05 2010-09-29 中兴通讯股份有限公司 User grouping intercommunication/isolation device in virtual special network service
CN101336005B (en) * 2008-07-29 2011-01-19 中兴通讯股份有限公司 Implementing method for ASON system to automatically configure nodal parameter
CN102395056A (en) * 2011-06-29 2012-03-28 中兴通讯股份有限公司 Configuration method and system of virtual local area network model
CN101247300B (en) * 2007-12-11 2012-05-09 中兴通讯股份有限公司 Stack system operating GVRP and its distributed processing method
CN102938866A (en) * 2012-11-27 2013-02-20 华为技术有限公司 Method, device and system for transmitting VLAN (Virtual Local Area Network) information

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6639901B1 (en) * 2000-01-24 2003-10-28 3Com Corporation Apparatus for and method for supporting 802.1Q VLAN tagging with independent VLAN learning in LAN emulation networks
US20020199021A1 (en) * 2001-06-26 2002-12-26 Niels Beier Method and apparatus for using the type/length field in an ethernet mac header for carrying generic tags/labels
JP2003092586A (en) * 2001-09-18 2003-03-28 Fujitsu Ltd Layer 2-vpn relaying system
JP3714238B2 (en) * 2001-11-21 2005-11-09 日本電気株式会社 Network transfer system and transfer method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197760B (en) * 2006-12-05 2010-09-29 中兴通讯股份有限公司 User grouping intercommunication/isolation device in virtual special network service
WO2009074045A1 (en) * 2007-12-04 2009-06-18 Huawei Technologies Co., Ltd. A label management method and apparatus in pbb-te
CN101453403B (en) * 2007-12-04 2011-02-02 华为技术有限公司 Label management method and apparatus in PBB-TE
CN101247300B (en) * 2007-12-11 2012-05-09 中兴通讯股份有限公司 Stack system operating GVRP and its distributed processing method
CN101197720B (en) * 2007-12-27 2010-06-23 华为技术有限公司 Method and device for configuring Ethernet equipment
CN101336005B (en) * 2008-07-29 2011-01-19 中兴通讯股份有限公司 Implementing method for ASON system to automatically configure nodal parameter
CN102395056A (en) * 2011-06-29 2012-03-28 中兴通讯股份有限公司 Configuration method and system of virtual local area network model
WO2013000297A1 (en) * 2011-06-29 2013-01-03 中兴通讯股份有限公司 Method and system for configuring virtual local area network mode
CN102938866A (en) * 2012-11-27 2013-02-20 华为技术有限公司 Method, device and system for transmitting VLAN (Virtual Local Area Network) information

Also Published As

Publication number Publication date
CN100413260C (en) 2008-08-20

Similar Documents

Publication Publication Date Title
EP3985929B1 (en) Rule-based network identifier mapping
US8902757B2 (en) Method and system for transparent LAN services in a packet network
CN100563190C (en) Realize the method and system of hierarchical virtual private switch service
EP2001172A2 (en) Method, system and device of the ethernet technique exchanging and forwarding
CN1863089A (en) Method for configurating slave node of virtual LAN
CN1232072C (en) Communication method for sharing one subnet section of protocol between network by multiple virtual local networks
CN103139037A (en) Method and device used for achieving flexible virtual local area network
CN101072162A (en) Forwarding table minimization in Ethernet switch
CN1791065A (en) Method for accessing virtual LAN
CN101047636A (en) Method and system for end-to-end pseudo-line simulation virtual leased line access virtual special network
CN101729355B (en) Method for realizing particular virtual local area network and device
CN100358322C (en) Method of multilayer VLAN switching
CN101079775A (en) Method for dividing virtual LAN, data transfer and wireless packet gateway
WO2024104090A1 (en) Method for constructing building private network, and building private network
CN1677950A (en) Data exchange method based on virtual local area network
CN1553628A (en) Method for realizing chain circuit polymer function based on strategy route
CN1960299A (en) Method of automatic establishing virtual dedicated network topology based on exchange network of multiprotocol tags
CN1897596A (en) Method and system for controlling access address by virtual medium in Ethernet
US9929880B2 (en) System and method for managing VLAN associations with network ports
CN101043392A (en) Apparatus and base station equipment for transmitting IP packet in WiMAX network
CN100459554C (en) Aggregation system and method based on virtual LAN stack
CN102035721B (en) Method and device for aging processing of media access control table entry
CN100334849C (en) Method for realizing address synchronization in independant virtual LAN learning mode
CN1578236A (en) Method for extending virtual Local area network number in exchanging equipment
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
C14 Grant of patent or utility model
GR01 Patent grant