CN101102199A - Method and device for integrated Ethernet switching service channel management channel - Google Patents
Method and device for integrated Ethernet switching service channel management channel Download PDFInfo
- Publication number
- CN101102199A CN101102199A CNA2007101061981A CN200710106198A CN101102199A CN 101102199 A CN101102199 A CN 101102199A CN A2007101061981 A CNA2007101061981 A CN A2007101061981A CN 200710106198 A CN200710106198 A CN 200710106198A CN 101102199 A CN101102199 A CN 101102199A
- Authority
- CN
- China
- Prior art keywords
- port
- bag
- tag
- cpu
- collar extension
- 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
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The method comprises: setting up a CPU port in the switch chip; enabling the private TAG of the CPU port; connecting said CPU port to the one port of the switch chip on by a ring, and using the one of ports as the ring opening; reserving the ports of the said switch chip and other switch chips as well as said ring opening in VLAN; wherein, the PVID of each port is the ID number of VLAN.
Description
Technical field
The present invention relates to Ethernet switch, more specifically, relate to the method and apparatus of a kind of Ethernet reciprocal exchange of business passage and management channels unification.
Background technology
Ethernet switching chip is the core component of Ethernet switch.In Ethernet switching chip, the path of user's data bag process is called data service channel, the Ethernet protocol bag, such as IGMP (Internet Group Management Protocol, IGMP) path of bag, BPDU (Bridge Protocol Data Unit, bridge protocol data unit) bag process is called management channels.Protocol package all will be sent to CPU, gives protocol stack and handles.
The Ethernet switching chip that has a kind of high performance-price ratio, its cpu port can be appointed as any one port of exchange chip, the bag that mails to CPU sends from this port, the bag that the process cpu port sends, can stamp the privately owned TAG of Ethernet switching chip manufacturer, so that CPU therefrom extracts the information of the type of bag, former port, VLAN (Virtual LAN, VLAN) etc.This application mode, when directly connecting CPU, Ethernet switching chip can not have problems, if but the Ethernet switching chip cpu port does not directly connect CPU, but connect under the situation of another one exchange chip, owing to all stamped privately owned TAG (label) from the bag that this port sends, the Ethernet switching chip of other manufacturers can't be discerned this TAG, can directly handle this bag according to standard ethernet frame, will cause the mistake to the forwarding and the processing of this frame like this.
Thereby, being badly in need of a kind of scheme flexibly, not only can address the above problem, and also simple and easy to do, save development cost and time.
Summary of the invention
In view of the above problems, the invention provides the method and apparatus of a kind of Ethernet reciprocal exchange of business passage and management channels unification, it can exchange user's business datum and Ethernet protocol data simultaneously, and can not interact.
Method according to Ethernet reciprocal exchange of business passage of the present invention and management channels unification can may further comprise the steps: the cpu port of exchange chip is set, enables the privately owned TAG of cpu port; With a port looper of cpu port and described exchange chip so that a described port becomes collar extension; And the port that described exchange chip is linked to each other with other exchange chips and described collar extension add and keep among the VLAN, and wherein, the PVID of each port (Port VLAN ID, port vlan sign) is respectively ID number of VLAN.
Wherein, TAG is the TAG that utilizes four bytes of 802.1Q TAG domain construction, comprises former port information, frame type information, precedence information and the vlan information of frame.
Cpu port is set to not send broadcast packet, unknown multicast bag and big vast model bag, and described collar extension is set to not send broadcast packet, unknown multicast bag and big vast model bag.
In addition, in the method, all of the port except described collar extension is set to grasp the management agreement bag.
The present invention also provides the device of a kind of Ethernet reciprocal exchange of business passage and management channels unification, and it can comprise: the unit is set, is used to be provided with the cpu port of exchange chip, enable the privately owned TAG of cpu port; The looper unit is used for a port looper with cpu port and described exchange chip so that a described port becomes collar extension; And the adding unit, the port and the described collar extension that are used for described exchange chip is linked to each other with other exchange chips add reservation VLAN, and wherein, the PVID of each port is respectively ID number of VLAN.
Wherein, TAG is the TAG that utilizes four bytes of 802.1Q TAG domain construction, comprises former port information, frame type information, precedence information and the vlan information of frame.
The unit is set also is used for cpu port and is set to not send broadcast packet, unknown multicast bag and big vast model bag, and described collar extension is set to not send broadcast packet, unknown multicast bag and big vast model bag.
In addition, in this device, all of the port that the unit also is used for except described collar extension is set is set to grasp the management agreement bag.
Thereby, adopting the present invention, the data of user port can exchange with the interconnection mouth, unaffected, and the management data of user port, behind cpu port, have the relevant information of former port, after swapping out from the interconnection oral sex, can be delivered to CPU by other exchange chip.CPU can obtain user's former port information by the parsing to privately owned TAG, and is handled by the related protocol stack.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of specification, is used from explanation the present invention with embodiments of the invention one, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the flow chart according to the method for Ethernet reciprocal exchange of business passage of the present invention and management channels unification;
Fig. 2 implements physical connection figure of the present invention;
Fig. 3 shows the diagrammatic sketch of the invention process data handling procedure; And
Fig. 4 is the block diagram according to the device of Ethernet reciprocal exchange of business passage of the present invention and management channels unification.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.
In an Ethernet switch, business datum that should process user, this work is directly finished by Ethernet switching chip, handles the ethernet management protocol data again, and this work will be delivered to CPU with the ethernet management protocol package and finish dealing with.
Fig. 1 is the flow chart according to the method for Ethernet reciprocal exchange of business passage of the present invention and management channels unification.As shown in Figure 1, this method may further comprise the steps:
Step S102 is provided with the cpu port of exchange chip, enables the privately owned TAG of cpu port; With a port looper of cpu port and described exchange chip so that this port becomes collar extension; And
Step S104, port and collar extension that described exchange chip is linked to each other with other exchange chips add among the reservation VLAN, and wherein, the PVID of each port is respectively ID number of VLAN.
Wherein, TAG is the TAG that utilizes four bytes of 802.1Q TAG domain construction, comprises former port information, frame type information, precedence information and the vlan information of frame.
Cpu port is set to not send broadcast packet, unknown multicast bag and big vast model bag, and collar extension is set to not send broadcast packet, unknown multicast bag and big vast model bag.
In addition, in the method, all of the port except collar extension is set to grasp the management agreement bag.
Fig. 2 implements physical connection figure of the present invention.As shown in Figure 2, exchange chip A and exchange chip B are by the interconnection of gigabit mouth, and exchange chip A is provided with cpu port b, port b and port a looper.Exchange chip B directly is connected with CPU, is sent to bag and the packet of CPU, all must be by exchange chip B.
With reference to figure 2, the specific embodiments of the invention process may further comprise the steps:
Step 1, the cpu port of exchange chip is set, all cpu ports with the registered permanent residence are set to port b (cpu port of exchange chip), the privately owned TAG state that this port is set is for enabling, like this, from all bags that this port sends, all can utilize the privately owned TAG of four bytes of 802.1Q TAG domain construction, this TAG has comprised the former port information of this frame, frame type information, precedence information and vlan information.This port is set to not send broadcast packet, unknown multicast bag and big vast model bag, to avoid the impact of these bags to CPU;
Step 2, together with port b (exchange chip cpu port) and port a ring, port a becomes collar extension, port a and port b are set to not send broadcast packet, unknown multicast bag and big vast model bag, to avoid causing the loop of exchange chip inside, cause exchange chip unusual;
Step 3, all user ports are set grasp management agreement bags (IGMP/BPDU), port a (collar extension) is not provided with, and like this, entering can be crawled to cpu port with the management agreement bag of the registered permanent residence, and the Bao Buhui that enters collar extension is caught cpu port once more;
Step 4, add and keep VLAN 4094, comprise port c (interconnection mouthful) and port b (collar extension), port b PVID is set to keep VLAN 4094.From the bag that the CPU mouth sends, when entering collar extension again, can stamp the TAG of this VLAN ID;
When step 5, configure user VLAN, all VLAN comprise the interconnection mouth, and the bag that this port is gone out all has TAG.From the management agreement frame that CPU sends, all have and keep VLAN 4094, this frame can only exchange to collar extension after entering from the interconnection mouth; And
Step 6, the PVLAN that all user ports and collar extension be set isolate, and prevent from that business packet from producing CPU to impact.
Fig. 3 shows the diagrammatic sketch of the invention process data handling procedure.Describe this handling process below in conjunction with Fig. 3, as shown in Figure 3, Business Stream and management agreement bag flow process are as follows respectively.
One, packet flow process, wherein, normal business data flow exchanges according to the study-forward mode of Ethernet switching chip, and these bags because cpu port being provided with do not transmitted broadcasting, Hong Fan wraps, can not delivered to CPU; And
Two, business packet flow process wherein, comprising: up management frames flow process; And down management frame flow process.
Up management frames flow process may further comprise the steps:
Step a, the management frames that enters user port is switched directly to cpu port;
Step b, the frame from cpu port exchanges enters collar extension by loop, beats in the collar extension porch to keep TAG (VLAN ID is 4094); And
Step c, the management frames that collar extension enters exchanges to the interconnection mouth in VLAN 4094, and B is sent to CPU by exchange chip.
Down management frame flow process may further comprise the steps:
Steps A, management frames have and keep VLAN TAG 4094, arrive the interconnection mouth, exchange to collar extension in VLAN 4094;
Step B, the management frames from collar extension is come out is the UNTAG frame, only has the privately owned TAG of exchange chip, this frame enters cpu port by loop then; And
Step C, the management frames that enters cpu port, cpu port can be resolved the content of its privately owned TAG, and this content determines the switch-activity of frame fully, sends to the user port of appointment.
Fig. 4 is that as shown in Figure 4, this device comprises: unit 402 is set, is used to be provided with the cpu port of exchange chip, enable the privately owned TAG of cpu port according to the block diagram of the device 400 of Ethernet reciprocal exchange of business passage of the present invention and management channels unification; Looper unit 404 is used for a port looper with cpu port and described exchange chip so that a described port becomes collar extension; And add unit 406, and the port and the described collar extension that are used for described exchange chip is linked to each other with other exchange chips add reservation VLAN, and wherein, the PVID of each port is respectively ID number of VLAN.
Wherein, TAG is the TAG that utilizes four bytes of 802.1Q TAG domain construction, comprises former port information, frame type information, precedence information and the vlan information of frame.
In addition, in this device, all of the port that unit 402 also is used for except collar extension is set is set to grasp the management agreement bag.
In sum, by method and apparatus of the present invention, the data of user port can exchange with the interconnection mouth, unaffected, and the management data of user port behind cpu port, has the relevant information of former port, after oral sex swaps out from interconnection, can be delivered to CPU by other exchange chip.CPU can obtain user's former port information by the parsing to privately owned TAG, and is handled by the related protocol stack.
Be the preferred embodiments of the present invention only below, be not limited to the present invention, for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (8)
1. the method for Ethernet reciprocal exchange of business passage and management channels unification is characterized in that, may further comprise the steps:
The cpu port of exchange chip is set, enables the privately owned TAG of described cpu port;
With a port looper of described cpu port and described exchange chip so that a described port becomes collar extension; And
Port and described collar extension that described exchange chip is linked to each other with other exchange chips add among the reservation VLAN, and wherein, the PVID of each port is respectively ID number of described VLAN.
2. method according to claim 1 is characterized in that, described TAG is the TAG that utilizes four bytes of 802.1Q TAG domain construction, comprises former port information, frame type information, precedence information and the vlan information of frame.
3. method according to claim 1 and 2 is characterized in that, described cpu port is set to not send broadcast packet, unknown multicast bag and big vast model bag, and described collar extension is set to not send broadcast packet, unknown multicast bag and big vast model bag.
4. method according to claim 1 and 2 is characterized in that all of the port except described collar extension is set to grasp the management agreement bag.
5. the device of Ethernet reciprocal exchange of business passage and management channels unification is characterized in that, comprising:
The unit is set, is used to be provided with the cpu port of exchange chip, enable the privately owned TAG of described cpu port;
The looper unit is used for a port looper with described cpu port and described exchange chip so that a described port becomes collar extension; And
Add the unit, the port and the described collar extension that are used for described exchange chip is linked to each other with other exchange chips add reservation VLAN, and wherein, the PVID of each port is respectively ID number of described VLAN.
6. device according to claim 5 is characterized in that, described TAG is the TAG that utilizes four bytes of 802.1Q TAG domain construction, comprises former port information, frame type information, precedence information and the vlan information of frame.
7. according to claim 5 or 6 described devices, it is characterized in that, the described unit that is provided with also is used for described cpu port and is set to not send broadcast packet, unknown multicast bag and big vast model bag, and described collar extension is set to not send broadcast packet, unknown multicast bag and big vast model bag.
8. according to claim 5 or 6 described devices, it is characterized in that, describedly all of the port that the unit also is used for except described collar extension is set is set to grasp the management agreement bag.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710106198A CN100589394C (en) | 2007-06-25 | 2007-06-25 | Method and device for integrated Ethernet switching service channel management channel |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710106198A CN100589394C (en) | 2007-06-25 | 2007-06-25 | Method and device for integrated Ethernet switching service channel management channel |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101102199A true CN101102199A (en) | 2008-01-09 |
CN100589394C CN100589394C (en) | 2010-02-10 |
Family
ID=39036308
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200710106198A Expired - Fee Related CN100589394C (en) | 2007-06-25 | 2007-06-25 | Method and device for integrated Ethernet switching service channel management channel |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100589394C (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102355415A (en) * | 2011-09-27 | 2012-02-15 | 瑞斯康达科技发展股份有限公司 | Method and device for transmitting messages between CPUs (Central Processing Unit) |
CN102497305A (en) * | 2011-12-30 | 2012-06-13 | 曙光信息产业股份有限公司 | Server data transmission and receiving methods |
CN103152728A (en) * | 2013-02-20 | 2013-06-12 | 大唐移动通信设备有限公司 | Establishment method and device for remote connection |
CN104333481A (en) * | 2014-09-23 | 2015-02-04 | 无锡锐格思信息技术有限公司 | Method for forming correct forwarding table through PC multicast ping packet |
CN111277503A (en) * | 2020-01-20 | 2020-06-12 | 广州芯德通信科技股份有限公司 | Method for managing plug-in exchange chip by main CPU based on SVLAN |
-
2007
- 2007-06-25 CN CN200710106198A patent/CN100589394C/en not_active Expired - Fee Related
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102355415A (en) * | 2011-09-27 | 2012-02-15 | 瑞斯康达科技发展股份有限公司 | Method and device for transmitting messages between CPUs (Central Processing Unit) |
CN102497305A (en) * | 2011-12-30 | 2012-06-13 | 曙光信息产业股份有限公司 | Server data transmission and receiving methods |
CN102497305B (en) * | 2011-12-30 | 2014-12-31 | 曙光信息产业股份有限公司 | Server data transmission and receiving methods |
CN103152728A (en) * | 2013-02-20 | 2013-06-12 | 大唐移动通信设备有限公司 | Establishment method and device for remote connection |
CN103152728B (en) * | 2013-02-20 | 2016-02-10 | 大唐移动通信设备有限公司 | A kind of long-range connection establishment method and device |
CN104333481A (en) * | 2014-09-23 | 2015-02-04 | 无锡锐格思信息技术有限公司 | Method for forming correct forwarding table through PC multicast ping packet |
CN111277503A (en) * | 2020-01-20 | 2020-06-12 | 广州芯德通信科技股份有限公司 | Method for managing plug-in exchange chip by main CPU based on SVLAN |
CN111277503B (en) * | 2020-01-20 | 2021-09-24 | 广州芯德通信科技股份有限公司 | Method for managing plug-in exchange chip by main CPU based on SVLAN |
Also Published As
Publication number | Publication date |
---|---|
CN100589394C (en) | 2010-02-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7633956B1 (en) | System and method for providing support for multipoint L2VPN services in devices without local bridging | |
CN102263774B (en) | Method and device for processing source role information | |
CN105634986A (en) | Switch implementation method and system | |
US7646778B2 (en) | Support of C-tagged service interface in an IEEE 802.1ah bridge | |
CN102170385B (en) | Method for transmitting Ethernet frame in Ethernet tree business and provider edge device | |
EP1906595B1 (en) | A method for implementing virtue-switch and the apparatus thereof | |
US20160261496A1 (en) | Packet forwarding in data center network | |
EP1903723A1 (en) | Method and apparatus for transmitting message | |
CN100589394C (en) | Method and device for integrated Ethernet switching service channel management channel | |
US9219698B2 (en) | Providing a layer-3 interface | |
CN101442467B (en) | Method for providing multipoint to multipoint connection in network based on operator backbone network transmission | |
JP2005341591A (en) | Virtual private network, and multi-service provisioning platform and method | |
CN103166854B (en) | LAN and wan business binding method and system | |
WO2009021371A1 (en) | A method and a device for implementing pseudo wire emulation edge to edge | |
WO2008046359A1 (en) | Method and apparatus for isolating the different virtual local area network services | |
CN100561990C (en) | A kind of digital home gateway device and processing method thereof | |
WO2010145091A1 (en) | Method for implementing virtual network port and embedded device for implementing virtual network port | |
TW200803309A (en) | Method and apparatus for packet switching | |
EP2897328B1 (en) | Method, system and apparatus for establishing communication link | |
CN110392044A (en) | A kind of information transferring method and device based on view networking | |
CN101087257B (en) | Method for realizing service quality for VPN traffic based on Ethernet interface | |
CN101926132B (en) | Circuit emulation over ip interworking vll | |
CN102263679B (en) | Source role information processing method and forwarding chip | |
CN103986714B (en) | Bus marco network insertion AVB networks are acted on behalf of into implementation method and device | |
ES2367629T3 (en) | PROCEDURE FOR THE SECURITY INSULATION OF ETHERNET NETWORK SERVICES. |
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: 20100210 Termination date: 20190625 |
|
CF01 | Termination of patent right due to non-payment of annual fee |