CN1863089A - Method for configurating slave node of virtual LAN - Google Patents
Method for configurating slave node of virtual LAN Download PDFInfo
- 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
- vlan
- slave node
- local area
- area network
- node
- 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
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
本发明涉及VLAN领域,公开了一种VLAN从节点的配置方法,使得主节点可以远程配置从节点所属的VLAN,同时又可以对每个MAC帧进行QoS调度。本发明中,VLAN中的主节点向从节点下发MAC帧,其中携带该从节点的VLAN标签,从节点根据所收到的VLAN标签,设置该从节点的初始VLAN标识,建立与主节点的双向链路连接,主节点根据高层应用的指示,进一步接指配该从节点的所有VLAN标识,并且可以对这些VLAN标识进行增加、删除或变更操作,从而实现了对从节点的远程配置维护,降低了维护成本。因为主节点与从节点相互通信的所有MAC帧中均携带VLAN标签,所以可以实现基于VLAN标签对每个MAC帧进行QoS调度。
The invention relates to the VLAN field, and discloses a VLAN slave node configuration method, so that the master node can remotely configure the VLAN to which the slave node belongs, and at the same time perform QoS scheduling on each MAC frame. In the present invention, the master node in the VLAN sends a MAC frame to the slave node, which carries the VLAN tag of the slave node, and the slave node sets the initial VLAN ID of the slave node according to the received VLAN tag, and establishes a connection with the master node. Two-way link connection, the master node further connects and assigns all the VLAN IDs of the slave node according to the instructions of the high-level application, and can add, delete or change these VLAN IDs, thus realizing the remote configuration and maintenance of the slave node, Reduced maintenance costs. Since all MAC frames communicated between the master node and the slave node carry VLAN tags, QoS scheduling for each MAC frame based on the VLAN tags can be realized.
Description
技术领域technical field
本发明涉及虚拟局域网领域,特别涉及虚拟局域网中节点的自动配置技术。The invention relates to the field of virtual local area network, in particular to the automatic configuration technology of nodes in the virtual local area network.
背景技术Background technique
局域网(Local Area Network,简称“LAN”)是指在一个局部地区,例如学校、企业等范围内,将多个计算机终端、数据库等设备连接起来在内部进行信息交流的专用网,其距离范围一般为几十米到几千米,通常是在一座建筑物或相邻的几座建筑物内。Local Area Network ("LAN" for short) refers to a private network that connects multiple computer terminals, databases and other equipment in a local area, such as schools, enterprises, etc., for internal information exchange. It is tens of meters to several kilometers, usually in a building or several adjacent buildings.
LAN通常被定义为一个单独的广播域,主要使用集线器、网桥或交换机等网络设备连接同一网段内的所有节点。同处一个LAN之内的网络节点之间可以不通过网络路由器直接进行通信;而处于不同局域网段内的设备之间的通信则必须经过网络路由器。A LAN is usually defined as a separate broadcast domain, which mainly uses network devices such as hubs, bridges, or switches to connect all nodes in the same network segment. Network nodes in the same LAN can communicate directly without going through a network router; while communication between devices in different LAN segments must go through a network router.
VLAN是一种通过将LAN内的设备逻辑地划分(而不是物理地划分)成一个个网段从而实现虚拟工作组的新兴技术,也即VLAN技术允许网络管理者将一个物理的LAN逻辑地划分成不同的广播域(即VLAN)。VLAN is an emerging technology that realizes virtual workgroups by logically (rather than physically) dividing devices in a LAN into network segments, that is, VLAN technology allows network managers to logically divide a physical LAN into different broadcast domains (that is, VLANs).
VLAN是一种非常重要的以太网技术,其最重要的作用是就是把一张大的以太网分割成多个小的虚拟以太网,解决以太网广播风暴的问题。其中,每一个VLAN都包含一组有着相同需求的计算机工作站,与物理上形成的LAN有着相同的属性。但由于它是逻辑地划分,所以同一个VLAN内的各个工作站不一定属于同一个物理LAN网段。VLAN is a very important Ethernet technology. Its most important function is to divide a large Ethernet into multiple small virtual Ethernets to solve the problem of Ethernet broadcast storms. Among them, each VLAN contains a group of computer workstations with the same requirements, and has the same attributes as the physically formed LAN. But because it is divided logically, each workstation in the same VLAN does not necessarily belong to the same physical LAN segment.
另外,一个VLAN内部的广播和单播流量都不会转发到其它VLAN中,从而有助于控制流量、减少设备投资、简化网络管理、提高网络的安全性。因此,VLAN也是为提高以太网的安全性而提出的一种协议,它在以太网帧的基础上增加了VLAN头,用VLAN标识(Identity,简称“ID”)把用户划分为更小的工作组,限制不同工作组间的用户二层网关互访,每个工作组就是一个VLAN。在网关中可以设置访问权限,保证授权用户才能访问特定的VLAN。In addition, broadcast and unicast traffic within a VLAN will not be forwarded to other VLANs, which helps to control traffic, reduce equipment investment, simplify network management, and improve network security. Therefore, VLAN is also a protocol proposed to improve the security of Ethernet. It adds a VLAN header on the basis of Ethernet frames, and uses VLAN identification (Identity, referred to as "ID") to divide users into smaller tasks. Group, which restricts the Layer 2 gateway mutual access between users in different workgroups, and each workgroup is a VLAN. Access rights can be set in the gateway to ensure that authorized users can access specific VLANs.
根据VLAN在交换机上的实现方法,可以大致划分为四类:基于端口划分的VLAN、基于MAC地址划分VLAN、基于网络层划分VLAN和根据IP组播划分VLAN。其中,电子和电气工程师协会(Institute of Electrical andElectronics Engineers,简称“IEEE”)802.1Q规定了依据以太网交换机的端口来划分VLAN的国际标准。在IEEE802.1Q/P中定义了VLAN标签,VLAN标签中包含VLAN ID,即VLAN的标识,VLAN标签还有一个服务等级(Classof Service,简称“COS”)字段,该字段用于实现媒体访问控制(Medium AccessControl,简称“MAC”)层的服务质量(Quality of Service,简称“QoS”)功能,根据COS字段可以对每个MAC帧进行QoS调度。According to the implementation method of VLAN on the switch, it can be roughly divided into four categories: VLAN based on port, VLAN based on MAC address, VLAN based on network layer and VLAN based on IP multicast. Among them, the Institute of Electrical and Electronics Engineers (Institute of Electrical and Electronics Engineers, referred to as "IEEE") 802.1Q stipulates an international standard for dividing VLANs based on ports of Ethernet switches. The VLAN tag is defined in IEEE802.1Q/P, and the VLAN tag contains the VLAN ID, which is the identification of the VLAN. The VLAN tag also has a Class of Service (Class of Service, referred to as "COS") field, which is used to implement media access control The Quality of Service ("QoS") function of the Medium Access Control ("MAC") layer can perform QoS scheduling for each MAC frame according to the COS field.
具体地说,基于端口的VLAN划分方法是根据以太网交换机的端口来划分,例如,交换机有24个端口,其中,1~4端口为VLAN 10;5~17为VLAN20;18~24为VLAN 30,当然,这些属于同一VLAN的端口可以不连续。交换机各个端口的具体配置由管理员决定,同一VLAN可以跨越数个以太网交换机,例如,如果有多个交换机,可以指定交换机1的1~6端口和交换机2的1~4端口为同一VLAN。根据端口划分是目前定义VLAN的最广泛的方法。这种划分的方法的优点是对VLAN成员的定义简单,只要将所有端口都定义即可;缺点是如果VLAN中的用户离开了原来的端口,转到新的交换机的某个端口时,必须重新定义。Specifically, the port-based VLAN division method is divided according to the ports of the Ethernet switch. For example, the switch has 24 ports, of which, 1-4 ports are VLAN 10; 5-17 are VLAN 20; 18-24 are VLAN 30 , Of course, these ports belonging to the same VLAN can be discontinuous. The specific configuration of each port of the switch is determined by the administrator. The same VLAN can span several Ethernet switches. For example, if there are multiple switches, ports 1-6 of switch 1 and ports 1-4 of switch 2 can be designated as the same VLAN. Classification according to ports is currently the most widely used method for defining VLANs. The advantage of this method of division is that the definition of VLAN members is simple, as long as all ports are defined; definition.
基于MAC地址的VLAN划分方法,是根据每个主机的MAC地址来划分的,即对每个MAC地址的主机都配置其属于哪个组。The VLAN division method based on the MAC address is divided according to the MAC address of each host, that is, the host with each MAC address is configured which group it belongs to.
这种划分VLAN的方法的最大优点就是当用户物理位置移动时,即从一个交换机换到其它的交换机时,VLAN不用重新配置。因此,可以认为这种划分方法是基于用户的;这种方法的缺点是初始化时,所有的用户都必须进行配置,如果用户过多,例如有几百个甚至上千个用户时,这种配置繁琐、成本较高。另外,由于在每一个交换机的端口都可能存在很多个VLAN组的成员,无法限制该VLAN中的广播包,导致了交换机执行效率的降低。The biggest advantage of this method for dividing VLANs is that when the user's physical location moves, that is, when changing from a switch to other switches, the VLAN does not need to be reconfigured. Therefore, it can be considered that this division method is based on users; the disadvantage of this method is that all users must be configured during initialization. If there are too many users, such as hundreds or even thousands of users, this configuration Complicated and costly. In addition, since there may be many VLAN group members on each port of the switch, broadcast packets in the VLAN cannot be limited, resulting in a reduction in the execution efficiency of the switch.
基于网络层的VLAN划分方法是根据每个用户的网络层地址或协议类型(如果支持多协议)划分的。虽然这种划分方法是根据网络地址,比如IP地址,但它与网络层的路由毫无关系,只是查看每个数据包的网络地址。但由于不是根据路由划分,因此,不是根据路由信息协议(Routing InformationProtocol,简称“RIP”)、开放最短路径优先协议(Open Shortest Path First,简称“OSPF”)等路由协议,而是根据生成树算法进行桥交换。The VLAN division method based on the network layer is divided according to each user's network layer address or protocol type (if multiple protocols are supported). Although this method of division is based on network addresses, such as IP addresses, it has nothing to do with routing at the network layer, it just looks at the network address of each packet. However, because it is not based on routing, it is not based on routing protocols such as Routing Information Protocol (Routing Information Protocol, referred to as "RIP"), Open Shortest Path First Protocol (Open Shortest Path First, referred to as "OSPF"), but based on spanning tree algorithm Perform a bridge exchange.
这种方法的优点是当用户的物理位置改变时,不需要重新配置该用户所属的VLAN。另外,可以根据协议类型来划分VLAN,这对网络管理者来说很重要。这种方法不需要附加的帧标签来识别VLAN,还可以减少网络的通信量。The advantage of this method is that when the physical location of the user changes, the VLAN to which the user belongs does not need to be reconfigured. In addition, VLANs can be divided according to protocol types, which is very important for network managers. This method does not require additional frame tags to identify VLANs, and can also reduce network traffic.
这种方法的缺点是效率低,因为检查每一个数据包的网络地址需要消耗一定的处理时间,一般的交换机芯片可以自动检查网络上数据包的以太网帧头,但如果需要支持IP帧头,则需要交换机芯片采用更高的技术和花费更多的检测耗时。The disadvantage of this method is that it is inefficient, because checking the network address of each data packet needs to consume a certain amount of processing time. The general switch chip can automatically check the Ethernet frame header of the data packet on the network, but if it needs to support the IP frame header, It requires the switch chip to adopt higher technology and spend more time-consuming detection.
根据IP组播的VLAN划分方法,也即认为一个组播组就是一个VLAN。这种划分的方法将VLAN扩大到了广域网(Wide Area Network,简称“WAN”),使其划分可以具有更大的灵活性,而且也很容易通过路由器进行扩展;但缺点是这种方法效率不高,不适合LAN。According to the VLAN division method of IP multicast, that is to say, a multicast group is regarded as a VLAN. This method of division extends the VLAN to the Wide Area Network (Wide Area Network, referred to as "WAN"), so that its division can have greater flexibility, and it is also easy to expand through routers; but the disadvantage is that this method is not efficient , not suitable for LAN.
基于VLAN以上的优点,可以利用VLAN提供专网业务,还可以在MAC层提供差异化业务。Based on the above advantages of VLAN, VLAN can be used to provide private network services, and differentiated services can also be provided at the MAC layer.
采用VLAN实现差异化服务的组网结构如图1所示,其中,包含主节点、从节点和中间的二层以太网。The network structure of implementing differentiated services using VLAN is shown in Figure 1, which includes a master node, a slave node, and a Layer 2 Ethernet in the middle.
具体地说,主节点和从节点均采用VLAN技术组网的虚拟二层以太网,在主节点和从节点通信之前,二层以太网必须事先建立VLAN连接。对于主节点,根据网络规划,可以获得其所属的VLAN信息,从而主节点可以收发携带VLAN标签的MAC帧;对于从节点,由于没有所属的VLAN信息,因此无法收发携带VLAN标签的MAC帧,目前主要有两种解决方案:Specifically, both the master node and the slave nodes use VLAN technology to form a virtual layer-2 Ethernet network. Before the master node and slave nodes communicate, the layer-2 Ethernet must establish a VLAN connection in advance. For the master node, according to the network planning, the VLAN information it belongs to can be obtained, so that the master node can send and receive MAC frames carrying VLAN tags; for the slave nodes, because there is no information about the VLAN they belong to, they cannot send and receive MAC frames carrying VLAN tags. There are mainly two solutions:
第一种解决方案是从节点在与主节点进行通信前,必须预先设置VLANID。这个方案无法做到主节点远程配置从节点VLAN。The first solution is that the slave node must pre-set the VLAN ID before communicating with the master node. This solution cannot achieve remote configuration of the slave node VLAN by the master node.
第二种解决方案是从节点收发不携带VLAN标签的MAC帧。这个方案无法对每MAC帧进行QOS调度。The second solution is to send and receive MAC frames that do not carry VLAN tags from the nodes. This solution cannot perform QOS scheduling for each MAC frame.
发明内容Contents of the invention
有鉴于此,本发明的主要目的在于提供一种虚拟局域网从节点的配置方法,使得主节点可以远程配置从节点所属的VLAN,同时又可以对每个MAC帧进行QoS调度。In view of this, the main purpose of the present invention is to provide a configuration method of a virtual local area network slave node, so that the master node can remotely configure the VLAN to which the slave node belongs, and at the same time perform QoS scheduling on each MAC frame.
为实现上述目的,本发明提供了一种虚拟局域网从节点的配置方法,包含以下步骤:In order to achieve the above object, the invention provides a configuration method of a virtual local area network slave node, comprising the following steps:
主节点向从节点下发MAC帧,其中,携带该从节点的虚拟局域网标签信息;The master node sends a MAC frame to the slave node, which carries the virtual local area network label information of the slave node;
所述从节点根据所收到的MAC帧中所述虚拟局域网标签信息,设置该从节点的初始虚拟局域网标识。The slave node sets the initial virtual local area network identifier of the slave node according to the virtual local area network label information in the received MAC frame.
其中,还包含以下步骤:Among them, the following steps are also included:
所述从节点根据所述初始虚拟局域网标识建立该从节点与所述主节点之间的链路连接;The slave node establishes a link connection between the slave node and the master node according to the initial virtual local area network identifier;
所述主节点通过所述链路连接指配所述从节点的所有虚拟局域网标识。The master node assigns all virtual local area network identifiers of the slave nodes through the link connection.
此外在所述方法中,所述指配包含增加、删除、或变更该从节点的虚拟局域网标识。Furthermore, in the method, the assigning includes adding, deleting, or changing the virtual local area network identifier of the slave node.
此外在所述方法中,所述指配通过所述主节点的高层以及所述从节点的高层进行。Furthermore, in the method, the assignment takes place via a higher layer of the master node and a higher layer of the slave node.
此外在所述方法中,所述主节点通过广播或组播的方式向所述虚拟局域网中所有所述从节点下发对应的所述虚拟局域网标签信息。In addition, in the method, the master node sends the corresponding virtual local area network label information to all the slave nodes in the virtual local area network by broadcasting or multicasting.
此外在所述方法中,所述主节点通过点对点的方式向所有所述从节点下发该从节点所属的所述虚拟局域网标签信息。In addition, in the method, the master node issues the label information of the virtual local area network to which the slave node belongs to all the slave nodes in a point-to-point manner.
此外在所述方法中,还包含以下步骤:In addition, in described method, also comprise following steps:
所述主节点和从节点预先将链路类型设置为“Trunk”或“Hybrid”类型。The master node and the slave node pre-set the link type as "Trunk" or "Hybrid".
此外在所述方法中,还包含以下步骤:In addition, in described method, also comprise following steps:
所述从节点接入网络后,检测是否收到来自所述主节点的携带有所述虚拟局域网标签信息的MAC帧,如果是,则对该从节点的所述初始虚拟局域网标识进行设置。After the slave node accesses the network, it detects whether it receives a MAC frame carrying the VLAN label information from the master node, and if so, sets the initial virtual LAN identifier of the slave node.
通过比较可以发现,本发明的技术方案与现有技术的主要区别在于,VLAN中的主节点向从节点下发MAC帧,其中,携带该从节点的VLAN标签信息,从节点根据所收到的VLAN标签信息,设置该从节点的初始VLAN标识,建立与主节点的双向链路连接,从而实现了对从节点所属VLAN的远程配置,降低了VLAN组网配置成本。By comparison, it can be found that the main difference between the technical solution of the present invention and the prior art is that the master node in the VLAN sends a MAC frame to the slave node, wherein the VLAN tag information of the slave node is carried, and the slave node according to the received MAC frame VLAN label information, set the initial VLAN ID of the slave node, and establish a bidirectional link connection with the master node, thereby realizing remote configuration of the VLAN to which the slave node belongs, and reducing the cost of VLAN networking configuration.
主节点与从节点以初始VLAN标识建立双向链路连接后,主节点根据高层应的指示,进一步通过该链路连接指配该从节点的所有VLAN标识,并且可以对这些VLAN标识进行增加、删除或变更操作,从而实现了对从节点的远程配置维护,降低了维护成本。After the master node and the slave node establish a two-way link connection with the initial VLAN ID, the master node further assigns all the VLAN IDs of the slave node through the link connection according to the instructions of the upper layer, and can add and delete these VLAN IDs Or change operations, thereby realizing remote configuration and maintenance of slave nodes and reducing maintenance costs.
因为主节点与从节点相互通信的所有MAC帧中均携带VLAN标签信息,所以可以实现对从节点所属VLAN的远程配置的同时,实现基于VLAN标签信息对每个MAC帧进行QoS调度。Since all MAC frames communicated between the master node and the slave node carry VLAN tag information, it is possible to realize remote configuration of the VLAN to which the slave node belongs and at the same time implement QoS scheduling for each MAC frame based on the VLAN tag information.
附图说明Description of drawings
图1是现有技术中采用VLAN实现差异化服务的组网结构示意图;FIG. 1 is a schematic diagram of a network structure using VLANs to implement differentiated services in the prior art;
图2是现有技术中以太网VLAN配置结构示意图;Fig. 2 is a schematic diagram of Ethernet VLAN configuration structure in the prior art;
图3是根据本发明第一实施方式的VLAN从节点的配置方法流程图;Fig. 3 is the flow chart of the configuration method of the VLAN slave node according to the first embodiment of the present invention;
图4是根据本发明第二实施方式的VLAN从节点的配置方法流程图。Fig. 4 is a flow chart of a VLAN slave node configuration method according to the second embodiment of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.
本发明的VLAN中,主节点利用广播、组播或点对点的方式向从节点下发MAC帧,其中包含从节点所属的VLAN标签信息。从节点根据所收到的VLAN标签信息设置其初始VLAN ID,从而建立与主节点之间的双向链路连接。根据所建立的链路连接,主节点可以根据网络规划,指配该从节点的所有的VLAN ID,实现对从节点的VLAN配置。In the VLAN of the present invention, the master node sends a MAC frame to the slave node in a broadcast, multicast or point-to-point manner, which contains VLAN tag information to which the slave node belongs. The slave node sets its initial VLAN ID according to the received VLAN tag information, thereby establishing a two-way link connection with the master node. According to the established link connection, the master node can assign all the VLAN IDs of the slave node according to the network planning to realize the VLAN configuration for the slave node.
为了支持主节点和从节点之间交互的MAC帧可以携带VLAN标签信息,主节点和从节点预先将链路类型设置为“Trunk”或“Hybrid”类型,设置为“Trunk”类型的以太网VLAN配置结构如图2所示,其中,每条链路可以支持多个VLAN。In order to support the MAC frame exchanged between the master node and the slave node to carry VLAN tag information, the master node and the slave node pre-set the link type to "Trunk" or "Hybrid" type, and set it to "Trunk" type Ethernet VLAN The configuration structure is shown in Figure 2, where each link can support multiple VLANs.
本发明第一实施方式的VLAN从节点的配置方法如图3所示。主节点和从节点预先将链路类型设置为“Trunk”或“Hybrid”类型,其中,每条链路可以支持多个VLAN。The configuration method of the VLAN slave node in the first embodiment of the present invention is shown in FIG. 3 . The master node and the slave node pre-set the link type as "Trunk" or "Hybrid", wherein each link can support multiple VLANs.
在步骤301中,当主节点系统启动或VLAN设置时,由于主节点可以根据网络规划获得自己所属的各个VLAN ID,并且可以获知每个VLAN所包含的从节点,因此,主节点可以在每个VLAN中通过广播或组播的方式向该VLAN的各个从节点下发MAC帧,其中,携带该从节点的VLAN标签信息。In
在步骤302中,从节点接入网络后,在初始状态下,其所属的VLAN未知,因此,从节点无法生成带有VLAN标签信息的MAC帧,但可以接收来自以太网交换机发送的携带VLAN标签信息的MAC帧。也因此,在从节点接入网络后,可以检测是否收到来自主节点的携带有VLAN标签信息的MAC帧,如果是,则进入步骤303;否则,返回步骤302,继续检测。In
在步骤303中,从节点根据所收到的MAC帧中VLAN标签信息,获得其中的VLAN ID,并根据该VLAN ID设置该从节点的初始VLAN ID,同时还可以将该VLAN ID添加到该从节点可支持的VLAN ID列表中。进入步骤304。In
在步骤304中,从节点可以利用该初始VLAN ID建立与主节点之间的双向链路连接,从而可以向主节点发送携带VLAN标签信息的MAC帧,实现与主节点之间的通信,主节点在与从节点的通信过程中可以进一步实现对从节点所属VLAN的远程配置,从而降低VLAN组网的配置成本。In
在步骤305中,根据网络规划,主节点判断是否需要对从节点进行VLAN指配,如果需要,则进入步骤306;否则,返回步骤305。根据网络的规划,从节点可以属于一个或多个VLAN,但步骤304中只配了一个初始的VLIANID因此需要进一步的指配。例如,从节点同时属于多个VLAN时,需要增加从节点所属的VLAN ID;网络规划改变导致从节点所属的VLAN个数减少时,需要删除对应的从节点的VLAN ID;当VLAN ID变更时,同样需要变更对应的从节点的VLAN ID。In
在步骤306中,主节点可以通过其高层对从节点进行指配。具体地说,将指配的信息发送给从节点的高层,由从节点的高层具体实体对从节点VLAN的指配。通过指配,可以对从节点所属的VLAN进行灵活地配置。当然,也可以对该从节点的初始VLAN ID进行修改。具体地说,指配包含增加、删除、或变更该从节点的VLAN ID,从而实现了对从节点的远程配置维护,可以降低VLAN的维护成本。进入步骤307。In
在步骤307中,从节点检测其高层是否收到来自主节点的VLAN指配信息,如果是则进入步骤308;否则,返回步骤307,继续检测。In
在步骤308中,从节点根据其高层的指配对该从节点可支持的VLAN ID列表进行相应地修改。结束本流程。In
本发明第二实施方式的VLAN从节点的配置方法如图4所示。主节点和从节点同样预先将链路类型设置为“Trunk”或“Hybrid”类型,其中,每条链路可以支持多个VLAN。The configuration method of the VLAN slave node according to the second embodiment of the present invention is shown in FIG. 4 . The master node and the slave node also pre-set the link type as "Trunk" or "Hybrid", wherein each link can support multiple VLANs.
在步骤401中,主节点通过点对点的方式向还没有设置成功初始VLANID的从节点周期性下发MAC帧,其中,携带该从节点的VLAN标签信息。因为通过网络规划信息,主节点可以知道从属于它的每一个从节点的属性,只要还有从节点没有设置成功初始VLAN ID,就周期性地向该从节点下发带有VLAN标签信息的MAC帧。另外,由于VLAN主节点需要循环下发该MAC帧,因此,与广播或组播的方式相比,这种点对点的方式,在VLAN从节点比较少的情况下比较适用;在VLAN从节点比较多的情况下,将会占用过多的VLAN主节点资源,不建议采用。In
步骤402到步骤408分别与步骤302到步骤308相类似,在此不再赘述。
在上述实施方式中,因为主节点与从节点相互通信的所有MAC帧中均携带VLAN标签信息,所以可以实现对从节点所属VLAN的远程配置的同时,实现基于VLAN标签信息对每个MAC帧进行QoS调度。In the above embodiment, since all MAC frames communicated between the master node and the slave node carry VLAN tag information, it is possible to implement remote configuration of the VLAN to which the slave node belongs and at the same time realize the configuration of each MAC frame based on the VLAN tag information. QoS scheduling.
虽然通过参照本发明的某些优选实施方式,已经对本发明进行了图示和描述,但本领域的普通技术人员应该明白,可以在形式上和细节上对其作各种改变,而不偏离本发明的精神和范围。Although the present invention has been illustrated and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the present invention. The spirit and scope of the invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100257711A CN100413260C (en) | 2006-04-17 | 2006-04-17 | Configuration method of virtual local area network identification in virtual local area network slave node |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100257711A CN100413260C (en) | 2006-04-17 | 2006-04-17 | Configuration method of virtual local area network identification in virtual local area network slave node |
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 Expired - Fee Related CN100413260C (en) | 2006-04-17 | 2006-04-17 | Configuration method of virtual local area network identification in virtual local area network slave node |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100413260C (en) |
Cited By (7)
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 | 中兴通讯股份有限公司 | Stacking system for operating GVRP and distributed processing method thereof |
CN102938866A (en) * | 2012-11-27 | 2013-02-20 | 华为技术有限公司 | Method, device and system for transmitting VLAN (Virtual Local Area Network) information |
Family Cites Families (4)
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 relay system |
JP3714238B2 (en) * | 2001-11-21 | 2005-11-09 | 日本電気株式会社 | Network transfer system and transfer method |
-
2006
- 2006-04-17 CN CNB2006100257711A patent/CN100413260C/en not_active Expired - Fee Related
Cited By (9)
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 | 中兴通讯股份有限公司 | Stacking system for operating GVRP and distributed processing method thereof |
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 |
---|---|---|
US11463279B2 (en) | Method and apparatus for implementing a flexible virtual local area network | |
EP3985929B1 (en) | Rule-based network identifier mapping | |
US8867555B2 (en) | Method and system for transparent LAN services in a packet network | |
EP2086178B1 (en) | Link aggregation method and device, mac frame receiving/sending method and system | |
CN102577277B (en) | Provides logically aggregated point-to-point data links that combine multipoint links | |
CN101022394B (en) | Method for realizing virtual local network aggregating and converging exchanger | |
CN105284080B (en) | The virtual network management method and data center systems of data center | |
EP2051450B1 (en) | Method and system for forwarding data between a plurality of provider ethernet networks | |
CN1232072C (en) | Communication method for sharing one subnet section of protocol between network by multiple virtual local networks | |
US20150169351A1 (en) | Configuring virtual media access control addresses for virtual machines | |
CN100420220C (en) | Layer 2 Tunneling Protocol Network Server and Tunnel Establishment Method | |
WO2007147340A1 (en) | Method, system and device of the ethernet technique exchanging and forwarding | |
CN100413260C (en) | Configuration method of virtual local area network identification in virtual local area network slave node | |
CN1863133A (en) | Method and apparatus for transmitting message | |
CN100391196C (en) | Data Exchange Method Based on Virtual Local Area Network | |
CN1838627A (en) | A Method for Realizing QinQ Access | |
CN1791065A (en) | Method for accessing virtual LAN | |
CN1677950A (en) | Data Exchange Method Based on Virtual Local Area Network | |
CN1516401A (en) | Method of Realizing Multi-role Host Based on Virtual Local Area Network | |
CN1897596A (en) | Method and system for controlling access address by virtual medium in Ethernet | |
Komilov et al. | Improving the use of virtual lan (vlan) technology | |
CN101499952A (en) | Network system capable of crossing different virtual local area network interval limitation | |
CN1691628A (en) | Implementation method and system for transmitting Ethernet services on RPR network | |
CN1578236A (en) | Method for extending virtual Local area network number in exchanging equipment |
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 |
Granted publication date: 20080820 |
|
CF01 | Termination of patent right due to non-payment of annual fee |