WO2005011198A1 - Procede pour augmenter le nombre de reseaux locaux virtuels supportes par un dispositif de commutation - Google Patents

Procede pour augmenter le nombre de reseaux locaux virtuels supportes par un dispositif de commutation Download PDF

Info

Publication number
WO2005011198A1
WO2005011198A1 PCT/CN2004/000879 CN2004000879W WO2005011198A1 WO 2005011198 A1 WO2005011198 A1 WO 2005011198A1 CN 2004000879 W CN2004000879 W CN 2004000879W WO 2005011198 A1 WO2005011198 A1 WO 2005011198A1
Authority
WO
WIPO (PCT)
Prior art keywords
vlan
port
switching device
data frame
switch
Prior art date
Application number
PCT/CN2004/000879
Other languages
English (en)
Chinese (zh)
Inventor
Huabin Chen
Shichang Xia
Jingxing Ma
Bin Wang
Zhonghua Li
Rui Tan
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.
Publication of WO2005011198A1 publication Critical patent/WO2005011198A1/fr

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]

Definitions

  • the present invention relates to the technical field of virtual local area networks (VLANs) in communication networks, and more particularly to a method for expanding the number of VLANs supported by a switching device.
  • VLANs virtual local area networks
  • VLAN is an end-to-end logical network constructed by network management software that can span different network segments and networks on the basis of switched LANs.
  • a VLAN forms a logical subnet, that is, a logical broadcast domain.
  • One VLAN can cover multiple network devices and allow network users in different geographical locations to join a logical subnet.
  • Untagged frames Priority-tagged frames
  • VLAN-tagged frames VLAN-tagged frames
  • VLAN-tagged frames contain clear VLAN identification information, so the VLAN to which the frame belongs can be determined directly based on the VLAN identification information. Specifically, the VLAN to which the frame belongs can be determined according to the VID value in the tag header of the VLAN-tagged frames.
  • the following uses the tagged frame format in Ethernet as an example to introduce the related structure of frames that support VLAN.
  • Figure 1A shows the frame structure.
  • the 802.1Q head is the tag specified by the IEEE 802 standard.
  • the format of the tag is shown in Figure 1B.
  • Some of the reserved VID values and their meanings / use correspondence are shown in Figure 1C.
  • the chip of each switch in the Ethernet has a certain amount of memory for storing VLAN entries. After a VLAN entry is set, when a switch forwards a data frame, it must first determine whether the switch supports the VLAN corresponding to the VID according to whether the VLAN entry stores the VID carried by the data frame. If it supports, then Find the destination port according to the MAC address and VID, and then forward the data frame through the destination port; if the switch does not support the VLAN corresponding to the VID, discard the data frame.
  • the VID in the VLAN entry indicates the VLAN ID supported by the switch, which is also 12 bits; VALID indicates the valid bit of the entry, which is 1 bit; VLANMEM indicates the VLAN member port, and the width of the VLANMEM is the number of ports of the switch; FID Indicates the shared learning group ID, which is 12 bits. Others are appropriately added to VLAN entries according to other related functions, such as VLAN authentication, VLAN spanning tree, etc. The bits of this segment are uncertain, but the width of this segment can also be considered. Is the port number of the switch.
  • the specification of the switch is 24 + 3, that is, 24 downlink ports plus 3 uplink ports, for a total of 27 ports.
  • the switch can be set to support all 4094 VLAN IDs. Based on this setting method, it is very easy to find and match the VID in the data frame. All VIDs in the network can be found in this entry. In this case, the size of the VLAN entry in the switch chip should be 4094 x 79 bits. In fact, for a low-end switch, it can encounter very few VIDs, and it does not need to support all VLAN IDs at all, so this implementation method will waste VLAN entry space.
  • the VLAN entries are stored in the switch chip, which increases the chip area and chip cost, and it is more troublesome to set such a number of VLAN IDs in the switch.
  • the VLAN ID carried in the data frame is not recorded in the VLAN entry, that is, the data frame is an unknown VLAN data frame.
  • the switch itself supports a limited number of VLAN IDs, and the VLAN ID carried by the data frame is beyond the configuration range of the switch; the other is that the VLAN ID is due to some reasons It is not configured in the VLAN entry, so it cannot find a match.
  • the switch finds that the data frame contains a VLAN ID that it cannot recognize, it considers that the data frame does not belong to its management range, and therefore directly discards the data frame.
  • the switch discards the data frame because it does not recognize the VLAN ID. In some cases, it does not affect the switch. However, in some cases, the data frame may be supported by other switches connected to the switch. Data frames can cause problems for the entire network management. For example, when a switch is cascaded, the VLAN corresponding to a VLAN ID is not supported by the switch, but other cascade switches connected to the switch support the VLAN. In this case, discarding data frames obviously affects the management of the cascade switch. If the data frame is not discarded, that is, the switch needs to be able to forward the data frame, the switch needs to support the VLAN ID. This will inevitably increase the number of VLAN IDs that the switch needs to support. It is possible to exceed the maximum number of VLAN IDs supported by the switch chip. This problem is particularly acute when there are more than one cascaded switches. Summary of the invention
  • the main object of the present invention is to provide a method for expanding the number of VLANs supported by a switching device, so that the switch can not only transmit the data frame corresponding to the VLAN ID that it can recognize, but also transmit the included VLAN ID All data frames that are not recognized by themselves.
  • a method for expanding the number of virtual local area networks supported by a switching device includes the following steps:
  • the switching device After receiving the data frame sent by the source switching device, the switching device obtains the VLAN ID of the virtual local area network in the data frame, and determines whether it supports the VLAN ID. If so, continue, otherwise, go to step c. ;
  • the switching device forwards the data frame within the VLAN corresponding to the VLAN ID and ends;
  • the switching device transparently transmits the data frame.
  • step a the switching device determines whether the VLAN ID is supported by itself: determining whether the VLAN ID is stored in its own VLAN ID entry.
  • the data frame is a data frame including a virtual local area network tag.
  • the method may further include: setting a transparent transmission forwarding port table including a correspondence relationship between the source port and the transparent transmission forwarding port;
  • the step c includes: determining a source port of the data frame received by the switching device, The transparent transmission forwarding port corresponding to the source port in the transmission forwarding port table, and forwards the data frame through the determined transparent transmission forwarding port.
  • the switching device is connected to at least one switching device other than the source switching device, and the transparent transmission forwarding port in the transparent transmission forwarding port table is determined according to a broadcast transmission mode, or the switching device is connected to a device other than the source switching device. At least one of the ports connected to the switching device is set as a transparent transmission port.
  • the switching device is only connected to the source switching device, and the transparent transmission port in the transparent transmission port table is set to be empty.
  • the setting the transparent transmission and forwarding port table is: configuring a transparent transmission and forwarding port table for each port in the switching device;
  • step C after determining the source port of the data frame received by the switching device, the switching device further includes: obtaining a transparent transmission and forwarding port table corresponding to the source port.
  • the setting of the transparent transmission and forwarding port table is: configuring a transparent transmission and forwarding port table for all ports in the switching device.
  • the transparent transmission and forwarding port is a cascade port, or an uplink port, or a network management port.
  • the forwarding the data frame in the VLAN corresponding to the VLAN ID by the switching device includes: obtaining a destination address from the data frame, and determining the destination address from the forwarding port table of the switching device according to the destination address and the VLAN ID.
  • the destination port and forwards data frames from the destination port.
  • the solution of the present invention transparently transmits data frames containing VLAN IDs that cannot be identified by the switching device, so that the switching device can transmit data containing VLAN IDs supported by other switching devices when the switching device supports the number of VLAN IDs that meet basic requirements.
  • Transparent transmission of frames to other switching devices is equivalent to expanding the number of VLANs supported by the switching device, and without increasing the storage capacity of the chip in the switching device, that is, saving the storage capacity of the chip, thereby reducing This reduces the resource consumption of the chip in the switching device.
  • FIG. 1A is a schematic diagram of a frame structure
  • FIG. 1B is a schematic diagram of a tag format in a frame
  • FIG. 1C is a schematic diagram of the correspondence between the reserved VLAN ID values and their meanings / use in FIG. 1B;
  • Figure 1D shows the structure of a VLAN entry
  • FIG. 1 is a schematic connection diagram of a cascade switch in an embodiment of the present invention
  • FIG. 3 is a flowchart for implementing the embodiment of the present invention. Mode of Carrying Out the Invention
  • the switching equipment involved in the present invention is connected to other switching equipment.
  • other switching equipment may be connected to the switching equipment, or the switching equipment may be connected in a cascade manner, and of course, other connection modes may also be used.
  • connection modes may also be used.
  • the solution provided by the present invention can be adopted. Therefore, in the following, a cascade switching device is taken as an example, and the solution of the present invention is described in detail with reference to the accompanying drawings.
  • the Layer 2 switches L2 Switch A and L2 Switch C are connected to the Layer 2 switch L2 Switch B through the cascade ports PI and P4, respectively, and the switch L2 Switch B is connected through the uplink port P2.
  • P3 is connected to the Layer 3 switch L3 Switch.
  • the chip in the switch L2 Switch B in Figure 2 only supports part of the VLAN ID. Assume that the VLAN ID carried by the data frame received by L2 Switch B is not an ID supported by the switch, that is, the VLAN data frame is an unknown VLAN data frame to the switch. However, the VLAN data frame is supported by L2 Switch A or L2 Switch C. If L2 Switch B discards the data frame according to the existing processing method, it will give L2 Switch A and L2 Switch to the cascade switch. C's management and forwarding messages cause problems.
  • the switches L2 Switch A and L2 Switch C cannot receive data frames used by upper-layer devices such as the L3 Switch to manage VLAN members of the switch, and the switches L2 Switch A and L2 Switch C cannot send out the carrying switch L2 Switch B. Unrecognized data frame with VLAN ID. Obviously, this will inevitably affect the normal forwarding function of the cascade switch.
  • switch L2 Switch B does not discard the data frames of the unknown VLAN, but instead implements forwarding in this switch, then L2 Switch B must support the VLAN ID. In this way, the VLAN ID supported by L2 Switch B must meet the requirements of this switch. In addition to the requirements, the VLAN IDs supported by switches L2 Switch A and L2 Switch C need to be expanded. Obviously, the number of VLAN IDs supported by switch L2 Switch B is relatively large, which is likely to exceed the VLAN ID supported by the chip itself. Number. If the number of Layer 2 switches cascaded with switch L2 Switch B is greater, the number of VLAN IDs that switch L2 Switch B needs to support is greater.
  • the solution provided by the present invention mainly adopts a method of transparently transmitting data frames, that is, transparently transmitting data frames of unknown VLANs of the switch to the cascade switch directly to solve the problem of insufficient number of VLAN IDs supported by the switch in the networking mode. .
  • a transparent transmission and forwarding port table may be set in the switch, so that the transparent transmission and forwarding port table is used to determine a port for transparent transmission of a data frame.
  • the transparent transmission and forwarding port table can be based on port configuration or global configuration.
  • the method based on port configuration is relatively flexible.
  • the method based on global configuration requires smaller storage units.
  • a corresponding transparent transmission forwarding port needs to be set for each port, and the transparent transmission forwarding port can be set according to the actual networking situation.
  • the specific settings are shown in the following table.
  • the destination port number to be forwarded on port 1 is the destination port number to be forwarded on port 27.
  • L2 Switch B in Figure 2 has a total of four ports, and each port is connected to other switching equipment. Therefore, the port corresponding to port P1 is transparent.
  • the forwarding ports can be set to P2, P3, and P4; the transparent forwarding ports corresponding to ports P2 and P3 can be set to P1 and P4; the transparent forwarding ports corresponding to port P4 can be set to Pl, P2, and P3.
  • the transparent transmission and forwarding port should be a cascade port, an uplink port, or a network management port. Of course, one or more of these ports can also be included at the same time.
  • the transmission of the switch to other switches can be set to broadcast mode.
  • the switch can be set to broadcast mode for the transmission of these cascade switches and the upper-layer switch.
  • the transparent transmission and forwarding port corresponding to the port connected to the upper-layer switch of the switch can be set to all the ports in the switch connected to the same-level switch, and the switch and a The transparent transmission and forwarding ports corresponding to the ports connected to the cascade switches of the same level are set to all ports except the port.
  • the transparent transmission forwarding ports corresponding to ports P2 and P3 of the switch L2 Switch B in FIG. 2 can be set to P1 and P4, so that the switch L2 Switch B can pass the port PI and P4 transparently transmit the data frame forwarded by the switch L3 Switch to the switches L2 Switch A and L2 Switch C, and the transparent forwarding port corresponding to port PI of L2 Switch B can be set to P2, P3, and P4, and port P4
  • the corresponding transparent forwarding ports can be set to Pl, P2, and P3.
  • a switch is an underlying switch
  • the switch when the switch receives a data frame containing a VLAN ID that it does not support, the switch can directly discard the data frame. Therefore, when setting the transparent transmission port table, all The corresponding transparent forwarding port of the port is set to
  • the switching device receives a data frame with a VLAN tag from a port, it obtains the VLAN ID in the tag. If the VLAN ID is not recorded in the VLAN list, that is, the data frame is an unknown VLAN. Data frame, the switching device transparently transmits the data frame in a straight-through manner, that is, the switching device determines the transparent transmission forwarding port of the receiving port in the transparent transmission forwarding port table, and transfers the data frame from the transparent transmission forwarding port The data is transmitted transparently; otherwise, the data frame is forwarded in the VLAN corresponding to the VLAN ID, specifically, the destination port is searched and forwarded according to the MAC address and the VLAN ID.
  • Step 310 The switch L2 Switch B receives a data frame with a VLAN tag sent by the switch L3 Switch, and obtains a VLAN ID from the data frame.
  • the data frame is transmitted by the switch L3 Switch through the port P2 or P3. Therefore, the switch L3 Switch is the source switching device that sends the data frame.
  • Step 320 The switch L2 Switch B queries whether its VLAN entry contains the obtained VLAN ID, and if yes, determines that the switch supports the VLAN corresponding to the VLAN ID, and proceeds to step 330; otherwise, proceeds to step 340.
  • Step 330 The switch L2 Switch B queries its own forwarding port table according to the destination MAC address and VLAN ID in the data frame, obtains the corresponding destination port, and forwards the data frame from the destination port, and then ends this processing flow.
  • Step 340 The switch L2 Switch B queries the transparent transmission forwarding port table of the source port accessing the data frame, obtains the specified transparent transmission port, and transparently transmits the data frame from the transparent transmission port.
  • the switch L2 Switch B can forward the data frames forwarded by the switch L3 Switch.

