WO2016101770A1 - 多协议标签交换中间节点组播转发的方法、装置和节点 - Google Patents

多协议标签交换中间节点组播转发的方法、装置和节点 Download PDF

Info

Publication number
WO2016101770A1
WO2016101770A1 PCT/CN2015/095995 CN2015095995W WO2016101770A1 WO 2016101770 A1 WO2016101770 A1 WO 2016101770A1 CN 2015095995 W CN2015095995 W CN 2015095995W WO 2016101770 A1 WO2016101770 A1 WO 2016101770A1
Authority
WO
WIPO (PCT)
Prior art keywords
label
mpls
multicast forwarding
multicast
node
Prior art date
Application number
PCT/CN2015/095995
Other languages
English (en)
French (fr)
Inventor
林宁
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to RU2017122060A priority Critical patent/RU2706862C2/ru
Priority to EP15871839.5A priority patent/EP3240245B1/en
Priority to US15/539,251 priority patent/US10547620B2/en
Publication of WO2016101770A1 publication Critical patent/WO2016101770A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/101Access control lists [ACL]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1886Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with traffic restrictions for efficiency improvement, e.g. involving subnets or subdomains
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/16Multipoint routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • H04L45/502Frame based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies
    • H04L63/0263Rule management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/58Association of routers
    • H04L45/586Association of routers of virtual routers

