CN103200107A - Message transmitting method and message transmitting equipment - Google Patents

Message transmitting method and message transmitting equipment Download PDF

Info

Publication number
CN103200107A
CN103200107A CN2013101315254A CN201310131525A CN103200107A CN 103200107 A CN103200107 A CN 103200107A CN 2013101315254 A CN2013101315254 A CN 2013101315254A CN 201310131525 A CN201310131525 A CN 201310131525A CN 103200107 A CN103200107 A CN 103200107A
Authority
CN
China
Prior art keywords
equipment
terminal equipment
beb
mac
table item
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013101315254A
Other languages
Chinese (zh)
Other versions
CN103200107B (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 CN201310131525.4A priority Critical patent/CN103200107B/en
Publication of CN103200107A publication Critical patent/CN103200107A/en
Application granted granted Critical
Publication of CN103200107B publication Critical patent/CN103200107B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a message transmitting method and message transmitting equipment. The message transmitting method includes the following steps. Third BEB equipment learns an MAC transmitting list item which corresponds to first terminal equipment beside a first PW. An MAC address, a subordinative VLAN and a corresponding relation with the first PW of the first terminal equipment are recorded in the MAC transmitting list item. The third BEB equipment receives an informing message which is sent by first BEB equipment after variation of topology between the first BEB equipment and the first terminal equipment is detected. The informing message is used for informing variation of the topology and contains relevant information of the first terminal equipment which is related with the topology variation. The third BEB equipment deletes the relevant MAC transmitting list item in an MAC transmitting list according to the relevant information of the first terminal equipment contained by the forming message. The message transmitting method and the message transmitting equipment can inform the BEB equipment at an opposite end of a PW of updating the MAC transmitting list item in time.

Description

A kind of transmission method of message and equipment
Technical field
The present invention relates to communication technical field, relate in particular to a kind of transmission method and equipment of message.
Background technology
The MAC-in-MAC agreement is called PBB(Provider Backbone Bridge again, provider backbone bridging) agreement, as a kind of two-layer VPN (Virtual Private Network, VPN (virtual private network)) technology, it is by MAC(Media Access Control, media interviews control) address is nested, user's MAC address is encapsulated among operator's MAC Address, thereby the different user business is isolated.
Adopt the SPB(Shortest Path Bridging of MAC-in-MAC agreement, shortest path bridge) network is called SPBM(Shortest Path Bridging MAC Mode, the shortest path bridge of MAC-in-MAC pattern) network, as shown in Figure 1, networking schematic diagram for the SPBM network, the backbone network of this SPBM network mainly comprises BEB(Backbone Edge Bridge, the backbone network edge bridges) equipment, BCB(Backbone Core Bridge, backbone network core bridges) equipment and between backbone links.BEB equipment is by AC(Attachment Circuit, place in circuit) be connected to user network.Here, the BEB device side is called the AC side to a side of user network.
BEB equipment is responsible for the message from user's network is carried out the MAC-in-MAC encapsulation, and is forwarded to backbone network; Perhaps, will carry out decapsulation from the MAC-in-MAC message of backbone network, and be forwarded to user network.When BCB equipment carries out the MAC-in-MAC encapsulation to message, can stamp MAC Address and the VLAN(Virtual Local Area Network that operator distributes for it, VLAN), and the MAC Address that operator distributes is B-MAC(Backbone MAC, backbone network MAC), the VLAN that operator distributes is B-VLAN(Backbone VLAN, backbone network VLAN).Wherein, BCB equipment is responsible for transmitting the MAC-in-MAC message according to B-MAC and B-VLAN, and the BCB device just will E-Packet and learn the MAC Address in the backbone network, does not need to learn MAC Address a large amount of in the user network.
In the prior art, as shown in Figure 2, application scenarios schematic diagram for message (data message) transmission in the SPBM network, PC1 lays respectively in the different user networks with PC2, device A, equipment B and equipment C are the BEB equipment in the SPBM network, and device A and equipment B are used for realizing the load balancing of data message; In addition, the BCB equipment in the SPBM network does not embody in Fig. 2.
When PC1 need visit PC2, PC1 sends datagram to device A, and this data message can arrive equipment C after the transmission through the SPBM network, and by equipment C data message is sent to PC2, equipment C understands the MAC forwarding-table item shown in the storage list 1 behind the data message of receiving for the first time from PC1.
Table 1
MAC Address Vlan information Outbound port information
MAC-1 VLAN1 PW1
In table 1, MAC-1 is the MAC Address of PC1, and VLAN1 is the corresponding vlan information of data message that PC1 sends to PC2, PW1(Pseudowire, pseudo-line) learn for equipment C, follow-up is the outbound port information of MAC-1 when sending datagram to purpose MAC.
Based on this MAC forwarding-table item, when PC2 need visit PC1, PC2 sends datagram to equipment C, equipment C can utilize target MAC (Media Access Control) address (being MAC-1) and vlan information (being VLAN1) the inquiry MAC forwarding-table item of this data message, obtaining corresponding output port information is PW1, therefore equipment C utilizes PW1 that data message is sent to device A, and by device A data message is sent to PC1.
But, when the link between device A and the PC1 breaks down, equipment C can not perceive this failure condition of PW opposite end, the local MAC forwarding-table item that can't upgrade in time, therefore, equipment C is after receiving that PC2 sends to the data message of PC1, obtaining corresponding output port information by inquiry MAC forwarding-table item is PW1, and continues data message is sent to device A, obviously, this moment, device A can't send to PC1 with data message, thereby caused occurring the cutout situation.
Summary of the invention
The embodiment of the invention provides a kind of transmission method and equipment of message, and with when PW opposite end topology changes, the local mac forwarding-table item upgrades in time.
In order to achieve the above object, the embodiment of the invention provides a kind of transmission method of message, be applied to comprise in the SPBM network of a BEB equipment and the 3rd BEB equipment, a described BEB equipment is connected with first terminal equipment, creating between a described BEB equipment and described the 3rd BEB equipment has a PW, and this method comprises:
Described the 3rd BEB equipment is learnt the MAC forwarding-table item of the described first terminal equipment correspondence from a described PW side, the corresponding relation in the described MAC forwarding-table item between MAC Address, affiliated VLAN and the described PW of described first terminal equipment of record;
Described the 3rd BEB equipment receives a described BEB equipment and is detecting topology between a BEB equipment and first terminal equipment notification packet that the back sends that changes, and described notification packet is used for the related information that the notice topology changes and carries first terminal equipment that change in topology relates to;
The related information of described first terminal equipment that described the 3rd BEB equipment carries according to notification packet, related MAC forwarding-table item during deletion MAC transmits.
The embodiment of the invention also provides a kind of transmission method of message, be applied to comprise in the SPBM network of a BEB equipment and the 3rd BEB equipment, a described BEB equipment is connected with first terminal equipment, creating between a described BEB equipment and described the 3rd BEB equipment has a PW, and this method comprises:
Whether the topology that a described BEB equipment is intercepted between this BEB equipment and first terminal equipment changes;
A described BEB equipment is listening to topology between this BEB equipment and described first terminal equipment when changing, other BEB equipment in described SPBM network sends notification packet, described notification packet is used for the related information that the notice topology changes and carries first terminal equipment that described change in topology relates to, to indicate the related information of first terminal equipment that described other BEB equipment relate to according to described change in topology, the MAC forwarding-table item that deletion is related.
The embodiment of the invention also provides a kind of BEB equipment, be applied to comprise in the SPBM network of first terminal equipment, a BEB equipment that links to each other with first terminal equipment, described the 3rd BEB equipment as the 3rd BEB equipment, creating between a described BEB equipment and described the 3rd BEB equipment has a PW, and described the 3rd BEB equipment comprises:
Maintenance module, for the MAC forwarding-table item of learning the described first terminal equipment correspondence from a described PW side, the corresponding relation in the described MAC forwarding-table item between MAC Address, affiliated VLAN and the described PW of described first terminal equipment of record;
Receiver module, be used for to receive a described BEB equipment and detecting topology between a BEB equipment and first terminal equipment notification packet that the back sends that changes, described notification packet is used for the topological related information that changes and carry first terminal equipment that change in topology relates to of notice;
Processing module, for the related information of described first terminal equipment that carries according to notification packet, related MAC forwarding-table item during deletion MAC transmits.
The embodiment of the invention also provides a kind of BEB equipment, be applied to comprise in the SPBM network of first terminal equipment, a described BEB equipment that links to each other with first terminal equipment and the 3rd BEB equipment as a BEB equipment, creating between a described BEB equipment and described the 3rd BEB equipment has a PW, and a described BEB equipment comprises:
Determination module, whether the topology that is used for intercepting between this BEB equipment and first terminal equipment changes;
Sending module, be used for listening to topology between this BEB equipment and described first terminal equipment when changing, other BEB equipment in described SPBM network sends notification packet, described notification packet is used for the related information that the notice topology changes and carries first terminal equipment that described change in topology relates to, to indicate the related information of first terminal equipment that described other BEB equipment relate to according to described change in topology, the MAC forwarding-table item that deletion is related.
Compared with prior art, the embodiment of the invention has the following advantages at least: in the embodiment of the invention, when the topology between a BEB equipment and first terminal equipment changes, the one BEB equipment is by triggering the MAC forwarding-table item of this first terminal equipment correspondence of the 3rd BEB unit deletion, the local mac forwarding-table item thereby the 3rd BEB equipment that makes can upgrade in time, and then send the data message that target MAC (Media Access Control) address is first terminal equipment in the multicast mode, can avoid occurring the cutout situation then.
Description of drawings
Fig. 1 is the networking schematic diagram of SPBM network in the prior art;
Fig. 2 is the application scenarios schematic diagram of message transmissions in the SPBM network in the prior art;
Fig. 3 is the transmission method schematic flow sheet of a kind of message of providing of the embodiment of the invention;
Fig. 4 is the schematic diagram that transmits MAC Address and vlan information in the embodiment of the invention by the new TLV form of definition in ISIS;
Fig. 5 is the structural representation of a kind of BEB equipment of providing of the embodiment of the invention;
Fig. 6 is the structural representation of the another kind of BEB equipment that provides of the embodiment of the invention.
Embodiment
At problems of the prior art, the embodiment of the invention provides the transmission method of a kind of message (data message), in the SPBM network of the 3rd BEB equipment that this method is applied to the BEB equipment that comprises first terminal equipment, link to each other with first terminal equipment and the 2nd BEB equipment, second terminal equipment, link to each other with second terminal equipment.In the specific implementation process, the application scenarios that first terminal equipment links to each other with a BEB equipment includes but not limited to that first terminal equipment is directly connected on the BEB equipment, perhaps first terminal equipment is connected on the access-layer switch of user network side, and this access-layer switch is connected on the BEB equipment; The application scenarios that first terminal equipment links to each other with the 2nd BEB equipment includes but not limited to that first terminal equipment is directly connected on the 2nd BEB equipment, perhaps first terminal equipment is connected on the access-layer switch of user network side, and this access-layer switch is connected on the 2nd BEB equipment; The application scenarios that second terminal equipment links to each other with the 3rd BEB equipment includes but not limited to that second terminal equipment is directly connected on the 3rd BEB equipment, perhaps second terminal equipment is connected on the access-layer switch of user network side, and this access-layer switch is connected on the 3rd BEB equipment.
Be the application scenarios schematic diagram of the embodiment of the invention with Fig. 2, this first terminal equipment is PC1, and a BEB equipment is device A, and the 2nd BEB equipment is equipment B, and this PC1 directly is connected on device A and the equipment B; Second terminal equipment is PC2, and the 3rd BEB equipment is equipment C, and this PC2 directly is connected on the equipment C.Wherein, create between a BEB equipment and the 3rd BEB equipment that a PW(is arranged is PW1), between the 2nd BEB equipment and the 3rd BEB equipment establishment the 2nd PW(is arranged is PW2).Concrete, can between two BEB equipment, create PW by Intermediate System to Intermediate System and transmit, thereby form two virtual connections between the BEB equipment, namely PW connects, and this PW connects the service traffics that can the bearing end arrive end subscriber.
In the initial transmission process, first terminal equipment sends datagram to second terminal equipment by a BEB equipment, based on this, first terminal equipment sends to a BEB equipment with the data message that needs send to second terminal equipment, to send to the 3rd BEB equipment from the data message of first terminal equipment by a BEB equipment, by the 3rd BEB equipment this data message be sent to second terminal equipment.
The 3rd BEB equipment is when receiving that first terminal equipment sends to the data message of second terminal equipment for the first time, can learn the MAC forwarding-table item of this first terminal equipment correspondence, MAC Address, the vlan information of data message and the corresponding relation between the PW of record first terminal equipment in this MAC forwarding-table item, at application scenarios shown in Figure 2, this MAC forwarding-table item can be as shown in table 1.
Based on this MAC forwarding-table item, when second terminal equipment is visited first terminal equipment, second terminal equipment sends datagram to the 3rd BEB equipment, the target MAC (Media Access Control) address of the 3rd BEB equipment utilization data message (being MAC-1) and vlan information (being VLAN1) inquiry MAC forwarding-table item, obtaining corresponding output port information is a PW, therefore the 3rd BEB equipment utilization the one PW sends to a BEB equipment with data message, by a BEB equipment data message is sent to first terminal equipment.
Under above-mentioned application scenarios, as shown in Figure 3, this method may further comprise the steps:
Whether the topology that step 301, a BEB equipment are intercepted between this BEB equipment and first terminal equipment changes; If then execution in step 302; If not, then continue to carry out this step.
In the embodiment of the invention, a BEB equipment is intercepted the process whether topology between this BEB equipment and first terminal equipment changes, and specifically includes but not limited to:
Situation one, a BEB equipment determine that the topology between this BEB equipment and first terminal equipment changes when the link occurs fault that listens between this BEB equipment and first terminal equipment.
When DOWN takes place the interface of situation two, a BEB equipment this first terminal equipment correspondence on listening to this BEB equipment, determine that the topology between this BEB equipment and first terminal equipment changes.
Situation three, a BEB equipment receive the first terminal equipment correspondence based on STP(Spanning Tree Protocol, Spanning-Tree Protocol) TC(Topology Change, change in topology) during message, determines that the topology between this BEB equipment and first terminal equipment changes.
Situation four, a BEB equipment receive the first terminal equipment correspondence based on the flexible link of SmartLink() FLUSH(refresh) during message, determine that the topology between this BEB equipment and first terminal equipment changes.
Step 302, a BEB equipment is listening to this BEB equipment when changing with topology between first terminal equipment, with multicast mode other BEB equipment transmission notification packet in the SPBM network.
In the embodiment of the invention, this notification packet is used for the notice topology and changes, and has carried the related information that carries first terminal equipment that change in topology relates in this notification packet.Concrete, the related information of first terminal equipment can be the MAC Address of described first terminal equipment or MAC Address and the affiliated vlan information of first terminal equipment of first terminal equipment, or vlan information under described first terminal equipment, etc.
In the embodiment of the invention, during link occurs fault between this BEB equipment and first terminal equipment, the vlan information that carries in this notification packet is specifically as follows the VLAN at the first terminal equipment corresponding interface place; Perhaps, when DOWN took place the interface of the first terminal equipment correspondence, the vlan information that carries in this notification packet was specifically as follows the VLAN at the first terminal equipment corresponding interface place; Perhaps, receive the first terminal equipment correspondence based on the TC message of STP the time, the vlan information that carries in this notification packet is specifically as follows the VLAN that given instance comprises in the TC message; Perhaps, receive the first terminal equipment correspondence based on the FLUSH message of SmartLink the time, the vlan information that carries in this notification packet is specifically as follows the specified VLAN of FLUSH message.
In a kind of preferred implementation of the embodiment of the invention, by using based on ISIS(Intermediate System to Intermediate System, Intermediate System-to-Intermediate System) notification packet carries MAC Address and the vlan information of the first terminal equipment correspondence, perhaps, only carry the vlan information of the first terminal equipment correspondence; As shown in Figure 4, by the new TLV(Type Length Value of definition in ISIS, type lengths values) form, and carry MAC Address (i.e. the MAC Address that study is arrived on the topological link that changes) and the vlan information of the first terminal equipment correspondence by this TLV.
The notification packet that step 303, the 3rd BEB equipment sent when receiving the topology of a BEB equipment between a BEB equipment and first terminal equipment and changing.
In the embodiment of the invention, this notification packet is used for the notice topology and changes, and has carried MAC Address and the vlan information of the first terminal equipment correspondence in this notification packet, or, only carried the vlan information of the first terminal equipment correspondence in this notification packet.
The related information of described first terminal equipment that step 304, the 3rd BEB equipment are carried according to notification packet, related MAC forwarding-table item during deletion MAC transmits.
Concrete, the 3rd BEB equipment is after receiving notification packet:
If only carried the MAC Address of first terminal equipment in the notification packet, then the MAC Address of first terminal equipment that carries in the 3rd BEB equipment utilization notification packet is inquired about the local mac forwarding-table item; If coupling has the corresponding record of this MAC Address in the MAC forwarding-table item, then delete this record.
If carried MAC Address and the vlan information of the first terminal equipment correspondence in the notification packet, then the MAC Address of the first terminal equipment correspondence of carrying in the 3rd BEB equipment utilization notification packet and vlan information are inquired about the MAC forwarding-table item; If coupling has this MAC Address and vlan information corresponding record in the MAC forwarding-table item, then delete this MAC Address and vlan information corresponding record in the MAC forwarding-table item; For example, when the MAC Address of the first terminal equipment correspondence of carrying in the notification packet and vlan information are respectively MAC-1 and VLAN1, the 3rd BEB equipment is when the MAC forwarding-table item shown in the question blank 1, MAC-1, VLAN1 and PW1 corresponding record can be matched, therefore this MAC-1, VLAN1 and PW1 institute corresponding record can be deleted.When this mode of employing, can accurately match the corresponding record in the MAC forwarding-table item, thereby accurately deletion needs deleted MAC forwarding-table item, improve the list item maintenance efficiency.
If only carried the vlan information of the first terminal equipment correspondence in the notification packet, then the vlan information of the first terminal equipment correspondence of carrying in the 3rd BEB equipment utilization notification packet is inquired about the MAC forwarding-table item; If coupling has this vlan information corresponding record in the MAC forwarding-table item, then delete this vlan information corresponding record in the MAC forwarding-table item; For example, when the vlan information of the first terminal equipment correspondence of carrying in the notification packet is VLAN1, the 3rd BEB equipment can match MAC-1, VLAN1 and PW1 corresponding record when the MAC forwarding-table item shown in the question blank 1, therefore can delete this MAC-1, VLAN1 and PW1 institute corresponding record.When adopting this mode, can reduce the flow of the notification packet of BEB equipment room, further saving signaling expense, and can reduce taking of the network bandwidth.For example, when on the interface that a BEB equipment relates to from change in topology, once learning a plurality of MAC Address, this mode only needs the VLAN of this interface correspondence is notified to the 3rd BEB equipment, and need not with study to each MAC Address be notified to the 3rd BEB equipment.
When the vlan information of the first terminal equipment correspondence that the 3rd BEB equipment carries is deleted corresponding MAC forwarding-table item, may delete the MAC forwarding-table item of the second terminal equipment correspondence in utilizing notification packet.For this reason, in the embodiment of the invention, the MAC forwarding-table item that the 3rd BEB equipment will be learnt from the SPBM network and store respectively from the MAC forwarding-table item that the AC side is learnt, when the vlan information that carries in utilizing notification packet is deleted corresponding MAC forwarding-table item, only need deletion from the SPBM network study to the MAC forwarding-table item.Perhaps, the MAC forwarding-table item that the 3rd BEB equipment will be learnt from the SPBM network and be stored together from the MAC forwarding-table item that the AC side is learnt, and by different identification indication from the SPBM network study to the MAC forwarding-table item and the MAC forwarding-table item of learning from the AC side, when the vlan information that carries in utilizing notification packet is deleted corresponding MAC forwarding-table item, only need deletion from the SPBM network study to the MAC forwarding-table item.
In the preferred implementation of the embodiment of the invention, can also carry B-MAC, B-VLAN and the I-SID(Backbone Service Instance Identifier of a BEB equipment correspondence in the notification packet, backbone network Service Instance numbering); Further, the 3rd BEB equipment can utilize B-MAC, the B-VLAN of a BEB equipment correspondence and I-SID to determine PW between the 3rd BEB equipment and the BEB equipment.
Based on this, in aforesaid way two, the 3rd BEB equipment is after receiving notification packet, owing to also carried the vlan information of the first terminal equipment correspondence in the notification packet, therefore the 3rd BEB equipment can utilize vlan information and PW to inquire corresponding MAC forwarding-table item; Concrete inquiry mode and aforesaid way one and mode two are similar, do not repeat them here.
Step 305, the 3rd BEB equipment is when receiving the data message that second terminal equipment sends to first terminal equipment, if the corresponding MAC forwarding-table item of the target MAC (Media Access Control) address of this data message (being that corresponding MAC forwarding-table item is deleted) does not then send this data message in the multicast mode.
In sum, in the embodiment of the invention, when the topology between a BEB equipment and first terminal equipment changes, the one BEB equipment is by triggering the MAC forwarding-table item of this first terminal equipment correspondence of the 3rd BEB unit deletion, thereby make the 3rd BEB equipment when receiving the data message that second terminal equipment sends to first terminal equipment, can find the local not corresponding MAC forwarding-table item of target MAC (Media Access Control) address of this data message, therefore the 3rd BEB equipment can send datagram in the multicast mode, then this data message can be sent to the 2nd BEB equipment, and by the 2nd BEB equipment this data message is sent to first terminal equipment, thereby can avoid occurring the cutout situation.
In the embodiment of the invention, when first terminal equipment sends datagram to second terminal equipment by the 2nd BEB equipment, the 3rd BEB equipment can also record the MAC forwarding-table item of the first terminal equipment correspondence, MAC Address, the vlan information of data message and the corresponding relation between the 2nd PW of record first terminal equipment in this MAC forwarding-table item; Based on this, the 3rd BEB equipment is when receiving the data message that second terminal equipment sends to first terminal equipment, utilize the target MAC (Media Access Control) address inquiry MAC forwarding-table item of this data message, obtaining outbound port information is the 2nd PW, by the 2nd PW this data message is sent to the 2nd BEB equipment, by the 2nd BEB equipment this data message is sent to first terminal equipment.
Based on the inventive concept same with said method, a kind of BEB equipment also is provided in the embodiment of the invention, in the SPBM network of described the 3rd BEB equipment that be applied to the BEB equipment that comprises first terminal equipment, link to each other with first terminal equipment and the 2nd BEB equipment, second terminal equipment as the 3rd BEB equipment, links to each other with second terminal equipment, create between a described BEB equipment and described the 3rd BEB equipment PW is arranged, create between described the 2nd BEB equipment and described the 3rd BEB equipment the 2nd PW is arranged, as shown in Figure 5, described the 3rd BEB equipment specifically comprises:
Maintenance module 11, for the MAC forwarding-table item of learning the described first terminal equipment correspondence from a described PW side, the corresponding relation in the described MAC forwarding-table item between MAC Address, affiliated VLAN and the described PW of described first terminal equipment of record;
Receiver module 12, be used for to receive a described BEB equipment and detecting topology between a BEB equipment and first terminal equipment notification packet that the back sends that changes, described notification packet is used for the topological related information that changes and carry first terminal equipment that change in topology relates to of notice;
Processing module 13, for the related information of described first terminal equipment that carries according to notification packet, related MAC forwarding-table item during deletion MAC transmits;
Sending module 14 is used for if find the not corresponding MAC forwarding-table item of target MAC (Media Access Control) address of this data message, then sending this data message by the multicast mode when receiving the data message that described second terminal equipment sends to described first terminal equipment.
Here, the related information of described first terminal equipment can be the MAC Address of described first terminal equipment, and this moment, described processing module was further used for deleting the MAC forwarding-table item that MAC Address is the MAC Address of described first terminal equipment;
Perhaps, the related information of described first terminal equipment can be described first terminal equipment MAC Address and under VLAN, this moment described processing module be further used for deleting MAC Address and VLAN be respectively described first terminal equipment MAC Address and under the MAC forwarding-table item of VLAN;
Perhaps, the related information of described first terminal equipment can be vlan information under described first terminal equipment, and this moment, described processing module was further used for deleting the MAC forwarding-table item that VLAN is VLAN under described first terminal equipment.
Described maintenance module 11, also be used for after described processing module deletion MAC transmits related MAC forwarding-table item, stress newly to learn the MAC forwarding-table item of the described first terminal equipment correspondence from the 2nd PW, the corresponding relation in the described MAC forwarding-table item between MAC Address, affiliated VLAN and described the 2nd PW of described first terminal equipment of record;
Described sending module 14, also be used for when receiving the data message that described second terminal equipment sends to described first terminal equipment, utilize the target MAC (Media Access Control) address inquiry MAC forwarding-table item of this data message, obtaining outbound port information is described the 2nd PW, by described the 2nd PW this data message is sent to described the 2nd BEB equipment, by described the 2nd BEB equipment this data message is sent to described first terminal equipment.
Wherein, each module of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
Based on the inventive concept same with said method, a kind of BEB equipment also is provided in the embodiment of the invention, in the SPBM network of the 3rd BEB equipment that be applied to the described BEB equipment that comprises first terminal equipment, link to each other with first terminal equipment and the 2nd BEB equipment, second terminal equipment as a BEB equipment, links to each other with second terminal equipment, create between a described BEB equipment and described the 3rd BEB equipment PW is arranged, create between described the 2nd BEB equipment and described the 3rd BEB equipment the 2nd PW is arranged, as shown in Figure 6, a described BEB equipment specifically comprises:
Determination module 21, whether the topology that is used for intercepting between this BEB equipment and first terminal equipment changes;
Sending module 22, be used for listening to topology between this BEB equipment and described first terminal equipment when changing, other BEB equipment in described SPBM network sends notification packet, described notification packet is used for the related information that the notice topology changes and carries first terminal equipment that described change in topology relates to, to indicate the related information of first terminal equipment that described other BEB equipment relate to according to described change in topology, the MAC forwarding-table item that deletion is related.
Concrete, the related information of described first terminal equipment is the MAC Address of described first terminal equipment, with the MAC forwarding-table item that to indicate described other BEB unit deletion MAC Address be the MAC Address of described first terminal equipment;
Perhaps, the related information of described first terminal equipment is MAC Address and the affiliated VLAN of described first terminal equipment, is respectively the MAC Address of described first terminal equipment and the MAC forwarding-table item of affiliated VLAN to indicate described other BEB unit deletion MAC Address and VLAN;
Perhaps, the related information of described first terminal equipment is vlan information under described first terminal equipment, is the MAC forwarding-table item of VLAN under described first terminal equipment to indicate described other BEB unit deletions VLAN.
Described determination module 21, concrete being used for determines that the topology between this BEB equipment and first terminal equipment changes when the link failure that listens between this BEB equipment and first terminal equipment; Perhaps, when listening to the interface DOWN of this above first terminal equipment correspondence of BEB equipment, determine that the topology between this BEB equipment and first terminal equipment changes; Perhaps, receive the described first terminal equipment correspondence based on the TC message of STP the time, determine that the topology between this BEB equipment and first terminal equipment changes; Perhaps, receive the described first terminal equipment correspondence based on the FLUSH message of SmartLink the time, determine that the topology between this BEB equipment and first terminal equipment changes.
The vlan information of the described first terminal equipment correspondence of carrying in the described notification packet, specifically comprise: during link failure between this BEB equipment and first terminal equipment, the vlan information that carries in the described notification packet is specially the VLAN at the described first terminal equipment corresponding interface place; Perhaps, when the interface DOWN of the described first terminal equipment correspondence, the vlan information that carries in the described notification packet is specially the VLAN at the described first terminal equipment corresponding interface place; Perhaps, receive the described first terminal equipment correspondence based on the TC message of STP the time, the vlan information that carries in the described notification packet is specially the VLAN that comprises in the described TC message; Perhaps, receive the described first terminal equipment correspondence based on the FLUSH message of SmartLink the time, the vlan information that carries in the described notification packet is specially the VLAN of described FLUSH message appointment.
Wherein, each module of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of above-described embodiment can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number does not represent the quality of embodiment just to description.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (12)

1. the transmission method of a message, be applied to comprise that a described BEB equipment is connected with first terminal equipment, it is characterized in that in the SPBM network of a BEB equipment and the 3rd BEB equipment, creating between a described BEB equipment and described the 3rd BEB equipment has a PW, and this method comprises:
Described the 3rd BEB equipment is learnt the MAC forwarding-table item of the described first terminal equipment correspondence from a described PW side, the corresponding relation in the described MAC forwarding-table item between MAC Address, affiliated VLAN and the described PW of described first terminal equipment of record;
Described the 3rd BEB equipment receives a described BEB equipment and is detecting topology between a BEB equipment and first terminal equipment notification packet that the back sends that changes, and described notification packet is used for the related information that the notice topology changes and carries first terminal equipment that change in topology relates to;
The related information of described first terminal equipment that described the 3rd BEB equipment carries according to notification packet, related MAC forwarding-table item during deletion MAC transmits.
2. the method for claim 1 is characterized in that,
The related information of described first terminal equipment is the MAC Address of described first terminal equipment, and MAC forwarding-table item related during described deletion MAC transmits is the MAC forwarding-table item of the MAC Address of described first terminal equipment for the deletion MAC Address;
Perhaps, the related information of described first terminal equipment is VLAN under the MAC Address of described first terminal equipment reaches, and described deletion MAC transmits middle related MAC forwarding-table item and is respectively the MAC Address of described first terminal equipment and the MAC forwarding-table item of affiliated VLAN for deleting MAC Address and VLAN;
Perhaps, the related information of described first terminal equipment is vlan information under described first terminal equipment, and related MAC forwarding-table item was that deletion VLAN is the MAC forwarding-table item of VLAN under described first terminal equipment during described deletion MAC transmitted.
3. method as claimed in claim 1 or 2, it is characterized in that, described SPBM network also includes the 2nd BEB equipment that links to each other with first terminal equipment, and creating between described the 2nd BEB equipment and described the 3rd BEB equipment has the 2nd PW, and described the 3rd BEB equipment is connected with second terminal equipment;
After the MAC forwarding-table item of association, described method also comprises in deletion MAC transmits:
Described the 3rd BEB equipment stresses newly to learn the MAC forwarding-table item of the described first terminal equipment correspondence from the 2nd PW, the corresponding relation in the described MAC forwarding-table item between MAC Address, affiliated VLAN and described the 2nd PW of described first terminal equipment of record;
Described the 3rd BEB equipment is when receiving the data message that described second terminal equipment sends to described first terminal equipment, utilize the target MAC (Media Access Control) address inquiry MAC forwarding-table item of this data message, obtaining outbound port information is described the 2nd PW, by described the 2nd PW this data message is sent to described the 2nd BEB equipment, by described the 2nd BEB equipment this data message is sent to described first terminal equipment.
4. the transmission method of a message, be applied to comprise that a described BEB equipment is connected with first terminal equipment, it is characterized in that in the SPBM network of a BEB equipment and the 3rd BEB equipment, creating between a described BEB equipment and described the 3rd BEB equipment has a PW, and this method comprises:
Whether the topology that a described BEB equipment is intercepted between this BEB equipment and first terminal equipment changes;
A described BEB equipment is listening to topology between this BEB equipment and described first terminal equipment when changing, other BEB equipment in described SPBM network sends notification packet, described notification packet is used for the related information that the notice topology changes and carries first terminal equipment that described change in topology relates to, to indicate the related information of first terminal equipment that described other BEB equipment relate to according to described change in topology, the MAC forwarding-table item that deletion is related.
5. method as claimed in claim 4 is characterized in that,
The related information of described first terminal equipment is the MAC Address of described first terminal equipment, with the MAC forwarding-table item that to indicate described other BEB unit deletion MAC Address be the MAC Address of described first terminal equipment;
Perhaps, the related information of described first terminal equipment is MAC Address and the affiliated VLAN of described first terminal equipment, is respectively the MAC Address of described first terminal equipment and the MAC forwarding-table item of affiliated VLAN to indicate described other BEB unit deletion MAC Address and VLAN;
Perhaps, the related information of described first terminal equipment is vlan information under described first terminal equipment, is the MAC forwarding-table item of VLAN under described first terminal equipment to indicate described other BEB unit deletions VLAN.
6. as claim 4 or 5 described methods, it is characterized in that a described BEB equipment is intercepted the process whether topology between this BEB equipment and first terminal equipment changes, and comprising:
A described BEB equipment determines that the topology between this BEB equipment and first terminal equipment changes when the link failure that listens between this BEB equipment and first terminal equipment; Perhaps,
A described BEB equipment determines that the topology between this BEB equipment and first terminal equipment changes when listening to the interface DOWN of this above first terminal equipment correspondence of BEB equipment; Perhaps,
A described BEB equipment receive the described first terminal equipment correspondence based on the TC message of STP the time, determine that the topology between this BEB equipment and first terminal equipment changes; Perhaps,
A described BEB equipment receive the described first terminal equipment correspondence based on the FLUSH message of SmartLink the time, determine that the topology between this BEB equipment and first terminal equipment changes.
7. BEB equipment, be applied to comprise in the SPBM network of first terminal equipment, a BEB equipment that links to each other with first terminal equipment, described the 3rd BEB equipment as the 3rd BEB equipment, it is characterized in that, creating between a described BEB equipment and described the 3rd BEB equipment has a PW, and described the 3rd BEB equipment comprises:
Maintenance module, for the MAC forwarding-table item of learning the described first terminal equipment correspondence from a described PW side, the corresponding relation in the described MAC forwarding-table item between MAC Address, affiliated VLAN and the described PW of described first terminal equipment of record;
Receiver module, be used for to receive a described BEB equipment and detecting topology between a BEB equipment and first terminal equipment notification packet that the back sends that changes, described notification packet is used for the topological related information that changes and carry first terminal equipment that change in topology relates to of notice;
Processing module, for the related information of described first terminal equipment that carries according to notification packet, related MAC forwarding-table item during deletion MAC transmits.
8. equipment as claimed in claim 7 is characterized in that,
The related information of described first terminal equipment is the MAC Address of described first terminal equipment, and described processing module is further used for deleting the MAC forwarding-table item that MAC Address is the MAC Address of described first terminal equipment;
Perhaps, the related information of described first terminal equipment is MAC Address and the affiliated VLAN of described first terminal equipment, and described processing module is further used for deleting MAC Address and VLAN is respectively the MAC Address of described first terminal equipment and the MAC forwarding-table item of affiliated VLAN;
Perhaps, the related information of described first terminal equipment is vlan information under described first terminal equipment, and described processing module is further used for deleting the MAC forwarding-table item that VLAN is VLAN under described first terminal equipment.
9. as claim 7 or 8 described equipment, it is characterized in that, described SPBM network also includes the 2nd BEB equipment that links to each other with first terminal equipment, and creating between described the 2nd BEB equipment and described the 3rd BEB equipment has the 2nd PW, and described the 3rd BEB equipment is connected with second terminal equipment;
Maintenance module, also be used for after described processing module deletion MAC transmits related MAC forwarding-table item, stress newly to learn the MAC forwarding-table item of the described first terminal equipment correspondence from the 2nd PW, the corresponding relation in the described MAC forwarding-table item between MAC Address, affiliated VLAN and described the 2nd PW of described first terminal equipment of record;
Described the 3rd BEB equipment also comprises:
Sending module, be used for when receiving the data message that described second terminal equipment sends to described first terminal equipment, utilize the target MAC (Media Access Control) address inquiry MAC forwarding-table item of this data message, obtaining outbound port information is described the 2nd PW, by described the 2nd PW this data message is sent to described the 2nd BEB equipment, by described the 2nd BEB equipment this data message is sent to described first terminal equipment.
10. BEB equipment, be applied to comprise in the SPBM network of first terminal equipment, a described BEB equipment that links to each other with first terminal equipment and the 3rd BEB equipment as a BEB equipment, it is characterized in that, creating between a described BEB equipment and described the 3rd BEB equipment has a PW, and a described BEB equipment comprises:
Determination module, whether the topology that is used for intercepting between this BEB equipment and first terminal equipment changes;
Sending module, be used for listening to topology between this BEB equipment and described first terminal equipment when changing, other BEB equipment in described SPBM network sends notification packet, described notification packet is used for the related information that the notice topology changes and carries first terminal equipment that described change in topology relates to, to indicate the related information of first terminal equipment that described other BEB equipment relate to according to described change in topology, the MAC forwarding-table item that deletion is related.
11. equipment as claimed in claim 10 is characterized in that,
The related information of described first terminal equipment is the MAC Address of described first terminal equipment, with the MAC forwarding-table item that to indicate described other BEB unit deletion MAC Address be the MAC Address of described first terminal equipment;
Perhaps, the related information of described first terminal equipment is MAC Address and the affiliated VLAN of described first terminal equipment, is respectively the MAC Address of described first terminal equipment and the MAC forwarding-table item of affiliated VLAN to indicate described other BEB unit deletion MAC Address and VLAN;
Perhaps, the related information of described first terminal equipment is vlan information under described first terminal equipment, is the MAC forwarding-table item of VLAN under described first terminal equipment to indicate described other BEB unit deletions VLAN.
12. as claim 10 or 11 described equipment, it is characterized in that,
Described determination module, concrete being used for determines that the topology between this BEB equipment and first terminal equipment changes when the link failure that listens between this BEB equipment and first terminal equipment; Perhaps, when listening to the interface DOWN of this above first terminal equipment correspondence of BEB equipment, determine that the topology between this BEB equipment and first terminal equipment changes; Perhaps, receive the described first terminal equipment correspondence based on the TC message of STP the time, determine that the topology between this BEB equipment and first terminal equipment changes; Perhaps, receive the described first terminal equipment correspondence based on the FLUSH message of SmartLink the time, determine that the topology between this BEB equipment and first terminal equipment changes.
CN201310131525.4A 2013-04-15 2013-04-15 Message transmitting method and message transmitting equipment Active CN103200107B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310131525.4A CN103200107B (en) 2013-04-15 2013-04-15 Message transmitting method and message transmitting equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310131525.4A CN103200107B (en) 2013-04-15 2013-04-15 Message transmitting method and message transmitting equipment

Publications (2)

Publication Number Publication Date
CN103200107A true CN103200107A (en) 2013-07-10
CN103200107B CN103200107B (en) 2017-04-12

Family

ID=48722470

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310131525.4A Active CN103200107B (en) 2013-04-15 2013-04-15 Message transmitting method and message transmitting equipment

Country Status (1)

Country Link
CN (1) CN103200107B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685029A (en) * 2013-12-06 2014-03-26 杭州华三通信技术有限公司 Method and equipment for forwarding messages in rapid ring protection protocol networking
CN103746916A (en) * 2013-12-20 2014-04-23 杭州华三通信技术有限公司 Method and apparatus for improving forwarding strategy of SPBM network
CN104079466A (en) * 2014-07-03 2014-10-01 杭州华三通信技术有限公司 Message processing method and equipment
CN104168169A (en) * 2014-07-15 2014-11-26 杭州华三通信技术有限公司 MAC entry deleting method and equipment
CN107294856A (en) * 2016-03-31 2017-10-24 华为技术有限公司 Determine the method, equipment and system of change in topology

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110747A (en) * 2007-09-12 2008-01-23 华为技术有限公司 Method, device and system for eliminating medium accesses to control address
CN101159696A (en) * 2007-11-21 2008-04-09 杭州华三通信技术有限公司 PBT network flow control method and apparatus
US20120182876A1 (en) * 2011-01-18 2012-07-19 Fujitsu Limited Provider network and provider edge apparatus
CN102857399A (en) * 2012-08-20 2013-01-02 华为技术有限公司 MAC address deleting method, device and system of VPLS dual homing network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110747A (en) * 2007-09-12 2008-01-23 华为技术有限公司 Method, device and system for eliminating medium accesses to control address
CN101159696A (en) * 2007-11-21 2008-04-09 杭州华三通信技术有限公司 PBT network flow control method and apparatus
US20120182876A1 (en) * 2011-01-18 2012-07-19 Fujitsu Limited Provider network and provider edge apparatus
CN102857399A (en) * 2012-08-20 2013-01-02 华为技术有限公司 MAC address deleting method, device and system of VPLS dual homing network

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685029A (en) * 2013-12-06 2014-03-26 杭州华三通信技术有限公司 Method and equipment for forwarding messages in rapid ring protection protocol networking
CN103685029B (en) * 2013-12-06 2016-08-17 杭州华三通信技术有限公司 Message forwarding method and equipment in a kind of rapid ring protection protocol networking
CN103746916A (en) * 2013-12-20 2014-04-23 杭州华三通信技术有限公司 Method and apparatus for improving forwarding strategy of SPBM network
CN103746916B (en) * 2013-12-20 2017-04-12 杭州华三通信技术有限公司 Method and apparatus for improving forwarding strategy of SPBM network
CN104079466A (en) * 2014-07-03 2014-10-01 杭州华三通信技术有限公司 Message processing method and equipment
CN104079466B (en) * 2014-07-03 2017-10-03 新华三技术有限公司 A kind of message processing method and equipment
CN104168169A (en) * 2014-07-15 2014-11-26 杭州华三通信技术有限公司 MAC entry deleting method and equipment
CN104168169B (en) * 2014-07-15 2017-11-28 新华三技术有限公司 A kind of MAC address entries delet method and equipment
CN107294856A (en) * 2016-03-31 2017-10-24 华为技术有限公司 Determine the method, equipment and system of change in topology
CN107294856B (en) * 2016-03-31 2020-01-21 华为技术有限公司 Method, equipment and system for determining topology change

Also Published As

Publication number Publication date
CN103200107B (en) 2017-04-12

Similar Documents

Publication Publication Date Title
CN102007729B (en) Connectivity fault management traffic indication extension
CN101286922B (en) Signalling control method, system and apparatus
CN101674249B (en) Method for forwarding provider backbone bridge (PBB) traffic and device thereof
CN103269299B (en) Message forwarding method in SPBM network and device
CN103944826B (en) List item polymerization and equipment in SPBM network
CN102724118A (en) Label distribution method and device
CN101764751A (en) Method, system and equipment for forwarding roaming messages for wireless user terminal travelling across VLAN
CN103281247A (en) Universal routing method and universal routing system of data center network
CN103944828A (en) Method and equipment for transmitting protocol messages
CN103200107A (en) Message transmitting method and message transmitting equipment
CN104270309A (en) Method for achieving multi-hop BFD under IP RAN equipment
EP3522454B1 (en) Connectivity fault management in a communication network
CN102055647A (en) Three-layer virtual private network (VPN) access method and system
CN103200100A (en) Method and device for packet transmitting
CN103259721A (en) Message transmitting method and device in SPBM network
CN102098202A (en) Virtual private topology control method, device and system
CN101631060B (en) Method and device for managing edge port
CN102238057A (en) Ethernet-tree realization method, system, device and network equipment
CN103209125B (en) A kind of transmission method of label information and equipment
CN104079466A (en) Message processing method and equipment
CN103297338A (en) Virtual private network (VPN) router advertisement method and device
US20120224488A1 (en) Method of connectivity monitoring by subscriber line terminating apparatus
CN103152265A (en) Message forwarding method and equipment in SPB (Shortest Path Bridge) network
CN104009919A (en) Message forwarding method and device
CN102238040B (en) Method for monitoring CE (Customer Edge router) and routing 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
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.