Landscapes

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

Abstract

L'invention concerne un procédé pour augmenter le nombre de réseaux locaux virtuels supportés par un dispositif de commutation, après réception par ce dispositif de commutation d'une trame de données envoyée par un dispositif de commutation source. Selon ce procédé, on obtient l'identification VLAN ID dans la trame de données et on détermine si elle supporte le VLAN ID. Si c'est le cas, le dispositif de commutation transmet la trame de données dans le VLAN correspondant au VLAN ID. Sinon, le dispositif de commutation fait passer la trame de données de manière transparente. Si le dispositif de commutation supporte le nombre de VLAN ID correspondant à la demande de base, l'invention permet de faire circuler de manière transparente la trame de données qui n'est pas supportée par le dispositif de commutation, ce qui est une solution dans les cas où il n'y a pas suffisamment de VLAN supportés par le dispositif de commutation, sans faire appel à une capacité de stockage de la puce CMOS du dispositif de commutation, réduisant ainsi la consommation des ressources de la puce CMOS.
PCT/CN2004/000879 2003-07-28 2004-07-28 Procede pour augmenter le nombre de reseaux locaux virtuels supportes par un dispositif de commutation WO2005011198A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN03144065.7 2003-07-28
CNB031440657A CN100391177C (zh) 2003-07-28 2003-07-28 在交换设备中扩充虚拟局域网数目的方法