Definitions

  • the present invention relates to a packet forwarding technology, and in particular, to a multi-protocol label switching (MPLS) intermediate node multicast forwarding method, apparatus, and node.
  • MPLS multi-protocol label switching
  • MPLS forwarding is performed on the backbone router (P, Provider) node in the service provider network.
  • P Provider
  • the P node directly searches for the MPLS forwarding table according to the ingress tunnel label of the MPLS packet, and replaces the tunnel label and sends it directly. It's all one-to-one, and you can't do one-to-many forwarding.
  • the current MPLS multicast is multicasted on the ingress service provider edge router (PE) node through the Layer 2 virtual private network (L2VPN) of the MPLS ingress.
  • PE ingress service provider edge router
  • L2VPN Layer 2 virtual private network
  • the PE node deploys the virtual private local area network service (VPLS) network, and directly encapsulates the tunnel label and the pseudowire label from the corresponding multicast exit.
  • VPLS virtual private local area network service
  • the current common P node forwarding steps include:
  • the table contains the tunnel label of the egress.
  • the label action is label switching and indicates the exit location.
  • the tunnel label of the packet is directly replaced with the tunnel label of the egress in the MPLS table, and is sent out from the egress to complete the label switching and forwarding of the P node.
  • the steps of multicasting on the current VPLS PE nodes include:
  • the user side packet enters the PE node.
  • the PE node searches the MAC address table according to the media access control (MAC) address of the user side packet to determine the VPLS multicast group.
  • MAC media access control
  • the present invention mainly provides a method, a device and a node for multicast forwarding of an MPLS intermediate node.
  • An embodiment of the present invention provides a method for multicast forwarding of an MPLS intermediate node, where the method includes:
  • the P-node of the backbone router in the service provider network captures the MPLS packet according to the ACL rule, and redirects the captured MPLS packet to the VPLS multicast forwarding table of the virtual private LAN service, according to the VPLS multicast forwarding table.
  • the next hop information of each multicast forwarding entry forwards the MPLS packet.
  • the method further includes: before the P node captures the MPLS packet according to the ACL rule, the ingress port label, the ingress port, and the Ethernet type of the MPLS packet to be multicast are configured as an ACL rule, and the P node saves the foregoing.
  • the ACL rule is used to set the egress label of the next hop information of each egress that needs to be forwarded as the egress label.
  • the label action is label switching.
  • the label port is the egress port.
  • the next hop information of all multicast forwarding is added to the VPLS.
  • the multicast forwarding table at least one multicast forwarding entry is formed, and the action of configuring the ACL rule is to redirect to the VPLS multicast forwarding table.
  • the P node captures the MPLS packet according to the ACL rule.
  • the P node determines that the ingress tunnel label of the MPLS packet matches the tunnel label configured in the ACL rule.
  • the MPLS packet is captured.
  • the P-node determines that the ingress port and the Ethernet type of the MPLS packet match the ingress type and the Ethernet type configured in the ACL rule. Text.
  • the redirecting the MPLS packet to the VPLS multicast forwarding table includes: the P node redirects the MPLS packet to the VPLS multicast forwarding table according to the action configured in the ACL rule, and redirects the captured MPLS packet. Go to the VPLS multicast forwarding table.
  • the foregoing MPLS packet multicast forwarding is performed according to the next hop information of each multicast forwarding entry in the VPLS multicast forwarding table, including:
  • the P node searches for the forwarding behavior of the VPLS multicast forwarding table, and finds that the label needs to be forwarded to at least one next hop.
  • the label of the egress tunnel is labeled as label switching, and the label port is The egress port forwards the MPLS packet to at least one next hop.
  • An embodiment of the present invention provides a device for multicast forwarding of an MPLS intermediate node, where the device includes: a packet capture module, a redirection module, and a multicast module;
  • the packet capture module is configured to capture MPLS packets according to the ACL rule.
  • the redirection module is configured to redirect the captured MPLS packet to the VPLS multicast forwarding table.
  • the multicast module is configured to forward the MPLS packet according to the next hop information of each multicast forwarding entry in the VPLS multicast forwarding table.
  • the device further includes: a configuration module, configured to save an ACL rule, where the ACL rule is required
  • the action of redirecting the ACL rule to the VPLS multicast forwarding table is also performed by the ingress port label, the ingress port, and the Ethernet type of the multicast MPLS packet.
  • the VPLS multicast forwarding table is also included.
  • a multicast forwarding entry, each multicast forwarding entry corresponding to the next hop information of each egress that needs to be forwarded by the multicast, and the next hop information includes: the egress label is an egress label, and the label action is label switching.
  • the label port is the egress port.
  • the packet capture module is specifically configured to capture the MPLS packet when the ingress tunnel label of the MPLS packet matches the tunnel label configured in the ACL rule in the static MPLS scenario;
  • the MPLS packet is captured when the ingress port and the Ethernet type of the MPLS packet are matched with the ingress type and the Ethernet type configured in the ACL.
  • the redirection module is specifically configured to redirect the MPLS packet to the VPLS multicast forwarding table according to the action configured in the ACL rule.
  • the foregoing multicast module is specifically configured to search for the forwarding behavior of the VPLS multicast forwarding table, and find that the label needs to be forwarded to at least one next hop according to the egress label in each multicast forwarding entry.
  • the label action is label switching
  • the sign-out port is an egress port
  • the MPLS packet multicast is forwarded to at least one next hop.
  • Embodiments of the present invention provide a node, where the node includes the foregoing apparatus.
  • the embodiment of the invention provides a method, a device and a node for multicast forwarding of an MPLS intermediate node.
  • the P node retrieves the MPLS packet according to the ACL rule and redirects the captured MPLS packet to the VPLS multicast.
  • the forwarding table forwards the MPLS packet according to the next hop information of each multicast forwarding entry in the VPLS multicast forwarding table. In this manner, the multicast layout can be placed on the P node to increase the network configuration. Flexibility, and, because one-to-one or one-to-one forwarding can be implemented on the P-node, the 1+1 or 1+N line protection of the P-node can also be achieved.
  • FIG. 1 is a schematic flowchart of a method for multicast forwarding of an MPLS intermediate node according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of P node 1+1 line protection according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of an apparatus for multicast forwarding of an MPLS intermediate node according to an embodiment of the present disclosure
  • FIG. 4 is a schematic diagram of a principle of P-node multicast forwarding according to an embodiment of the present invention.
  • the P node captures the MPLS packet according to the ACL rule, and redirects the captured MPLS packet to the VPLS multicast forwarding table, according to each multicast forwarding entry in the VPLS multicast forwarding table.
  • the hop message is multicast forwarded by the hop message.
  • the embodiment of the invention implements a method for multicast forwarding of an MPLS intermediate node, as shown in FIG. 1 , the method includes the following Several steps:
  • Step 101 The P node captures the MPLS packet to be multicast according to the ACL rule.
  • the P node determines whether the ingress tunnel label of the MPLS packet matches the tunnel label configured in the ACL rule, and determines the ingress tunnel label and ACL rule of the MPLS packet. If the configured tunnel label is matched, the MPLS packet is captured.
  • the ingress port label is dynamically allocated.
  • the P node determines the ingress port and Ethernet type of the MPLS packet. Whether the ingress port and the Ethernet type configured in the ACL are matched. When the ingress port and the Ethernet type of the MPLS packet are matched with the ingress type and the Ethernet type configured in the ACL rule, the MPLS packet is captured.
  • Step 102 The P node redirects the captured MPLS packet to the VPLS multicast forwarding table.
  • the P node redirects the MPLS packet to the VPLS multicast forwarding table according to the action configured in the ACL rule.
  • Step 103 The P node multicasts the MPLS packet according to the next hop information of each multicast forwarding entry in the VPLS multicast forwarding table.
  • the P node searches for the forwarding behavior of the VPLS multicast forwarding table, and finds that the label needs to be forwarded to at least one next hop, and the label of the egress tunnel is labeled as label switching according to the egress label in each multicast forwarding entry.
  • the port is an egress port, and the MPLS packet is multicast and forwarded to at least one next hop.
  • the P node to the next hop can be set to 1+. 1 or 1+N line protection, as shown in Figure 2, P1 node multicasts MPLS packets to P2 nodes and P3 nodes, P3 nodes are backups of P2 nodes, forming 1+1 line protection from P1 nodes to P2 nodes. .
  • the method further includes: configuring the ingress port label, the ingress port, and the Ethernet type of the MPLS packet to be multicast as an ACL rule, and the P node saves the ACL rule;
  • the egress label of the next hop information of the egress is the label of the egress tunnel.
  • the label action is label switching.
  • the label port is the egress port.
  • the next hop information of all multicast forwarding is added to the VPLS multicast forwarding table to form at least one multicast.
  • the forwarding entry is different from the normal VPLS multicast forwarding entry.
  • the label action is label switching instead of label pushing.
  • the action of configuring the ACL rule is to redirect to the VPLS multicast forwarding table.
  • an embodiment of the present invention further provides a device for multicast forwarding of an MPLS intermediate node, where the device is configured on a P node, as shown in FIG. 3, the device includes: a packet capture module 31, and a redirection module. 32. A multicast module 33; wherein
  • the packet capture module 31 can be implemented by the ingress interface of the P node, and is configured to capture the MPLS packet according to the ACL rule.
  • the redirection module 32 can be implemented by the memory of the P node, and is configured to redirect the captured MPLS packet to the VPLS multicast forwarding table.
  • the multicast module 33 may be implemented by the processor of the P node in combination with the memory, and configured to forward the MPLS packet according to the next hop information of each multicast forwarding entry in the VPLS multicast forwarding table.
  • the device further includes: a configuration module 34, configured to save an ACL rule, where the ACL rule forwards the ingress port label, the ingress port, and the Ethernet type of the MPLS packet to be forwarded to the VPLS multicast forwarding table.
  • the action of the ACL rule; the VPLS multicast forwarding table is further configured, and the VPLS multicast forwarding table includes at least one multicast forwarding entry, and each multicast forwarding entry stores the next hop information of each egress that needs to be forwarded by the multicast.
  • the next hop information includes: the label whose egress label is an egress tunnel, the label action is label switching, and the label port is an egress port;
  • the packet capture module 31 is configured to capture the MPLS packet when the ingress tunnel label of the MPLS packet matches the tunnel label configured in the ACL rule in the static MPLS scenario;
  • the MPLS packet is captured when the ingress port and the Ethernet type of the MPLS packet are matched with the ingress type and the Ethernet type configured in the ACL rule.
  • the redirection module 32 is configured to redirect to the VPLS multicast forwarding table according to the action configured in the ACL rule, and redirect the captured MPLS packet to the VPLS multicast forwarding table.
  • the multicast module 33 is specifically configured to search for the forwarding behavior of the VPLS multicast forwarding table, and find that the label needs to be forwarded to at least one next hop according to the egress label in each multicast forwarding entry.
  • the label action is label switching, and the sign-out port is an egress port, and the MPLS packet is multicast-forwarded to at least one next hop.
  • the embodiment of the present invention further provides a node, where the node includes the multicast forwarding device shown in FIG.
  • the port 1 of the P node is connected to the tunnel A, and the packet is multicast to the tunnel B and the tunnel C.
  • the tunnel B exit is port 2
  • the tunnel C exit is port 3.
  • Step 401 The P node captures the MPLS packet entered by the tunnel A of the port 1 according to the ACL rule.
  • the P node matches the ingress tunnel label according to the MPLS packet, or matches the packet with the first port and the Ethernet type as the MPLS packet to capture the MPLS packet.
  • Step 402 The P node redirects the captured MPLS packet to the VPLS multicast forwarding table D according to the action configured in the ACL rule.
  • the tunnel label of the tunnel B and the information of the port 2 are preset to the next hop B, the tunnel label of the tunnel C and the port 3 to the next hop C, and the label actions of the tunnel labels B and C are label switching.
  • the information of the next hop B and the next hop C is written into the VPLS multicast forwarding table to create a VPLS multicast group forwarding table D.
  • Step 403 The P node searches for the MPLS packet to search for the forwarding behavior of the multicast forwarding table D, and finds that it is forwarded to the two next hops B and C.
  • the behavior of the next hop record is label switching, and the P node will The tunnel label of the MPLS packet is replaced with the tunnel label B. It is sent from port 2 and replaces the tunnel label of the MPLS packet with the tunnel label C. Out.
  • the modules described in the embodiments of the present invention may also be stored in a computer readable storage medium if they are implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, those skilled in the art will appreciate that embodiments of the present application can be provided as a method, apparatus, or computer program product. Thus, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware. Moreover, the application can take the form of a computer program product embodied on one or more computer-usable storage media containing computer usable program code, including but not limited to a USB flash drive, a mobile hard drive, a read only memory ( ROM, Read-Only Memory), disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer program is stored, and the computer program is used to execute the method for multicast forwarding of the MPLS intermediate node in the embodiment of the present invention.
  • the P node captures the MPLS packet according to the ACL rule, and redirects the captured MPLS packet to the VPLS multicast forwarding table according to the multicast in the VPLS multicast forwarding table. Forwarding of the entry Skip the information and forward the MPLS packet to the multicast node.
  • the multicast layout can be placed on the P node to increase the configuration flexibility of the network, and the P-node can implement 1-to-1 or 1-to-multiple forwarding. The same can also achieve 1+1 or 1+N line protection of the P node.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种MPLS中间节点组播转发的方法,P节点根据访问控制列表(ACL)规则抓取MPLS报文,将抓取的MPLS报文重定向到VPLS组播转发表,根据所述VPLS组播转发表中各组播转发表项的下一跳信息,将所述MPLS报文组播转发出去;本发明同时还公开了一种MPLS中间节点组播转发的装置和节点。

