CN102394825B - Method and device for processing message - Google Patents

Method and device for processing message Download PDF

Info

Publication number
CN102394825B
CN102394825B CN201110345967.XA CN201110345967A CN102394825B CN 102394825 B CN102394825 B CN 102394825B CN 201110345967 A CN201110345967 A CN 201110345967A CN 102394825 B CN102394825 B CN 102394825B
Authority
CN
China
Prior art keywords
message
mac
port
switch
access switch
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
CN201110345967.XA
Other languages
Chinese (zh)
Other versions
CN102394825A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201110345967.XA priority Critical patent/CN102394825B/en
Publication of CN102394825A publication Critical patent/CN102394825A/en
Application granted granted Critical
Publication of CN102394825B publication Critical patent/CN102394825B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The embodiment of the invention discloses a method and a device for processing a message, through which not only the message forwarding and the study of the message source MAC (Media Access Control) realized are realized, but also the specification of an MAC forwarding table of an access switch is reduced, and both the cost and the realization complexity of the access switch are reduced. When receiving the message, the access switch finds an export corresponding to the message in the MAC forwarding table through an objective MAC address of the message; when the export is absent in the MAC forwarding table of the access switch, the access switch sends the message to a master port of a collection switch through a slave port; and when the export corresponding to the objective MAC address of the message is absent in the MAC forwarding table of the collection switch, the access switch receives the message sent by the collection switch and broadcasts the message in a broadcast domain. The invention is suitable for the communication field.

Description