Publications (1)

Publication Number Publication Date
WO2005011198A1 true WO2005011198A1 (fr) 2005-02-03

Family

ID=34085333

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2004/000879 WO2005011198A1 (fr) 2003-07-28 2004-07-28 Procede pour augmenter le nombre de reseaux locaux virtuels supportes par un dispositif de commutation

Country Status (2)

Country Link
CN (1) CN100391177C (fr)
WO (1) WO2005011198A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10555048B2 (en) 2009-05-01 2020-02-04 The Nielsen Company (Us), Llc Methods, apparatus and articles of manufacture to provide secondary content in association with primary broadcast media content
US12002478B2 (en) 2008-10-24 2024-06-04 The Nielsen Company (Us), Llc Methods and apparatus to perform audio watermarking and watermark detection and extraction

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7768918B2 (en) * 2006-06-28 2010-08-03 Via Technologies Inc. Method for expanding the service VLAN space of a provider network
CN102819513A (zh) * 2012-06-29 2012-12-12 安科智慧城市技术(中国)有限公司 基于串口通信的交互方法及装置
CN103457796B (zh) * 2013-08-29 2018-07-20 国家电网公司 一种智能变电站中跨交换机的监控方法
CN111010673B (zh) * 2018-10-08 2021-05-11 华为技术有限公司 一种通信方法及装置
CN110830307B (zh) * 2019-11-21 2022-02-15 中盈优创资讯科技有限公司 网络扩容方法及装置

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1162796A2 (fr) * 2000-06-09 2001-12-12 Broadcom Corporation Conmutateurs gigabit montés en cascade

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1167227C (zh) * 2001-10-31 2004-09-15 华为技术有限公司 光纤同轴混合接入网中的虚拟局域网接入方法
CN1125545C (zh) * 2001-12-31 2003-10-22 刘军民 实现局域网虚通道传送的数据转发方法

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1162796A2 (fr) * 2000-06-09 2001-12-12 Broadcom Corporation Conmutateurs gigabit montés en cascade

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12002478B2 (en) 2008-10-24 2024-06-04 The Nielsen Company (Us), Llc Methods and apparatus to perform audio watermarking and watermark detection and extraction
US10555048B2 (en) 2009-05-01 2020-02-04 The Nielsen Company (Us), Llc Methods, apparatus and articles of manufacture to provide secondary content in association with primary broadcast media content
US11948588B2 (en) 2009-05-01 2024-04-02 The Nielsen Company (Us), Llc Methods, apparatus and articles of manufacture to provide secondary content in association with primary broadcast media content

