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

Message transmitting method and message transmitting equipment Download PDF

Info

Publication number
CN103200107B
CN103200107B CN201310131525.4A CN201310131525A CN103200107B CN 103200107 B CN103200107 B CN 103200107B CN 201310131525 A CN201310131525 A CN 201310131525A CN 103200107 B CN103200107 B CN 103200107B
Authority
CN
China
Prior art keywords
equipment
beb
terminal equipment
mac
beb equipment
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
CN201310131525.4A
Other languages
Chinese (zh)
Other versions
CN103200107A (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

Landscapes

  • Small-Scale Networks (AREA)

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 and equipment of message
Technical field
The present invention relates to communication technical field, more particularly to a kind of transmission method and equipment of message.
Background technology
MAC-in-MAC agreements are also called PBB(Provider Backbone Bridge, provider backbone bridging)Agreement, As a kind of two-layer VPN(Virtual Private Network, VPN (virtual private network))Technology, it passes through MAC(Media Access Control, media access control)Address is nested, and user's MAC address is encapsulated among operator's MAC Address, from And different user business is isolated.
Using the SPB of MAC-in-MAC agreements(Shortest Path Bridging, shortest path bridge)Network is referred to as SPBM(Shortest Path Bridging MAC Mode, the shortest path bridge of MAC-in-MAC patterns)Network, such as Fig. 1 institutes Show, be the networking schematic diagram of SPBM network, the backbone network of the SPBM network mainly includes BEB(Backbone Edge Bridge, backbone edges bridge)Equipment, BCB(Backbone Core Bridge, backbone network core bridges)Equipment and it Between backbone links.BEB equipment passes through AC(Attachment Circuit, access circuit)It is connected to user network.Here, will BEB equipment is referred to as AC sides towards the side of user network.
BEB equipment is responsible for that MAC-in-MAC encapsulation will be carried out from the message of user network, and is forwarded to backbone network;Or Person, will be decapsulated from the MAC-in-MAC messages of backbone network, and be forwarded to user network.BCB equipment enters to message When row MAC-in-MAC is encapsulated, MAC Address and the VLAN that operator distributes can be stamped for it(Virtual Local Area Network, VLAN), and the MAC Address of operator's distribution is B-MAC(Backbone MAC, backbone network MAC), operation The VLAN of business's distribution is B-VLAN(Backbone VLAN, backbone network VLAN).Wherein, BCB equipment is responsible for according to B-MAC and B- VLAN forwards MAC-in-MAC messages, and BCB equipment to only need to E-Packet and learn the MAC Address in backbone network, it is not necessary to Substantial amounts of MAC Address in study user network.
In prior art, as shown in Fig. 2 being message in SPBM network(Data message)The application scenarios schematic diagram of transmission, PC1 and PC2 are located at respectively in different user networks, and device A, equipment B and equipment C are the BEB equipment in SPBM network, and are set Standby A and equipment B is used to realize the load balancing of data message;Additionally, the not body in fig. 2 of the BCB equipment in SPBM network It is existing.
When PC1 needs to access PC2, PC1 sends datagram to device A, and the data message can be through SPBM nets Equipment C is reached after the transmission of network, and data message is sent to into PC2 by equipment C, equipment C is received from PC1's in first time MAC forwarding-table items after data message, shown in meeting storage table 1.
Table 1
MAC Address Vlan information Exit port information
MAC-1 VLAN1 PW1
In table 1, MAC-1 is the MAC Address of PC1, and VLAN1 is the VLAN corresponding to the data message that PC1 sends to PC2 Information, PW1(Pseudowire, pseudo-wire)Learn for equipment C, when subsequently sending datagram for MAC-1 to purpose MAC Exit port information.
Based on this MAC forwarding-table item, when PC2 needs to access PC1, PC2 sends datagram and gives equipment C, and equipment C can profit With the target MAC (Media Access Control) address of the data message(That is MAC-1)And vlan information(That is VLAN1)Inquiry MAC forwarding-table items, obtain correspondence Exit port information be PW1, therefore data message is sent to device A by equipment C using PW1, and is sent out data message by device A Give PC1.
But, when the link failure between device A and PC1, equipment C can not perceive the failure of PW opposite ends Situation, it is impossible to the MAC forwarding-table items for upgrading in time local, therefore, equipment C receive PC2 be sent to PC1 data message it Afterwards, it is PW1 by inquire about MAC forwarding-table items to obtain corresponding exit port information, and continues for data message to be sent to device A, Obviously, now data message cannot be sent to PC1 by device A, so as to cause cutout situation occur.
The content of the invention
The embodiment of the present invention provides a kind of transmission method and equipment of message, with when PW opposite ends topology changes, and Shi Gengxin local mac forwarding-table items.
In order to achieve the above object, the embodiment of the present invention provides a kind of transmission method of message, is applied to include a BEB In the SPBM network of equipment and the 3rd BEB equipment, a BEB equipment is connected with first terminal equipment, and a BEB sets Standby establishment between the 3rd BEB equipment has a PW, and the method includes:
The 3rd BEB equipment learns the corresponding MAC forwarding-table items of the first terminal equipment, institute from a PW sides State and the MAC Address of the first terminal equipment, right between affiliated VLAN and a PW is recorded in MAC forwarding-table items Should be related to;
The 3rd BEB equipment receive a BEB equipment the BEB equipment that detects and first terminal equipment it Between topology change after the notification packet that sends, the notification packet is used to notify topology to change and carry topology The related information of the first terminal equipment that change is related to;
The related information of the first terminal equipment that the 3rd BEB equipment is carried according to notification packet, deletes MAC and turns Deliver the MAC forwarding-table items of middle association.
The embodiment of the present invention additionally provides a kind of transmission method of message, is applied to include a BEB equipment and the 3rd BEB In the SPBM network of equipment, a BEB equipment is connected with first terminal equipment, a BEB equipment and the described 3rd Creating between BEB equipment has a PW, and the method includes:
Whether the topology that the first BEB equipment is intercepted between this BEB equipment and first terminal equipment changes;
The first BEB equipment is listening to the topology generation between this BEB equipment and the first terminal equipment During change, notification packet is sent to other the BEB equipment in the SPBM network, the notification packet is used to notify topological generation Change and carry the related information of the first terminal equipment that the change in topology is related to, to indicate described other BEB equipment The related information of the first terminal equipment being related to according to the change in topology, deletes the MAC forwarding-table items of association.
The embodiment of the present invention additionally provides a kind of BEB equipment, as the 3rd BEB equipment applications in setting including first terminal In the standby BEB equipment being connected with first terminal equipment, the SPBM network of the 3rd BEB equipment, a BEB sets Standby establishment between the 3rd BEB equipment has a PW, and the 3rd BEB equipment includes:
Maintenance module, it is described for learning the corresponding MAC forwarding-table items of the first terminal equipment from a PW sides The MAC Address of the first terminal equipment, the correspondence between affiliated VLAN and a PW are recorded in MAC forwarding-table items Relation;
Receiver module, is detecting between a BEB equipment and first terminal equipment for receiving a BEB equipment Topology change after the notification packet that sends, the notification packet is used to notify topology to change and carry topological change The related information of the first terminal equipment that change is related to;
Processing module, the related information of the first terminal equipment for being carried according to notification packet deletes MAC forwardings The MAC forwarding-table items associated in table.
The embodiment of the present invention additionally provides a kind of BEB equipment, as a BEB equipment applications in setting including first terminal In the SPBM network of the standby BEB equipment being connected with first terminal equipment and the 3rd BEB equipment, described first Creating between BEB equipment and the 3rd BEB equipment has a PW, and a BEB equipment includes:
Determining module, for intercepting whether the topology between this BEB equipment and first terminal equipment changes;
Sending module, becomes for the topology between this BEB equipment and the first terminal equipment is listened to During change, notification packet is sent to other the BEB equipment in the SPBM network, the notification packet is used to notify that topology becomes Change and carry the related information of the first terminal equipment that the change in topology is related to, to indicate described other BEB equipment roots The related information of the first terminal equipment being related to according to the change in topology, deletes the MAC forwarding-table items of association.
Compared with prior art, the embodiment of the present invention at least has advantages below:In the embodiment of the present invention, in a BEB When topology between equipment and first terminal equipment changes, a BEB equipment by trigger the 3rd BEB equipment delete this The corresponding MAC forwarding-table items of one terminal unit, the local mac forwarding-table item so that the 3rd BEB equipment can upgrade in time enters And target MAC (Media Access Control) address is sent as the data message of first terminal equipment with multicast mode, cutout situation can be avoided the occurrence of then.
Description of the drawings
Fig. 1 is the networking schematic diagram of SPBM network in prior art;
Fig. 2 is the application scenarios schematic diagram of message transmissions in SPBM network in prior art;
Fig. 3 is a kind of transmission method schematic flow sheet of message provided in an embodiment of the present invention;
Fig. 4 is by TLV format transmissions MAC Address and vlan information new defined in ISIS in the embodiment of the present invention Schematic diagram;
Fig. 5 is a kind of structural representation of BEB equipment provided in an embodiment of the present invention;
Fig. 6 is the structural representation of another kind of BEB equipment provided in an embodiment of the present invention.
Specific embodiment
For problems of the prior art, the embodiment of the present invention provides a kind of message(Data message)Transmission side Method, the method be applied to include the BEB equipment that first terminal equipment is connected with first terminal equipment and the 2nd BEB equipment, In the SPBM network of the 3rd BEB equipment that second terminal equipment is connected with second terminal equipment.During implementing, the The application scenarios that one terminal unit is connected with a BEB equipment include but is not limited to first terminal equipment and are directly connected to first On BEB equipment, or first terminal equipment is connected on the access-layer switch of user network side, and the access-layer switch connects It is connected on a BEB equipment;The application scenarios that first terminal equipment is connected with the 2nd BEB equipment include but is not limited to first terminal Equipment is directly connected on the 2nd BEB equipment, or first terminal equipment is connected on the access-layer switch of user network side, And the access-layer switch is connected on the 2nd BEB equipment;The application scenarios bag that second terminal equipment is connected with the 3rd BEB equipment Include but be not limited to second terminal equipment to be directly connected on the 3rd BEB equipment, or second terminal equipment is connected to user network On the access-layer switch of side, and the access-layer switch is connected on the 3rd BEB equipment.
Application scenarios schematic diagram with Fig. 2 as the embodiment of the present invention, the first terminal equipment is PC1, and a BEB equipment is Device A, the 2nd BEB equipment is equipment B, and the PC1 is connected directly between in device A and equipment B;Second terminal equipment is PC2, the Three BEB equipment are equipment C, and the PC2 is connected directly between on equipment C.Wherein, create between a BEB equipment and the 3rd BEB equipment Have a PW(That is PW1), creating between the 2nd BEB equipment and the 3rd BEB equipment has the 2nd PW(That is PW2).Specifically, can be with PW forward tables are created between two BEB equipment by Intermediate System to Intermediate System, so as to form the virtual connections between two BEB equipment, i.e., PW connects, PW connection can bearing end to end subscriber service traffics.
During initial transmission, first terminal equipment is by a BEB equipment to second terminal equipment sending data report Text, based on this, first terminal equipment will need the data message for being sent to second terminal equipment to be sent to a BEB equipment, by First BEB equipment will be sent to the 3rd BEB equipment from the data message of first terminal equipment, be counted this by the 3rd BEB equipment Second terminal equipment is sent to according to message.
3rd BEB equipment when first time receiving first terminal equipment and being sent to the data message of second terminal equipment, meeting Learn the corresponding MAC forwarding-table items of the first terminal equipment, in the MAC forwarding-table items record first terminal equipment MAC Address, Corresponding relation between the vlan information of data message and a PW, for the application scenarios shown in Fig. 2, the MAC forward tables Item can be as shown in table 1.
Based on this MAC forwarding-table item, when second terminal equipment accesses first terminal equipment, second terminal equipment sends number The 3rd BEB equipment, the target MAC (Media Access Control) address of the 3rd BEB equipment utilization data messages are given according to message(That is MAC-1)And vlan information (That is VLAN1)Inquiry MAC forwarding-table items, obtain corresponding exit port information for a PW, therefore the 3rd BEB equipment utilizations first Data message is sent to a BEB equipment by PW, and data message is sent to into first terminal equipment by a BEB equipment.
Under above-mentioned application scenarios, as shown in figure 3, the method is comprised the following steps:
Whether step 301, the topology that a BEB equipment is intercepted between this BEB equipment and first terminal equipment occurs Change;If it is, execution step 302;If it is not, then continuing executing with this step.
In the embodiment of the present invention, the topology that a BEB equipment is intercepted between this BEB equipment and first terminal equipment is The no process for changing, is specifically including but not limited to:
Situation one, a BEB equipment are listening to the generation event of the link between this BEB equipment and first terminal equipment During barrier, it is determined that the topology between this BEB equipment and first terminal equipment changes.
Situation two, a BEB equipment corresponding interface of the first terminal equipment on this BEB equipment is listened to occurs During DOWN, it is determined that the topology between this BEB equipment and first terminal equipment changes.
Situation three, a BEB equipment are to receive first terminal equipment corresponding based on STP(Spanning Tree Protocol, Spanning-Tree Protocol)TC(Topology Change, change in topology)During message, it is determined that this BEB equipment with Topology between first terminal equipment changes.
Situation four, a BEB equipment are to receive first terminal equipment corresponding based on SmartLink(Flexible link)'s FLUSH(Refresh)During message, it is determined that the topology between this BEB equipment and first terminal equipment changes.
Step 302, a BEB equipment is listening to the topology generation between this BEB equipment and first terminal equipment During change, with multicast mode, other BEB equipment send notification packet in SPBM network.
In the embodiment of the present invention, the notification packet is taken for notifying that topology changes, and carrying in the notification packet The related information of the first terminal equipment being related to change in topology.Specifically, the related information of first terminal equipment can be with Be the first terminal equipment MAC Address or be first terminal equipment MAC Address and the affiliated VLAN of first terminal equipment Information, or the affiliated vlan information of the first terminal equipment, etc..
In the embodiment of the present invention, when the link between this BEB equipment and first terminal equipment breaks down, this leads to Accuse the VLAN that the vlan information carried in message is specifically as follows first terminal equipment corresponding interface place;Or, first eventually When the corresponding interface of end equipment occurs DOWN, the vlan information carried in the notification packet is specifically as follows first terminal equipment pair The VLAN for answering interface to be located;Or, when the corresponding TC messages based on STP of first terminal equipment are received, in the notification packet The vlan information of carrying is specifically as follows the VLAN that given instance is included in TC messages;Or, receiving first terminal equipment During corresponding FLUSH messages based on SmartLink, the vlan information carried in the notification packet is specifically as follows FLUSH reports VLAN specified by text.
In a kind of preferred implementation of the embodiment of the present invention, by using based on ISIS(Intermediate System To Intermediate System, Intermediate System-to-Intermediate System)Notification packet it is corresponding to carry first terminal equipment MAC Address and vlan information, or, only carry the corresponding vlan information of first terminal equipment;As shown in figure 4, by ISIS Defined in new TLV(Type Length Value, type lengths values)Form, and first terminal equipment pair is carried by the TLV The MAC Address answered(The MAC Address learnt on the link that i.e. topology changes)And vlan information.
Step 303, the 3rd BEB equipment receives BEB equipment opening up between a BEB equipment and first terminal equipment Flutter the notification packet sent when changing.
In the embodiment of the present invention, the notification packet is used to notify that topology changes, and carries the in the notification packet The corresponding MAC Address of one terminal unit and vlan information, or, it is corresponding that first terminal equipment is only carried in the notification packet Vlan information.
Step 304, the related information of the first terminal equipment that the 3rd BEB equipment is carried according to notification packet is deleted The MAC forwarding-table items associated in MAC forward tables.
Specifically, the 3rd BEB equipment is after notification packet is received:
If only carrying the MAC Address of first terminal equipment in notification packet, the 3rd BEB equipment utilization notification packets The MAC Address inquiry local mac forwarding-table item of the first terminal equipment of middle carrying;If matching has the MAC in MAC forwarding-table items The corresponding record of address, then delete the record.
If carrying the corresponding MAC Address of first terminal equipment and vlan information, the 3rd BEB equipment in notification packet Using the corresponding MAC Address of the first terminal equipment and vlan information inquiry MAC forwarding-table items carried in notification packet;If In MAC forwarding-table items matching have the MAC Address and vlan information corresponding record, then delete MAC forwarding-table items in the MAC Address and Vlan information corresponding record;For example, when the corresponding MAC Address of first terminal equipment and vlan information point that carry in notification packet Not Wei MAC-1 and VLAN1 when, the 3rd BEB equipment in the MAC forwarding-table items shown in inquiry table 1, can match MAC-1, VLAN1 and PW1 corresponding records, therefore the corresponding record of MAC-1, VLAN1 and the PW1 can be deleted.When using which, can be with Accurate match needs deleted MAC forwarding-table items to the corresponding record in MAC forwarding-table items so as to accurately delete, and improves table Item maintenance efficiency.
If only carrying the corresponding vlan information of first terminal equipment in notification packet, the 3rd BEB equipment utilizations are led to Accuse the corresponding vlan information of the first terminal equipment carried in message and inquire about MAC forwarding-table items;If matched in MAC forwarding-table items There is the vlan information corresponding record, then delete the vlan information corresponding record in MAC forwarding-table items;For example, when in notification packet When the corresponding vlan information of first terminal equipment of carrying is VLAN1, the 3rd BEB equipment is in the MAC forward tables shown in inquiry table 1 Xiang Shi, can match MAC-1, VLAN1 and PW1 corresponding record, therefore can delete the corresponding record of MAC-1, VLAN1 and the PW1. When using which, it is possible to reduce the flow of the notification packet of BEB equipment rooms, can further saving signaling expense, and can To reduce the occupancy of the network bandwidth.For example, once learnt from the interface that change in topology is related to multiple in a BEB equipment During MAC Address, which only needs to the corresponding VLAN of the interface be notified to the 3rd BEB equipment, and without the need for every by what is learnt Individual MAC Address is all notified to the 3rd BEB equipment.
The corresponding vlan information of first terminal equipment that 3rd BEB equipment is carried in using notification packet deletes corresponding During MAC forwarding-table items, the corresponding MAC forwarding-table items of second terminal equipment may be deleted.For this purpose, in the embodiment of the present invention, the Three BEB equipment by from SPBM network learning to MAC forwarding-table items and the MAC forwarding-table items that learn from AC sides enter respectively Row storage, when the vlan information carried in using notification packet deletes corresponding MAC forwarding-table items, it is only necessary to delete from SPBM The MAC forwarding-table items that network learning is arrived.Or, the 3rd BEB equipment by from SPBM network learning to MAC forwarding-table items with And the MAC forwarding-table items learnt from AC sides are stored together, and by different identification indicate from SPBM network learning to MAC forwarding-table items and the MAC forwarding-table items learnt from AC sides, the vlan information carried in using notification packet deletes phase During the MAC forwarding-table items answered, it is only necessary to delete from SPBM network learning to MAC forwarding-table items.
In the preferred implementation of the embodiment of the present invention, the corresponding B- of a BEB equipment can also be carried in notification packet MAC, B-VLAN and I-SID(Backbone Service Instance Identifier, backbone network Service Instance numbering);Enter One step, the 3rd BEB equipment can determine the 3rd BEB equipment using a BEB equipment corresponding B-MAC, B-VLAN and I-SID With the PW between a BEB equipment.
Based on this, in aforesaid way two, the 3rd BEB equipment after notification packet is received, due to also taking in notification packet Can be inquired accordingly using vlan information and PW with the corresponding vlan information of first terminal equipment, therefore the 3rd BEB equipment MAC forwarding-table items;Specific inquiry mode is similar with aforesaid way one and mode two, will not be described here.
Step 305, the 3rd BEB equipment when the data message that second terminal equipment sends to first terminal equipment is received, If the MAC forwarding-table items not corresponding to the target MAC (Media Access Control) address of the data message(I.e. corresponding MAC forwarding-table items by Delete), then the data message is sent with multicast mode.
In sum, in the embodiment of the present invention, the topology between a BEB equipment and first terminal equipment changes When, a BEB equipment deletes the corresponding MAC forwarding-table items of the first terminal equipment by triggering the 3rd BEB equipment, so that 3rd BEB equipment is when the data message that second terminal equipment sends to first terminal equipment is received, it is found that local MAC forwarding-table items corresponding to the target MAC (Media Access Control) address of data message, therefore the 3rd BEB equipment can send number with multicast mode According to message, the data message can be sent to the 2nd BEB equipment then, and be sent the data message by the 2nd BEB equipment First terminal equipment is given, such that it is able to avoid the occurrence of cutout situation.
In the embodiment of the present invention, in first terminal equipment by the 2nd BEB equipment to second terminal equipment sending data report Wen Shi, the 3rd BEB equipment can also record the corresponding MAC forwarding-table items of first terminal equipment, record in the MAC forwarding-table items Corresponding relation between the MAC Address of first terminal equipment, the vlan information of data message and the 2nd PW;Based on this, the 3rd BEB equipment when the data message that second terminal equipment sends to first terminal equipment is received, using the purpose of the data message MAC Address inquires about MAC forwarding-table items, obtains exit port information for the 2nd PW, and the data message is sent to into the by the 2nd PW Two BEB equipment, first terminal equipment is sent to by the 2nd BEB equipment by the data message.
Based on the inventive concept same with said method, a kind of BEB equipment is additionally provided in the embodiment of the present invention, as Three BEB equipment applications in the BEB equipment and the 2nd BEB equipment being connected with first terminal equipment including first terminal equipment, In the SPBM network of the 3rd BEB equipment that second terminal equipment is connected with second terminal equipment, a BEB equipment Creating between the 3rd BEB equipment has a PW, and creating between the 2nd BEB equipment and the 3rd BEB equipment has 2nd PW, as shown in figure 5, the 3rd BEB equipment is specifically included:
Maintenance module 11, for learning the corresponding MAC forwarding-table items of the first terminal equipment, institute from a PW sides State and the MAC Address of the first terminal equipment, right between affiliated VLAN and a PW is recorded in MAC forwarding-table items Should be related to;
Receiver module 12, for receive a BEB equipment the BEB equipment that detects and first terminal equipment it Between topology change after the notification packet that sends, the notification packet is used to notify topology to change and carry topology The related information of the first terminal equipment that change is related to;
Processing module 13, the related information of the first terminal equipment for being carried according to notification packet is deleted MAC and is turned Deliver the MAC forwarding-table items of middle association;
Sending module 14, for receiving the data message that the second terminal equipment sends to the first terminal equipment When, if it find that the not MAC forwarding-table items corresponding to the target MAC (Media Access Control) address of the data message, then sent by multicast mode The data message.
Here, the related information of the first terminal equipment can be the MAC Address of the first terminal equipment, now institute State the MAC forwarding-table items that processing module is further used for the MAC Address that deleting MAC address is the first terminal equipment;
Or, the related information of the first terminal equipment can be the MAC Address of the first terminal equipment and affiliated VLAN, now the processing module is further used for deleting MAC address and VLAN is respectively the MAC ground of the first terminal equipment Location and the MAC forwarding-table items of affiliated VLAN;
Or, the related information of the first terminal equipment can be the affiliated vlan information of the first terminal equipment, this Shi Suoshu processing modules are further used for deleting the MAC forwarding-table items that VLAN is the affiliated VLAN of the first terminal equipment.
The maintenance module 11, is additionally operable to the MAC forwarding-table items associated in the processing module deletes MAC forward tables Afterwards, the corresponding MAC forwarding-table items of the first terminal equipment are relearned from the 2nd PW sides, is recorded in the MAC forwarding-table items The MAC Address of the first terminal equipment, the corresponding relation between affiliated VLAN and the 2nd PW;
The sending module 14, is additionally operable to receiving the number that the second terminal equipment sends to the first terminal equipment During according to message, MAC forwarding-table items are inquired about using the target MAC (Media Access Control) address of the data message, obtain exit port information for described second PW, the 2nd BEB equipment is sent to by the 2nd PW by the data message, by the 2nd BEB equipment by the data Message is sent to the first terminal equipment.
Wherein, the modules of apparatus of the present invention can be integrated in one, it is also possible to be deployed separately.Above-mentioned module can be closed And for a module, it is also possible to it is further split into multiple submodule.
Based on the inventive concept same with said method, a kind of BEB equipment is additionally provided in the embodiment of the present invention, as One BEB equipment applications are in the BEB equipment and the 2nd BEB that are connected with first terminal equipment including first terminal equipment In the SPBM network of the 3rd BEB equipment that equipment, second terminal equipment are connected with second terminal equipment, a BEB equipment Creating between the 3rd BEB equipment has a PW, and creating between the 2nd BEB equipment and the 3rd BEB equipment has 2nd PW, as shown in fig. 6, a BEB equipment is specifically included:
Determining module 21, for intercepting whether the topology between this BEB equipment and first terminal equipment changes;
Sending module 22, for listening to the topology generation between this BEB equipment and the first terminal equipment During change, notification packet is sent to other the BEB equipment in the SPBM network, the notification packet is used to notify topological generation Change and carry the related information of the first terminal equipment that the change in topology is related to, to indicate described other BEB equipment The related information of the first terminal equipment being related to according to the change in topology, deletes the MAC forwarding-table items of association.
Specifically, the related information of the first terminal equipment is the MAC Address of the first terminal equipment, to indicate State the MAC forwarding-table items of the MAC Address that other BEB equipment deleting MAC address are the first terminal equipment;
Or, the related information of the first terminal equipment is the MAC Address and affiliated VLAN of the first terminal equipment, To indicate that described other BEB equipment deleting MAC address and VLAN are respectively the MAC Address of the first terminal equipment and affiliated The MAC forwarding-table items of VLAN;
Or, the related information of the first terminal equipment is the affiliated vlan information of the first terminal equipment, to indicate Described other BEB equipment delete the MAC forwarding-table items that VLAN is the affiliated VLAN of the first terminal equipment.
The determining module 21, specifically for listening to the link between this BEB equipment and first terminal equipment During failure, it is determined that the topology between this BEB equipment and first terminal equipment changes;Or, listening to sheet first On BEB equipment during the corresponding interface DOWN of the first terminal equipment, it is determined that between this BEB equipment and first terminal equipment Topology change;Or, when the corresponding TC messages based on STP of the first terminal equipment are received, it is determined that this first Topology between BEB equipment and first terminal equipment changes;Or, the first terminal equipment is corresponding to be based on receiving During the FLUSH messages of SmartLink, it is determined that the topology between this BEB equipment and first terminal equipment changes.
The corresponding vlan information of the first terminal equipment carried in the notification packet, specifically includes:Originally first During link failure between BEB equipment and first terminal equipment, the vlan information carried in the notification packet is specially described The VLAN that first terminal equipment corresponding interface is located;Or, it is described logical in the corresponding interface DOWN of the first terminal equipment Accuse the vlan information carried in message and be specially the VLAN that the first terminal equipment corresponding interface is located;Or, receiving When stating the corresponding TC messages based on STP of first terminal equipment, the vlan information carried in the notification packet is specially described The VLAN included in TC messages;Or, receiving the corresponding FLUSH messages based on SmartLink of the first terminal equipment When, the vlan information carried in the notification packet is specially the VLAN that the FLUSH messages are specified.
Wherein, the modules of apparatus of the present invention can be integrated in one, it is also possible to be deployed separately.Above-mentioned module can be closed And for a module, it is also possible to it is further split into multiple submodule.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by Software adds the mode of required general hardware platform to realize, naturally it is also possible to which by hardware, but in many cases the former is more Good embodiment.Based on such understanding, what technical scheme substantially contributed in other words to prior art Part can be embodied in the form of software product, and the computer software product is stored in a storage medium, if including Dry instruction is used so that a computer equipment(Can be personal computer, server, or network equipment etc.)Perform this Method described in bright each embodiment.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module or stream in accompanying drawing Journey is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in the device in embodiment can be carried out point according to embodiment description In being distributed in the device of embodiment, it is also possible to carry out respective change and be disposed other than in one or more devices of the present embodiment.On Stating the module of embodiment can merge into a module, it is also possible to be further split into multiple submodule.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Disclosed above is only several specific embodiments of the present invention, but, the present invention is not limited to this, any ability What the technical staff in domain can think change should all fall into protection scope of the present invention.

Claims (12)

1. a kind of transmission method of message, described in being applied to the SPBM network for including a BEB equipment and the 3rd BEB equipment First BEB equipment is connected with first terminal equipment, it is characterised in that between a BEB equipment and the 3rd BEB equipment Establishment has a PW, and the method includes:
The 3rd BEB equipment learns the corresponding MAC forwarding-table items of the first terminal equipment from a PW sides, described The MAC Address of the first terminal equipment, the correspondence between affiliated VLAN and a PW are recorded in MAC forwarding-table items Relation;
The 3rd BEB equipment receives a BEB equipment and is detecting between a BEB equipment and first terminal equipment The notification packet that topology sends after changing, the notification packet is used to notify topology to change and carry change in topology The related information of the first terminal equipment being related to;
The corresponding B-MAC (Backbone MAC, backbone network MAC) of a BEB equipment, B-VLAN are carried in the notification packet (Backbone VLAN, backbone network VLAN) and backbone network Service Instance numbering I-SID, the corresponding B- of a BEB equipment MAC, B-VLAN and I-SID are used to determine the 3rd BEB equipment and the PW between a BEB equipment;
The related information of the first terminal equipment that the 3rd BEB equipment is carried according to notification packet, deletes MAC forward tables The MAC forwarding-table items of middle association;
Wherein, the PW forwarding-table items between the BEB equipment in the SPBM network are set up by Intermediate System to Intermediate System.
2. the method for claim 1, it is characterised in that
The related information of the first terminal equipment is the MAC Address of the first terminal equipment, in the deletion MAC forward tables The MAC forwarding-table items of association for MAC Address that deleting MAC address is the first terminal equipment MAC forwarding-table items;
Or, the related information of the first terminal equipment is the MAC Address and affiliated VLAN of the first terminal equipment, described It is that deleting MAC address and VLAN are respectively the first terminal equipment to delete the MAC forwarding-table items associated in MAC forward tables The MAC forwarding-table items of MAC Address and affiliated VLAN;
Or, the related information of the first terminal equipment is the affiliated vlan information of the first terminal equipment, the deletion MAC The MAC forwarding-table items associated in forward table are to delete the MAC forwarding-table items that VLAN is the affiliated VLAN of the first terminal equipment.
3. method as claimed in claim 1 or 2, it is characterised in that the SPBM network is also included and first terminal equipment The 2nd connected BEB equipment, creating between the 2nd BEB equipment and the 3rd BEB equipment has the 2nd PW, and the described 3rd BEB equipment is connected with second terminal equipment;
After the MAC forwarding-table items associated in MAC forward tables are deleted, methods described also includes:
The 3rd BEB equipment relearns the corresponding MAC forwarding-table items of the first terminal equipment from the 2nd PW sides, described The MAC Address of the first terminal equipment, the correspondence between affiliated VLAN and the 2nd PW are recorded in MAC forwarding-table items Relation;
The 3rd BEB equipment when the data message that the second terminal equipment sends to the first terminal equipment is received, MAC forwarding-table items are inquired about using the target MAC (Media Access Control) address of the data message, it is the 2nd PW to obtain exit port information, by institute State the 2nd PW and the data message is sent to into the 2nd BEB equipment, be sent to the data message by the 2nd BEB equipment The first terminal equipment.
4. a kind of transmission method of message, described in being applied to the SPBM network for including a BEB equipment and the 3rd BEB equipment First BEB equipment is connected with first terminal equipment, it is characterised in that between a BEB equipment and the 3rd BEB equipment Establishment has a PW, and the method includes:
Whether the topology that the first BEB equipment is intercepted between this BEB equipment and first terminal equipment changes;
Topology of the first BEB equipment between this BEB equipment and the first terminal equipment is listened to changes When, notification packet is sent to other BEB equipment in the SPBM network, the notification packet is used to notify that topology changes And carry the related information of the first terminal equipment that the change in topology is related to, with indicate described other BEB equipment according to The related information of the first terminal equipment that the change in topology is related to, deletes the MAC forwarding-table items of association;
A BEB equipment corresponding B-MAC, B-VLAN and I-SID, the BEB equipment phases are carried in the notification packet Corresponding B-MAC, B-VLAN and I-SID are used to determine the 3rd BEB equipment and the PW between a BEB equipment;
Wherein, the PW forwarding-table items between the BEB equipment in the SPBM network are set up by Intermediate System to Intermediate System.
5. method as claimed in claim 4, it is characterised in that
The related information of the first terminal equipment is the MAC Address of the first terminal equipment, to indicate that described other BEB set Standby deleting MAC address is the MAC forwarding-table items of the MAC Address of the first terminal equipment;
Or, the related information of the first terminal equipment is the MAC Address and affiliated VLAN of the first terminal equipment, to refer to Show that described other BEB equipment deleting MAC address and VLAN are respectively the MAC Address of the first terminal equipment and affiliated VLAN MAC forwarding-table items;
Or, the related information of the first terminal equipment is the affiliated vlan information of the first terminal equipment, described to indicate Other BEB equipment delete the MAC forwarding-table items that VLAN is the affiliated VLAN of the first terminal equipment.
6. the method as described in claim 4 or 5, it is characterised in that a BEB equipment intercept this BEB equipment with The process whether topology between first terminal equipment changes, including:
The first BEB equipment is when the link failure between the first BEB equipment of sheet and first terminal equipment is listened to, it is determined that sheet Topology between first BEB equipment and first terminal equipment changes;Or,
During the corresponding interface DOWN of the first BEB equipment first terminal equipment on this BEB equipment is listened to, really Topology between fixed this BEB equipment and first terminal equipment changes;Or,
The first BEB equipment when the corresponding TC messages based on STP of the first terminal equipment are received, it is determined that this first Topology between BEB equipment and first terminal equipment changes;Or,
The first BEB equipment when the corresponding FLUSH messages based on SmartLink of the first terminal equipment are received, really Topology between fixed this BEB equipment and first terminal equipment changes.
7. a kind of BEB equipment, as the 3rd BEB equipment applications in being connected with first terminal equipment including first terminal equipment In first BEB equipment, the SPBM network of the 3rd BEB equipment, it is characterised in that a BEB equipment and the described 3rd Creating between BEB equipment has a PW, and the 3rd BEB equipment includes:
Maintenance module, for learning the corresponding MAC forwarding-table items of the first terminal equipment, the MAC from a PW sides The MAC Address of the first terminal equipment, the correspondence pass between affiliated VLAN and a PW are recorded in forwarding-table item System;
Receiver module, for receiving a BEB equipment opening up between a BEB equipment and first terminal equipment is being detected The notification packet sent after changing is flutterred, the notification packet is related to for notifying topology to change and carrying change in topology And the related information of the first terminal equipment for arriving;
A BEB equipment corresponding B-MAC, B-VLAN and I-SID, the BEB equipment phases are carried in the notification packet Corresponding B-MAC, B-VLAN and I-SID are used to determine the 3rd BEB equipment and the PW between a BEB equipment;
Processing module, the related information of the first terminal equipment for being carried according to notification packet, in deleting MAC forward tables The MAC forwarding-table items of association;
Wherein, the PW forwarding-table items between the BEB equipment in the SPBM network are set up by Intermediate System to Intermediate System.
8. equipment as claimed in claim 7, it is characterised in that
The related information of the first terminal equipment is the MAC Address of the first terminal equipment, and the processing module is further For the MAC forwarding-table items of MAC Address that deleting MAC address is the first terminal equipment;
Or, the related information of the first terminal equipment is the MAC Address and affiliated VLAN of the first terminal equipment, described Processing module is further used for deleting MAC address and VLAN is respectively the MAC Address and affiliated VLAN of the first terminal equipment MAC forwarding-table items;
Or, the related information of the first terminal equipment is the affiliated vlan information of the first terminal equipment, the process mould Block is further used for deleting the MAC forwarding-table items that VLAN is the affiliated VLAN of the first terminal equipment.
9. equipment as claimed in claim 7 or 8, it is characterised in that the SPBM network is also included and first terminal equipment The 2nd connected BEB equipment, creating between the 2nd BEB equipment and the 3rd BEB equipment has the 2nd PW, and the described 3rd BEB equipment is connected with second terminal equipment;
Maintenance module, after being additionally operable to the MAC forwarding-table items associated in the processing module deletes MAC forward tables, from the 2nd PW Side relearns the corresponding MAC forwarding-table items of the first terminal equipment, and in the MAC forwarding-table items first terminal is recorded Corresponding relation between the MAC Address of equipment, affiliated VLAN and the 2nd PW;
The 3rd BEB equipment also includes:
Sending module, it is sharp for when the data message that the second terminal equipment sends to the first terminal equipment is received MAC forwarding-table items are inquired about with the target MAC (Media Access Control) address of the data message, it is the 2nd PW to obtain exit port information, by described The data message is sent to the 2nd BEB equipment by the 2nd PW, and the data message is sent to into institute by the 2nd BEB equipment State first terminal equipment.
10. a kind of BEB equipment, as a BEB equipment applications in being connected with first terminal equipment including first terminal equipment In the SPBM network of the first BEB equipment and the 3rd BEB equipment, it is characterised in that a BEB equipment with it is described Creating between 3rd BEB equipment has a PW, and a BEB equipment includes:
Determining module, for intercepting whether the topology between this BEB equipment and first terminal equipment changes;
Sending module, when changing for the topology between this BEB equipment and the first terminal equipment is listened to, Notification packet is sent to other BEB equipment in the SPBM network, the notification packet is used to notify that topology changes simultaneously The related information of the first terminal equipment that the change in topology is related to is carried, to indicate described other BEB equipment according to institute The related information of the first terminal equipment that change in topology is related to is stated, the MAC forwarding-table items of association are deleted;
A BEB equipment corresponding B-MAC, B-VLAN and I-SID, the BEB equipment phases are carried in the notification packet Corresponding B-MAC, B-VLAN and I-SID are used to determine the 3rd BEB equipment and the PW between a BEB equipment;
Wherein, the PW forwarding-table items between the BEB equipment in the SPBM network are set up by Intermediate System to Intermediate System.
11. equipment as claimed in claim 10, it is characterised in that
The related information of the first terminal equipment is the MAC Address of the first terminal equipment, to indicate that described other BEB set Standby deleting MAC address is the MAC forwarding-table items of the MAC Address of the first terminal equipment;
Or, the related information of the first terminal equipment is the MAC Address and affiliated VLAN of the first terminal equipment, to refer to Show that described other BEB equipment deleting MAC address and VLAN are respectively the MAC Address of the first terminal equipment and affiliated VLAN MAC forwarding-table items;
Or, the related information of the first terminal equipment is the affiliated vlan information of the first terminal equipment, described to indicate Other BEB equipment delete the MAC forwarding-table items that VLAN is the affiliated VLAN of the first terminal equipment.
12. equipment as described in claim 10 or 11, it is characterised in that
The determining module, during specifically for link failure between this BEB equipment and first terminal equipment is listened to, It is determined that the topology between this BEB equipment and first terminal equipment changes;Or, listening to this BEB equipment During the corresponding interface DOWN of the upper first terminal equipment, it is determined that the topology between this BEB equipment and first terminal equipment Change;Or, when the corresponding TC messages based on STP of the first terminal equipment are received, it is determined that this BEB equipment Change with the topology between first terminal equipment;Or, the first terminal equipment is corresponding to be based on receiving During the FLUSH messages of SmartLink, it is determined 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 CN103200107A (en) 2013-07-10
CN103200107B true 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)