Description

多协议标签交换中间节点组播转发的方法、装置和节点 技术领域
本发明涉及报文转发技术,尤其涉及一种多协议标签交换(MPLS)中间节点组播转发的方法、装置和节点。
背景技术
一般情况下,在服务提供商网络中的骨干路由器(P,Provider)节点上进行MPLS转发,P节点会根据MPLS报文的入口隧道标签直接查找MPLS转发表,替换隧道标签直接发出,这种转发都是一对一的,而无法完成一对多的转发。
目前的MPLS组播都是在入口服务提供商边缘路由器(PE,Provider Edge)节点上,通过MPLS入口的二层虚拟专用网(L2VPN)组播的方式进行组播,原始报文进入PE节点后,PE节点通过虚拟专用局域网业务(VPLS)的网络部署,直接封装隧道标签和伪线标签从相应的组播出口中发出。
目前普遍的P节点转发的步骤包括:
1、收到MPLS报文,通过其隧道标签查找MPLS表。
2、查找到对应的MPLS表项,表中含有出口的隧道标签,标签动作为标签交换,并指出出口位置。
3、将报文的隧道标签直接替换为MPLS表中出口的隧道标签,从出口发出,完成P节点标签交换转发。
目前普遍的VPLS PE节点上组播的步骤包括:
1、用户侧报文进入PE节点。
2、PE节点根据用户侧报文的媒体访问控制(MAC)地址查找MAC地址表,确定VPLS组播组。
3、根据组播组表项的设置,为用户侧报文添加伪线标签和隧道标签从组播组对应的各个端口组播发出。
由此可见,目前的技术中,没有针对P节点进行点对多点组播转发的技术,由于P节点无法进行点对点转发,因此P节点上也无法实现1+1或1+N的保护。
发明内容
为解决相关存在的技术问题,本发明主要提供一种MPLS中间节点组播转发的方法、装置和节点。
本发明的技术方案是这样实现的:
本发明实施例提供一种MPLS中间节点组播转发的方法,该方法包括:
服务提供商网络中的骨干路由器P节点根据访问控制列表ACL规则抓取MPLS报文,将抓取的MPLS报文重定向到虚拟专用局域网业务VPLS组播转发表,根据上述VPLS组播转发表中各组播转发表项的下一跳信息,将上述MPLS报文组播转发出去。
上述方案中,该方法还包括:在P节点根据ACL规则抓取MPLS报文之前,将需要组播的MPLS报文的入口隧道标签、入端口及以太类型配置为一条ACL规则,P节点保存上述ACL规则;设置需要组播转发的每个出口的下一跳信息的出口标签为出口隧道的标签,标签动作为标签交换,标签端口为出口端口,将所有组播转发的下一跳信息加入VPLS组播转发表中,形成至少一个组播转发表项,之后配置上述ACL规则的动作为重定向到VPLS组播转发表。
上述方案中,上述P节点根据ACL规则抓取MPLS报文包括:在静态MPLS场景下,P节点接收到MPLS报文后,确定MPLS报文的入口隧道标签与ACL规则中配置的隧道标签匹配,抓取上述MPLS报文;在动态MPLS场景下,P节点接收到MPLS报文后,确定MPLS报文的入端口及以太类型与ACL规则中配置的入端口及以太类型匹配,抓取上述MPLS报文。
上述方案中,上述将抓取的MPLS报文重定向到VPLS组播转发表包括:P节点根据ACL规则中配置的动作为重定向到VPLS组播转发表,将抓取的MPLS报文重定向到VPLS组播转发表。
上述方案中,上述根据上述VPLS组播转发表中各组播转发表项的下一跳信息,将上述MPLS报文组播转发出去,包括:
P节点查找上述VPLS组播转发表的转发行为,查找出需要转发到至少一个下一跳,根据各组播转发表项中的出口标签为出口隧道的标签、标签动作为标签交换、签端口为出口端口,将上述MPLS报文组播转发到至少一个下一跳。
本发明实施例提供一种MPLS中间节点组播转发的装置,该装置包括:报文抓取模块、重定向模块、组播模块;其中,
报文抓取模块,设置为根据ACL规则抓取MPLS报文;
重定向模块,设置为将抓取的MPLS报文重定向到VPLS组播转发表;
组播模块,设置为根据上述VPLS组播转发表中各组播转发表项的下一跳信息,将上述MPLS报文组播转发出去。
上述方案中,该装置还包括:配置模块,设置为保存ACL规则,上述ACL规则将需要 组播的MPLS报文的入口隧道标签、入端口及以太类型作为匹配规则,将重定向到VPLS组播转发表ACL规则的动作;还保存VPLS组播转发表,上述VPLS组播转发表包括至少一个组播转发表项,各组播转发表项对应存储需要组播转发的每个出口的下一跳信息,上述下一跳信息包括:出口标签为出口隧道的标签,标签动作为标签交换,标签端口为出口端口。
上述方案中,上述报文抓取模块,具体设置为在静态MPLS场景下,当确定MPLS报文的入口隧道标签与ACL规则中配置的隧道标签匹配时,抓取上述MPLS报文;在动态MPLS场景下,当确定MPLS报文的入端口及以太类型与ACL规则中配置的入端口及以太类型匹配时,抓取上述MPLS报文。
上述方案中,上述重定向模块,具体设置为根据ACL规则中配置的动作为重定向到VPLS组播转发表,将抓取的MPLS报文重定向到VPLS组播转发表。
上述方案中,上述组播模块,具体设置为查找上述VPLS组播转发表的转发行为,查找出需要转发到至少一个下一跳,根据各组播转发表项中的出口标签为出口隧道的标签、标签动作为标签交换、签端口为出口端口,将上述MPLS报文组播转发到至少一个下一跳。
本发明实施例提供一种节点,该节点包括上述的装置。
本发明实施例提供了一种MPLS中间节点组播转发的方法、装置和节点,P节点根据访问控制列表(ACL)规则抓取MPLS报文,将抓取的MPLS报文重定向到VPLS组播转发表,根据上述VPLS组播转发表中各组播转发表项的下一跳信息,将上述MPLS报文组播转发出去;这样,可以把组播布局放在P节点上,增加网络的配置灵活性,并且,由于P节点上可以实现1对1或1对多的转发,一样也可以实现P节点的1+1或1+N的线路保护。
附图说明
图1为本发明实施例提供的MPLS中间节点组播转发的方法的流程示意图;
图2为本发明实施例提供的P节点1+1线路保护示意图;
图3为本发明实施例提供的MPLS中间节点组播转发的装置的结构示意图;
图4为本发明实施例提供的P节点组播转发的原理示意图。
具体实施方式
本发明实施例中,P节点根据ACL规则抓取MPLS报文,将抓取的MPLS报文重定向到VPLS组播转发表,根据所述VPLS组播转发表中各组播转发表项的下一跳信息,将所述MPLS报文组播转发出去。
下面通过附图及具体实施例对本发明做进一步的详细说明。
本发明实施例实现一种MPLS中间节点组播转发的方法,如图1所示,该方法包括以下 几个步骤:
步骤101:P节点根据ACL规则抓取需要组播的MPLS报文;
具体的,在静态MPLS场景下,P节点接收到MPLS报文后,判断MPLS报文的入口隧道标签是否与ACL规则中配置的隧道标签匹配,当确定MPLS报文的入口隧道标签与ACL规则中配置的隧道标签匹配时,抓取所述MPLS报文;在动态MPLS场景下,由于入口隧道标签是动态分配的,则P节点接收到MPLS报文后,判断MPLS报文的入端口及以太类型是否与ACL规则中配置的入端口及以太类型匹配,当确定MPLS报文的入端口及以太类型与ACL规则中配置的入端口及以太类型匹配时,抓取所述MPLS报文。
步骤102:P节点将抓取的MPLS报文重定向到VPLS组播转发表;
具体的,P节点根据ACL规则中配置的动作为重定向到VPLS组播转发表,将抓取的MPLS报文重定向到VPLS组播转发表。
步骤103:P节点根据上述VPLS组播转发表中各组播转发表项的下一跳信息,将上述MPLS报文组播转发出去;
具体的,P节点查找所述VPLS组播转发表的转发行为,查找出需要转发到至少一个下一跳,根据各组播转发表项中的出口标签为出口隧道的标签、标签动作为标签交换、签端口为出口端口,将所述MPLS报文组播转发到至少一个下一跳,这里,当下一跳有两个或两个以上时,所述P节点到下一跳可以设置成1+1或1+N的线路保护,如图2所示,P1节点将MPLS报文组播到P2节点和P3节点,P3节点为P2节点的备份,形成P1节点到P2节点的1+1线路保护。
在步骤101之前,该方法还包括:将需要组播的MPLS报文的入口隧道标签、入端口及以太类型配置为一条ACL规则,P节点保存所述ACL规则;设置需要组播转发的每个出口的下一跳信息的出口标签为出口隧道的标签,标签动作为标签交换,标签端口为出口端口,将所有组播转发的下一跳信息加入VPLS组播转发表中,形成至少一个组播转发表项,与普通VPLS组播转发表项不同的是其标签动作是标签交换而不是标签压栈,之后配置所述ACL规则的动作为重定向到VPLS组播转发表。
为了实现上述方法,本发明实施例还提供一种MPLS中间节点组播转发的装置,该装置设置在P节点上,如图3所示,该装置包括:报文抓取模块31、重定向模块32、组播模块33;其中,
报文抓取模块31,可以由P节点的入接口实现,设置为根据ACL规则抓取MPLS报文;
重定向模块32,可以由P节点的存储器实现,设置为将抓取的MPLS报文重定向到VPLS组播转发表;
组播模块33,可以由P节点的处理器结合存储器实现,设置为根据所述VPLS组播转发表中各组播转发表项的下一跳信息,将所述MPLS报文组播转发出去;
该装置还包括:配置模块34,设置为保存ACL规则,所述ACL规则将需要组播的MPLS报文的入口隧道标签、入端口及以太类型作为匹配规则,将重定向到VPLS组播转发表ACL规则的动作;还保存VPLS组播转发表,所述VPLS组播转发表包括至少一个组播转发表项,各组播转发表项对应存储需要组播转发的每个出口的下一跳信息,所述下一跳信息包括:出口标签为出口隧道的标签,标签动作为标签交换,标签端口为出口端口;
所述报文抓取模块31,具体设置为在静态MPLS场景下,当确定MPLS报文的入口隧道标签与ACL规则中配置的隧道标签匹配时,抓取所述MPLS报文;在动态MPLS场景下,当确定MPLS报文的入端口及以太类型与ACL规则中配置的入端口及以太类型匹配时,抓取所述MPLS报文;
所述重定向模块32,具体设置为根据ACL规则中配置的动作为重定向到VPLS组播转发表,将抓取的MPLS报文重定向到VPLS组播转发表;
所述组播模块33,具体设置为查找所述VPLS组播转发表的转发行为,查找出需要转发到至少一个下一跳,根据各组播转发表项中的出口标签为出口隧道的标签、标签动作为标签交换、签端口为出口端口,将所述MPLS报文组播转发到至少一个下一跳。
基于上述装置,本发明实施例还提供一种节点,该节点包括图3所示的组播转发的装置。
下面通过一个具体的应用场景对本发明的方法进行详细说明。
本实施例如图4所示,P节点的1号端口连接隧道A,需要将报文组播到隧道B和隧道C上,隧道B出口是2号端口,隧道C出口是3号端口,具体步骤包括:
步骤401:P节点根据ACL规则,抓取从1号端口的隧道A进入的MPLS报文;
这里,P节点根据MPLS报文匹配上入口隧道标签,或者匹配上1号端口、以太类型为MPLS的报文,来抓取所述MPLS报文;
步骤402:P节点根据ACL规则中配置的动作,将抓取的MPLS报文重定向到VPLS组播转发表D;
这里,预先设置隧道B的隧道标签和2号端口的信息到下一跳B中,隧道C的隧道标签和3号端口到下一跳C中,隧道标签B和C的标签动作为标签交换,并将下一跳B和下一跳C的信息写入VPLS组播转发表中,创建VPLS组播组转发表D。
步骤403:P节点将抓取的MPLS报文,查找组播转发表D的转发行为,发现是转发至两个下一跳B和C,其下一跳记录的行为是标签交换,P节点将MPLS报文的隧道标签替换为隧道标签B,从2号端口发出,并将MPLS报文的隧道标签替换为隧道标签C从3号端口发 出。
本发明实施例所述的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本领域内的技术人员应明白,本申请的实施例可提供为方法、装置、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质上实施的计算机程序产品的形式,所述存储介质包括但不限于U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、磁盘存储器、CD-ROM、光学存储器等。
本申请是根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
相应的,本发明实施例还提供一种计算机存储介质,其中存储有计算机程序,该计算机程序用于执行本发明实施例的MPLS中间节点组播转发的方法。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。
工业实用性
在本发明实施例中,P节点根据访问控制列表(ACL)规则抓取MPLS报文,将抓取的MPLS报文重定向到VPLS组播转发表,根据上述VPLS组播转发表中各组播转发表项的下一 跳信息,将上述MPLS报文组播转发出去;这样,可以把组播布局放在P节点上,增加网络的配置灵活性,并且,由于P节点上可以实现1对1或1对多的转发,一样也可以实现P节点的1+1或1+N的线路保护。