The processing method of message and device
Technical field
The present invention relates to the communications field, particularly a kind of processing method of message and device.
Background technology
Server virtualization require data center provide the online migration of large double layer network technology: VM (virtual machine, Virtual Machine) can so that business do not interrupt.The online migration of VM requires IP (Internet Protocol, the agreement interconnecting between network) and the media access control layer MAC Address of VM not to change, and this requires virtual machine is a double layer network in the migration circle of data center.In order to make full use of the resource of physical server, unification provides data center's resource pool, and this double layer network will cover large-scale server.
The message of realizing between the server of the network coverage by switch at present conventionally sends.Switch is received a message, first the message of receiving is carried out to source MAC study, generates MAC and transmits, and then the target MAC (Media Access Control) address by message frame head and broadcast domain ID search MAC and transmit.In the time can finding corresponding list item in MAC transmits, the port of this list item is message outbound port, according to this outbound port, E-Packets.In the time cannot finding corresponding performance in MAC transmits, (a kind of data flow tranmission techniques that switch and bridge are used, the data flow that certain interface is received sends from the total interface except this interface) floods whole message in broadcast domain.Although existing access switch has been realized the forwarding of message and the study of message source MAC Address, but due to flooding and study mechanism of access switch, cause access switch will learn two layers of Servers-all in territory and the MAC Address of VM, the specification that the MAC of access switch support is transmitted is very large, has increased implementation complexity and the cost of access switch.
Summary of the invention
The embodiment of the present invention provides a kind of processing method and device of message, when having realized the forwarding of message and the study of message source MAC, has reduced the specification that access switch MAC transmits, and has reduced cost and the implementation complexity of access switch.
The embodiment of the present invention provides a kind of processing method of message on the one hand, comprising: access switch receives message;
When access switch is not that while receiving described message from attached port Slave Port, described access switch searches by the object medium access control MAC Address of described message the outbound port that described message is corresponding in MAC transmits;
While there is not outbound port corresponding to described target MAC (Media Access Control) address in the MAC of described access switch transmits, described access switch is transmitted described message is sent on the master port Master Port of convergence switch by attached port Slave Port according to default MAC;
While there is not outbound port corresponding to the target MAC (Media Access Control) address of described message during the MAC in described convergence switch transmits, described access switch receives by described Slave Port the described message that described convergence switch sends;
Described access switch is broadcasted described message in broadcast domain.
The embodiment of the present invention provides a kind of processing unit of message on the other hand, comprising:
The first receiver, for receiving message.
Search unit, for not being, while receiving described message from attached port Slave Port, to search by the object medium access control MAC Address of described message the outbound port that described message is corresponding in MAC transmits when described the first receiver;
Transmitter, while there is not outbound port corresponding to described target MAC (Media Access Control) address for transmitting as described MAC, transmits described message is sent on the master port Master Port of convergence switch by attached port Slave Port according to default MAC;
The second receiver, while there is not outbound port corresponding to the target MAC (Media Access Control) address of described message in transmitting for the MAC when described convergence switch, receives by described Slave Port the described message that described convergence switch sends;
Radio unit, broadcasts in broadcast domain for the message that described the second receiver is received.
The processing method of the message that the embodiment of the present invention provides and device, first access switch receives message, when access switch is not that while receiving message from attached port Slave Port, described access switch searches by the object media access control layer MAC Address of described message the outbound port that described message is corresponding in MAC transmits; When outbound port corresponding to described target MAC (Media Access Control) address do not exist in the MAC of described access switch transmits,, in the time of cannot obtaining the outbound port of described message, described access switch is transmitted described message is sent on the master port Master Port of convergence switch by attached port Slave Port according to default MAC; While then not existing in the MAC of outbound port corresponding to the target MAC (Media Access Control) address with described message in described convergence switch transmits, described access switch receives by described Slave Port the described message that described convergence switch sends; Last described access switch is broadcasted described message in broadcast domain.The embodiment of the present invention coordinates with the effective of convergence switch by access switch, has reduced the specification that switch MAC transmits, and has reduced cost and the complexity of access switch.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The process flow figure of the message that Fig. 1 provides for the embodiment of the present invention one;
The processing unit structural representation of the message that Fig. 2 provides for the embodiment of the present invention one;
The process flow figure of the message that Fig. 3 provides for the embodiment of the present invention two;
The processing unit structural representation of the message that Fig. 4 provides for the embodiment of the present invention two.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making all other embodiment that obtain under creative work prerequisite, belong to the scope of protection of the invention.
For making the advantage of technical solution of the present invention clearer, below in conjunction with drawings and Examples, the present invention is elaborated.
The present embodiment provides a kind of processing method of message, and as shown in Figure 1, described method comprises:
101, access switch receives message.
102, when described access switch is not that while receiving described message from attached port Slave Port, described access switch searches by the object medium access control MAC Address of described message the outbound port that described message is corresponding in MAC transmits.
While 103, there is not outbound port corresponding to described target MAC (Media Access Control) address in the MAC of described access switch transmits, described access switch is transmitted described message is sent on the master port Master Port of convergence switch by attached port Slave Port according to default MAC.
Wherein, described default MAC transmits a MAC forwarding-table item into new definition, and MAC Address can match when described default MAC table is searched arbitrarily.The outbound port that described default MAC transmits is Slave Port.
Particularly, two kinds of new port types of definition switch: Master Port and Slave Port.The port arrangement of access switch first line of a couplet convergence switch is Slave Port, and the port arrangement of convergence switch second line of a couplet access switch is Master Port.
When 104, the MAC in described convergence switch does not exist outbound port corresponding to the target MAC (Media Access Control) address of described message in transmitting, described access switch receives by described Slave Port the described message that described convergence switch sends.
When convergence switch is also searched MAC address entries corresponding to target MAC (Media Access Control) address less than described message, described convergence switch can be broadcasted message in broadcast domain.By Master Port, broadcast described message, access switch is for further processing to this message receive the message of convergence switch broadcast by Slave Port after.
105, described access switch is broadcasted described message in broadcast domain.
Particularly, access switch, from Slave port receives described message, can be searched MAC table again, and when outbound port corresponding to the target MAC (Media Access Control) address that does not find this message, described message is broadcasted in broadcast domain.
Message in the present embodiment mainly refers to unicast message, when described access switch judges that the message receiving is broadcasting packet or reservation multicast message, directly this message is broadcasted in broadcast domain.When described access switch judges that the message receiving is non-reservation multicast message, described access switch can carry out searching of multicast MAC address entries, when described access switch does not find outbound port corresponding to the target MAC (Media Access Control) address of this message, described access switch is broadcasted this message in broadcast domain.。
The situation that convergence switch and access switch is belonged to same system, as access switch belongs to a line card of convergence switch, above technical scheme is applicable equally, and just Slave Port and Master Port belong to the port of internal system definition.
For a large-scale data center, general 10000~12000 station servers of disposing in network, at virtual 50 VM of the every station server of immediate plan, virtual 100 VM of the every station server of long term planning.This MAC address entries that at least requires switch is 500K~1200K (in the recent period: 10000 station servers/cluster * 50VM/ server=500K, long term: 12000 station servers/cluster * 100VM/ server=1200K).And the embodiment of the present invention is due to the effective forwarding that coordinates to realize message with convergence switch by access switch, and the MAC Address that the MAC address entries of convergence switch has comprised network side Servers-all, comprised in network in 10000~12000 station servers of all deployment, the MAC Address of the Servers-all except the server (user side server) accessing by access switch downlink port, so the MAC address entries of access switch only need comprise the MAC Address of the server accessing by access switch downlink port.Even 48 whole access servers of downlink port of access switch, and virtual 100 VM of every station server, access switch also only needs 4.8K MAC Address list item, well below 500K~1200K.
The present embodiment provides a kind of processing unit of message, and as shown in Figure 2, described device comprises: the first receiver 21, search unit 22, transmitter 23, the second receiver 24 and radio unit 25.
The first receiver 21, for receiving message;
Search unit 22, for not being, while receiving described message from attached port Slave Port, to search by the object medium access control MAC Address of described message the outbound port that described message is corresponding in MAC transmits when described the first receiver 21;
Transmitter 23, while there is not outbound port corresponding to described target MAC (Media Access Control) address for transmitting as described MAC, transmits described message is sent on the master port Master Port of convergence switch by attached port Slave Port according to default MAC.
Wherein, described default MAC transmits a MAC forwarding-table item into new definition, and MAC Address can match when described default MAC table is searched arbitrarily.The outbound port that described default MAC transmits is Slave Port.
Particularly, two kinds of new port types of definition switch: Master Port and Slave Port.The port arrangement of access switch first line of a couplet convergence switch is Slave Port, and the port arrangement of convergence switch second line of a couplet access switch is Master Port.
The second receiver 24, in transmitting for the MAC when described convergence switch, do not exist outbound port that described target MAC (Media Access Control) address is corresponding time, by described Slave Port, receive the described message that described convergence switch sends.
When convergence switch is also searched MAC address entries corresponding to target MAC (Media Access Control) address less than described message, described convergence switch can be broadcasted message in broadcast domain.By Master Port, broadcast described message, the second receiver 24 is for further processing to this message receive the message of convergence switch broadcast by Slave Port after.
Radio unit 25, broadcasts in broadcast domain for the message that described the second receiver 24 is received.
Particularly, the second receiver 24 is received message from Slave port, can trigger and search unit 22 and again search MAC table, this searches unit 22 when outbound port corresponding to the target MAC (Media Access Control) address that does not find this message, triggers described radio unit 25 described message is broadcasted in broadcast domain.
Message in the present embodiment mainly refers to unicast message, and when described the first receiver 21 judges that the message receiving is broadcasting packet or reservation multicast message, described radio unit 25 is directly broadcasted this message in broadcast domain.When described the first receiver 21 judges that the message receiving is non-reservation multicast message, the described unit 22 of searching can carry out searching of multicast MAC address entries, when described, when searching unit 22 and not finding outbound port corresponding to the target MAC (Media Access Control) address of this message, described radio unit 25 is broadcasted this message in broadcast domain.The situation that convergence switch and access switch is belonged to same system, as access switch belongs to a line card of convergence switch, above technical scheme is applicable equally, and just Slave Port and Master Port belong to the port of internal system definition.
For a large-scale data center, general 10000~12000 station servers of disposing in network, at virtual 50 VM of the every station server of immediate plan, virtual 100 VM of the every station server of long term planning.This MAC address entries that at least requires switch is 500K~1200K (in the recent period: 10000 station servers/cluster * 50VM/ server=500K, long term: 12000 station servers/cluster * 100VM/ server=1200K).And the embodiment of the present invention is due to the effective forwarding that coordinates to realize message with convergence switch by access switch, and the MAC Address that the MAC address entries of convergence switch has comprised network side Servers-all, comprised in network in 10000~12000 station servers of all deployment, the MAC Address of the Servers-all except the server (user side server) accessing by access switch downlink port, so the MAC address entries of access switch only need comprise the MAC Address of the server accessing by access switch downlink port.Even 48 whole access servers of downlink port of access switch, and virtual 100 VM of every station server, access switch also only needs 4.8K MAC Address list item, well below 500K~1200K.
The embodiment of the present invention coordinates with the effective of convergence switch by access switch, has reduced the specification that switch MAC transmits, and has reduced cost and the complexity of access switch.
On the basis of method shown in Fig. 1, as shown in Figure 3, described method comprises the processing method of the another kind of message that the present embodiment provides:
201, access switch receives message.
202a, when described access switch does not receive message by lave Port, described access switch carries out mac learning by source MAC and the broadcast domain sign ID of described message, and the result of study is added in the MAC forwarding-table item of described access switch.
203a, described access switch search by the object media access control layer MAC Address of described message the outbound port that described message is corresponding in MAC transmits.
204a1, while there is not outbound port corresponding to described target MAC (Media Access Control) address in the MAC of described access switch transmits, described access switch is transmitted described message is sent on the master port Master Port of convergence switch by attached port Slave Port according to default MAC.
Particularly, two kinds of new port types of definition switch: Master Port and Slave Port.The port arrangement of access switch first line of a couplet convergence switch is Slave Port, and the port arrangement of convergence switch second line of a couplet access switch is Master Port.
204a2, when the MAC of described access switch transmits middlely while there is outbound port corresponding to described target MAC (Media Access Control) address, the described outbound port of described access switch in transmitting according to MAC is by described message repeating.
When 205a1, the MAC in described convergence switch do not exist outbound port corresponding to the target MAC (Media Access Control) address of described message in transmitting, described access switch receives by described Slave Port the described message that described convergence switch sends.
When convergence switch is also searched MAC address entries corresponding to target MAC (Media Access Control) address less than described message, described convergence switch can be broadcasted message in broadcast domain.By Master Port, broadcast described message, access switch is for further processing to this message receive the message of convergence switch broadcast by Slave Port after.
When 205a2, the MAC in described convergence switch transmit outbound port corresponding to the middle target MAC (Media Access Control) address that has a described message, the described outbound port of described convergence switch in transmitting according to MAC is by described message repeating.
206a, described access switch are broadcasted described message in broadcast domain.
Particularly, access switch is received message from Slave port, also can again search MAC table, but when not finding, described message be broadcasted in broadcast domain.
202b, when described access switch receives message by described Slave Port, described access switch is not learnt the source MAC of described message.
203b, described access switch search by the object media access control layer MAC Address of described message the outbound port that described message is corresponding in MAC transmits.
204b1, when the MAC of described access switch transmits middlely while there is outbound port corresponding to described target MAC (Media Access Control) address, the described outbound port of described access switch in transmitting according to MAC is by described message repeating.
204b2, while there is not outbound port corresponding to described target MAC (Media Access Control) address in the MAC of described access switch transmits, described access switch is broadcasted described message in broadcast domain.
Message in the present embodiment mainly refers to unicast message, when described access switch judges that the message receiving is broadcasting packet or reservation multicast message, directly this message is broadcasted in broadcast domain, described access switch does not carry out source mac learning to the broadcasting packet receiving from Slave port or reservation multicast message.When described access switch judges that the message receiving is non-reservation multicast message, described access switch can carry out searching of multicast MAC address entries, when described access switch does not find outbound port corresponding to the target MAC (Media Access Control) address of this message, described access switch is broadcasted this message in broadcast domain.Described access switch does not carry out source mac learning to the non-reservation multicast message receiving from Slave port.
The situation that convergence switch and access switch is belonged to same system, as access switch belongs to a line card of convergence switch, above technical scheme is applicable equally, and just Slave Port and Master Port belong to the port of internal system definition.
For a large-scale data center, general 10000~12000 station servers of disposing in network, at virtual 50 VM of the every station server of immediate plan, virtual 100 VM of the every station server of long term planning.This MAC address entries that at least requires switch is 500K~1200K (in the recent period: 10000 station servers/cluster * 50VM/ server=500K, long term: 12000 station servers/cluster * 100VM/ server=1200K).And the embodiment of the present invention is due to the effective forwarding that coordinates to realize message with convergence switch by access switch, and the MAC Address that the MAC address entries of convergence switch has comprised network side Servers-all, comprised in network in 10000~12000 station servers of all deployment, the MAC Address of the Servers-all except the server (user side server) accessing by access switch downlink port, so the MAC address entries of access switch only need comprise the MAC Address of the server accessing by access switch downlink port.Even 48 whole access servers of downlink port of access switch, and virtual 100 VM of every station server, access switch also only needs 4.8K MAC Address list item, well below 500K~1200K.
The present embodiment provides a kind of processing unit of message, as shown in Figure 4, described device comprises: the first receiver 41, search unit 42, transmitter 43, the second receiver 44, radio unit 45, the first processing unit 46, the second processing unit 47, retransmission unit 48.
The first receiver 41, for receiving message.
Search unit 42, for not being, while receiving described message from attached port Slave Port, to search by the object medium access control MAC Address of described message the outbound port that described message is corresponding in MAC transmits when described the first receiver.
Transmitter 43, while there is not outbound port corresponding to described target MAC (Media Access Control) address for transmitting as MAC, and described the first receiver 41 is not, while receiving described message from attached port Slave Port, according to default MAC, to transmit described message is sent on the master port Master Port of convergence switch by attached port Slave Port.
Particularly, two kinds of new port types of definition switch: Master Port and Slave Port.The port arrangement of access switch first line of a couplet convergence switch is Slave Port, and the port arrangement of convergence switch second line of a couplet access switch is Master Port.
The second receiver 44, in transmitting for the MAC when described convergence switch, do not exist outbound port that described target MAC (Media Access Control) address is corresponding time, by described Slave Port, receive the described message that described convergence switch sends.
When convergence switch is also searched MAC address entries corresponding to target MAC (Media Access Control) address less than described message, described convergence switch can be broadcasted message in broadcast domain.By Master Port, broadcast described message, the second receiver 24 is for further processing to this message receive the message of convergence switch broadcast by Slave Port after.
Radio unit 45, broadcasts in broadcast domain for the message that described the second receiver 44 is received.
Particularly, the second receiver 44 is received message from Slave port, can trigger and search unit 42 and again search MAC table, this searches unit 42 when outbound port corresponding to the target MAC (Media Access Control) address that does not find this message, triggers described radio unit 45 described message is broadcasted in broadcast domain.
The first processing unit 46, for when described the first receiver 41 receives message by described Slave Port, does not learn the source MAC of described message.
The second processing unit 47, for when described the first receiver 41 does not receive message by described Slave Port, described the second processing unit 47 carries out mac learning by source MAC and the broadcast domain sign ID of described message, and the result of obtaining is added in MAC forwarding-table item.
Retransmission unit 48, while there is outbound port corresponding to described target MAC (Media Access Control) address for transmitting as MAC, the described outbound port of described retransmission unit 48 in transmitting according to MAC is by described message repeating.
Message in the present embodiment mainly refers to unicast message, and when described the first receiver 21 judges that the message receiving is broadcasting packet or reservation multicast message, described radio unit 25 is directly broadcasted this message in broadcast domain.When described the first receiver 21 judges that the message receiving is non-reservation multicast message, the described unit 22 of searching can carry out searching of multicast MAC address entries, when described, when searching unit 22 and not finding outbound port corresponding to the target MAC (Media Access Control) address of this message, described radio unit 25 is broadcasted this message in broadcast domain.
The situation that convergence switch and access switch is belonged to same system, as access switch belongs to a line card of convergence switch, above technical scheme is applicable equally, and just Slave Port and Master Port belong to the port of internal system definition.
For a large-scale data center, general 10000~12000 station servers of disposing in network, at virtual 50 VM of the every station server of immediate plan, virtual 100 VM of the every station server of long term planning.This MAC address entries that at least requires switch is 500K~1200K (in the recent period: 10000 station servers/cluster * 50VM/ server=500K, long term: 12000 station servers/cluster * 100VM/ server=1200K).And the embodiment of the present invention is due to the effective forwarding that coordinates to realize message with convergence switch by access switch, and the MAC Address that the MAC address entries of convergence switch has comprised network side Servers-all, comprised in network in 10000~12000 station servers of all deployment, the MAC Address of the Servers-all except the server (user side server) accessing by access switch downlink port, so the MAC address entries of access switch only need comprise the MAC Address of the server accessing by access switch downlink port.Even 48 whole access servers of downlink port of access switch, and virtual 100 VM of every station server, access switch also only needs 4.8K MAC Address list item, well below 500K~1200K.
The embodiment of the present invention coordinates with the effective of convergence switch by access switch, has reduced the specification that switch MAC transmits, and has reduced cost and the complexity of access switch.
The above-mentioned embodiment of the method providing can be provided the processing unit of the message that the embodiment of the present invention provides, and concrete function is realized and referred to the explanation in embodiment of the method, does not repeat them here.Processing method and the device of the message that the embodiment of the present invention provides go for the communications field, but are not limited only to this.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in a computer read/write memory medium, this program, when carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (8)