Families Citing this family (5)

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

Citations (3)

* 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
CN102857399A (en) * 2012-08-20 2013-01-02 华为技术有限公司 MAC address deleting method, device and system of VPLS dual homing network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5678678B2 (en) * 2011-01-18 2015-03-04 富士通株式会社 Provider network and provider edge device

Patent Citations (3)

* 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
CN102857399A (en) * 2012-08-20 2013-01-02 华为技术有限公司 MAC address deleting method, device and system of VPLS dual homing network

Also Published As

Publication number Publication date
CN103200107A (en) 2013-07-10

Similar Documents

Publication Publication Date Title
US8830998B2 (en) Separation of edge and routing/control information for multicast over shortest path bridging
CN102823205B (en) Aggregating data traffic from access domains
EP2202923B1 (en) Routing frames in a computer network using bridge identifiers
US7787480B1 (en) Routing frames in a trill network using service VLAN identifiers
CN103748835B (en) The dynamic renewal of label switched path
CN103944826B (en) List item polymerization and equipment in SPBM network
CN101286922B (en) Signalling control method, system and apparatus
CN103200107B (en) Message transmitting method and message transmitting equipment
CN103944828A (en) Method and equipment for transmitting protocol messages
CN102484604A (en) Techniques for routing data between network areas
CN102724118A (en) Label distribution method and device
CN103067278B (en) A kind of method for transmission processing of Frame, equipment and system
US20170118105A1 (en) Connectivity fault management in a communication network
CN101631060B (en) Method and device for managing edge port
CN106027352A (en) Service message forwarding method and device
US20120224488A1 (en) Method of connectivity monitoring by subscriber line terminating apparatus
WO2016090815A1 (en) Switching control method and device in deploying high-capacity service
CN103457794B (en) Method and system for confirming faults of IP bearer network
CN104247346B (en) Pseudowire extended group messaging in a packet switched network
CN103685029A (en) Method and equipment for forwarding messages in rapid ring protection protocol networking
CN104168169B (en) A kind of MAC address entries delet method and equipment
CN103607301B (en) The protection switching method and equipment of link failure under a kind of ECMP modes
CN104219073B (en) Message forwarding method and device in SPBM network
CN103152257B (en) A kind of data transmission method and device thereof
CN103501275B (en) Neighbor multilink processing method and device

Legal Events

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

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

Patentee after: Xinhua three Technology Co., Ltd.

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

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address