Claims (11)

  1. 一种多协议标签交换MPLS中间节点组播转发的方法,该方法包括:
    服务提供商网络中的骨干路由器P节点根据访问控制列表ACL规则抓取MPLS报文,将抓取的MPLS报文重定向到虚拟专用局域网业务VPLS组播转发表,根据所述VPLS组播转发表中各组播转发表项的下一跳信息,将所述MPLS报文组播转发出去。
  2. 根据权利要求1所述的方法,其中,该方法还包括:在P节点根据ACL规则抓取MPLS报文之前,将需要组播的MPLS报文的入口隧道标签、入端口及以太类型配置为一条ACL规则,P节点保存所述ACL规则;设置需要组播转发的每个出口的下一跳信息的出口标签为出口隧道的标签,标签动作为标签交换,标签端口为出口端口,将所有组播转发的下一跳信息加入VPLS组播转发表中,形成至少一个组播转发表项,之后配置所述ACL规则的动作为重定向到VPLS组播转发表。
  3. 根据权利要求2所述的方法,其中,所述P节点根据ACL规则抓取MPLS报文包括:在静态MPLS场景下,P节点接收到MPLS报文后,确定MPLS报文的入口隧道标签与ACL规则中配置的隧道标签匹配,抓取所述MPLS报文;在动态MPLS场景下,P节点接收到MPLS报文后,确定MPLS报文的入端口及以太类型与ACL规则中配置的入端口及以太类型匹配,抓取所述MPLS报文。
  4. 根据权利要求2所述的方法,其中,所述将抓取的MPLS报文重定向到VPLS组播转发表包括:P节点根据ACL规则中配置的动作为重定向到VPLS组播转发表,将抓取的MPLS报文重定向到VPLS组播转发表。
  5. 根据权利要求2所述的方法,其中,所述根据所述VPLS组播转发表中各组播转发表项的下一跳信息,将所述MPLS报文组播转发出去,包括:
    P节点查找所述VPLS组播转发表的转发行为,查找出需要转发到至少一个下一跳,根据各组播转发表项中的出口标签为出口隧道的标签、标签动作为标签交换、签端口为出口端口,将所述MPLS报文组播转发到至少一个下一跳。
  6. 一种MPLS中间节点组播转发的装置,该装置包括:报文抓取模块、重定向模块、组播模块;其中,
    报文抓取模块,设置为根据ACL规则抓取MPLS报文;
    重定向模块,设置为将抓取的MPLS报文重定向到VPLS组播转发表;
    组播模块,设置为根据所述VPLS组播转发表中各组播转发表项的下一跳信息,将所述MPLS报文组播转发出去。
  7. 根据权利要求6所述的装置,其中,该装置还包括:配置模块,设置为保存ACL规则,所述ACL规则将需要组播的MPLS报文的入口隧道标签、入端口及以太类型作为匹配规则,将重定向到VPLS组播转发表ACL规则的动作;还保存VPLS组播转发表,所述VPLS组播转发表包括至少一个组播转发表项,各组播转发表项对应存储需要组播转发的每个 出口的下一跳信息,所述下一跳信息包括:出口标签为出口隧道的标签,标签动作为标签交换,标签端口为出口端口。
  8. 根据权利要求7所述的装置,其中,所述报文抓取模块,具体设置为在静态MPLS场景下,当确定MPLS报文的入口隧道标签与ACL规则中配置的隧道标签匹配时,抓取所述MPLS报文;在动态MPLS场景下,当确定MPLS报文的入端口及以太类型与ACL规则中配置的入端口及以太类型匹配时,抓取所述MPLS报文。
  9. 根据权利要求7所述的装置,其中,所述重定向模块,具体设置为根据ACL规则中配置的动作为重定向到VPLS组播转发表,将抓取的MPLS报文重定向到VPLS组播转发表。
  10. 根据权利要求7所述的装置,其中,所述组播模块,具体设置为查找所述VPLS组播转发表的转发行为,查找出需要转发到至少一个下一跳,根据各组播转发表项中的出口标签为出口隧道的标签、标签动作为标签交换、签端口为出口端口,将所述MPLS报文组播转发到至少一个下一跳。
  11. 一种节点,该节点包括权利要求6至10任一项所述的装置。