1. a processing method for message, is characterized in that, comprising:
Access switch receives message;
When access switch is not that while receiving described message from attached port Slave Port, described access switch searches by the object medium access control MAC Address of described message the outbound port that described message is corresponding in MAC transmits;
While there is not outbound port corresponding to described target MAC (Media Access Control) address in the MAC of described access switch transmits, described access switch is transmitted described message is sent on the master port Master Port of convergence switch by attached port Slave Port according to default MAC;
While there is not outbound port corresponding to the target MAC (Media Access Control) address of described message during the MAC in described convergence switch transmits, described access switch receives by described Slave Port the described message that described convergence switch sends;
Described access switch is broadcasted described message in broadcast domain.
2. the processing method of message according to claim 1, it is characterized in that, described default MAC transmits a MAC forwarding-table item into new definition, and MAC Address can match when described default MAC table is searched arbitrarily, and the outbound port that described default MAC transmits is Slave Port.
3. the processing method of message according to claim 1 and 2, is characterized in that, also comprises:
When described access switch receives message by described Slave Port, described access switch is not learnt the source MAC of described message;
When described access switch does not receive message by described Slave Port, described access switch carries out mac learning by source MAC and the broadcast domain sign ID of described message, and the result of study is added in the MAC forwarding-table item of described access switch.
4. the processing method of message according to claim 1, is characterized in that, also comprises:
When described access switch receives message from described Slave Port, described access switch searches by the object media access control layer MAC Address of described message the outbound port that described message is corresponding in MAC transmits;
When outbound port corresponding to described target MAC (Media Access Control) address do not exist in the MAC of described access switch transmits, described access switch is broadcasted described message in broadcast domain.
5. the processing method of message according to claim 1, is characterized in that, also comprises:
When outbound port corresponding to described target MAC (Media Access Control) address exists in the MAC of described access switch transmits or in the MAC of described convergence switch transmits, described access switch or the described convergence switch described outbound port in transmitting according to MAC is by described message repeating.
6. a processing unit for message, is characterized in that, comprising:
The first receiver, for receiving message;
Search unit, for not being, while receiving described message from attached port Slave Port, to search by the object medium access control MAC Address of described message the outbound port that described message is corresponding in MAC transmits when described the first receiver;
Transmitter, while there is not outbound port corresponding to described target MAC (Media Access Control) address for transmitting as described MAC, transmits described message is sent on the master port Master Port of convergence switch by attached port Slave Port according to default MAC;
The second receiver, while there is not outbound port corresponding to the target MAC (Media Access Control) address of described message in transmitting for the MAC when described convergence switch, receives by described Slave Port the described message that described convergence switch sends;
Radio unit, broadcasts in broadcast domain for the message that described the second receiver is received.
7. the processing unit of message according to claim 6, is characterized in that, also comprises:
The first processing unit, for when described the first receiver receives message by described Slave Port, does not learn the source MAC of described message;
The second processing unit, for when described the first receiver does not receive message by described Slave Port, source MAC and broadcast domain sign ID by described message carry out mac learning, and the result of obtaining is added in MAC forwarding-table item.
8. the processing unit of message according to claim 6, is characterized in that, also comprises:
Retransmission unit, for transmitting while existing at described MAC when outbound port corresponding to described target MAC (Media Access Control) address, the described outbound port in transmitting according to MAC is by described message repeating.
CN201110345967.XA 2011-11-04 2011-11-04 Method and device for processing message Active CN102394825B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110345967.XA CN102394825B (en) 2011-11-04 2011-11-04 Method and device for processing message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110345967.XA CN102394825B (en) 2011-11-04 2011-11-04 Method and device for processing message

