WO2008119289A1 - Method and device for sending mac - Google Patents
Method and device for sending mac Download PDFInfo
- Publication number
- WO2008119289A1 WO2008119289A1 PCT/CN2008/070560 CN2008070560W WO2008119289A1 WO 2008119289 A1 WO2008119289 A1 WO 2008119289A1 CN 2008070560 W CN2008070560 W CN 2008070560W WO 2008119289 A1 WO2008119289 A1 WO 2008119289A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- user
- packet
- service instance
- mac address
- mac
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
Definitions
- the present invention relates to the field of communications, and in particular, to a method and apparatus for transmitting a message.
- the Mac-in-Mac technology isolates the carrier network from the customer network by adding the carrier's B-MAC (Backbone MAC) address.
- B-MAC Backbone MAC
- the C-MAC Customer MAC
- S-TAG Extended Service TAG
- B-TAG Backbone TAG - Backbone Service
- the mapping between user packets (C-MAC, S-TAG) and carrier network (B-MAC, B-TAG) can be established through static configuration and dynamic learning. Dynamic learning is based on traditional two.
- the MAC address learning function of the layer packet obtains the mapping relationship between (C-MAC, S-TAG) and (B-MAC, B-TAG).
- the operator edge device PEA Provider Edge A
- CEl Customer Edge 1
- the S-TAG and B-TAG are in accordance with the Mac-in-Mac encapsulation format.
- the broadcast MAC address is encapsulated in front of the original Layer 2 packet header and broadcast in the B-VLAN (Virtual LAN-Virtual Local Area Network) corresponding to the B-TAG.
- B-VLAN Virtual LAN-Virtual Local Area Network
- the mapping between the user and the backbone network is established through dynamic learning. The operator lacks the monitoring of user packets and the possibility of network planning.
- an operator can deploy a static MAC tunnel based on (B-MAC, B-TAG, outbound interface) between PEs, and the intermediate device configuration in the backbone network is based on (B-MAC, B-TAG).
- the static MAC forwarding table binds the user packet to the static MAC tunnel between the PEs, so that the user packet will be forwarded along the static MAC tunnel.
- this scheme combines the tunnel establishment mode between PEs and the user-to-B-MAC (B-TAG) mapping relationship too tightly, whether for P2P service instances (Peer-to-Peer-point-to-point) or MP2MP (Multi).
- Peer-to-Multi Peer-multi-point Peer-multiple-point service applications require static configuration of MAC tunnels and MAC forwarding tables throughout the entire network. The configuration volume becomes very complicated as the network size increases. Summary of the invention
- the embodiment of the present invention provides a method for sending a packet, where the method includes:
- the ingress operator edge device After receiving the user packet, the ingress operator edge device encapsulates the user packet according to the operator network tunnel list bound by the user service instance to which the user belongs, and sends the encapsulated user packet to the user packet. Transmitted on the carrier network.
- An embodiment of the present invention further provides an apparatus for sending a message, where the apparatus includes:
- a list establishing module configured to establish a carrier network tunnel list on the ingress operator edge device
- a binding module configured to bind the operator network tunnel list established by the list establishing module to the user service instance; and the encapsulating module, configured to receive the user packet, and according to the operation bound to the user service instance to which the user belongs a merchant network tunnel list, which encapsulates the user packet;
- the forwarding module is configured to send the encapsulated user packet to the carrier network for transmission.
- the beneficial effects of the embodiments of the present invention enable the operator to flexibly deploy the mapping relationship between the user packets and the network tunnel list of the operator according to the actual application, thereby effectively planning the network and reducing the number of users.
- the broadcast packets caused by the text are transmitted on the carrier backbone network.
- FIG. 1 is a schematic diagram of a typical networking of a Mac-in-Mac in the prior art
- FIG. 2 is a flowchart of a method for sending a message according to an embodiment of the present invention
- FIG. 3 is a structural diagram of an apparatus for transmitting a message according to an embodiment of the present invention. detailed description
- a carrier network tunnel (B-MAC, B-TAG) list is configured to specify a user packet (C-MAC, S-TAG) and a carrier network tunnel (B).
- C-MAC, S-TAG user packet
- B carrier network tunnel
- the method for sending a message specifically includes the following steps:
- Step 101 Establish a carrier network tunnel (B-MAC, B-TAG) list on the ingress operator edge PE device. Bind this (B-MAC, B-TAG) list to the User Service Instance (I-TAG).
- B-MAC, B-TAG carrier network tunnel
- User service instances include P2P type service instances and MP2MP type service instances.
- Step 102 After receiving the user packet, the PE device encapsulates the user packet according to the type of the user service instance to which the user belongs, and sends the encapsulated user packet to the carrier network for transmission.
- the ingress operator edge PE device performs different encapsulation processing on the received user packets according to the type of the user service instance to which the user belongs:
- the ingress carrier edge PE device looks up the (B-MAC, B-TAG) list bound to the P2P type service instance, according to the found (B-MAC, B-TAG) list.
- the B-MAC address and the B-TAG encapsulate the user packet into the Mac-in-Mac packet header.
- the I-TAG needs to be encapsulated in the packet header, and then the encapsulated packet is encapsulated.
- the B-MAC address and the B-tag address are searched for the B-MAC address forwarding table, and the encapsulated packet is sent to the carrier network for transmission according to the found outbound interface.
- the POS PE device searches the C-MAC address forwarding table according to the C-MAC address in the user packet. If the C-MAC forwarding table has an entry matching the C-MAC address, the C-MAC forwarding table is used. The information in the matched entry (including the specified group (B-MAC, B-TAG) to forward the user packet. If the user packet is to be forwarded through the carrier network, it is matched according to the C-MAC forwarding table.
- the corresponding (B-MAC, B-TAG) in the entry encapsulates the user packet with the Mac-in-Mac packet header, and searches the B-MAC address forwarding table according to the B-MAC address in the encapsulated packet.
- the outgoing interface sends the encapsulated packet to the carrier network for transmission. If the corresponding C-MAC address forwarding table is not found, the corresponding multiple groups in the corresponding (B-MAC, B-TAG) list are obtained.
- (B-MAC, B-TAG) Copy multiple user packets, copy the number of packets and the corresponding (B-MAC, B-TAG) list (B-MAC, B-TAG) The number of groups is the same.
- Each group of B-MAC addresses and B-TAGs in the (B-MAC, B-TAG) list are individually packaged into each copied user message Mac-in-Mac message.
- the I-TAG needs to be encapsulated in the packet header.
- the B-TAG and the I-TAG form the virtual local area network information, and the packets are encapsulated according to the B-MAC address and the B-TAG.
- the corresponding outgoing interface is sent to the carrier network for transmission.
- Step 103 After receiving the encapsulated user packet, the egress edge edge PE device decapsulates the user packet and forwards the packet to the client edge CE device according to the destination MAC address of the user packet.
- the operator can flexibly deploy the mapping between the user packet and the B-MAC (B-TAG) according to the actual application, thereby effectively planning the network and reducing the broadcast packet caused by the user packet on the backbone network. propagation.
- an ACL Access Control List-based access control
- B-MAC, B-TAG B-MAC, B-TAG list.
- Table Filtering policy, so that you can flexibly control which group (B-MAC, B-TAG) encapsulation should be in accordance with the (B-MAC, B-TAG) list:
- the ingress operator edge PE device will report the user.
- the ACL is matched with the ACL filtering policy. If the user packet meets the rules defined by the ACL filtering policy, the ingress operator edge PE device reports the user according to the corresponding B-MAC (B-TAG) in the rule defined by the ACL filtering policy.
- the ingress operator edge PE device searches for the corresponding C-MAC address forwarding table according to the C-MAC address in the user packet, and searches for the C-MAC according to the C-MAC address.
- the result of the address forwarding table encapsulates the user packet, and the specific encapsulation method is the same as that described in step 102 of step 102, and details are not described herein.
- the user sometimes wants the user traffic under the P2P service instance or the MP2MP service instance to learn the MAC address forwarding table by itself, so that the user packet encapsulated by the Mac-in-Mac header can be broadcast and sent to the backbone network.
- the outer MAC address of the encapsulation is the broadcast MAC address.
- an embodiment of the present invention further provides an apparatus for sending a message, where the apparatus includes:
- a list establishing module 301 configured to establish a carrier network tunnel list on the ingress operator edge device
- the binding module 302 is configured to bind the operator network tunnel list established by the list establishing module 301 to the user service instance;
- the encapsulating module 303 is configured to receive a user packet, and encapsulate the user packet according to the operator network tunnel list bound to the user service instance to which the user belongs.
- the forwarding module 304 is configured to send the encapsulated user packet to the carrier network for transmission.
- the encapsulation module 303 includes:
- a receiving unit configured to receive a user message
- the determining unit is configured to determine, according to the user packet received by the receiving unit, a user service instance to which the user belongs, where the user service instance includes a point-to-point service instance and a multi-point to multi-point service instance;
- a first encapsulation processing unit configured to: when the judging unit determines that the user service instance to which the user belongs is a peer-to-peer service instance, encapsulating the user packet according to the operator network tunnel list bound by the peer-to-peer service instance;
- a second encapsulation processing unit configured to: when the judging unit determines that the user service instance to which the user belongs is a multi-point to multi-point service instance, search for a C-MAC address forwarding table according to the C-MAC address of the user packet; If there is no entry in the C-MAC address forwarding table that matches the C-MAC address, multiple user packets are obtained by copying the user packet, according to the operator bound to the multipoint-to-multipoint service instance.
- All B-MAC addresses and B-TAGs in the network tunnel list encapsulate multiple user packets one by one; otherwise, according to the B-MAC address and B-TAG pair corresponding to the C-MAC address in the C-MAC address forwarding table
- the user message is encapsulated.
- the specific processing procedure of the first encapsulation processing unit is the same as the processing procedure described in step 102 of the first embodiment.
- the specific processing procedure of the second encapsulation processing unit is the same as the processing procedure described in step 102 of the first embodiment. It will not be detailed here.
- the apparatus may further include: a filtering policy establishing module, configured to establish a filtering policy of the user information on the ingress operator edge device;
- the binding module 302 is further configured to bind the filtering policy established by the filtering policy establishing module to the user service instance.
- the encapsulating module 303 includes: a receiving unit, configured to receive a user message;
- a determining unit configured to determine, according to the user packet received by the receiving unit, a user service instance to which the user belongs, where the user service instance includes a point-to-point service instance and a multi-point to multi-point service instance;
- a matching unit configured to: when the determining unit determines the user service instance to which the user belongs, matching the user message received by the receiving unit with the filtering policy established by the filtering policy establishing module;
- the encapsulation processing unit is configured to perform encapsulation processing on the user packet received by the receiving unit according to the matching result of the matching unit.
- the specific processing procedure of the encapsulation processing unit is the same as the encapsulation processing procedure after the ACL filtering policy based on the user information of the C-MAC address and the S-TAG is the same in the first embodiment, and will not be described in detail herein.
- the carrier network tunnel list and the user service instance are configured by the binding module, so that the operator can flexibly deploy the mapping relationship between the user packet and the operator network tunnel list, thereby effectively planning the network and reducing the number of users.
- the broadcast packets caused by the text are transmitted on the carrier backbone network.
- the software involved in the embodiments of the present invention may be stored in a computer readable storage medium.
- the embodiments described above are only preferred embodiments of the present invention, and the usual changes and substitutions made by those skilled in the art within the scope of the present invention are included in the scope of the present invention.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
A method and device for sending Mac, belonging to telecommunication field, are provided. For solving the problem of Customer Mac transmitted into a provider backbone bridging, a method for sending Mac: creating a table of provider net tunnel at the Entry Provider Edge, and binding a table of provider net tunnel to Customer service examples; after Entry Provider Edge receives the C-MAC, packaging the C-MAC according to the B-MAC bound by the Customer service examples of the Customer, and sending the packet C-MAC to the provider net to be transmitted, is provided. A device for sending MAC is also provided, which comprises: table creating module, binding module, package module, and retransmission module. It can assign the net effectively, and reduce the broadcasting message that is broadcasted in backbone.
Description
种报文发送的方法和装置 技术领域 Method and device for transmitting message
本发明涉及通信领域, 特别涉及一种报文发送的方法和装置。 背景技术 说 The present invention relates to the field of communications, and in particular, to a method and apparatus for transmitting a message. Background art
Mac-in- Mac技术通过添加运营商的 B-MAC (Backbone MAC -骨干网 MAC) 地址, 将运 营商网络和客户网络隔离开来; 在用户二层报文到达运营商骨干网边缘时, 根据用户报文的 C-MAC (Customer MAC -用户 MAC) 地址、 S-TAG (Extended Service TAG-扩展服务标签) 映射到运营商网络的 B-MAC地址、 B-TAG (Backbone书 TAG -骨干网服务标签) , 并在此用户 报文上封装对应的 B-MAC地址、 B-TAG、 I-TAG (Instant TAG—服务实例标签) , 封装后的 用户报文按照 B-MAC地址、 B-TAG在运营商网络内传送。 用户报文(C-MAC, S-TAG)到运 营商网络 (B-MAC, B-TAG) 的映射关系, 可以通过静态配置和动态学习两种方式来建立, 其中动态学习就是基于传统的二层报文的 MAC地址学习功能来获得 (C-MAC, S-TAG) 和 (B-MAC, B-TAG)的映射关系, 如图 1所示, 在动态学习时, 运营商边缘设备 PEA (Provider Edge A)收到用户边缘设备 CEl(Customer Edge 1)发送的报文后,如果没有查找到用户 C-MAC 地址转发表, 则按照 Mac-in-Mac封装格式将 S-TAG、 B-TAG和广播 MAC地址封装到原始二层 报文头前, 并在 B-TAG对应的 B-VLAN (Virtual LAN-虚拟局域网) 内广播。 在实际网络中, 完全通过动态学习的方式来建立用户到骨干网的映射关系, 对运营商来讲缺乏对用户报文的 监控以及网络规划的可能。 The Mac-in-Mac technology isolates the carrier network from the customer network by adding the carrier's B-MAC (Backbone MAC) address. When the user's Layer 2 packet arrives at the edge of the carrier backbone network, The C-MAC (Customer MAC) address of the user packet, the S-TAG (Extended Service TAG) is mapped to the B-MAC address of the carrier network, and the B-TAG (Backbone TAG - Backbone Service) Label), and encapsulate the corresponding B-MAC address, B-TAG, I-TAG (Instant TAG-service instance label) on the user packet, and the encapsulated user packet is in accordance with the B-MAC address and B-TAG. Transmitted within the carrier network. The mapping between user packets (C-MAC, S-TAG) and carrier network (B-MAC, B-TAG) can be established through static configuration and dynamic learning. Dynamic learning is based on traditional two. The MAC address learning function of the layer packet obtains the mapping relationship between (C-MAC, S-TAG) and (B-MAC, B-TAG). As shown in Figure 1, during dynamic learning, the operator edge device PEA ( Provider Edge A) After receiving the packet sent by the user edge device CEl (Customer Edge 1), if the user C-MAC address forwarding table is not found, the S-TAG and B-TAG are in accordance with the Mac-in-Mac encapsulation format. The broadcast MAC address is encapsulated in front of the original Layer 2 packet header and broadcast in the B-VLAN (Virtual LAN-Virtual Local Area Network) corresponding to the B-TAG. In the actual network, the mapping between the user and the backbone network is established through dynamic learning. The operator lacks the monitoring of user packets and the possibility of network planning.
在目前现有技术中, 运营商可以在 PE之间部署基于(B-MAC, B-TAG, 出接口) 的静态 MAC隧道, 在骨干网的中间设备配置基于 (B-MAC, B-TAG) 的静态 MAC转发表, 将用户 报文和 PE间的静态 MAC隧道绑定, 这样用户报文将会沿着静态 MAC隧道转发。 但是, 这种 方案将 PE间的隧道建立方式和用户到 (B-MAC, B-TAG) 的映射关系结合得过于紧密, 无论 对于 P2P服务实例 (Peer-to-Peer-点对点) 还是 MP2MP (Multi Peer-to-Multi Peer-多点对多点) 服务实例的应用, 都需要整个网络全程进行 MAC隧道、 MAC转发表的静态配置, 配置量随着 网络规模的增大会变得非常复杂。
发明内容 In the current state of the art, an operator can deploy a static MAC tunnel based on (B-MAC, B-TAG, outbound interface) between PEs, and the intermediate device configuration in the backbone network is based on (B-MAC, B-TAG). The static MAC forwarding table binds the user packet to the static MAC tunnel between the PEs, so that the user packet will be forwarded along the static MAC tunnel. However, this scheme combines the tunnel establishment mode between PEs and the user-to-B-MAC (B-TAG) mapping relationship too tightly, whether for P2P service instances (Peer-to-Peer-point-to-point) or MP2MP (Multi). Peer-to-Multi Peer-multi-point Peer-to-multiple-point service applications require static configuration of MAC tunnels and MAC forwarding tables throughout the entire network. The configuration volume becomes very complicated as the network size increases. Summary of the invention
为了解决用户报文在运营商骨干网传送的问题, 本发明实施例提出了一种报文发送的方 法, 所述方法包括: In order to solve the problem that the user packet is transmitted on the carrier backbone network, the embodiment of the present invention provides a method for sending a packet, where the method includes:
在入口运营商边缘设备上建立运营商网络隧道列表, 并将所述运营商网络隧道列表与用 户服务实例绑定; Establishing a carrier network tunnel list on the ingress operator edge device, and binding the carrier network tunnel list with the user service instance;
所述入口运营商边缘设备收到用户报文后, 根据该用户所属的用户服务实例绑定的运营 商网络隧道列表, 对所述用户报文进行封装, 并将封装后的用户报文发送到运营商网络上传 送。 After receiving the user packet, the ingress operator edge device encapsulates the user packet according to the operator network tunnel list bound by the user service instance to which the user belongs, and sends the encapsulated user packet to the user packet. Transmitted on the carrier network.
本发明实施例还提供了一种报文发送的装置, 所述装置包括: An embodiment of the present invention further provides an apparatus for sending a message, where the apparatus includes:
列表建立模块, 用于在入口运营商边缘设备上建立运营商网络隧道列表; a list establishing module, configured to establish a carrier network tunnel list on the ingress operator edge device;
绑定模块, 用于将所述列表建立模块建立的运营商网络隧道列表与用户服务实例绑定; 封装模块, 用于接收用户报文, 并根据与该用户所属的用户服务实例绑定的运营商网络 隧道列表, 对所述用户报文进行封装; a binding module, configured to bind the operator network tunnel list established by the list establishing module to the user service instance; and the encapsulating module, configured to receive the user packet, and according to the operation bound to the user service instance to which the user belongs a merchant network tunnel list, which encapsulates the user packet;
转发模块, 用于将所述封装模块封装后的用户报文发送到运营商网络上传送。 The forwarding module is configured to send the encapsulated user packet to the carrier network for transmission.
本发明实施例的有益效果: 本发明实施例使运营商可以根据实际的应用情况, 灵活地部 署用户报文和运营商网络隧道列表之间的映射关系, 从而有效地规划网络、 减少由用户报文 导致的广播报文在运营商骨干网传播。 附图说明 The beneficial effects of the embodiments of the present invention: The embodiments of the present invention enable the operator to flexibly deploy the mapping relationship between the user packets and the network tunnel list of the operator according to the actual application, thereby effectively planning the network and reducing the number of users. The broadcast packets caused by the text are transmitted on the carrier backbone network. DRAWINGS
图 1是现有技术中 Mac-in-Mac典型组网示意图; 1 is a schematic diagram of a typical networking of a Mac-in-Mac in the prior art;
图 2是本发明实施例提出的报文发送的方法流程图; 2 is a flowchart of a method for sending a message according to an embodiment of the present invention;
图 3是本发明实施例提供的报文发送的装置的结构图。 具体实施方式 FIG. 3 is a structural diagram of an apparatus for transmitting a message according to an embodiment of the present invention. detailed description
下面结合附图和具体实施例对本发明作进一步说明, 但不作为对本发明的限定。 The invention will be further described with reference to the accompanying drawings and specific embodiments, but not to be construed as limiting.
本发明实施例通过在接入用户的服务实例下配置运营商网络隧道 (B-MAC, B-TAG) 列 表, 来指明用户报文(C-MAC, S-TAG)和运营商网络隧道(B-MAC, B-TAG) 的映射关系, 从而实现用户报文的转发。 In the embodiment of the present invention, a carrier network tunnel (B-MAC, B-TAG) list is configured to specify a user packet (C-MAC, S-TAG) and a carrier network tunnel (B). -MAC, B-TAG) mapping, so that user packets are forwarded.
参见图 2, 本发明实施例提出的报文发送的方法, 具体包括以下步骤: Referring to FIG. 2, the method for sending a message according to the embodiment of the present invention specifically includes the following steps:
步骤 101 : 在入口运营商边缘 PE设备上建立运营商网络隧道 (B-MAC, B-TAG) 列表,
并将此 (B-MAC, B-TAG) 列表与用户服务实例 (I-TAG) 绑定。 Step 101: Establish a carrier network tunnel (B-MAC, B-TAG) list on the ingress operator edge PE device. Bind this (B-MAC, B-TAG) list to the User Service Instance (I-TAG).
用户服务实例包括 P2P型的服务实例和 MP2MP型的服务实例。 对于与 P2P型服务实例 绑定的 (B-MAC, B-TAG) 列表中有一组 B-MAC地址、 B-TAG; 对于与 MP2MP型服务实 例绑定的 (B-MAC, B-TAG)列表中至少有一组 B-MAC地址、 B-TAG, 但是每一组 B-MAC 地址、 B-TAG中的 B-MAC地址不能重复, 如果重复说明配置错误, 运营商边缘 PE设备提 示配置错误告警。 User service instances include P2P type service instances and MP2MP type service instances. There is a set of B-MAC addresses and B-TAGs in the (B-MAC, B-TAG) list bound to the P2P type service instance; (B-MAC, B-TAG) list bound to the MP2MP type service instance There is at least one set of B-MAC address and B-tag, but the B-MAC address of each group and the B-MAC address of the B-tag cannot be duplicated. If the configuration is incorrect, the edge PE device of the carrier prompts a configuration error alarm.
步骤 102: 入口运营商边缘 PE设备收到用户报文后, 根据该用户所属用户服务实例的类 型, 对用户报文进行封装, 将封装后的用户报文发送到运营商网络上传送。 Step 102: After receiving the user packet, the PE device encapsulates the user packet according to the type of the user service instance to which the user belongs, and sends the encapsulated user packet to the carrier network for transmission.
入口运营商边缘 PE 设备根据用户所属用户服务实例的类型, 对收到的用户报文进行不 同的封装处理: The ingress operator edge PE device performs different encapsulation processing on the received user packets according to the type of the user service instance to which the user belongs:
1. 对于 P2P 型的服务实例, 入口运营商边缘 PE设备查找与 P2P 型服务实例绑定的 (B-MAC, B-TAG)列表,根据查找到的(B-MAC, B-TAG)列表中的 B-MAC地址和 B-TAG 将用户报文封装 Mac-in-Mac报文头,, 在封装的过程中, 还需要将 I-TAG封装在报文头中, 然后根据封装后的报文中的 B-MAC地址和 B-TAG地址查找 B-MAC地址转发表, 根据查找 到的出接口将封装后的报文发送到运营商网络上传送。 1. For a P2P service instance, the ingress carrier edge PE device looks up the (B-MAC, B-TAG) list bound to the P2P type service instance, according to the found (B-MAC, B-TAG) list. The B-MAC address and the B-TAG encapsulate the user packet into the Mac-in-Mac packet header. In the encapsulation process, the I-TAG needs to be encapsulated in the packet header, and then the encapsulated packet is encapsulated. The B-MAC address and the B-tag address are searched for the B-MAC address forwarding table, and the encapsulated packet is sent to the carrier network for transmission according to the found outbound interface.
2. 对于 MP2MP 型的服务实例, 因为该服务实例为多点对多点的, 对应的 (B-MAC, B-TAG)列表中可能有多组(B-MAC, B-TAG), 入口运营商边缘 PE设备根据用户报文中的 C-MAC地址查找 C-MAC地址转发表, 如果 C-MAC转发表中有与该 C-MAC地址匹配的表 项, 则按照 C-MAC转发表中所匹配的表项中的信息(包括指定的为哪组(B-MAC, B-TAG) 转发用户报文, 如果要通过运营商网络转发用户报文, 则根据 C-MAC转发表中所匹配的表 项中对应的 (B-MAC, B-TAG) 将用户报文封装 Mac-in-Mac报文头, 根据封装后的报文中 的 B-MAC地址查找 B-MAC地址转发表,根据查找到的出接口将封装后的报文发送到运营商 网络上传送; 如果没有查找到对应的 C-MAC地址转发表, 则根据对应的(B-MAC, B-TAG) 列表中对应的多组 (B-MAC, B-TAG) 复制多个用户报文, 复制报文的数目和 (B-MAC, B-TAG) 列表中对应的 (B-MAC, B-TAG) 组的数目相同, 分别将 (B-MAC, B-TAG) 列表 中各组 B-MAC地址、 B-TAG逐个分别封装到每个复制的用户报文 Mac-in-Mac报文头中, 在 封装的过程中, 还需要将 I-TAG封装在报文头中, B-TAG和 I-TAG组成了虚拟局域网信息, 报文按照各自封装后的 B-MAC地址和 B-TAG对应的出接口发送到运营商网络上传送。 2. For an MP2MP-type service instance, because the service instance is multi-point-to-multipoint, there may be multiple groups (B-MAC, B-TAG) in the corresponding (B-MAC, B-TAG) list. The POS PE device searches the C-MAC address forwarding table according to the C-MAC address in the user packet. If the C-MAC forwarding table has an entry matching the C-MAC address, the C-MAC forwarding table is used. The information in the matched entry (including the specified group (B-MAC, B-TAG) to forward the user packet. If the user packet is to be forwarded through the carrier network, it is matched according to the C-MAC forwarding table. The corresponding (B-MAC, B-TAG) in the entry encapsulates the user packet with the Mac-in-Mac packet header, and searches the B-MAC address forwarding table according to the B-MAC address in the encapsulated packet. The outgoing interface sends the encapsulated packet to the carrier network for transmission. If the corresponding C-MAC address forwarding table is not found, the corresponding multiple groups in the corresponding (B-MAC, B-TAG) list are obtained. (B-MAC, B-TAG) Copy multiple user packets, copy the number of packets and the corresponding (B-MAC, B-TAG) list (B-MAC, B-TAG) The number of groups is the same. Each group of B-MAC addresses and B-TAGs in the (B-MAC, B-TAG) list are individually packaged into each copied user message Mac-in-Mac message. In the header, in the process of encapsulation, the I-TAG needs to be encapsulated in the packet header. The B-TAG and the I-TAG form the virtual local area network information, and the packets are encapsulated according to the B-MAC address and the B-TAG. The corresponding outgoing interface is sent to the carrier network for transmission.
步骤 103 : 出口运营商边缘 PE设备收到经过封装后的用户报文后, 对用户报文解封装, 并按照用户报文的目的 MAC地址转发给客户边缘 CE设备。
本实施例可以使运营商根据实际应用来灵活部署用户报文和 (B-MAC, B-TAG)之间的 映射关系, 从而有效规划网络、 减少由用户报文导致的广播报文在骨干网传播。 Step 103: After receiving the encapsulated user packet, the egress edge edge PE device decapsulates the user packet and forwards the packet to the client edge CE device according to the destination MAC address of the user packet. In this embodiment, the operator can flexibly deploy the mapping between the user packet and the B-MAC (B-TAG) according to the actual application, thereby effectively planning the network and reducing the broadcast packet caused by the user packet on the backbone network. propagation.
进一步地, 在 MP2MP型的服务实例应用中, 还可以在建立 (B-MAC, B-TAG) 列表的 同时, 建立基于 C-MAC、 S-TAG等用户信息的 ACL (Access Control List-访问控制表) 过滤 策略,这样可以灵活地控制接入用户应该按照(B-MAC, B-TAG)列表中具体的哪组(B-MAC, B-TAG) 封装: 入口运营商边缘 PE设备将用户报文与 ACL过滤策略进行匹配, 如果用户报 文满足 ACL过滤策略定义的规则, 则入口运营商边缘 PE设备按照 ACL过滤策略定义的规 则中对应的 (B-MAC, B-TAG), 对用户报文进行封装; 如果用户报文不满足 ACL过滤策略 定义的规则, 则入口运营商边缘 PE 设备查找根据用户报文中的 C-MAC 地址查找对应的 C-MAC地址转发表, 根据查找 C-MAC地址转发表的结果对用户报文进行封装, 具体封装方 法同步骤 102中 2所述的内容, 这里不再详述。 Further, in the service instance application of the MP2MP type, an ACL (Access Control List-based access control) based on user information such as C-MAC and S-TAG may be established while establishing a (B-MAC, B-TAG) list. Table) Filtering policy, so that you can flexibly control which group (B-MAC, B-TAG) encapsulation should be in accordance with the (B-MAC, B-TAG) list: The ingress operator edge PE device will report the user. The ACL is matched with the ACL filtering policy. If the user packet meets the rules defined by the ACL filtering policy, the ingress operator edge PE device reports the user according to the corresponding B-MAC (B-TAG) in the rule defined by the ACL filtering policy. If the user packet does not meet the rules defined by the ACL filtering policy, the ingress operator edge PE device searches for the corresponding C-MAC address forwarding table according to the C-MAC address in the user packet, and searches for the C-MAC according to the C-MAC address. The result of the address forwarding table encapsulates the user packet, and the specific encapsulation method is the same as that described in step 102 of step 102, and details are not described herein.
另外, 用户有时会希望 P2P型服务实例或 MP2MP型服务实例下的用户流量能够自行学 习 MAC地址转发表, 这样就需要让封装 Mac-in-Mac头后的用户报文能广播发送到骨干网所 有 PE上, 即封装的外层 MAC地址为广播 MAC地址, 对于这类应用, 可以在 (B-MAC, B-TAG) 列表中配置 B-MAC地址为广播 MAC地址, 这样入口运营商边缘 PE设备在查找到 (B-MAC, B-TAG) 列表后, 发现目的 MAC地址为广播 MAC地址, 则继续按照现有的广 播发送流程将报文封装后发送出去。 In addition, the user sometimes wants the user traffic under the P2P service instance or the MP2MP service instance to learn the MAC address forwarding table by itself, so that the user packet encapsulated by the Mac-in-Mac header can be broadcast and sent to the backbone network. On the PE, the outer MAC address of the encapsulation is the broadcast MAC address. For this type of application, you can configure the B-MAC address as the broadcast MAC address in the (B-MAC, B-TAG) list. After the (B-MAC, B-TAG) list is found, the destination MAC address is the broadcast MAC address, and the packet is encapsulated and sent according to the existing broadcast sending process.
参见图 3, 本发明一个实施例还提供了一种报文发送的装置, 该装置包括: Referring to FIG. 3, an embodiment of the present invention further provides an apparatus for sending a message, where the apparatus includes:
列表建立模块 301, 用于在入口运营商边缘设备上建立运营商网络隧道列表; a list establishing module 301, configured to establish a carrier network tunnel list on the ingress operator edge device;
绑定模块 302, 用于将列表建立模块 301建立的运营商网络隧道列表与用户服务实例绑 定; The binding module 302 is configured to bind the operator network tunnel list established by the list establishing module 301 to the user service instance;
封装模块 303, 用于接收用户报文, 并根据与该用户所属的用户服务实例绑定的运营商 网络隧道列表, 对用户报文进行封装; The encapsulating module 303 is configured to receive a user packet, and encapsulate the user packet according to the operator network tunnel list bound to the user service instance to which the user belongs.
转发模块 304, 用于将封装模块 303封装后的用户报文发送到运营商网络上传送。 The forwarding module 304 is configured to send the encapsulated user packet to the carrier network for transmission.
在本发明的一个实施例中, 封装模块 303包括; In an embodiment of the present invention, the encapsulation module 303 includes:
接收单元, 用于接收用户报文; a receiving unit, configured to receive a user message;
判断单元, 用于根据接收单元接收的用户报文, 判断出该用户所属的用户服务实例, 其 中, 用户服务实例包括点对点服务实例和多点对多点服务实例; The determining unit is configured to determine, according to the user packet received by the receiving unit, a user service instance to which the user belongs, where the user service instance includes a point-to-point service instance and a multi-point to multi-point service instance;
第一封装处理单元, 用于当判断单元判断出该用户所属的用户服务实例是点对点服务实 例时, 根据所述点对点服务实例绑定的运营商网络隧道列表, 对所述用户报文进行封装;
第二封装处理单元, 用于当所述判断单元判断出该用户所属的用户服务实例是多点对多 点服务实例时, 根据该用户报文的 C-MAC地址查找 C-MAC地址转发表; 如果 C-MAC地址 转发表中没有与该 C-MAC地址匹配的表项, 通过复制所述用户报文得到多个所述用户报文, 根据与多点对多点服务实例绑定的运营商网络隧道列表中的所有 B-MAC地址和 B-TAG, 逐 个对多个用户报文进行封装; 否则, 根据 C-MAC地址转发表中 C-MAC地址对应的 B-MAC 地址和 B-TAG对该用户报文进行封装。 a first encapsulation processing unit, configured to: when the judging unit determines that the user service instance to which the user belongs is a peer-to-peer service instance, encapsulating the user packet according to the operator network tunnel list bound by the peer-to-peer service instance; a second encapsulation processing unit, configured to: when the judging unit determines that the user service instance to which the user belongs is a multi-point to multi-point service instance, search for a C-MAC address forwarding table according to the C-MAC address of the user packet; If there is no entry in the C-MAC address forwarding table that matches the C-MAC address, multiple user packets are obtained by copying the user packet, according to the operator bound to the multipoint-to-multipoint service instance. All B-MAC addresses and B-TAGs in the network tunnel list encapsulate multiple user packets one by one; otherwise, according to the B-MAC address and B-TAG pair corresponding to the C-MAC address in the C-MAC address forwarding table The user message is encapsulated.
其中,第一封装处理单元的具体处理过程同实施例 1的步骤 102中 1所述处理过程一样, 第二封装处理单元的具体处理过程同实施例 1的步骤 102中 2所述处理过程一样, 这里不再 详述。 The specific processing procedure of the first encapsulation processing unit is the same as the processing procedure described in step 102 of the first embodiment. The specific processing procedure of the second encapsulation processing unit is the same as the processing procedure described in step 102 of the first embodiment. It will not be detailed here.
在本发明的另一个实施例中, 该装置还可以包括: 过滤策略建立模块, 用于在入口运营 商边缘设备上建立用户信息的过滤策略; In another embodiment of the present invention, the apparatus may further include: a filtering policy establishing module, configured to establish a filtering policy of the user information on the ingress operator edge device;
相应地, 绑定模块 302还用于将该过滤策略建立模块建立的过滤策略与用户服务实例绑 定。 Correspondingly, the binding module 302 is further configured to bind the filtering policy established by the filtering policy establishing module to the user service instance.
当装置中包括过滤规则建立模块时, 在本发明的另一个实施例中, 封装模块 303包括: 接收单元, 用于接收用户报文; When the device includes a filtering rule establishing module, in another embodiment of the present invention, the encapsulating module 303 includes: a receiving unit, configured to receive a user message;
判断单元, 用于根据所述接收单元接收的用户报文, 判断出该用户所属的用户服务实例, 其中, 用户服务实例包括点对点服务实例和多点对多点服务实例; a determining unit, configured to determine, according to the user packet received by the receiving unit, a user service instance to which the user belongs, where the user service instance includes a point-to-point service instance and a multi-point to multi-point service instance;
匹配单元, 用于当判断单元判断出该用户所属的用户服务实例时, 将接收单元接收到的 用户报文与该过滤策略建立模块建立的过滤策略进行匹配; a matching unit, configured to: when the determining unit determines the user service instance to which the user belongs, matching the user message received by the receiving unit with the filtering policy established by the filtering policy establishing module;
封装处理单元, 用于根据匹配单元的匹配结果, 对接收单元接收到的用户报文进行封装 处理。 The encapsulation processing unit is configured to perform encapsulation processing on the user packet received by the receiving unit according to the matching result of the matching unit.
封装处理单元的具体处理过程与实施例 1中的建立基于 C-MAC地址、 S-TAG等用户信 息的 ACL过滤策略后的封装处理过程相同, 这里不再详述。 The specific processing procedure of the encapsulation processing unit is the same as the encapsulation processing procedure after the ACL filtering policy based on the user information of the C-MAC address and the S-TAG is the same in the first embodiment, and will not be described in detail herein.
本实施例通过绑定模块将运营商网络隧道列表和用户服务实例, 使运营商可以灵活地部 署用户报文和运营商网络隧道列表之间的映射关系, 从而有效地规划网络、 减少由用户报文 导致的广播报文在运营商骨干网传播。 In this embodiment, the carrier network tunnel list and the user service instance are configured by the binding module, so that the operator can flexibly deploy the mapping relationship between the user packet and the operator network tunnel list, thereby effectively planning the network and reducing the number of users. The broadcast packets caused by the text are transmitted on the carrier backbone network.
本发明实施例中涉及的软件可以存储在一个计算机可读取存储介质中。 以上所述的实施例只是本发明较优选的具体实施方式, 本领域的技术人员在本发明技术 方案范围内进行的通常变化和替换都应包含在本发明的保护范围内。
The software involved in the embodiments of the present invention may be stored in a computer readable storage medium. The embodiments described above are only preferred embodiments of the present invention, and the usual changes and substitutions made by those skilled in the art within the scope of the present invention are included in the scope of the present invention.
Claims
1.一种报文发送的方法, 其特征在于, 所述方法包括: A method for sending a message, the method comprising:
在入口运营商边缘设备上建立运营商网络隧道列表, 并将所述运营商网络隧道列表与用 户服务实例绑定; Establishing a carrier network tunnel list on the ingress operator edge device, and binding the carrier network tunnel list with the user service instance;
所述入口运营商边缘设备收到用户报文后, 根据该用户所属的用户服务实例绑定的运营 商网络隧道列表, 对所述用户报文进行封装, 并将封装后的用户报文发送到运营商网络上传 送。 After receiving the user packet, the ingress operator edge device encapsulates the user packet according to the operator network tunnel list bound by the user service instance to which the user belongs, and sends the encapsulated user packet to the user packet. Transmitted on the carrier network.
2. 如权利要求 1所述的报文发送的方法, 其特征在于, 所述用户服务实例包括点对点服 务实例和多点对多点服务实例。 The method for sending a message according to claim 1, wherein the user service instance comprises a peer-to-peer service instance and a multi-point to multi-point service instance.
3. 如权利要求 1所述的报文发送的方法, 其特征在于, 所述根据该用户所属的用户服务 实例绑定的运营商网络隧道列表, 对所述用户报文进行封装, 包括: The method for transmitting a packet according to claim 1, wherein the encapsulating the user packet according to the operator network tunnel list bound by the user service instance to which the user belongs includes:
如果该用户所属的用户服务实例为点对点服务实例, 则所述入口运营商边缘设备查找所 述点对点服务实例绑定的运营商网络隧道列表, 并根据该点对点服务实例绑定的运营商网络 隧道列表中的骨干网 MAC地址和骨干网服务标签, 对所述用户报文封装运营商网络报文头。 If the user service instance to which the user belongs is a peer-to-peer service instance, the ingress carrier edge device searches for a list of the operator network tunnel bound to the point-to-point service instance, and lists the carrier network tunnel bound according to the point-to-point service instance. The backbone network MAC address and the backbone network service label encapsulate the carrier network packet header for the user packet.
4. 如权利要求 1所述的报文发送的方法, 其特征在于, 所述根据该用户所属的用户服务 实例绑定的运营商网络隧道列表, 对所述用户报文进行封装, 包括: The method for transmitting a packet according to claim 1, wherein the encapsulating the user packet according to the operator network tunnel list bound by the user service instance to which the user belongs includes:
如果该用户所属的用户服务实例为多点对多点服务实例, 则所述入口运营商边缘设备根 据所述用户报文的用户 MAC地址查找 C-MAC地址转发表; If the user service instance to which the user belongs is a multi-point to multi-point service instance, the ingress operator edge device searches for a C-MAC address forwarding table according to the user MAC address of the user packet;
如果在所述 C-MAC地址转发表中没有与所述用户 MAC地址匹配的表项,则所述入口运 营商边缘设备通过复制所述用户报文得到多个所述用户报文, 根据所述多点对多点服务实例 绑定的运营商网络隧道列表中的所有骨干网 MAC地址和骨干网服务标签, 逐个对所述多个 用户报文封装运营商网络报文头; If the entry in the C-MAC address forwarding table does not match the user MAC address, the ingress operator edge device obtains the plurality of the user packets by copying the user packet, according to the All the backbone network MAC addresses and the backbone network service labels in the carrier network tunnel list bound to the multi-point service instance, and the operator network packet headers are encapsulated one by one for the plurality of user packets;
如果所述 C-MAC地址转发表中有与所述用户 MAC地址匹配的表项,则所述入口运营商 边缘设备根据所述 C-MAC地址转发表中对应的骨干网 MAC地址和骨干网服务标签对所述用 户报文封装运营商网络报文头。
If the C-MAC address forwarding table has an entry matching the user MAC address, the ingress operator edge device forwards the corresponding backbone network MAC address and the backbone network service according to the C-MAC address forwarding table. The label encapsulates the operator network packet header for the user packet.
5. 如权利要求 1所述的报文发送的方法, 其特征在于, 所述方法还包括: 在所述入口运营商边缘设备上建立用户信息的过滤策略; The method for transmitting a message according to claim 1, wherein the method further comprises: establishing a filtering policy of user information on the edge operator edge device;
将所述过滤策略与所述用户服务实例绑定。 Binding the filtering policy to the user service instance.
6. 如权利要求 5所述的报文发送的方法, 其特征在于, 所述根据该用户所属的用户服务 实例绑定的运营商网络隧道列表, 对所述用户报文进行封装, 包括: The method for transmitting a packet according to claim 5, wherein the encapsulating the user packet according to the operator network tunnel list bound by the user service instance to which the user belongs includes:
如果该用户所属的用户服务实例为多点对多点服务实例, 则所述入口运营商边缘设备将 所述用户报文与所述过滤策略进行匹配, 如果所述用户报文满足所述过滤策略定义的规则, 则所述入口运营商边缘设备按照所述过滤策略定义的规则, 对所述用户报文进行封装; 如果所述用户报文不满足所述过滤策略定义的规则, 则所述入口运营商边缘设备根据所 述用户报文的用户 MAC地址查找 C-MAC地址转发表; If the user service instance to which the user belongs is a multi-point to multi-point service instance, the ingress operator edge device matches the user packet with the filtering policy, if the user packet satisfies the filtering policy a defined rule, the ingress operator edge device encapsulates the user packet according to a rule defined by the filtering policy; if the user packet does not satisfy the rule defined by the filtering policy, the portal The operator edge device searches for a C-MAC address forwarding table according to the user MAC address of the user packet.
如果所述 C-MAC地址转发表中没有与所述用户 MAC地址匹配的表项,则所述入口运营 商边缘设备通过复制所述用户报文得到多个所述用户报文, 根据所述多点对多点服务实例绑 定的运营商网络隧道列表中的所有骨干网 MAC地址和骨干网服务标签, 逐个对所述多个用 户报文封装运营商网络报文头; If the C-MAC address forwarding table does not have an entry that matches the user MAC address, the ingress operator edge device obtains a plurality of the user packets by copying the user packet, according to the multiple All the backbone network MAC addresses and the backbone network service labels in the carrier network tunnel list bound by the point-to-multipoint service instance, and the operator network packet headers are encapsulated one by one for the plurality of user packets;
如果所述 C-MAC地址转发表中有与所述用户 MAC地址匹配的表项,则所述入口运营商 边缘设备根据所述 C-MAC地址转发表中对应的骨干网 MAC地址和骨干网服务标签对所述用 户报文封装运营商网络报文头。 If the C-MAC address forwarding table has an entry matching the user MAC address, the ingress operator edge device forwards the corresponding backbone network MAC address and the backbone network service according to the C-MAC address forwarding table. The label encapsulates the operator network packet header for the user packet.
7. 一种报文发送的装置, 其特征在于, 所述装置包括: A device for transmitting a message, the device comprising:
列表建立模块, 用于在入口运营商边缘设备上建立运营商网络隧道列表; a list establishing module, configured to establish a carrier network tunnel list on the ingress operator edge device;
绑定模块, 用于将所述列表建立模块建立的运营商网络隧道列表与用户服务实例绑定; 封装模块, 用于接收用户报文, 并根据与该用户所属的用户服务实例绑定的运营商网络 隧道列表, 对所述用户报文进行封装; a binding module, configured to bind the operator network tunnel list established by the list establishing module to the user service instance; and the encapsulating module, configured to receive the user packet, and according to the operation bound to the user service instance to which the user belongs a merchant network tunnel list, which encapsulates the user packet;
转发模块, 用于将所述封装模块封装后的用户报文发送到运营商网络上传送。 The forwarding module is configured to send the encapsulated user packet to the carrier network for transmission.
8. 如权利要求 7所述的报文发送的装置, 其特征在于, 所述封装模块包括: 接收单元, 用于接收用户报文; The device for transmitting a message according to claim 7, wherein the encapsulating module comprises: a receiving unit, configured to receive a user message;
判断单元, 用于根据所述接收单元接收的用户报文, 判断该用户所属的用户服务实例; 第一封装处理单元, 用于当所述判断单元判断出该用户所属的用户服务实例是点对点服
务实例时, 根据所述点对点服务实例绑定的运营商网络隧道列表, 对所述用户报文进行封装; 第二封装处理单元, 用于当所述判断单元判断出该用户所属的用户服务实例是多点对多 点服务实例时, 根据所述用户报文的用户 MAC 地址查找 C-MAC 地址转发表; 如果所述 C-MAC地址转发表中没有与所述用户 MAC地址匹配的表项, 通过复制所述用户报文得到多 个所述用户报文, 根据与所述多点对多点服务实例绑定的运营商网络隧道列表中的所有骨干 网 MAC地址和骨干网服务标签,逐个对所述多个用户报文进行封装;否则,根据所述 C-MAC 地址转发表中所述用户 MAC地址对应的骨干网 MAC地址和骨干网服务标签对所述用户报文 进行封装。 a determining unit, configured to determine, according to the user packet received by the receiving unit, a user service instance to which the user belongs; the first encapsulating processing unit, configured to: when the determining unit determines that the user service instance to which the user belongs is a point-to-point service In the case of the service, the user packet is encapsulated according to the carrier network tunnel list bound by the peer-to-peer service instance; the second encapsulation processing unit is configured to determine, when the determining unit, the user service instance to which the user belongs If the multi-point to multi-point service instance is used, the C-MAC address forwarding table is searched according to the user MAC address of the user packet; if the C-MAC address forwarding table does not have an entry matching the user MAC address, Obtaining, by copying the user packet, a plurality of the user packets, according to all backbone network MAC addresses and backbone service tags in the operator network tunnel list bound to the multipoint-to-multipoint service instance, one by one The plurality of user packets are encapsulated; otherwise, the user packet is encapsulated according to the backbone network MAC address and the backbone network service label corresponding to the user MAC address in the C-MAC address forwarding table.
9. 如权利要求 7所述的报文发送的装置, 其特征在于, 所述装置还包括: The device for transmitting a message according to claim 7, wherein the device further comprises:
过滤策略建立模块, 用于在所述入口运营商边缘设备上建立用户信息的过滤策略。 A filtering policy establishing module is configured to establish a filtering policy for user information on the ingress operator edge device.
10、 如权利要求 9所述的报文发送的装置, 其特征在于, 所述绑定模块还用于将所述过 滤策略建立模块建立的过滤策略与所述用户服务实例绑定。 The apparatus for transmitting a message according to claim 9, wherein the binding module is further configured to bind the filtering policy established by the filtering policy establishing module to the user service instance.
11. 如权利要求 10所述的报文发送的装置, 其特征在于, 所述封装模块包括: 接收单元, 用于接收用户报文; The apparatus for transmitting a message according to claim 10, wherein the encapsulating module comprises: a receiving unit, configured to receive a user message;
判断单元, 用于根据所述接收单元接收的用户报文, 判断出该用户所属的用户服务实例; 匹配单元, 用于当所述判断单元判断出该用户所属的用户服务实例是多点对多点服务实 例时,将所述接收单元接收到的用户报文与所述过滤策略建立模块建立的过滤策略进行匹配; 封装处理单元, 用于根据所述匹配单元的匹配结果, 对所述接收单元接收到的用户报文 进行封装处理。
a determining unit, configured to determine, according to the user packet received by the receiving unit, a user service instance to which the user belongs; and a matching unit, configured to: when the determining unit determines that the user service instance to which the user belongs is multi-to-many When the service instance is selected, the user message received by the receiving unit is matched with the filtering policy established by the filtering policy establishing module; the encapsulating processing unit is configured to: according to the matching result of the matching unit, the receiving unit The received user packet is encapsulated.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007100650014A CN101277254B (en) | 2007-03-30 | 2007-03-30 | Method and device for transmitting message |
CN200710065001.4 | 2007-03-30 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2008119289A1 true WO2008119289A1 (en) | 2008-10-09 |
Family
ID=39807816
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2008/070560 WO2008119289A1 (en) | 2007-03-30 | 2008-03-21 | Method and device for sending mac |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101277254B (en) |
WO (1) | WO2008119289A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101702716B (en) * | 2009-11-13 | 2013-06-05 | 中兴通讯股份有限公司 | Method and device for preventing authenticated user from being attacked |
CN102333033A (en) * | 2011-09-15 | 2012-01-25 | 中兴通讯股份有限公司 | Method for communication terminals to communicate in heterogeneous network and operator edge equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1816002A (en) * | 2005-02-06 | 2006-08-09 | 华为技术有限公司 | Method for realizing home town-agent retransmission message in mobile IP network |
CN1859272A (en) * | 2005-04-30 | 2006-11-08 | 华为技术有限公司 | Group broadcast program repeating processing method and connecting device for multicast repeat |
CN1889505A (en) * | 2006-07-17 | 2007-01-03 | 华为技术有限公司 | Method and system for aiding CPU to retransmit message |
-
2007
- 2007-03-30 CN CN2007100650014A patent/CN101277254B/en not_active Expired - Fee Related
-
2008
- 2008-03-21 WO PCT/CN2008/070560 patent/WO2008119289A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1816002A (en) * | 2005-02-06 | 2006-08-09 | 华为技术有限公司 | Method for realizing home town-agent retransmission message in mobile IP network |
CN1859272A (en) * | 2005-04-30 | 2006-11-08 | 华为技术有限公司 | Group broadcast program repeating processing method and connecting device for multicast repeat |
CN1889505A (en) * | 2006-07-17 | 2007-01-03 | 华为技术有限公司 | Method and system for aiding CPU to retransmit message |
Also Published As
Publication number | Publication date |
---|---|
CN101277254B (en) | 2010-11-10 |
CN101277254A (en) | 2008-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109218178B (en) | Message processing method and network equipment | |
US11979322B2 (en) | Method and apparatus for providing service for traffic flow | |
CN102437931B (en) | Detection method and device of service path | |
EP2378720B1 (en) | Extranet networking method, system and device for multicast virtual private network | |
US8531941B2 (en) | Intra-domain and inter-domain bridging over MPLS using MAC distribution via border gateway protocol | |
WO2021196717A1 (en) | Multicast traffic transmission method and apparatus, communication node, and storage medium | |
CN101160850A (en) | Method and device for forwarding message | |
CN102413060B (en) | User private line communication method and equipment used in VPLS (Virtual Private LAN (Local Area Network) Service) network | |
WO2015165311A1 (en) | Method for transmitting data packet and provider edge device | |
CN100531138C (en) | Operator's boundary notes, virtual special LAN service communication method and system | |
EP3133797B1 (en) | Message forwarding method, system, and relay agent device | |
WO2009033428A1 (en) | Method, system and device for removing media access control address | |
CN104365066B (en) | Method and apparatus for ether Virtual Private Network | |
CN106059994A (en) | Data transmission method and network equipment | |
WO2013139270A1 (en) | Method, device, and system for implementing layer3 virtual private network | |
WO2022121466A1 (en) | Data processing method and device for ethernet virtual private network, and storage medium | |
WO2008011818A1 (en) | Method of realizing hierarchy-virtual private lan service and network system | |
CN103067278B (en) | A kind of method for transmission processing of Frame, equipment and system | |
CN102571375B (en) | Multicast forwarding method and device as well as network device | |
WO2012122844A1 (en) | Method and system for domain-based interconnection of transparent interconnection over lots of links network | |
WO2021093463A1 (en) | Packet forwarding method, first network device, and first device group | |
CN103269300B (en) | A kind of method and apparatus of realizing heterogeneous network internetworking | |
CN104009919B (en) | Message forwarding method and device | |
WO2022117018A1 (en) | Packet transmission method and apparatus | |
WO2017036384A1 (en) | Provider edge device and data forwarding method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 08715296 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 08715296 Country of ref document: EP Kind code of ref document: A1 |