PCT/CN2015/095995 2014-12-25 2015-11-30 多协议标签交换中间节点组播转发的方法、装置和节点 WO2016101770A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
RU2017122060A RU2706862C2 (ru) 2014-12-25 2015-11-30 Способ и устройство промежуточного узла многопротокольной коммутации по меткам (mpls) для выполнения многоадресной рассылки и его узел
EP15871839.5A EP3240245B1 (en) 2014-12-25 2015-11-30 Method and device for multicasting and forwarding multiple protocol label switching intermediate node, and node
US15/539,251 US10547620B2 (en) 2014-12-25 2015-11-30 Method and device for MPLS intermediate node to perform multicast forwarding, and node thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410820870.3 2014-12-25
CN201410820870.3A CN105791109B (zh) 2014-12-25 2014-12-25 多协议标签交换中间节点组播转发的方法、装置和节点

Publications (1)

Publication Number Publication Date
WO2016101770A1 true WO2016101770A1 (zh) 2016-06-30

Family

ID=56149214

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/095995 WO2016101770A1 (zh) 2014-12-25 2015-11-30 多协议标签交换中间节点组播转发的方法、装置和节点

Country Status (5)

Country Link
US (1) US10547620B2 (zh)
EP (1) EP3240245B1 (zh)
CN (1) CN105791109B (zh)
RU (1) RU2706862C2 (zh)
WO (1) WO2016101770A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107786497B (zh) * 2016-08-25 2020-04-14 华为技术有限公司 生成acl表的方法和装置
CN108093051B (zh) * 2017-12-20 2021-02-05 迈普通信技术股份有限公司 报文复制方法及装置
CN108234318B (zh) * 2018-03-20 2021-01-01 新华三技术有限公司 报文转发隧道的选取方法及装置
CN108683617B (zh) * 2018-04-28 2021-01-01 新华三技术有限公司 报文分流方法、装置及分流交换机
CN114039814B (zh) * 2021-11-30 2024-02-23 锐捷网络股份有限公司 一种报文转发方法、装置、电子设备及存储介质
CN116506379A (zh) * 2022-01-21 2023-07-28 华为技术有限公司 一种流量转发方法、报文发送方法、消息发送方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050027782A1 (en) * 2003-08-01 2005-02-03 Rajkumar Jalan Method for providing scalable multicast service in a virtual private LAN service
CN101626338A (zh) * 2009-08-03 2010-01-13 杭州华三通信技术有限公司 一种实现多虚拟专用网实例的方法和设备
CN102035729A (zh) * 2010-11-22 2011-04-27 杭州华三通信技术有限公司 一种组播数据转发方法及其装置
CN102075439A (zh) * 2011-02-22 2011-05-25 杭州华三通信技术有限公司 一种组播报文转发方法和路由设备

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8422500B2 (en) * 2004-07-02 2013-04-16 Rockstar Consortium Us Lp VLAN support of differentiated services
CN100474977C (zh) * 2005-01-12 2009-04-01 摩托罗拉公司 用于处理呼叫的方法和系统
US7769007B2 (en) * 2005-12-08 2010-08-03 Electronics And Telecommunications Research Institute Method of providing multicast services in virtual private LAN
US7853687B2 (en) * 2007-03-05 2010-12-14 Alcatel Lucent Access control list generation and validation tool
US8285281B2 (en) * 2007-10-29 2012-10-09 Qualcomm Incorporated Methods and apparatus for self configuring network relations
GB2462060B (en) * 2008-07-12 2012-05-16 Broadcom Corp Fast emulation of MAC table flushing for elan unicasts
US9680750B2 (en) * 2010-07-06 2017-06-13 Nicira, Inc. Use of tunnels to hide network addresses
CN102035740B (zh) * 2010-12-17 2015-09-16 中兴通讯股份有限公司 多协议标签交换三层私有虚拟网快速重路由方法及系统
US8559433B2 (en) * 2011-01-07 2013-10-15 Jeda Networks, Inc. Methods, systems and apparatus for the servicing of fibre channel fabric login frames
CN102215172B (zh) * 2011-06-21 2017-08-11 中兴通讯股份有限公司 一种实现跨虚拟专用局域网组播的方法和系统
US8929254B2 (en) * 2012-10-30 2015-01-06 Ciena Corporation Systems and methods for constrained forwarding based packet network connectivity
CN103780484B (zh) * 2014-01-26 2017-01-11 杭州华三通信技术有限公司 一种报文转发方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050027782A1 (en) * 2003-08-01 2005-02-03 Rajkumar Jalan Method for providing scalable multicast service in a virtual private LAN service
CN101626338A (zh) * 2009-08-03 2010-01-13 杭州华三通信技术有限公司 一种实现多虚拟专用网实例的方法和设备
CN102035729A (zh) * 2010-11-22 2011-04-27 杭州华三通信技术有限公司 一种组播数据转发方法及其装置
CN102075439A (zh) * 2011-02-22 2011-05-25 杭州华三通信技术有限公司 一种组播报文转发方法和路由设备