Publications (2)

Publication Number Publication Date
CN102394825A CN102394825A (en) 2012-03-28
CN102394825B true CN102394825B (en) 2014-11-05

Family

ID=45862036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110345967.XA Active CN102394825B (en) 2011-11-04 2011-11-04 Method and device for processing message

Country Status (1)

Country Link
CN (1) CN102394825B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023724B (en) * 2012-12-17 2016-06-08 杭州华三通信技术有限公司 A kind of method and apparatus realizing CE monitoring
CN104660506B (en) * 2013-11-22 2018-12-25 华为技术有限公司 A kind of method, apparatus and system of data packet forwarding
CN104113479B (en) * 2014-07-02 2018-01-23 福建三元达网络技术有限公司 A kind of method and its device of extended MAC table capacity
CN104640094B (en) * 2015-02-25 2018-07-24 深圳酷派技术有限公司 A kind of cell accessing method, convergence terminal and access terminal
CN105049375A (en) * 2015-08-13 2015-11-11 浪潮集团有限公司 Data forwarding method and system based on cloud computing data center
CN105227452B (en) * 2015-09-14 2018-09-14 中国联合网络通信集团有限公司 data frame forwarding method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101325551A (en) * 2008-07-28 2008-12-17 杭州华三通信技术有限公司 Method and device for processing message
CN101719877A (en) * 2010-01-15 2010-06-02 福建星网锐捷网络有限公司 Message forwarding device, network equipment and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8107482B2 (en) * 2009-08-07 2012-01-31 International Business Machines Corporation Multipath discovery in switched ethernet networks

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101325551A (en) * 2008-07-28 2008-12-17 杭州华三通信技术有限公司 Method and device for processing message
CN101719877A (en) * 2010-01-15 2010-06-02 福建星网锐捷网络有限公司 Message forwarding device, network equipment and method

