CN103516609B - Method and equipment for transmitting service messages - Google Patents

Method and equipment for transmitting service messages Download PDF

Info

Publication number
CN103516609B
CN103516609B CN201310426229.7A CN201310426229A CN103516609B CN 103516609 B CN103516609 B CN 103516609B CN 201310426229 A CN201310426229 A CN 201310426229A CN 103516609 B CN103516609 B CN 103516609B
Authority
CN
China
Prior art keywords
service message
equipment
mac
unicast service
forward tables
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
Application number
CN201310426229.7A
Other languages
Chinese (zh)
Other versions
CN103516609A (en
Inventor
严德汗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201310426229.7A priority Critical patent/CN103516609B/en
Publication of CN103516609A publication Critical patent/CN103516609A/en
Application granted granted Critical
Publication of CN103516609B publication Critical patent/CN103516609B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method and equipment for transmitting service messages. The method comprises the steps that when PE equipment receives a first unicast service message from CB equipment, the source MAC address of the first unicast service message is used for inquiring an MAC forwarding table; if the source MAC address is not recorded in the MAC forwarding table, the PE equipment records the corresponding relation between the source MAC address and the receiving port of the first unicast service message in the MAC forwarding table; when the PE equipment receives a second unicast service message from an intranet server, the destination MAC address of the second unicast service message is used for inquiring the MAC forwarding table; if the destination MAC address is recorded in the MAC forwarding table, the second unicast service message is sent to the CB equipment through an egress port corresponding to the destination MAC address recorded in the MAC forwarding table. According to the method and equipment, the PE equipment can transmit the unicast service messages based on a shortest path, and the forwarding efficiency of the unicast service messages is improved.

Description

The transmission method and equipment of a kind of service message
Technical field
The present invention relates to communication technical field, more particularly to a kind of service message transmission method and equipment.
Background technology
VCF(Vertical Converged Framework, longitudinal fusion architecture)It is new generation network device virtualization Technology.VCF supports to carry out isomery extension to system in longitudinal dimension, i.e., on the basis of a logical Virtual equipment is formed, Master system is added to using a box-shaped device as one block of remote interface plate, to reach expansion I/O(Input/output)Port Ability and the purpose for carrying out concentrated controling management.
For VCF network, equipment is divided into CB according to role(Controlling Bridge, control bridge)Equipment and PE (Port Extender, ports-Extending)Equipment.As shown in figure 1, being the networking schematic diagram of VCF network, CB equipment sets for control Standby, PE equipment is Longitudinal Extension equipment, i.e. port expander(Or remote interface plate).As a rule, CB equipment can be by The stronger box-shaped device of reason ability or frame type equipment undertake, or based on IRF(Intelligent Resilient Framework, intelligent elastic framework)The virtualization system of technology;PE equipment is the box-shaped device of low cost, can only participate in number According to the work of plane.
In actual applications, multiple CB equipment will constitute IRF, and the connecting link polymerization of PE equipment and multiple CB equipment is real Existing redundancy and high bandwidth.Further, the discharge model of PE equipment and CB equipment rooms is not carried out at forwarding strategy in PE equipment Reason, i.e., need not safeguard any forwarding-table item in PE equipment.PE equipment is descending after unicast service message is received, directly to list Broadcasting service message carries out hash treatment, obtains corresponding up exit port, and will based on the up exit port that hash treatment is obtained Unicast service message transmission is to CB equipment;CB equipment carries out forwarding strategy treatment, if uplink traffic, i.e. CB equipment utilizations turn Unicast service message is forwarded to destination interface place equipment by forwarding list item, carries out out treatment.
Existing PE equipment uplink traffic hash processing modes can cause the forward-path in VCF systems of unicast service message It is not shortest path, then reduces unicast service message forward efficiency.
VCF network networking schematic diagram as shown in Figure 2, CB_3 after unicast service message 1 is received, by CB_3 with Unicast service message 1 is sent to PE100 by the link between PE100, and unicast service message 1 is sent to corresponding clothes by PE100 Business device.Unicast service message 1 ' is the response of unicast service message 1, PE100 after unicast service message 1 ' is received, to unicast industry Business message 1 ' carries out hash treatment, obtains corresponding exit port.Assuming that exit port is the port of correspondence CB_1, then PE100 passes through Unicast service message 1 ' is sent to CB_1 by the link between CB_1 and PE100, and unicast service message 1 ' is sent to CB_ by CB_1 2,
Unicast service message 1 ' is sent to CB_3 by CB_2, from CB_3 to purpose end equipment unicast traffic message 1 '. The forward-path in VCF systems of obvious unicast service message 1 ' is not shortest path.
The content of the invention
The embodiment of the present invention provides the transmission method and equipment of a kind of service message, and unicast industry is transmitted with based on shortest path Business message, then improves the forward efficiency of unicast service message.
In order to achieve the above object, the embodiment of the present invention provides a kind of transmission method of service message, is applied to include control In longitudinal fusion architecture VCF network of bridge CB equipment processed and ports-Extending PE equipment, the method is comprised the following steps:
PE equipment when the first unicast service message from CB equipment is received, using the first unicast service message Medium access control MAC Address in source inquires about MAC forward tables;If not recording the source MAC in the MAC forward tables, Then the PE equipment records the receiving terminal of the source MAC and the first unicast service message in the MAC forward tables Corresponding relation between mouthful;
PE equipment when the second unicast service message from intranet server is received, using the second unicast service report The target MAC (Media Access Control) address of text inquires about the MAC forward tables;If record has the target MAC (Media Access Control) address in the MAC forward tables, The corresponding exit port of the target MAC (Media Access Control) address recorded in MAC forward tables described in the PE equipment utilizations is by second unicast Service message is sent to CB equipment, and the second unicast service message is sent into purpose end equipment by the CB equipment.
At least include message load, two layers of forwarding head and internal head in the first unicast service message;The message Two layers of forwarding head is packaged with before load, the internal head is packaged with before two layers of forwarding head;The PE equipment profit The process of MAC forward tables is inquired about with the source MAC of the first unicast service message, is specifically included:
The PE equipment peels off the inside of the first unicast service message after the first unicast service message is received Head, MAC forward tables are inquired about using the source MAC in two layers of forwarding head of the first unicast service message.
After the PE equipment peels off the internal head of the first unicast service message, methods described is further included:It is described The first unicast service message is sent to intranet server by PE equipment by the destination interface carried in the internal head;Its In, the destination interface carried in the internal head is the port being connected with intranet server in the PE equipment, and the purpose Port is added in the internal head for CB equipment.
The PE equipment records corresponding between the source MAC and the receiving port of the first unicast service message The process of relation, specifically includes:
When the forwarding chip of the PE equipment has source MAC learning functionality, polymerization member interface study, institute are set Forwarding chip is stated after the first unicast service message is received, if not recording described first in the MAC forward tables The source MAC of unicast service message, then the forwarding chip source MAC and institute are recorded in the MAC forward tables State the corresponding relation between the receiving port of the first unicast service message;
When the forwarding chip of the PE equipment does not have source MAC learning functionality, the forwarding chip is receiving After stating the first unicast service message, if not recording the source MAC of the first unicast service message in the MAC forward tables Address, the first unicast service message is replicated the central processing unit CPU for reporting the PE equipment;Existed by the CPU After receiving the first unicast service message, if not recording the first unicast service message in the MAC forward tables Source MAC, then the CPU source MAC is recorded in the MAC forward tables with the first unicast service message Receiving port between corresponding relation, and the MAC forward tables are issued to the forwarding chip of the PE equipment.
The target MAC (Media Access Control) address of the second unicast service message described in the PE equipment utilizations is inquired about after the MAC forward tables, Methods described also includes:If not recording the target MAC (Media Access Control) address in the MAC forward tables, the PE equipment is to described Second unicast service message carries out hash treatment, to obtain corresponding exit port, and will based on the exit port that hash treatment is obtained The second unicast service message is sent to CB equipment.
The embodiment of the present invention provides a kind of ports-Extending PE equipment, is applied to include control bridge CB equipment and the PE equipment Longitudinal fusion architecture VCF network in, the PE equipment is specifically included:
First enquiry module, it is single using described first for when the first unicast service message from CB equipment is received Broadcast the source medium access control MAC Address inquiry MAC forward tables of service message;
Logging modle, for when the source MAC that the first unicast service message is not recorded in the MAC forward tables When, the source MAC and the first unicast service message of the first unicast service message are recorded in the MAC forward tables Receiving port between corresponding relation;
Second enquiry module, for when the second unicast service message from intranet server is received, using described The target MAC (Media Access Control) address of two unicast service messages inquires about the MAC forward tables;
Sending module, for when in the MAC forward tables record have the target MAC (Media Access Control) address of the second unicast service message When, using the corresponding exit port of target MAC (Media Access Control) address of the second unicast service message recorded in the MAC forward tables by institute State the second unicast service message and be sent to CB equipment.
At least include message load, two layers of forwarding head and internal head in the first unicast service message;The message Two layers of forwarding head is packaged with before load, the internal head is packaged with before two layers of forwarding head;First inquiry Module, specifically for after the first unicast service message is received, peeling off the internal head of the first unicast service message, and MAC forward tables are inquired about using the source MAC in two layers of forwarding head.
The sending module, is additionally operable to after the internal head for peeling off the first unicast service message, by described interior The first unicast service message is sent to intranet server by the destination interface carried in size;Wherein, in the internal head The destination interface of carrying is the port being connected with intranet server in this PE equipment, and the destination interface is added to for CB equipment In the internal head.
When the forwarding chip of the PE equipment has source MAC learning functionality, first enquiry module and described Logging modle is located in the forwarding chip;When the forwarding chip of the PE equipment does not have source MAC learning functionality, institute State the first enquiry module and the logging modle is located in the central processing unit CPU of the PE equipment.
The sending module, is additionally operable to inquire about the MAC in the target MAC (Media Access Control) address using the second unicast service message After forward table, if not recording the target MAC (Media Access Control) address in the MAC forward tables, to the second unicast service report Text carries out hash treatment, and to obtain corresponding exit port, and the exit port obtained based on hash treatment is by the second unicast industry Business message is sent to CB equipment.
Compared with prior art, the embodiment of the present invention at least has advantages below:In the embodiment of the present invention, PE equipment is being received During to unicast service message from CB equipment, in MAC(Media Access Control, medium access control)In forward table Safeguard the corresponding relation between the source MAC and receiving port of unicast service message;PE equipment is being received from Intranet service During the unicast service message of device, the corresponding relation hair between the MAC Address and receiving port recorded in MAC forward tables can be utilized Unicast service message is sent, so that PE equipment can transmit unicast service message based on shortest path, and unicast service is improved The forward efficiency of message.
Brief description of the drawings
Fig. 1 and Fig. 2 are the networking schematic diagrams of VCF network in the prior art;
Fig. 3 is the application scenarios schematic diagram of the embodiment of the present invention;
Fig. 4 is a kind of transmission method flow chart of service message provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of PE equipment provided in an embodiment of the present invention.
Specific embodiment
For problems of the prior art, the embodiment of the present invention provides a kind of transmission method of service message, the party Method is applied in the VCF network for include CB equipment and PE equipment, and IRF, and each PE equipment are constituted between the plurality of CB equipment It is connected with one or more CB equipment, but PE equipment in VCF network is connected with all CB equipment.
Application scenarios schematic diagram with Fig. 3 as the embodiment of the present invention, CB equipment in the VCF network include CB_1, CB_2, CB_3 and CB_4, and CB_1, CB_2, CB_3 and CB_4 composition IRF;PE equipment in the VCF network include PE100, PE101 and PE102;Additionally, PE100 is connected with inside and outside server 1, PE102 is connected with inside and outside server 2, and CB_3 is connectable to outer net and sets It is standby.
Under above-mentioned application scenarios, as shown in figure 4, the transmission method of the service message is comprised the following steps:
Step 401, CB equipment when the first unicast service message that purpose end equipment is intranet server is received, by this One unicast service message is sent to the corresponding PE equipment of the intranet server.
Under the application scenarios shown in Fig. 3, it is assumed that outer net equipment sends the first unicast service message to intranet server 1. CB_3 is after the first unicast service message from outer net equipment is received, it is necessary to carry out source MAC study.Specifically, CB_3 Using the source MAC of the first unicast service message(That is the MAC Address of outer net equipment, it is assumed that be MAC1)Inquiry MAC forward tables; If not recording the source MAC in MAC forward tables, source MAC and the first unicast service are recorded in MAC forward tables The receiving port of message(That is port 1)Between corresponding relation, the MAC forward tables after study are as shown in table 1;If MAC is forwarded Record has the source MAC in table, then need not again learn source MAC.
Table 1
MAC Address Exit port
MAC1 Port 1
CB_3 is after the first unicast service message from outer net equipment is received, in addition it is also necessary to carry out target MAC (Media Access Control) address lookup, That is the first unicast service message is sent to corresponding PE equipment by CB_3 using the target MAC (Media Access Control) address of the first unicast service message. Specifically, target MAC (Media Access Control) address of the CB_3 using the first unicast service message(That is the MAC Address of intranet server 1, it is assumed that be MAC2)Inquiry MAC forward tables, and find that intranet server 1 is located under PE100, therefore CB_3 is needed the first unicast service Message is sent to PE100, and the first unicast service message is sent into intranet server 1 by PE100.
In the embodiment of the present invention, CB equipment is after service message is received, it is necessary to select a shortest path by service message It is sent to corresponding PE equipment.Based on this, the flow rule that CB equipment sends service message is:CB equipment is in unicast traffic During message, prioritizing selection can reach the local member port of the PE equipment, if can not reach the local of the PE equipment Member port, then the CB device forwards of the local member port for selecting that the PE equipment can be reached from nearest the having of this CB equipment; CB equipment selects main member port when broadcasting service message or multicast service message is sent(In IRF networks, each CB sets Standby to be above configured with main member port, each CB equipment can know main member port)Forwarding.
Under above-mentioned application scenarios, after the first unicast service message is received, CB_3 needs to select a shortest path CB_3 First unicast service message is sent to PE100 by footpath.In figure 3, can be sent to for the first unicast service message by CB_3 PE100;First unicast service message can be sent to CB_2 by CB_3, be sent to the first unicast service message by CB_2 PE100;First unicast service message can be sent to CB_2 by CB_3, and the first unicast service message is sent into CB_ by CB_2 1, the first unicast service message is sent to PE100 by CB_1;In the case, CB_3 can directly by the first unicast service message PE100 is sent to, to select a shortest path that the first unicast service message is sent into PE100.
At least include message load and two layers of forwarding in the first unicast service message from outer net equipment that CB_3 is received Two layers of forwarding head are packaged with before head, and message load;The source MAC of this two layers forwarding head is the MAC ground of outer net equipment Location(MAC1), the target MAC (Media Access Control) address of this two layers forwarding head is the MAC Address of intranet server 1(MAC2).In the case, In the embodiment of the present invention, CB_3 by the first unicast service message before PE100 is sent to, in addition it is also necessary to before two layers forward head Encapsulation internal head.Based on this, CB_3 at least turns in being sent to the first unicast service message of PE100 including message load, two layers Hair head and internal head;Two layers of forwarding head are packaged with before message load, internal head is packaged with before two layers of forwarding head.
Wherein, the destination interface that PE100 is needed to use when the first unicast service message is forwarded is carried in the internal head, should The destination interface carried in internal head is the port being connected with intranet server 1 on PE100, and PE100 will be by internal head First unicast service message is sent to intranet server 1 by the destination interface of carrying.For example, CB_3 determines that PE100 needs to pass through When first unicast service message is sent to intranet server 1 by port 6, then CB_3 encapsulated internal head before two layers forward head, And the destination interface of internal head is port 6.
Step 402, PE equipment is receiving the first unicast service that the purpose end equipment from CB equipment is intranet server During message, the first unicast service message is sent to the intranet server.
PE100 is after the first unicast service message from CB_3 is received, it is necessary to carry out source MAC study.Specifically, PE100 utilizes the source MAC of the first unicast service message(That is the MAC Address of outer net equipment, it is assumed that be MAC1)Inquiry MAC turns Deliver;If not recording the source MAC in MAC forward tables, PE100 records source MAC and in MAC forward tables The receiving port of one unicast service message(That is port 3)Between corresponding relation, the MAC forward tables after study are as shown in table 2;Such as Record has the source MAC in fruit MAC forward tables, then need not again learn source MAC.
Table 2
MAC Address Exit port
MAC1 Port 3
In the embodiment of the present invention, at least carried including message in the first unicast service message from CB_3 that PE100 is received Lotus, two layers of forwarding head and internal head;Two layers of forwarding head are packaged with before message load, inside is packaged with before two layers of forwarding head Head.PE100 will peel off the internal head of the first unicast service message after the first unicast service message is received, and single using first Broadcast the source MAC inquiry MAC forward tables in two layers of forwarding head of service message.Wherein, this two layers source MAC of forwarding head The as MAC Address of outer net equipment(MAC1), the target MAC (Media Access Control) address of this two layers forwarding head is the MAC Address of intranet server 1 (MAC2).
Further, turn in the first unicast service message due to carrying PE100 in the internal head of the first unicast service message The destination interface needed to use during hair, the destination interface carried in the internal head is the end being connected with intranet server 1 on PE100 Mouthful;Therefore, PE100, can directly by the mesh of carrying in internal head after the internal head for peeling off the first unicast service message Port the first unicast service message is sent to intranet server 1.
In the embodiment of the present invention, in order to ensure that PE equipment can carry out source MAC study, then it is required that PE equipment has Active MAC address learning function, so as to carry out source MAC study to the unicast service message from CB equipment.Specifically, working as The forwarding chip of PE equipment has source MAC learning functionality(When forwarding chip supports programmable setting, then can be by compiling Journey set-up mode ensures that forwarding chip has source MAC learning functionality;Otherwise, forwarding chip learns without source MAC Function)When, polymerization member interface study is set, forwarding chip is after the first unicast service message is received, if MAC forward tables In do not have record the first unicast service message source MAC, then forwarding chip record in MAC forward tables source MAC and Corresponding relation between the receiving port of the first unicast service message.When the forwarding chip of PE equipment is without source MAC When practising function, forwarding chip is after the first unicast service message is received, if the first unicast industry of no record in MAC forward tables The source MAC of business message, the first unicast service message is replicated the CPU for reporting PE equipment(Central Processing Unit, CPU);By CPU after the first unicast service message is received, if without record the in MAC forward tables The source MAC of one unicast service message, then CPU source MAC and the first unicast service message are recorded in MAC forward tables Corresponding relation between receiving port, and MAC forward tables are issued to the forwarding chip of PE equipment.
Step 403, PE equipment is receiving the second unicast service message from intranet server(Second unicast service message It is the response of the first unicast service message)When, inquire about MAC forward tables using the target MAC (Media Access Control) address of the second unicast service message.Such as Record has the target MAC (Media Access Control) address in fruit MAC forward tables, performs step 404;If not recording purpose MAC in MAC forward tables Address, performs step 405.
Step 404, the target MAC (Media Access Control) address recorded in PE equipment utilization MAC forward tables corresponds to exit port by the second unicast industry Business message is sent to CB equipment, and the second unicast service message is sent to purpose end equipment by CB equipment.
Step 405, PE equipment carries out hash treatment to the second unicast service message, to obtain corresponding exit port, and base Second unicast service message is sent to CB equipment by the exit port obtained in hash treatment, and CB equipment is by the second unicast service message Purpose end equipment is sent to, the process is similar with existing treatment, no longer repeats in detail herein.
Under the application scenarios shown in Fig. 3, it is assumed that intranet server 1 sends the second unicast service message to outer net equipment. PE100 after the second unicast service message from intranet server 1 is received, using the purpose MAC of the second unicast service message Address(That is the MAC Address of outer net equipment, it is assumed that be MAC1)MAC forward tables shown in inquiry table 2.Now remember in MAC forward tables Record has the target MAC (Media Access Control) address(MAC1), therefore in PE equipment utilization MAC forward tables record target MAC (Media Access Control) address(MAC1)Correspondence Exit port(That is port 3)Second unicast service message is sent to CB equipment(CB_3).
CB_3 after the second unicast service message from PE100 is received, using the purpose MAC of the second unicast service message Address(That is MAC1)MAC forward tables shown in inquiry table 1.Now record has the target MAC (Media Access Control) address, therefore CB_ in MAC forward tables 3 using the target MAC (Media Access Control) address recorded in MAC forward tables(MAC1)Correspondence exit port(That is port 1)By the second unicast service message It is sent to outer net equipment.
On the basis of above-mentioned treatment, it is assumed that intranet server 2 sends the first unicast service message to intranet server 1. PE102 when the first unicast service message from intranet server 2 is received, using the purpose MAC of the first unicast service message Address lookup MAC forward tables, the target MAC (Media Access Control) address, therefore PE102 are not recorded now to the first unicast industry in MAC forward tables Business message carries out hash treatment, and the second unicast service message is sent to CB equipment by the exit port obtained based on hash treatment, false If the first unicast service message is sent into CB_3.
CB_3 is after the first unicast service message from intranet server 2 is received, it is necessary to carry out source MAC study. Specifically, source MACs of the CB_3 using the first unicast service message(That is the MAC Address of intranet server, it is assumed that be MAC3) Inquiry MAC forward tables;If not recording the source MAC in MAC forward tables, source MAC is recorded in MAC forward tables With the receiving port of the first unicast service message(That is port 2)Between corresponding relation, the MAC forward tables such as institute of table 3 after study Show;If record has the source MAC in MAC forward tables, need not again learn source MAC.
Table 3
MAC Address Exit port
MAC1 Port 1
MAC3 Port 2
CB_3 is after the first unicast service message from intranet server 2 is received, in addition it is also necessary to carries out target MAC (Media Access Control) address and looks into Look for, i.e. the first unicast service message is sent to corresponding PE and set by CB_3 using the target MAC (Media Access Control) address of the first unicast service message It is standby.Specifically, target MAC (Media Access Control) address of the CB_3 using the first unicast service message(That is the MAC Address of intranet server 1, it is assumed that be MAC2)Inquiry MAC forward tables, and find that intranet server 1 is located under PE100, therefore CB_3 is needed the first unicast service Message is sent to PE100.In concrete implementation, CB_3 needs one shortest path of selection to send the first unicast service message To PE100.
At least include message load and two layers of forwarding in the first unicast service message from outer net equipment that CB_3 is received Two layers of forwarding head are packaged with before head, and message load;CB_3 went back before the first unicast service message is sent into PE100 Need to encapsulate internal head before two layers forward head.PE100 is carried in the internal head to be needed when the first unicast service message is forwarded The destination interface to be used, the destination interface carried in the internal head is the port being connected with intranet server 1 on PE100(Such as Port 6), and the first unicast service message will be sent to intranet server by PE100 by the destination interface carried in internal head 1。
PE100 is after the first unicast service message from CB_3 is received, it is necessary to carry out source MAC study.Specifically, PE100 utilizes the source MAC of the first unicast service message(That is the MAC Address of intranet server 2, it is assumed that be MAC3)Inquiry MAC forward tables;If not recording the source MAC in MAC forward tables, PE100 records source MAC ground in MAC forward tables Location and the receiving port of the first unicast service message(That is port 3)Between corresponding relation, the MAC forward tables such as table 4 after study It is shown;If record has the source MAC in MAC forward tables, need not again learn source MAC.
Table 4
MAC Address Exit port
MAC1 Port 3
MAC3 Port 3
In the first unicast service message from CB_3 that PE100 is received at least include message load, two layers forwarding heads and Internal head.PE100 will peel off the internal head of the first unicast service message, and utilize the after the first unicast service message is received Source MAC inquiry MAC forward tables in two layers of forwarding head of one unicast service message.Further, due to the first unicast industry The destination interface that PE100 is needed to use when the first unicast service message is forwarded, the internal head are carried in the internal head of message of being engaged in The destination interface of middle carrying is the port being connected with intranet server 1 on PE100;Therefore, PE100 is peeling off the first unicast service After the internal head of message, the first unicast service message can be sent to by the destination interface carried in internal head directly interior Network server 1.
Under the application scenarios shown in Fig. 3, it is assumed that intranet server 1 sends the second unicast service report to intranet server 2 Text.PE100 after the second unicast service message from intranet server 1 is received, using the purpose of the second unicast service message MAC Address(That is the MAC Address of intranet server, it is assumed that be MAC3)MAC forward tables shown in inquiry table 4.Now MAC forward tables Middle record has the target MAC (Media Access Control) address recorded in the target MAC (Media Access Control) address, therefore PE equipment utilization MAC forward tables(MAC3)Correspondence goes out Port(That is port 3)Second unicast service message is sent to CB equipment(CB_3).CB_3 is receiving the from PE100 second list After broadcasting service message, using the target MAC (Media Access Control) address of the second unicast service message(That is MAC3)MAC forward tables shown in inquiry table 3. Therefore CB_3 is using the target MAC (Media Access Control) address recorded in MAC forward tables(MAC3)Correspondence exit port(That is port 2)By the second unicast industry Business message is sent to intranet server 2.
A kind of ports-Extending PE is additionally provided based on the inventive concept same with the above method, in the embodiment of the present invention to set It is standby, it is applied in the longitudinal fusion architecture VCF network for include control bridge CB equipment and the PE equipment, as shown in figure 5, the PE Equipment is specifically included:
First enquiry module 11, for when the first unicast service message from CB equipment is received, using described first The source medium access control MAC Address inquiry MAC forward tables of unicast service message;
Logging modle 12, for when the source MAC ground that the first unicast service message is not recorded in the MAC forward tables During location, the source MAC and the first unicast service report of the first unicast service message are recorded in the MAC forward tables Corresponding relation between the receiving port of text;
Second enquiry module 13, for when the second unicast service message from intranet server is received, using described The target MAC (Media Access Control) address of the second unicast service message inquires about the MAC forward tables;
Sending module 14, for when with recording the purpose MAC for having the second unicast service message in the MAC forward tables During location, will using the corresponding exit port of the target MAC (Media Access Control) address of the second unicast service message recorded in the MAC forward tables The second unicast service message is sent to CB equipment.
At least include message load, two layers of forwarding head and internal head in the first unicast service message;The message is carried Two layers of forwarding head is packaged with before lotus, the internal head is packaged with before two layers of forwarding head;The first inquiry mould Block 11, specifically for after the first unicast service message is received, peeling off the internal head of the first unicast service message, and MAC forward tables are inquired about using the source MAC in two layers of forwarding head.
The sending module 14, is additionally operable to after the internal head for peeling off the first unicast service message, by described The first unicast service message is sent to intranet server by the destination interface carried in internal head;Wherein, the internal head The destination interface of middle carrying is the port being connected with intranet server in this PE equipment, and the destination interface is the addition of CB equipment To in the internal head.
In the embodiment of the present invention, when the forwarding chip of the PE equipment has source MAC learning functionality, described first Enquiry module 11 and the logging modle 12 are located in the forwarding chip;When the forwarding chip of the PE equipment does not have source During MAC address learning function, first enquiry module 11 and the logging modle 12 are located at the central of the PE equipment and process In unit CPU.
The sending module 14, is additionally operable to described in the target MAC (Media Access Control) address inquiry using the second unicast service message After MAC forward tables, if not recording the target MAC (Media Access Control) address in the MAC forward tables, to second unicast service Message carries out hash treatment, and to obtain corresponding exit port, and the exit port obtained based on hash treatment is by second unicast Service message is sent to CB equipment.
Wherein, the modules of apparatus of the present invention can be integrated in one, it is also possible to be deployed separately.Above-mentioned module can be closed And be a module, it is also possible to it is further split into multiple submodule.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by Software adds the mode of required general hardware platform to realize, naturally it is also possible to which by hardware, but the former is more in many cases Good implementation method.Based on such understanding, what technical scheme substantially contributed to prior art in other words Part can be embodied in the form of software product, and the computer software product is stored in a storage medium, if including Dry instruction is used to so that a computer equipment(Can be personal computer, server, or network equipment etc.)Perform this hair Method described in bright each embodiment.
It will be appreciated by those skilled in the art that accompanying drawing is a schematic diagram for preferred embodiment, module or stream in accompanying drawing Journey is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in device in embodiment can be divided according to embodiment description It is distributed in the device of embodiment, it is also possible to carry out respective change and be disposed other than in one or more devices of the present embodiment.On Stating the module of embodiment can merge into a module, it is also possible to be further split into multiple submodule.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Disclosed above is only several specific embodiments of the invention, but, the present invention is not limited to this, any ability What the technical staff in domain can think change should all fall into protection scope of the present invention.

Claims (8)

1. a kind of transmission method of service message, is applied to include the longitudinal direction fusion of control bridge CB equipment and ports-Extending PE equipment In framework VCF network, it is characterised in that the method is comprised the following steps:
When the first unicast service message from CB equipment is received, the source using the first unicast service message is situated between PE equipment Matter access control MAC addresses inquire about MAC forward tables;If not recording the source MAC, institute in the MAC forward tables State PE equipment recorded in the MAC forward tables source MAC and the first unicast service message receiving port it Between corresponding relation;
PE equipment when the second unicast service message from intranet server is received, using the second unicast service message Target MAC (Media Access Control) address inquires about the MAC forward tables;If record has the target MAC (Media Access Control) address in the MAC forward tables, described The corresponding exit port of the target MAC (Media Access Control) address recorded in MAC forward tables described in PE equipment utilizations is by second unicast service Message is sent to CB equipment, and the second unicast service message is sent into purpose end equipment by the CB equipment;
If not recording the target MAC (Media Access Control) address in the MAC forward tables, the PE equipment is to second unicast service Message carries out hash treatment, and to obtain corresponding exit port, and the exit port obtained based on hash treatment is by second unicast Service message is sent to CB equipment.
2. the method for claim 1, it is characterised in that at least carried including message in the first unicast service message Lotus, two layers of forwarding head and internal head;Be packaged with before the message load it is described two layers forwarding head, it is described two layers forwarding head it Before be packaged with the internal head;The source MAC inquiry MAC forward tables of the first unicast service message described in the PE equipment utilizations Process, specifically include:
The PE equipment peels off the internal head of the first unicast service message after the first unicast service message is received, MAC forward tables are inquired about using the source MAC in two layers of forwarding head of the first unicast service message.
3. method as claimed in claim 2, it is characterised in that the PE equipment peels off the interior of the first unicast service message After size, methods described is further included:
The first unicast service message is sent to Intranet by the PE equipment by the destination interface carried in the internal head Server;Wherein, the destination interface for being carried in the internal head is the port being connected with intranet server in the PE equipment, institute Destination interface is stated for CB equipment is added in the internal head.
4. the method for claim 1, it is characterised in that the PE equipment records the source MAC with described first The process of the corresponding relation between the receiving port of unicast service message, specifically includes:
When the forwarding chip of the PE equipment has source MAC learning functionality, polymerization member interface study, described turn are set Chip is sent out after the first unicast service message is received, if not recording first unicast in the MAC forward tables The source MAC of service message, then the forwarding chip source MAC is recorded in the MAC forward tables with described Corresponding relation between the receiving port of one unicast service message;
When the forwarding chip of the PE equipment does not have source MAC learning functionality, the forwarding chip is receiving described the After one unicast service message, if not recording the source MAC ground of the first unicast service message in the MAC forward tables Location, the first unicast service message is replicated the central processing unit CPU for reporting the PE equipment;Received by the CPU To after the first unicast service message, if not recording the first unicast service message in the MAC forward tables Source MAC, then the CPU source MAC is recorded in the MAC forward tables with the first unicast service message Corresponding relation between receiving port, and the MAC forward tables are issued to the forwarding chip of the PE equipment.
5. a kind of ports-Extending PE equipment, is applied to include longitudinal fusion architecture VCF of control bridge CB equipment and the PE equipment In network, it is characterised in that the PE equipment is specifically included:
First enquiry module, for when the first unicast service message from CB equipment is received, using the first unicast industry The source medium access control MAC Address inquiry MAC forward tables of business message;
Logging modle, for when the source MAC of the first unicast service message is not recorded in the MAC forward tables, The source MAC and the first unicast service message of the first unicast service message are recorded in the MAC forward tables Corresponding relation between receiving port;
Second enquiry module, it is single using described second for when the second unicast service message from intranet server is received The target MAC (Media Access Control) address for broadcasting service message inquires about the MAC forward tables;
Sending module, for when in the MAC forward tables record have the target MAC (Media Access Control) address of the second unicast service message when, Will be described using the corresponding exit port of the target MAC (Media Access Control) address of the second unicast service message recorded in the MAC forward tables Second unicast service message is sent to CB equipment;
The sending module, is additionally operable to inquiring about the MAC forwardings using the target MAC (Media Access Control) address of the second unicast service message After table, if not recording the target MAC (Media Access Control) address in the MAC forward tables, the second unicast service message is entered Row hash treatment, to obtain corresponding exit port, and the exit port obtained based on hash treatment is by the second unicast service report Text is sent to CB equipment.
6. PE equipment as claimed in claim 5, it is characterised in that at least carried including message in the first unicast service message Lotus, two layers of forwarding head and internal head;Be packaged with before the message load it is described two layers forwarding head, it is described two layers forwarding head it Before be packaged with the internal head;
First enquiry module, specifically for after the first unicast service message is received, peeling off the first unicast industry The internal head of business message, and using the source MACs inquiry MAC forward tables in two layers of forwarding head.
7. PE equipment as claimed in claim 6, it is characterised in that
The sending module, is additionally operable to after the internal head for peeling off the first unicast service message, by the internal head The first unicast service message is sent to intranet server by the destination interface of middle carrying;Wherein, carried in the internal head Destination interface be the port being connected with intranet server in this PE equipment, and the destination interface is described for CB equipment is added to In internal head.
8. PE equipment as claimed in claim 5, it is characterised in that when the forwarding chip of the PE equipment has source MAC During learning functionality, first enquiry module and the logging modle are located in the forwarding chip;When turning for the PE equipment When hair chip does not have source MAC learning functionality, first enquiry module and the logging modle are located at the PE equipment Central processing unit CPU in.
CN201310426229.7A 2013-09-17 2013-09-17 Method and equipment for transmitting service messages Active CN103516609B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310426229.7A CN103516609B (en) 2013-09-17 2013-09-17 Method and equipment for transmitting service messages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310426229.7A CN103516609B (en) 2013-09-17 2013-09-17 Method and equipment for transmitting service messages

Publications (2)

Publication Number Publication Date
CN103516609A CN103516609A (en) 2014-01-15
CN103516609B true CN103516609B (en) 2017-05-17

Family

ID=49898676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310426229.7A Active CN103516609B (en) 2013-09-17 2013-09-17 Method and equipment for transmitting service messages

Country Status (1)

Country Link
CN (1) CN103516609B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105471742B (en) * 2014-06-20 2018-11-09 新华三技术有限公司 A kind of message processing method and equipment
CN105227464B (en) * 2014-06-23 2019-01-18 新华三技术有限公司 Message forwarding method and device in VCF system
CN105337851B (en) * 2014-07-02 2018-11-27 新华三技术有限公司 A kind of message processing method and ports-Extending plate
CN104243358B (en) * 2014-09-18 2018-10-26 新华三技术有限公司 The method and device that PE device softwares load in VCF systems
CN106330704B (en) * 2015-06-26 2019-12-06 新华三技术有限公司 Message forwarding method and device
CN105847148B (en) * 2016-03-18 2019-07-16 上海斐讯数据通信技术有限公司 A kind of data frame transmission control method and system
CN107493185B (en) * 2016-06-13 2022-03-25 中兴通讯股份有限公司 Configuration information notification method and device for interface extension equipment
CN108124285B (en) * 2016-11-29 2020-11-06 新华三技术有限公司 Message transmission method and device
CN108881040B (en) * 2018-06-29 2021-03-12 新华三信息安全技术有限公司 Message processing method and device
CN109039909B (en) * 2018-07-17 2021-12-24 新华三技术有限公司 Message forwarding method and device
CN111385209B (en) * 2018-12-28 2021-06-22 华为技术有限公司 Message processing method, message forwarding method, device and equipment
CN111131541B (en) * 2019-12-25 2023-02-03 深圳市共进电子股份有限公司 Network communication method, device, electronic equipment and storage medium
CN114244787B (en) * 2021-12-08 2023-04-11 四川安迪科技实业有限公司 Method and device for realizing high-reliability management port
CN116366542A (en) * 2021-12-27 2023-06-30 成都鼎桥通信技术有限公司 Data transmission method and related equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651627A (en) * 2009-09-23 2010-02-17 杭州华三通信技术有限公司 Method and device for studying media access control (MAC) table items
CN102469021A (en) * 2010-11-18 2012-05-23 杭州华三通信技术有限公司 Method of transmitting business flow and member equipment in intelligent resilience frame system
WO2012152178A1 (en) * 2011-05-06 2012-11-15 中兴通讯股份有限公司 Method, system and controlling bridge for obtaining port extension topology information
EP2533472A1 (en) * 2011-06-06 2012-12-12 Broadcom Corporation Method and system of frame forwarding with link aggregation in distributed ethernet bridges
CN102946356A (en) * 2012-10-16 2013-02-27 杭州华三通信技术有限公司 CB-PE (controlling bridge-port extender) network-based multicast message transmitting method and device
CN103166874A (en) * 2013-03-25 2013-06-19 杭州华三通信技术有限公司 Message forwarding method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651627A (en) * 2009-09-23 2010-02-17 杭州华三通信技术有限公司 Method and device for studying media access control (MAC) table items
CN102469021A (en) * 2010-11-18 2012-05-23 杭州华三通信技术有限公司 Method of transmitting business flow and member equipment in intelligent resilience frame system
WO2012152178A1 (en) * 2011-05-06 2012-11-15 中兴通讯股份有限公司 Method, system and controlling bridge for obtaining port extension topology information
EP2533472A1 (en) * 2011-06-06 2012-12-12 Broadcom Corporation Method and system of frame forwarding with link aggregation in distributed ethernet bridges
CN102946356A (en) * 2012-10-16 2013-02-27 杭州华三通信技术有限公司 CB-PE (controlling bridge-port extender) network-based multicast message transmitting method and device
CN103166874A (en) * 2013-03-25 2013-06-19 杭州华三通信技术有限公司 Message forwarding method and device

Also Published As

Publication number Publication date
CN103516609A (en) 2014-01-15

Similar Documents

Publication Publication Date Title
CN103516609B (en) Method and equipment for transmitting service messages
CN104202266B (en) A kind of communication means, interchanger, controller and communication system
CN102160328B (en) Central controller for coordinating multicast message transmissions in distributed virtual network switch environment
CN104618194B (en) Software defined network monitoring messages method and SDN controllers, switching equipment
CN102970227B (en) The method and apparatus of VXLAN message repeating is realized in ASIC
CN102395144B (en) Wireless access point upgrade method, system thereof and device thereof
CN103166858A (en) Message transmission method and device
CN104283785A (en) Method and device for processing flow table rapidly
CN103139075B (en) A kind of message transmitting method and equipment
CN104038447B (en) A kind of message transmitting method and equipment
CN102882781B (en) Method, route bridge and system for transmitting message
CN105262667A (en) Method and device for controlling multicast transmission in Overlay network
US10382391B2 (en) Systems and methods for managing network address information
CN104065582A (en) Message transmission method and gateway device
CN105490957A (en) Load sharing method and device
CN105991445A (en) Link aggregation group setting method and device
CN102957589A (en) Method, network node and system for service data transmission
CN103701945B (en) A kind of address conversion method and device
CN103905284A (en) EVI-network-based flow load sharing method and device
CN105187311A (en) Message forwarding method and message forwarding device
CN104301229A (en) Data packet forwarding method and device and routing table generating method and device.
CN102158422B (en) Message forwarding method and equipment for layer 2 ring network
CN101499951A (en) Tunnel configuration method, virtual access node, virtual edge node and system
CN101924698B (en) Method, system and equipment for balancing two-layer domain load based on IP unicast route
CN105933235A (en) Data communication method and data communication device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.