Also Published As

Publication number Publication date
CN105791109B (zh) 2020-03-10
US20180332045A1 (en) 2018-11-15
CN105791109A (zh) 2016-07-20
EP3240245B1 (en) 2019-10-30
RU2017122060A (ru) 2019-01-25
RU2706862C2 (ru) 2019-11-21
EP3240245A1 (en) 2017-11-01
US10547620B2 (en) 2020-01-28
EP3240245A4 (en) 2018-01-10
RU2017122060A3 (zh) 2019-05-31

Similar Documents

Publication Publication Date Title
WO2016101770A1 (zh) 多协议标签交换中间节点组播转发的方法、装置和节点
US9794180B2 (en) Reducing transient packet duplication and improving split-horizon filtering
JP5927352B2 (ja) Mplsベースの仮想プライベートクラウドネットワーキングのためのipマルチキャストサービス退去処理
US8537816B2 (en) Multicast VPN support for IP-VPN lite
US8958423B2 (en) Implementing a multicast virtual private network by using multicast resource reservation protocol-traffic engineering
US10218604B2 (en) Engines to prune overlay network traffic
EP2997702B1 (en) Compressing singly linked lists sharing common nodes for multi-destination group expansion
CN102148745B (zh) 提高虚拟专用局域网业务网络转发效率的方法和系统
US9838210B1 (en) Robust control plane assert for protocol independent multicast (PIM)
US20140241352A1 (en) Dynamic adjustment of mldp tunnel and pim binding
US20140241351A1 (en) Dynamic determination of the root node of an mldp tunnel
EP3022876B1 (en) Bridging based upon media access control address
CN103795630A (zh) 一种标签交换网络的报文传输方法和装置
CN101621477A (zh) 一种一对多端口镜像的方法和装置
CN104092554A (zh) 组播分发树建立方法及装置
WO2018010566A1 (zh) 信息的通告方法、转发条目的生成方法及装置
Hartpence Packet Guide to Routing and Switching: Exploring the Network Layer
WO2018010568A1 (zh) 信息的通告方法、转发条目的生成方法及装置
US11323279B1 (en) Internet group management protocol host mobility in ethernet virtual private network multicast networks
EP3297229B1 (en) User multicast routing method and apparatus, and edge device
WO2012139448A1 (zh) 一种生成组播转发表、组播传输的方法及装置
ATE495613T1 (de) Verfahren zum routen von dienstnachrichten
CN103532862A (zh) 分层虚拟专用局域网服务网络中实现多播的方法及装置
US10075369B2 (en) Systems and methods for improved switch performance by preventing flooding
GB2513977A (en) In-band management using L2 addresses over B-vlan in an SPBM network

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: 15871839

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 15539251

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2015871839

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2017122060

Country of ref document: RU

Kind code of ref document: A