Also Published As

Publication number Publication date
CN102394825A (en) 2012-03-28

Similar Documents

Publication Publication Date Title
CN102394825B (en) Method and device for processing message
CN102148749B (en) Method and device for extending switch port
CN102594652B (en) Migration method of virtual machine, switch and virtual machine system
EP3094117B1 (en) Method, group server, and member device for accessing member resources
CN102164091B (en) Method for building MAC (Media Access Control) address table and provider edge device
CN102123106B (en) MAC (Multi-Access Computer) addresses learning method and device in virtual private local area network service (VPLS) network
US9525648B2 (en) Method for acquiring physical address of virtual machine
CN100490418C (en) Virtual local network-based data exchanging method and equipment
CN101217463B (en) Method and device for controlling message forwarding
CN103259725B (en) Messaging method and network equipment
CN103841023A (en) Data forwarding method and device
EP3451592B1 (en) Packet transmission between vxlan domains
CN102075591A (en) Method, device and system for acquiring media access control address
CN102859973A (en) Method, apparatus and system for address resolution
CN104243269A (en) Processing method and device of messages in VxLAN (virtual extensible local area network)
CN102263704A (en) Topology construction method and device supporting layer 2 interconnection of data centers
CN104168184A (en) Message forwarding method and device
CN103931144B (en) A kind of method, apparatus and system communicated in virtual Domain
CN102594943B (en) Method and device for realizing address resolution protocol (ARP) interception
CN110445702A (en) A kind of message forwarding method and equipment
WO2013029440A1 (en) Method and apparatus for implementing layer-2 interconnection of data centers
CN103118148A (en) Method and device for updating ARP (address resolution protocol) cache
WO2015127643A1 (en) Method and communication node for learning mac address in a layer-2 communication network
CN103503413B (en) Method and device for transmitting network information
CN103516599A (en) Host finding method, network device, and host

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