CN1988497B - Method for processing two-layer data packet in Ether net exchanger - Google Patents
Method for processing two-layer data packet in Ether net exchanger Download PDFInfo
- Publication number
- CN1988497B CN1988497B CN 200510121284 CN200510121284A CN1988497B CN 1988497 B CN1988497 B CN 1988497B CN 200510121284 CN200510121284 CN 200510121284 CN 200510121284 A CN200510121284 A CN 200510121284A CN 1988497 B CN1988497 B CN 1988497B
- Authority
- CN
- China
- Prior art keywords
- port
- switch
- packet
- pvid
- vlan
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention disclose a method for dealing with the two-layer package in Ethernet Switch, in which, the switch special operation port is set to the QINQ CUSTOM port, and PVID to be a special value without any other ports bundled. The special operation means VPLS and VPWS or other two-layer advanced function operation. Compared to existing technology, the invention achieves the special functions in the distributed switch, effectively inhibits the acts of finding no MAC address and VLAN broadcasting.
Description
Technical field
The present invention relates to the Ethernet switch of communication field, be specifically related to suppress in the distribution switch processing method the Layer 2 data bag.
Background technology
In the switch, when handling the Layer 2 data bag, at first use purpose MAC and search the MAC table, if in the MAC table a such MAC Address is arranged, packet forwards with regard to the outbound port during from then on MAC shows so.If do not have such address in the MAC table, will in the VLAN of data band or in the default PVLAN, broadcast forwarding to packet.
The characteristics of switch are, top forwarding process generally all adopts integrated asic chip to finish, that is to say that top forwarding process all is to be finished automatically by hardware, low price like this, but be difficult for expansion, be difficult for realizing some Premium Features such as VPLS (VPLS:Virtual Private LAN Service, virtual special local area network service), VPWS (service of VPWS:Virtual Private Wire Service virtual dedicated line).
Now in order to want switch the inside to realize the unsupported two layers of specific function of some common asic chips, such as VPLS, VPWS just must deliver to packet on the special veneer of appointment and do special processing.But port receives a Layer 2 data bag that can not find out MAC and will carry out broadcasting in the VLAN, has been against the original intention that realizes VPLS/VPWS once broadcasting.
Summary of the invention
The technical problem to be solved in the present invention is, proposed a kind of method, and the Layer 2 data bag is handled, and suppresses packet and broadcasts.
Technical scheme of the present invention is, the port of doing particular service in the switch is arranged to the CUSTOM port of QINQ, and PVID is set as not a particular value with any other port binding.The particular service here is meant VPLS and VPWS or other the Premium Features business of speaking of previously of two layers.
Can be set as the ACCESS port to the port of doing particular service earlier, then the port of doing particular service is set as the CUSTOM port of QINQ.
When the particular port of packet by switch enters forwarding chip, with PVID+MAC address search MAC table, if can not find out, in special vlan, broadcast, the particular service plate then utilizes network processing unit to come packet is done any processing if receive this bag, handles that again data are sent.
Compare with prior art, the present invention some specific functions has effectively suppressed can not find out the behavior of MAC Address VLAN broadcasting to realizing in distribution switch.
Embodiment
At first introduce the QINQ function, the QINQ function is that label piles up function, exactly the raw data packets that enters switch is beaten one deck VLAN TAG (label) again and sends switch.QINQ divides CUSTOM port and UPLINK port.
The CUSTOM port need be provided with PVID (PVID:Port Vlan ID claims port default VLAN ID again, i.e. port default Vlan ID), and this PVID is exactly the VLAN TAG that will add on former packet.When packet enters the CUSTOM port, if former packet is not with VLAN TAG, go out from the UPLINK port if packet can add the VLAN TAG of one deck PVID. former data band one deck VLAN TAG, the VLAN TAG that packet will add one deck PVID again goes out from the UPLINK port, original like this VLAN TAG is a vpn label, and the new VLAN TAG that adds is an outer layer label.
When packet enters the UPLINK port, if the two-layer VLAN TAG of former data band then peels outside VLAN TAG off, data band inner VLAN TAG goes out from the CUSTOM port.If former data band one deck VLAN TAG then peels VLAN TAG from the CUSTOM port off and goes out.
Method of the present invention is exactly, and the port of doing particular service is arranged to the CUSTOM port of QINQ in switch, and PVID is set as a particular value, belongs to this VLAN without any other ports.
Can at first be set as ACCESS port (the ACCESS port: port can only belong to a VLAN, and is untagged) to the port of specific function, PVID is made as a special reserved values.Then port is set as the CUSTOM port of QINQ.
Do after the top configuration, all entry port Layer 2 data bags, to in ingress VLAN, not do broadcasting, but on the basis of original packet, stamp the VLAN TAG of one deck PVID again, in PVID, broadcast, because this PVID with any other port binding, so this packet does not forward from any port, just has not been broadcast to the specific function disposable plates.
When the particular port of packet by switch enters forwarding chip, with PVID+MAC address search MAC table, can not find out, in special vlan, broadcast, have only the particular service plate may receive this bag.The particular service plate can utilize network processing unit to come packet is done any processing, handles that again data are sent.But it should be noted that: the packet that enters the particular service plate has not been original packet, but has added the packet of one deck VLAN TAG, can ignore this outside VLAN in the middle of handling, and handles outer field VLANTAG is peeled off.
Claims (2)
1. method of in Ethernet switch, handling the Layer 2 data bag, the port of doing particular service in the switch is arranged to the CUSTOM port of QINQ, PVID is set as not a particular value with any other port binding, wherein, described particular service comprises virtual special local area network service VPLS or virtual dedicated line service VPWS.
2. the method for in Ethernet switch, handling the Layer 2 data bag according to claim 1, it is characterized in that, when the port of packet by switch enters forwarding chip, show with PVID+MAC address search MAC, if can not find out, in VLAN, to broadcast, business board is if receive this bag, then utilize network processing unit to come packet is done any processing, handle that again data are sent.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200510121284 CN1988497B (en) | 2005-12-24 | 2005-12-24 | Method for processing two-layer data packet in Ether net exchanger |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200510121284 CN1988497B (en) | 2005-12-24 | 2005-12-24 | Method for processing two-layer data packet in Ether net exchanger |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1988497A CN1988497A (en) | 2007-06-27 |
CN1988497B true CN1988497B (en) | 2010-05-05 |
Family
ID=38185139
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200510121284 Active CN1988497B (en) | 2005-12-24 | 2005-12-24 | Method for processing two-layer data packet in Ether net exchanger |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1988497B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101227401B (en) * | 2008-02-19 | 2010-09-29 | 中兴通讯股份有限公司 | Data transmission system and method |
CN103532848B (en) * | 2013-10-25 | 2017-02-08 | 迈普通信技术股份有限公司 | virtual private local area network service message processing method and system |
CN113050703B (en) * | 2021-02-05 | 2022-11-18 | 新华三技术有限公司 | Flow control method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1404263A (en) * | 2001-09-03 | 2003-03-19 | 华为技术有限公司 | Realizing method and system of special network in wideband virtual network |
CN1405986A (en) * | 2001-09-18 | 2003-03-26 | 富士通株式会社 | Relay system of second layer virtual special network |
CN1499781A (en) * | 2002-11-05 | 2004-05-26 | �ձ�������ʽ���� | Second layer exchanging and processing method to second layer frame spreading virtual local net label |
CN1652542A (en) * | 2004-02-07 | 2005-08-10 | 华为技术有限公司 | Method for implement virtual leased line |
-
2005
- 2005-12-24 CN CN 200510121284 patent/CN1988497B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1404263A (en) * | 2001-09-03 | 2003-03-19 | 华为技术有限公司 | Realizing method and system of special network in wideband virtual network |
CN1405986A (en) * | 2001-09-18 | 2003-03-26 | 富士通株式会社 | Relay system of second layer virtual special network |
CN1499781A (en) * | 2002-11-05 | 2004-05-26 | �ձ�������ʽ���� | Second layer exchanging and processing method to second layer frame spreading virtual local net label |
CN1652542A (en) * | 2004-02-07 | 2005-08-10 | 华为技术有限公司 | Method for implement virtual leased line |
Non-Patent Citations (2)
Title |
---|
刘明,蔡昭权.基于LDP的VPLS的实施模型的比较.广东通信技术 10.2005,(10),66-72. |
刘明,蔡昭权.基于LDP的VPLS的实施模型的比较.广东通信技术 10.2005,(10),66-72. * |
Also Published As
Publication number | Publication date |
---|---|
CN1988497A (en) | 2007-06-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100542122C (en) | A kind of multiplexing method of VLAN switching tunnel and VLAN switching domain | |
US7697528B2 (en) | Multilink trunking for encapsulated traffic | |
US9294305B2 (en) | Method for sending ethernet frames in ethernet tree service and provider edge device | |
US9628293B2 (en) | Network layer multicasting in trill networks | |
US9608833B2 (en) | Supporting multiple multicast trees in trill networks | |
US9185035B2 (en) | Apparatus and method for processing packet in MPLS-TP network | |
EP2490375B1 (en) | Method and device for link protection in virtual private local area network | |
US20140226670A1 (en) | Enhanced Hierarchical Virtual Private Local Area Network Service (VPLS) System and Method for Ethernet-Tree (E-Tree) Services | |
US20130003607A1 (en) | E-tree using two pseudowires between edge routers with enhanced forwarding methods and systems | |
WO2006017111A3 (en) | Scaling vlans in a data network | |
US20040037279A1 (en) | Virtual private LAN service using a multicast protocol | |
CN101146016B (en) | Ethernet frame transmission method and Ethernet architecture | |
CN100442777C (en) | Service quality managing method based on VLAN stack | |
EP2587742A1 (en) | Method for forwarding message and switch chip | |
CN1988497B (en) | Method for processing two-layer data packet in Ether net exchanger | |
CN103780484B (en) | Message transmitting method and device | |
CN101707545B (en) | Method and system for realizing private virtual local area network | |
CN101110764A (en) | Method for Ethernet switchboard data frame partitioning virtual local area network and transmitting | |
CN102404179B (en) | Method and device for processing message | |
CN107547342A (en) | Message broadcasting method and apparatus based on VXLAN tunnels | |
CN105227464B (en) | Message forwarding method and device in VCF system | |
EP3113422B1 (en) | Method and system of enhancing multiple mac registration protocol (mmrp) for protocol internetworking | |
EP2485451A1 (en) | Two-layer forwarding method for a pseudo wire (pw) service and system thereof | |
CN101364949B (en) | Packet stream redirection processing method for distributed network system | |
CN100450095C (en) | System and method for providing QoS service to virtual special line |
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 |