Also Published As

Publication number Publication date
CN100391177C (zh) 2008-05-28
CN1578236A (zh) 2005-02-09

Similar Documents

Publication Publication Date Title
US6115378A (en) Multi-layer distributed network element
US9553811B2 (en) Method and apparatus for reducing flood traffic in train switches
US8837281B2 (en) Use of partitions to reduce flooding and filtering database size requirements in large layer two networks
US8135019B2 (en) Mobile virtual LAN
US7636360B2 (en) Dynamic VLAN ID assignment and packet transfer apparatus
US7424012B2 (en) Linked network switch configuration
US6747979B1 (en) Method and apparatus for bridging between networks
EP1903723B1 (fr) Méthode et appareil de transmission de message
US8027348B2 (en) Frame transfer method and frame transfer device
WO2009033428A1 (fr) Procédé, système et dispositif pour retirer une adresse de commande d'accès au support
US7733807B2 (en) Systems and methods for accelerated learning in ring networks
US20080253385A1 (en) Flexible ethernet bridge
JP2003032287A (ja) ネットワーク間接続方法、その装置およびその装置を用いたシステム
GB2497202A (en) Transmitting frames between, possibly different, local VLANs by encapsulating frames for global VLAN tunnel
US8527674B2 (en) Data packet switching
JP2002314571A (ja) スイッチングノードのための分類およびタグ付け規則
EP2584742B1 (fr) Procédé et commutateur d'envoi de paquets
WO2007112691A1 (fr) Système, procédé et dispositif réseau permettant à un client de réseau privé virtuel (vpn) d'accéder à un réseau public
WO2009082905A1 (fr) Procédé système et dispositif commutateur permettant l'établissement dynamique de réseau local virtuel de multidiffusion
WO2010135987A1 (fr) Procédé et appareil d'agrégation de liaison
WO2007076679A1 (fr) Procede et dispositif pour la qualite de gestion de service basee sur un ensemble de reseaux locaux virtuels
WO2007030970A1 (fr) Systeme de gestion par grappe dans une couche de commutation ethernet et procede associe
WO2005011198A1 (fr) Procede pour augmenter le nombre de reseaux locaux virtuels supportes par un dispositif de commutation
WO2015090023A1 (fr) Procédé et appareil d'implémentation permettant à un vlan d'accéder à un réseau vf et à un fcf
US9654304B2 (en) Method and apparatus for sending transparent interconnection of lots of links data frame

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
122 Ep: pct application non-entry in european phase