WO2018054335A1 - Method and device for implementing layers two and three service bridging and ptn equipment - Google Patents

Method and device for implementing layers two and three service bridging and ptn equipment Download PDF

Info

Publication number
WO2018054335A1
WO2018054335A1 PCT/CN2017/102776 CN2017102776W WO2018054335A1 WO 2018054335 A1 WO2018054335 A1 WO 2018054335A1 CN 2017102776 W CN2017102776 W CN 2017102776W WO 2018054335 A1 WO2018054335 A1 WO 2018054335A1
Authority
WO
WIPO (PCT)
Prior art keywords
port
layer
service
ports
virtual
Prior art date
Application number
PCT/CN2017/102776
Other languages
French (fr)
Chinese (zh)
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 中兴通讯股份有限公司
Publication of WO2018054335A1 publication Critical patent/WO2018054335A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/0816Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
    • 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
    • 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
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • H04L49/354Switches specially adapted for specific applications for supporting virtual local area networks [VLAN]

Abstract

Provided in the present disclosure are a method and device for implementing layers two and three service bridging and PTN equipment, for use in implementing layers two and three service bridging for the equipment. The device comprises: a bridged port creation module, configured as to search for idle ports of equipment and to select a predetermined number of idle ports from the idle ports found to form bridged ports; a layers two and three service configuration module, configured as to configure a layer two virtual private network (L2VPN) service on the basis of the bridged ports and of a layer two service port, and to configure a layer three virtual private network (L3VPN) service on the basis of the bridged ports and of a layer three service port; and a layers two and three service bridging module, configured as to loop back the bridged ports, thus forming layers two and three service bridging. In the present disclosure, the method and device for implementing layers two and three service bridging and the PTN equipment utilize idling ports of the equipment to implement layers two and three service bridging, the idle ports of original equipment are used when bridging, thus increasing equipment utilization rate.

Description

实现二三层业务桥接的方法、装置及PTN设备Method, device and PTN device for realizing bridging of Layer 2 and Layer 3 services 技术领域Technical field
本申请涉及通信领域,例如涉及一种实现二三层业务桥接的方法、装置及分组传送网(Packet Transport Network,PTN)设备。The present application relates to the field of communications, for example, to a method, an apparatus, and a Packet Transport Network (PTN) device for implementing Layer 2 and Layer 3 service bridging.
背景技术Background technique
长期演进(Long Term Evolution,LTE)时代,演进型基站(evolved Node B,eNB)与基站控制器整合,网络逐渐扁平化。PTN网络引入了三层转发功能,从而将业务的端到端配置分成了二层和三层两部分。为了使网络更加灵活、高效成,二三层桥接技术成为LTE承载的关键技术。In the era of Long Term Evolution (LTE), an evolved Node B (eNB) is integrated with a base station controller, and the network is gradually flattened. The PTN network introduces a Layer 3 forwarding function, which divides the end-to-end configuration of services into two layers and two layers. In order to make the network more flexible and efficient, the Layer 2 and Layer 3 bridging technologies become the key technologies for LTE bearers.
二三层桥接技术需要具有L2虚拟专用网络(L2Virtual Private Network,L2VPN)接入L3虚拟专用网络(L3Virtual Private Network,L3VPN)的功能,也就是在同一网元节点设备上对于一条业务数据流完成L2VPN(又称二层业务)的终结和L3VPN(又称三层业务)的接入(或L3VPN的终结和L2VPN的接入)。The Layer 2 and Layer 3 bridging technology needs to have the L2 Virtual Private Network (L2VPN) to access the L3 Virtual Private Network (L3VPN), that is, L2VPN is completed for one service data stream on the same NE node device. (also known as Layer 2 services) termination and L3VPN (also known as Layer 3 services) access (or L3VPN termination and L2VPN access).
相关PTN设备的交换芯片无法在一次报文转发流程中完成L2VPN终结和L3VPN封装(或者L3VPN终结和L2VPN封装),导致这类设备无法实现二三层桥接技术。The switching chip of the related PTN device cannot complete the L2VPN termination and the L3VPN encapsulation (or the L3VPN termination and the L2VPN encapsulation) in a packet forwarding process, and the device cannot implement the Layer 2 and Layer 3 bridging technologies.
发明内容Summary of the invention
为了克服上述相关技术的缺陷,本公开提供了一种实现二三层业务桥接的方法、装置及PTN设备,用以实现设备的二三层业务桥接。In order to overcome the deficiencies of the related art, the present disclosure provides a method, a device, and a PTN device for implementing a Layer 2 and Layer 3 service bridging, which are used to implement Layer 2 and Layer 3 service bridging of the device.
为解决上述技术问题,本公开中的一种实现二三层业务桥接的装置,所述装置包括:In order to solve the above technical problem, an apparatus for implementing a two-three-layer service bridging in the disclosure, the apparatus includes:
桥接端口创建模块,被配置为查找设备的空闲端口,在查找到的空闲端口中选取预定数量的空闲端口形成桥接端口;a bridge port creation module configured to find a free port of the device, and select a predetermined number of free ports to form a bridge port among the found idle ports;
二三层业务配置模块,被配置为依据所述桥接端口与二层业务端口进行二 层虚拟专用网络L2VPN业务的配置,以及选择所述桥接端口与三层业务端口进行三层虚拟专用网络L3VPN业务的配置;The Layer 2 and Layer 3 service configuration module is configured to perform two according to the bridge port and the Layer 2 service port. The configuration of the Layer 2 virtual private network L2VPN service, and the configuration of the Layer 3 virtual private network L3VPN service by selecting the bridge port and the Layer 3 service port;
二三层业务桥接模块,被配置为进行所述桥接端口的环回,形成二三层业务桥接。The Layer 2 and Layer 3 service bridging module is configured to perform loopback of the bridging port to form a Layer 2 and Layer 3 service bridging.
作为本公开的装置的改进,所述桥接端口创建模块,还被配置为根据二三层业务桥接的带宽要求,设置所述预定数量。As an improvement to the apparatus of the present disclosure, the bridge port creation module is further configured to set the predetermined number according to a bandwidth requirement of a Layer 2 and Layer 3 service bridge.
作为本公开的装置的另一种改进,所述桥接端口创建模块包括虚拟端口组创建子模块、成员端口数量设置子模块、端口遍历子模块和桥接端口选择子模块;As another improvement of the apparatus of the present disclosure, the bridge port creation module includes a virtual port group creation submodule, a member port number setting submodule, a port traversal submodule, and a bridge port selection submodule;
所述虚拟端口组创建子模块,被配置为创建虚拟端口组形成所述桥接端口;The virtual port group creation submodule is configured to create a virtual port group to form the bridge port;
所述成员端口数量设置子模块,被配置为将所述虚拟端口组的成员端口数量设置为所述预定数量;The member port number setting submodule is configured to set a number of member ports of the virtual port group to the predetermined number;
所述端口遍历子模块,被配置为遍历所述设备的交换芯片端口,查找所述空闲端口;The port traversal submodule is configured to traverse a switch chip port of the device to find the idle port;
所述桥接端口选择子模块,被配置为根据所述成员端口数量,在查找到的所述空闲端口中选取空闲端口加入所述虚拟端口组中作为成员端口。The bridge port selection sub-module is configured to select an idle port to join the virtual port group as a member port in the discovered idle port according to the number of the member ports.
作为本公开的装置的改进,所述桥接端口选择子模块,可以被配置为当查找到的所述空闲端口的数量小于或等于所述成员端口数量时,将查找到的所有空闲端口加入所述虚拟端口组中作为成员端口;As a modification of the apparatus of the present disclosure, the bridge port selection submodule may be configured to add all the idle ports found to the said when the number of the discovered free ports is less than or equal to the number of the member ports. As a member port in the virtual port group;
当查找到的所述空闲端口的数量大于所述成员端口数量时,在查找到的空闲端口中选取相应数量的空闲端口加入所述虚拟端口组中作为成员端口,其中,所述相应数量与所述成员端口数量一致。When the number of the idle ports that are found is greater than the number of the member ports, select a corresponding number of free ports in the found idle ports to join the virtual port group as member ports, where the corresponding quantity and location are The number of member ports is the same.
作为本公开的装置的改进,所述桥接端口选择子模块,还被配置为监测所述设备交换芯片端口的状态变化,当空闲端口数量减少,并且减少的空闲端口为成员端口时,从所述虚拟端口组中移除所述减少的空闲端口;As a modification of the apparatus of the present disclosure, the bridge port selection sub-module is further configured to monitor a state change of the device switch chip port, when the number of idle ports is reduced, and the reduced idle port is a member port, from the Removing the reduced idle port from the virtual port group;
当空闲端口数量增加时,确定所述虚拟端口组中现有成员端口的数量与设置的所述成员端口数量的差值,在所述差值大于0时,若增加的空闲端口数量小于或等于所述差值,将所有增加的空闲端口加入所述虚拟端口组中作为成员 端口;若增加的空闲端口数量大于所述差值,在增加的空闲端口中选取所述差值的空闲端口加入所述虚拟端口组中作为成员端口。When the number of the free port is increased, the difference between the number of the existing member ports in the virtual port group and the number of the member ports is determined. If the difference is greater than 0, the number of the added free ports is less than or equal to The difference, adding all the added idle ports to the virtual port group as members If the number of the added idle ports is greater than the difference, the idle port that selects the difference in the added idle port joins the virtual port group as a member port.
作为本公开的装置的又一种改进,所述二三层业务配置模块包括虚拟局域网VLAN处理模块、二层业务配置模块和三层业务配置模块;As a further improvement of the apparatus of the present disclosure, the Layer 2 and Layer 3 service configuration module includes a virtual local area network VLAN processing module, a Layer 2 service configuration module, and a Layer 3 service configuration module;
所述虚拟局域网VLAN处理模块,被配置为对所述二层虚拟专用网络L2VPN业务和所述三层虚拟专用网络L3VPN业务分配不同的虚拟局域网;The virtual local area network (VLAN) VLAN processing module is configured to allocate different virtual local area networks to the Layer 2 virtual private network L2VPN service and the Layer 3 virtual private network L3VPN service;
所述二层业务配置模块,被配置为将所述桥接端口作为所述二层虚拟专用网络L2VPN业务的用户网络接口,将所述二层业务端口作为所述二层虚拟专用网络L2VPN业务的网络节点接口,进行所述二层虚拟专用网络L2VPN业务的配置;The Layer 2 service configuration module is configured to use the bridge port as a user network interface of the Layer 2 virtual private network L2VPN service, and use the Layer 2 service port as the network of the Layer 2 virtual private network L2VPN service. a node interface, configured to perform the L2VPN service of the Layer 2 virtual private network;
所述三层业务配置模块,被配置为将所述桥接端口作为所述三层虚拟专用网络L3VPN业务的用户网络接口,将所述三层业务端口作为所述三层虚拟专用网络L3VPN业务的网络节点接口,进行所述三层虚拟专用网络L3VPN业务的配置。The Layer 3 service configuration module is configured to use the bridge port as a user network interface of the Layer 3 virtual private network L3VPN service, and use the Layer 3 service port as a network of the Layer 3 virtual private network L3VPN service. The node interface performs configuration of the L3VPN service of the three-layer virtual private network.
为解决上述技术问题,本公开中的一种PTN设备,所述设备包括如上任意所述实现二三层桥接的装置。In order to solve the above technical problem, a PTN device in the present disclosure includes the device for implementing two or three layers of bridging as described above.
为解决上述技术问题,本公开中的一种实现二三层业务桥接的方法,所述方法包括以下步骤:To solve the above technical problem, a method for implementing a two-layer and three-layer service bridging in the disclosure, the method includes the following steps:
查找设备的空闲端口,在查找到的空闲端口中选取预定数量的空闲端口形成桥接端口;Finding a free port of the device, selecting a predetermined number of free ports from the found idle ports to form a bridge port;
依据所述桥接端口与二层业务端口进行二层虚拟专用网络L2VPN业务的配置,以及依据所述桥接端口与三层业务端口进行三层虚拟专用网络L3VPN业务的配置;Performing a configuration of a Layer 2 virtual private network L2VPN service according to the bridge port and a Layer 2 service port, and configuring a Layer 3 virtual private network L3VPN service according to the bridge port and the Layer 3 service port;
进行所述桥接端口的环回,形成二三层业务桥接。The loopback of the bridge port is performed to form a two-layer service bridging.
作为本公开的方法的改进,所述方法还包括:As an improvement of the method of the present disclosure, the method further includes:
根据二三层业务桥接的带宽要求,设置所述预定数量。The predetermined number is set according to the bandwidth requirement of the Layer 2 and Layer 3 service bridging.
作为本公开的方法的另一种改进,所述获取设备的空闲端口,在获取的空 闲端口中选取预定数量的空闲端口形成桥接端口的步骤,包括:As another improvement of the method of the present disclosure, the idle port of the acquiring device is acquired in the empty The step of selecting a predetermined number of free ports in the idle port to form a bridge port includes:
创建虚拟端口组形成所述桥接端口;Creating a virtual port group to form the bridge port;
将所述虚拟端口组的成员端口数量设置为所述预定数量;Setting the number of member ports of the virtual port group to the predetermined number;
遍历所述设备的交换芯片端口,查找所述空闲端口;Traversing the switch chip port of the device to find the free port;
根据所述成员端口数量,在查找到的所述空闲端口中选取空闲端口加入所述虚拟端口组中作为成员端口。And selecting, according to the number of the member ports, the idle port in the discovered idle port to join the virtual port group as a member port.
作为本公开的方法的改进,所述根据所述成员端口数量,在查找到的空闲端口中选取空闲端口加入所述虚拟端口组中作为成员端口的步骤,包括:As a modification of the method of the present disclosure, the step of selecting a free port to join the virtual port group as a member port in the found idle port according to the number of the member ports includes:
当查找到的所述空闲端口的数量小于或等于所述成员端口数量时,将查找到的所有空闲端口加入所述虚拟端口组中作为成员端口;When the number of the free ports that are found is less than or equal to the number of the member ports, all the idle ports that are found are added to the virtual port group as member ports;
当查找到的所述空闲端口的数量大于所述成员端口数量时,在查找到的空闲端口中选取相应数量的空闲端口加入所述虚拟端口组中作为成员端口,其中,所述相应数量与所述成员端口数量一致。When the number of the idle ports that are found is greater than the number of the member ports, select a corresponding number of free ports in the found idle ports to join the virtual port group as member ports, where the corresponding quantity and location are The number of member ports is the same.
作为本公开的方法的改进,所述根据所述成员端口数量,在查找到的空闲端口中选取空闲端口加入所述虚拟端口组中作为成员端口的步骤之后,还包括:As a modification of the method of the present disclosure, after the step of selecting a free port to join the virtual port group as a member port, the method further includes:
监测所述设备交换芯片端口的状态变化,当空闲端口数量减少,并且减少的空闲端口为成员端口时,从所述虚拟端口组中移除所述减少的空闲端口;Monitoring a state change of the switch chip port of the device, when the number of free ports is decreased, and the reduced free port is a member port, removing the reduced idle port from the virtual port group;
当空闲端口数量增加时,确定所述虚拟端口组中现有成员端口的数量与设置的所述成员端口数量的差值,在所述差值大于0时,若增加的空闲端口数量小于或等于所述差值,将所有增加的空闲端口加入所述虚拟端口组中作为成员端口;若增加的空闲端口数量大于所述差值,在增加的空闲端口中选取所述差值的空闲端口加入所述虚拟端口组中作为成员端口。When the number of the free port is increased, the difference between the number of the existing member ports in the virtual port group and the number of the member ports is determined. If the difference is greater than 0, the number of the added free ports is less than or equal to The difference value is that all the added idle ports are added to the virtual port group as member ports; if the increased number of free ports is greater than the difference, the idle ports that select the difference are added to the added idle ports. As a member port in the virtual port group.
作为本公开的方法的又一种改进,所述依据所述桥接端口与二层业务端口进行二层虚拟专用网络L2VPN业务的配置,以及依据所述桥接端口与三层业务端口进行三层虚拟专用网络L3VPN业务的配置的步骤,包括:As a further improvement of the method of the present disclosure, the configuration of the Layer 2 virtual private network L2VPN service is performed according to the bridge port and the Layer 2 service port, and the Layer 3 virtual private is performed according to the bridge port and the Layer 3 service port. The steps of configuring the network L3VPN service include:
对所述二层虚拟专用网络L2VPN业务和所述三层虚拟专用网络L3VPN业务分配不同的虚拟局域网; Allocating different virtual local area networks to the Layer 2 virtual private network L2VPN service and the Layer 3 virtual private network L3VPN service;
将所述桥接端口作为所述二层虚拟专用网络L2VPN业务的用户网络接口,将所述二层业务端口作为所述二层虚拟专用网络L2VPN业务的网络节点接口,进行所述二层虚拟专用网络L2VPN业务的配置;The bridge port is used as the user network interface of the L2VPN service of the Layer 2 virtual private network, and the Layer 2 service port is used as the network node interface of the L2VPN service of the Layer 2 virtual private network, and the Layer 2 virtual private network is performed. Configuration of the L2VPN service;
将所述桥接端口作为所述三层虚拟专用网络L3VPN业务的用户网络接口,将所述三层业务端口作为所述三层虚拟专用网络L3VPN业务的网络节点接口,进行所述三层虚拟专用网络L3VPN业务的配置。The bridge port is used as a user network interface of the L3VPN service of the Layer 3 virtual private network, and the Layer 3 service port is used as a network node interface of the Layer 3 virtual private network L3VPN service, and the Layer 3 virtual private network is performed. Configuration of the L3VPN service.
本公开实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述方法。Embodiments of the present disclosure also provide a computer readable storage medium storing computer executable instructions arranged to perform the above method.
本公开实施例还提供了一种电子设备,包括:An embodiment of the present disclosure further provides an electronic device, including:
至少一个处理器;以及At least one processor;
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行上述的方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the method described above.
本公开中实现二三层业务桥接的方法、装置及PTN设备,利用设备空闲端口实现二三层桥接,不再需要重新开发新的设备来提供二三层桥接功能,并且使用的是原设备的空闲端口,提高了设备利用率。The method, the device and the PTN device for implementing the bridging of the Layer 2 and Layer 3 services in the present disclosure use the idle port of the device to implement the Layer 2 and Layer 3 bridging, and no need to redevelop the new device to provide the Layer 2 and Layer 3 bridging functions, and the original device is used. Free ports improve device utilization.
附图概述BRIEF abstract
图1是本公开实施例中一种实现二三层业务桥接的装置的结构示意图;1 is a schematic structural diagram of an apparatus for implementing bridging of Layer 2 and Layer 3 services according to an embodiment of the present disclosure;
图2是本公开实施例中实现二三层业务桥接的装置的业务转发示意图;2 is a schematic diagram of service forwarding of an apparatus for implementing Layer 2 and Layer 3 service bridging in an embodiment of the present disclosure;
图3是本公开实施例中桥接端口创建模块的动态推选成员端口的流程图;3 is a flow chart of a dynamically elected member port of a bridge port creation module in an embodiment of the present disclosure;
图4是本公开实施例中一种PTN设备的结构示意图;4 is a schematic structural diagram of a PTN device according to an embodiment of the present disclosure;
图5是本公开实施例中一种实现二三层业务桥接方法的流程图;以及FIG. 5 is a flowchart of a method for implementing a Layer 2 and Layer 3 service bridging according to an embodiment of the present disclosure;
图6是本公开实施例的电子设备的结构示意图。 FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
具体实施方式detailed description
为了实现设备的二三层桥接,本公开提供了一种实现二三层业务桥接的方法、装置及PTN设备,以下结合附图以及实施例,对本公开进行详细说明。应当理解,此处所描述的实施例仅用以解释本公开,并不限定本公开。The present disclosure provides a method, an apparatus, and a PTN device for implementing Layer 2 and Layer 3 service bridging. The present disclosure will be described in detail below with reference to the accompanying drawings and embodiments. It is to be understood that the embodiments described herein are merely illustrative of the disclosure and are not intended to be limiting.
如图1所示,本公开实施中一种实现二三层业务桥接的装置,所述装置包括:As shown in FIG. 1 , an apparatus for implementing two-three-layer service bridging in the implementation of the present disclosure includes:
桥接端口创建模块20,被配置为查找设备的空闲端口,在查找到的空闲端口中选取预定数量的空闲端口形成桥接端口;还可以被配置为设置好负载均衡模式,比如设置为根据源IP和目的IP进行负荷分担。The bridge port creation module 20 is configured to look up a free port of the device, select a predetermined number of free ports to form a bridge port among the found idle ports, and can also be configured to set a load balancing mode, such as setting according to the source IP and The destination IP performs load sharing.
二三层业务配置模块40,被配置为依据所述桥接端口与二层业务端口进行L2VPN业务的配置,以及依据所述桥接端口与三层业务端口进行L3VPN业务的配置。The Layer 2 and Layer 3 service configuration module 40 is configured to perform L2VPN service configuration according to the bridge port and the Layer 2 service port, and configure the L3VPN service according to the bridge port and the Layer 3 service port.
二三层业务桥接模块60,被配置为进行桥接端口的环回,形成二三层业务桥接。The Layer 2 and Layer 3 service bridging module 60 is configured to perform loopback of the bridge port to form a Layer 2 and Layer 3 service bridging.
如图2所示,本公开实施例通过使用PTN设备上的空闲端口,动态形成桥接端口,桥接端口分别与设备原有L2端口(即二层业务端口)形成L2VPN业务,与设备原有L3端口(即三层业务端口)形成L3VPN业务,再将桥接端口环回,通过两条业务数据流和环回来实现L2VPN终结和L3VPN封装(或者L3VPN终结和L2VPN封装),从而实现二三层桥接。As shown in FIG. 2, the embodiment of the present disclosure dynamically forms a bridge port by using an idle port on the PTN device, and the bridge port forms an L2VPN service with the original L2 port of the device, that is, a Layer 2 service port, and the original L3 port of the device. The L3VPN service is formed, and the bridge port is looped back. The L2VPN termination and L3VPN encapsulation (or L3VPN termination and L2VPN encapsulation) are implemented through two service data flows and loopbacks to implement Layer 2 and Layer 3 bridging.
采用本公开实施例中装置,可以在本不支持二三层桥接功能的设备上利用设备空闲端口实现二三层桥接,不再需要重新开发新的设备来提供二三层桥接功能,并且使用的是原设备的空闲端口,提高了原有设备利用率。With the device in the embodiment of the present disclosure, the device idle port can be used to implement Layer 2 and Layer 3 bridging on the device that does not support the Layer 2 and Layer 3 bridging functions, and the new device is no longer needed to provide the Layer 2 and Layer 3 bridging functions, and the It is an idle port of the original device, which improves the utilization of the original device.
在上述实施例的基础上,可以提出上述实施例的变型实施例。为了使描述简要,在各变型实施例中仅描述与上述实施例的不同之处。On the basis of the above embodiments, a modified embodiment of the above embodiment can be proposed. In order to make the description brief, only the differences from the above embodiments will be described in the respective modified embodiments.
在本公开的一个实施方式中,所述桥接端口创建模块,还被配置为根据二三层业务桥接的带宽要求,设置所述预定数量。In an embodiment of the present disclosure, the bridge port creation module is further configured to set the predetermined number according to a bandwidth requirement of a Layer 2 and Layer 3 service bridge.
本公开实施例方式中桥接端口使用的是设备空闲端口形成的大带宽TRUNK组(即VE-group,虚拟端口组),能承载更多的二三层桥接业务。 In the embodiment of the present disclosure, the bridge port uses a large bandwidth TRUNK group (ie, a VE-group, a virtual port group) formed by the idle port of the device, and can carry more Layer 2 and Layer 3 bridge services.
例如,若要求1G带宽,可以选择1个空闲端口作为成员端口;若要求2G带宽,可以选择2个空闲端口作为成员端口;若要求3G带宽,可以选择3个空闲端口作为成员端口;等等,以此类推。For example, if 1G bandwidth is required, you can select one free port as the member port. If 2G bandwidth is required, you can select two free ports as member ports. If 3G bandwidth is required, you can select three free ports as member ports. And so on.
所述桥接端口创建模块20可以包括虚拟端口组创建子模块、成员端口数量设置子模块、端口遍历子模块和桥接端口选择子模块;The bridge port creation module 20 may include a virtual port group creation submodule, a member port number setting submodule, a port traversal submodule, and a bridge port selection submodule;
所述虚拟端口组创建子模块,被配置为创建虚拟端口组形成桥接端口;The virtual port group creation submodule is configured to create a virtual port group to form a bridge port;
所述成员端口数量设置子模块,被配置为将所述虚拟端口组的成员端口数量设置为预定数量;The member port number setting submodule is configured to set a number of member ports of the virtual port group to a predetermined number;
所述端口遍历子模块,被配置为遍历所述设备的交换芯片端口,查找空闲端口;The port traversing sub-module configured to traverse the switch chip port of the device to find an idle port;
所述桥接端口选择子模块,被配置为根据所述成员端口数量,在查找到的空闲端口中选取空闲端口加入所述虚拟端口组中作为成员端口。The bridge port selection sub-module is configured to select an idle port to join the virtual port group as a member port in the found idle port according to the number of the member ports.
所述桥接端口选择子模块,可以被配置为若查找到的空闲端口数量小于或等于所述成员端口数量,将查找到的所有空闲端口加入所述虚拟端口组中作为成员端口;The bridge port selection sub-module may be configured to add all the idle ports that are found to the virtual port group as member ports if the number of the free ports that are found is less than or equal to the number of the member ports;
若查找到的空闲端口数量大于所述成员端口数量,在查找到的空闲端口中选取相应数量的空闲端口加入所述虚拟端口组中作为成员端口,其中相应数量与所述成员端口数量一致。If the number of the free ports is greater than the number of the member ports, the number of the free ports that are found is the number of the free ports that are added to the virtual port group, and the corresponding number is the same as the number of the member ports.
如图3所示:As shown in Figure 3:
步骤1,虚拟端口组创建子模块创建虚拟端口组作为桥接端口;成员端口数量设置子模块设置所述虚拟端口组的成员端口数量MAX;端口遍历子模块遍历所述设备的交换芯片端口,查找空闲端口;Step 1: The virtual port group creation sub-module creates a virtual port group as a bridge port; the member port number setting sub-module sets the number of member ports of the virtual port group MAX; the port traversal sub-module traverses the switch chip port of the device to find idle port;
步骤2,如果有空闲端口则转步骤3,如果遍历结束没有找到空闲端口,则推选失败,报错并结束。Step 2. If there is a free port, go to step 3. If the idle port is not found at the end of the traversal, the selection fails, the error is reported, and the process ends.
步骤3,将找到的空闲端口加入VE-group成员端口列表PORT_LIST,每加入一个端口,则++NUM。Step 3: Add the found free port to the VE-group member port list PORT_LIST, and add ++NUM for each port.
步骤4,判断PORT_LIST成员端口数目NUM是否已经等于MAX。若等于 MAX,执行步骤5;若不等于MAX,执行步骤1。In step 4, it is determined whether the number of PORT_LIST member ports NUM is already equal to MAX. If equal MAX, go to step 5. If it is not equal to MAX, go to step 1.
步骤5,将PORT_LIST列表中的端口加入VE-group中,推选成功然后结束。Step 5: Add the port in the PORT_LIST list to the VE-group, and the selection is successful and then the end.
在本公开的另一个实施方式中,所述桥接端口选择子模块,还被配置为监测所述设备的交换芯片端口的状态变化,当空闲端口数量减少,并且减少的空闲端口为成员端口时,从所述虚拟端口组中移除相应减少的空闲端口,并从查找到的空闲端口中继续选取空闲端口加入所述虚拟端口组中作为成员端口;其中,从查找到的空闲端口中继续选取空闲端口加入所述虚拟端口组中作为成员端口的步骤包括:判断查找到的空闲端口中是否还有不属于成员端口的空闲端口,若有不属于成员端口的空闲端口,从不属于成员端口的空闲端口中选取空闲端口加入所述虚拟端口组中作为成员端口;In another embodiment of the present disclosure, the bridge port selection sub-module is further configured to monitor a state change of a switch chip port of the device, when the number of free ports is reduced, and the reduced free port is a member port, Removing the corresponding reduced idle port from the virtual port group, and continuing to select the idle port from the found idle port to join the virtual port group as a member port; wherein, the idle port is continuously selected from the found idle port. The step of adding a port to the virtual port group as a member port includes: determining whether there is a free port that is not a member port in the found idle port, and if there is an idle port that does not belong to the member port, the idle port does not belong to the member port. Select a free port from the port to join the virtual port group as a member port.
当空闲端口数量增加时,确定所述虚拟端口组中现有成员端口的数量与设置的所述成员端口数量的差值,在所述差值大于0时,若增加的空闲端口数量小于或等于所述差值,将所有增加的空闲端口加入所述虚拟端口组中作为成员端口;若增加的空闲端口数量大于所述差值,在增加的空闲端口中选取所述差值的空闲端口加入所述虚拟端口组中作为成员端口。When the number of the free port is increased, the difference between the number of the existing member ports in the virtual port group and the number of the member ports is determined. If the difference is greater than 0, the number of the added free ports is less than or equal to The difference value is that all the added idle ports are added to the virtual port group as member ports; if the increased number of free ports is greater than the difference, the idle ports that select the difference are added to the added idle ports. As a member port in the virtual port group.
本实施方式通过监测设备交换芯片空闲端口状态发生变化:如果空闲端口减少,将对应的端口从VE-group中移除,此时VE-group的环回端口数目不足MAX个,那么遍历空闲端口列表,将剩余空闲端口加入VE-group中,直到VE-group成员端口满或者无剩余空闲端口为止;如果空闲端口增加,看VE-group是否有成员端口不足的情况,如果有成员端口不足的情况,则往VE-group中添加成员端口,直到VE-group成员端口满或者无剩余空闲端口为止。本实施方式有效保证桥接端口一直保持尽量大的带宽,便于承载更多的二三层桥接业务。In this embodiment, the status of the idle port of the switch chip is changed by the monitoring device: if the free port is reduced, the corresponding port is removed from the VE-group, and the number of loopback ports of the VE-group is less than MAX, then the idle port list is traversed. Add the remaining free ports to the VE-group until the VE-group member port is full or there are no free ports remaining. If the free port is increased, see if the VE-group has insufficient member ports. If there are insufficient member ports, Add a member port to the VE-group until the VE-group member port is full or there are no free ports remaining. This embodiment effectively ensures that the bridge port maintains the largest possible bandwidth and is convenient for carrying more Layer 2 and Layer 3 bridging services.
在本公开的又一个实施方式中,所述二三层业务配置模块60包括虚拟局域网VLAN处理模块、二层业务配置模块和三层业务配置模块;In a further embodiment of the present disclosure, the Layer 2 and Layer 3 service configuration module 60 includes a virtual local area network (VLAN) VLAN processing module, a Layer 2 service configuration module, and a Layer 3 service configuration module.
所述虚拟局域网VLAN处理模块,被配置为对所述L2VPN业务和所述L3VPN业务分配不同的虚拟局域网;The virtual local area network (VLAN) VLAN processing module is configured to allocate different virtual local area networks to the L2VPN service and the L3VPN service;
所述二层业务配置模块,被配置为将所述桥接端口作为L2VPN业务的用户网络接口(UNI),将二层业务端口作为L2VPN业务的网络节点接口(NNI),进行L2VPN业务的配置; The Layer 2 service configuration module is configured to use the bridge port as a user network interface (UNI) of the L2VPN service, and configure the Layer 2 service port as a network node interface (NNI) of the L2VPN service to configure the L2VPN service;
所述三层业务配置模块,被配置为将所述桥接端口作为L3VPN业务的用户网络接口(UNI),将三层业务端口作为L3VPN业务的网络节点接口(NNI),进行L3VPN业务的配置。The Layer 3 service configuration module is configured to use the bridge port as a user network interface (UNI) of the L3VPN service, and configure the Layer 3 service port as a network node interface (NNI) of the L3VPN service to configure the L3VPN service.
因为L2VPN业务和L3VPN业务使用同一个环回端口,从桥接端口收到的业务需要区分是走L2VPN还是走L3VPN,两者业务通过内控VLAN(Virtual Local Area Network,虚拟局域网)来进行区分,可通过VE-group ID号进行静态分配,如L2VPN的内控VLAN为VE-group ID,L3VPN的内控VLAN为VE-group ID+fixed-value。L2VPN终结后,用户报文的VLAN需要替换为L3VE的内控VLAN,环回后再走L3VPN,反之亦然。同时为了处理ARP报文上CPU,VE-group的成员端口需要加入L3VE对应的VLAN中。CPU端口在VE-Group创建的时候加入L3VE对应的VLAN中。所以VLAN处理模块负责分配L2VPN业务和L3VPN业务的内控VLAN,以区分同一环回端口收到两种报文时能区分是走L2VPN业务还是L3VPN业务。Because the L2VPN service and the L3VPN service use the same loopback port, the service received from the bridge port needs to be differentiated from the L2VPN or the L3VPN. The services are differentiated by the internal control VLAN (Virtual Local Area Network). The VE-group ID number is statically assigned. For example, the internal control VLAN of the L2VPN is the VE-group ID, and the internal control VLAN of the L3VPN is the VE-group ID+fixed-value. After the L2VPN is terminated, the VLAN of the user packet needs to be replaced with the internal control VLAN of the L3VE. After the loopback, the L3VPN is taken, and vice versa. The member port of the VE-group needs to be added to the VLAN corresponding to the L3VE. The CPU port is added to the VLAN corresponding to L3VE when the VE-Group is created. Therefore, the VLAN processing module is responsible for allocating the L2VPN service and the L3VPN service internal control VLAN to distinguish whether the same loopback port can receive the L2VPN service or the L3VPN service when receiving two types of packets.
在本公开实施例的装置中虚拟端口组创建子模块负责创建桥接用的TRUNK组(又称为VE-group),使用VE-group作为桥接环回端口,将设备空闲端口动态的加入到VE-group中,是为了扩大端口带宽,承载更多的二三层业务;桥接端口选择子模块负责动态推选设备交换芯片空闲端口,添加到VE-group中;VLAN处理模块负责分配L2VPN业务和L3VPN业务的内控VLAN,以区分同一环回端口收到两种报文时能区分是走L2VPN业务还是L3VPN业务;二层业务配置模块负责创建L2VPN业务,三层业务配置模块负责创建L3VPN业务;二三层业务桥接模块负责将桥接端口环回,从而形成二三层业务桥接。In the device of the embodiment of the present disclosure, the virtual port group creation sub-module is responsible for creating a trunking TRUNK group (also referred to as a VE-group), using the VE-group as a bridge loopback port, and dynamically adding the device idle port to the VE- In the group, the port bandwidth is extended to carry more Layer 2 and Layer 3 services; the bridge port selection sub-module is responsible for dynamically selecting the device switch chip idle port and adding it to the VE-group; the VLAN processing module is responsible for allocating the L2VPN service and the L3VPN service. The internal control VLAN is used to distinguish between the L2VPN service and the L3VPN service when the two types of packets are received on the same loopback port. The Layer 2 service configuration module is responsible for creating the L2VPN service, and the Layer 3 service configuration module is responsible for creating the L3VPN service. The bridging module is responsible for looping back the bridge port to form a Layer 2 and Layer 3 service bridge.
如图4所示,本公开实施例中一种PTN设备,该设备包括上述实施例任意一项实施方式的实现二三层桥接的装置。As shown in FIG. 4, a PTN device in the embodiment of the present disclosure includes the device for implementing two-three-layer bridging according to any one of the foregoing embodiments.
如图5所示,本公开实施例中一种实现二三层业务桥接的方法,所述方法包括以下步骤:As shown in FIG. 5, a method for implementing Layer 2 and Layer 3 service bridging in an embodiment of the present disclosure includes the following steps:
S501,查找设备的空闲端口,在查找到的空闲端口中选取预定数量的空闲端口形成桥接端口;S501. Search for an idle port of the device, and select a predetermined number of free ports in the found idle port to form a bridge port.
S502,依据所述桥接端口与二层业务端口进行L2VPN业务的配置,以及依据所述桥接端口与三层业务端口进行L3VPN业务的配置; S502. Configure the L2VPN service according to the bridge port and the Layer 2 service port, and configure the L3VPN service according to the bridge port and the Layer 3 service port.
S503,进行桥接端口的环回,形成二三层业务桥接。S503: Perform loopback of the bridge port to form a Layer 2 and Layer 3 service bridge.
可选地,所述方法还可以包括:根据二三层业务桥接的带宽要求,设置所述预定数量。Optionally, the method may further include: setting the predetermined quantity according to a bandwidth requirement of the Layer 2 and Layer 3 service bridging.
所述获取设备的空闲端口,在获取的空闲端口中选取预定数量的空闲端口形成桥接端口的步骤,可以包括:The step of acquiring the idle port of the device and selecting a predetermined number of free ports to form a bridge port in the obtained idle port may include:
创建虚拟端口组形成桥接端口;Create a virtual port group to form a bridge port;
将所述虚拟端口组的成员端口数量设置为所述预定数量;Setting the number of member ports of the virtual port group to the predetermined number;
遍历所述设备的交换芯片端口,查找空闲端口;Traversing the switch chip port of the device to find a free port;
根据所述成员端口数量,在查找到的空闲端口中选取空闲端口加入所述虚拟端口组中作为成员端口。According to the number of the member ports, the idle port is selected as the member port in the virtual port group.
本实施方式实现了,在PTN设备上创建用于二三层桥接的TRUNK组(VE-group),设置好负载均衡模式,比如设置为根据源IP和目的IP进行负荷分担。遍历设备交换芯片空闲端口,将空闲端口添加到VE-group中,形成大带宽的桥接端口。In this embodiment, a RUN-group (VE-group) for Layer 2 and Layer 3 bridging is created on the PTN device, and a load balancing mode is set, for example, load balancing is performed according to the source IP address and the destination IP address. The device switch chip idle port is traversed, and the free port is added to the VE-group to form a bridge port with a large bandwidth.
可选地,所述在查找到的空闲端口中选取相应数量的空闲端口加入所述虚拟端口组中作为成员端口的步骤,包括:Optionally, the step of selecting a corresponding number of free ports to join the virtual port group as a member port in the found idle ports includes:
若查找到的空闲端口数量小于或等于所述成员端口数量,将查找到的所有空闲端口加入所述虚拟端口组中作为成员端口;If the number of the free ports is less than or equal to the number of the member ports, all the idle ports that are found are added to the virtual port group as member ports.
若查找到的空闲端口数量大于所述成员端口数量,在查找到的空闲端口中选取相应数量的空闲端口加入所述虚拟端口组中作为成员端口,其中相应数量与所述成员端口数量一致。If the number of the free ports is greater than the number of the member ports, the number of the free ports that are found is the number of the free ports that are added to the virtual port group, and the corresponding number is the same as the number of the member ports.
所述在查找到的空闲端口中选取相应数量的空闲端口加入所述虚拟端口组中作为成员端口的步骤之后,还可以包括:After the step of selecting a corresponding number of free ports to join the virtual port group as a member port, the method further includes:
监测所述设备的交换芯片端口的状态变化,当空闲端口数量减少,并且减少的空闲端口为成员端口时,从所述虚拟端口组中移除相应减少的空闲端口,并从查找到的空闲端口中继续选取空闲端口加入所述虚拟端口组中作为成员端口;其中,从查找到的空闲端口中继续选取空闲端口加入所述虚拟端口组中作 为成员端口的步骤包括:判断查找到的空闲端口中是否还有不属于成员端口的空闲端口,若有不属于成员端口的空闲端口,从不属于成员端口的空闲端口中选取空闲端口加入所述虚拟端口组中作为成员端口;Monitoring a state change of a switch chip port of the device, when the number of free ports is reduced, and the reduced free port is a member port, removing the corresponding reduced idle port from the virtual port group, and finding the free port from And continue to select the idle port to join the virtual port group as a member port; wherein, the idle port is continuously selected from the found idle port to join the virtual port group. The step of the member port includes: determining whether there are any free ports that are not part of the member port, and if there are free ports that are not member ports, the idle port is selected from the idle ports that are not member ports. As a member port in the virtual port group;
当空闲端口数量增加时,确定所述虚拟端口组中现有成员端口的数量与设置的所述成员端口数量的差值,在所述差值大于0时,若增加的空闲端口数量小于或等于所述差值,将所有增加的空闲端口加入所述虚拟端口组中作为成员端口;若增加的空闲端口数量大于所述差值,在增加的空闲端口中选取所述差值的空闲端口加入所述虚拟端口组中作为成员端口。When the number of the free port is increased, the difference between the number of the existing member ports in the virtual port group and the number of the member ports is determined. If the difference is greater than 0, the number of the added free ports is less than or equal to The difference value is that all the added idle ports are added to the virtual port group as member ports; if the increased number of free ports is greater than the difference, the idle ports that select the difference are added to the added idle ports. As a member port in the virtual port group.
可选地,所述依据所述桥接端口与二层业务端口进行L2VPN业务的配置,以及选择所述桥接端口与三层业务端口进行L3VPN业务的配置的步骤,包括:Optionally, the step of performing the configuration of the L2VPN service according to the bridging port and the Layer 2 service port, and the step of selecting the configuration of the L3VPN service by using the bridge port and the Layer 3 service port, including:
对所述L2VPN业务和所述L3VPN业务分配不同的虚拟局域网;Allocating different virtual local area networks to the L2VPN service and the L3VPN service;
将所述桥接端口作为L2VPN业务的用户网络接口,将二层业务端口作为L2VPN业务的网络节点接口,进行L2VPN业务的配置;The bridge port is used as the user network interface of the L2VPN service, and the Layer 2 service port is used as the network node interface of the L2VPN service to configure the L2VPN service.
将所述桥接端口作为L3VPN业务的用户网络接口,将三层业务端口作为L3VPN业务的网络节点接口,进行L3VPN业务的配置。The bridge port is used as the user network interface of the L3VPN service, and the Layer 3 service port is used as the network node interface of the L3VPN service to configure the L3VPN service.
因L2VPN业务和L3VPN业务使用同一个环回端口,从桥接端口收到的业务需要区分是走L2VPN还是走L3VPN,两者业务通过内控vlan来进行区分,从而进行端口和业务的VLAN处理。可通过VE-group ID号进行静态分配,如L2VPN的内控vlan为VE-group ID,L3VPN的内控vlan为VE-group ID+fixed-value。L2VPN终结后,用户报文的VLAN需要替换为L3VE的内控VLAN,环回后再走L3VPN,反之亦然。为了处理ARP报文上CPU,VE-group的成员端口需要加入L3VE对应的VLAN中。CPU端口在VE-Group创建的时候加入L3VE对应的VLAN中。Because the L2VPN service and the L3VPN service use the same loopback port, the service received from the bridge port needs to be differentiated from the L2VPN or the L3VPN. The services are differentiated by the internal control VLAN to perform VLAN processing on the port and service. The VE-group ID number can be statically assigned. For example, the internal control vlan of the L2VPN is the VE-group ID, and the internal control vlan of the L3VPN is the VE-group ID+fixed-value. After the L2VPN is terminated, the VLAN of the user packet needs to be replaced with the internal control VLAN of the L3VE. After the loopback, the L3VPN is taken, and vice versa. To process the CPU on the ARP packet, the member port of the VE-group needs to be added to the VLAN corresponding to the L3VE. The CPU port is added to the VLAN corresponding to L3VE when the VE-Group is created.
举一可选的应用例描述本公开中实施例方法。所述应用例包括:An alternative application example is described to describe the method of the embodiments of the present disclosure. The application examples include:
步骤1、在PTN设备上创建用于二三层桥接的TRUNK组(VE-group),设置好负载均衡模式,比如设置为根据源IP和目的IP进行负荷分担。Step 1: Create a RUN-group (VE-group) for the Layer 2 and Layer 3 bridges on the PTN. Set the load balancing mode. For example, set the load balancing based on the source IP address and destination IP address.
步骤2、遍历设备交换芯片空闲端口,将空闲端口添加到VE-group中,形成大带宽的桥接端口。 Step 2: Traverse the device switch chip idle port, add the idle port to the VE-group, and form a bridge port with a large bandwidth.
步骤3、进行端口和业务的VLAN处理。Step 3. Perform VLAN processing on the port and service.
步骤4、使用桥接端口作为接入端口配置L2VPN业务,选择桥接端口作为UNI口,原有的二层业务端口为NNI口,配置L2VPN业务。Step 4: Configure the L2VPN service by using the bridge port as the access port, and select the bridge port as the UNI port. The original Layer 2 service port is the NNI port and the L2VPN service is configured.
步骤5、使用桥接端口作为接入端口配置L3VPN业务,选择桥接端口作为UNI口,原有的三层业务端口为NNI口,配置L3VPN业务。Step 5: Configure the L3VPN service by using the bridge port as the access port, and select the bridge port as the UNI port. The original Layer 3 service port is the NNI port and the L3VPN service is configured.
步骤6、进行桥接端口环回,形成二三层桥接。Step 6. Perform loopback of the bridge port to form two or three layers of bridges.
本公开实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述任一实施例中的方法。Embodiments of the present disclosure also provide a computer readable storage medium storing computer executable instructions arranged to perform the method of any of the above embodiments.
所述计算机可读存储介质可以是暂态计算机可读存储介质,也可以是非暂态计算机可读存储介质。The computer readable storage medium may be a transitory computer readable storage medium or a non-transitory computer readable storage medium.
本公开实施例还提供了一种电子设备的结构示意图。参见图6,该电子设备包括:The embodiment of the present disclosure further provides a schematic structural diagram of an electronic device. Referring to FIG. 6, the electronic device includes:
至少一个处理器(processor)60,图6中以一个处理器60为例;和存储器(memory)61,还可以包括通信接口(Communications Interface)62和总线63。其中,处理器60、通信接口62、存储器61可以通过总线63完成相互间的通信。通信接口62可以用于信息传输。处理器60可以调用存储器61中的逻辑指令,以执行上述实施例的方法。At least one processor 60, which is exemplified by a processor 60 in FIG. 6; and a memory 61, may further include a communication interface 62 and a bus 63. The processor 60, the communication interface 62, and the memory 61 can complete communication with each other through the bus 63. Communication interface 62 can be used for information transfer. Processor 60 may invoke logic instructions in memory 61 to perform the methods of the above-described embodiments.
此外,上述的存储器61中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。Furthermore, the logic instructions in the memory 61 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium.
存储器61作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令/模块。处理器60通过运行存储在存储器61中的软件程序、指令以及模块,从而执行功能应用以及数据处理,即执行上述方法实施例中的实现二三层业务桥接的方法。 The memory 61 is used as a computer readable storage medium for storing software programs, computer executable programs, and program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 60 executes the function application and the data processing by executing the software program, the instruction and the module stored in the memory 61, that is, the method for implementing the two-three-layer service bridging in the foregoing method embodiment.
存储器61可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器61可以包括高速随机存取存储器,还可以包括非易失性存储器。The memory 61 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the terminal device, and the like. Further, the memory 61 may include a high speed random access memory, and may also include a nonvolatile memory.
本公开实施例的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括一个或多个指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product stored in a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, or a network) The device or the like) performs all or part of the steps of the method described in the embodiments of the present disclosure. The foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like. A medium that can store program code, or a transitory storage medium.
本公开实施例中方法不再需要重新开发新的设备来提供二三层桥接功能,并且使用的是原设备的空闲端口,提高了原有设备利用率,同时桥接端口使用的是设备空闲端口形成的大带宽TRUNK组,能承载更多的二三层桥接业务。The method in the embodiment of the present disclosure no longer needs to re-develop a new device to provide a Layer 2 and Layer 3 bridging function, and uses the idle port of the original device to improve the utilization of the original device, and the bridge port uses the device idle port to form. The large bandwidth TRUNK group can carry more Layer 2 and Layer 3 bridging services.
结合本申请所公开示例描述的实现二三层业务桥接的方法,可直接体现为硬件、由处理器执行的软件模块或者二者结合。例如,图1和图4中所示功能框图中的一个或多个功能框图和/或功能框图的一个和/或多个组合(例如,桥接端口创建模块),既可以对应于计算机程序流程的各个软件模块,亦可以对应于各个硬件模块。这些软件模块,可以分别对应于图5所示的各个步骤。这些硬件模块例如可利用现场可编程门阵列(FPGA)将这些软件模块固化而实现。The method for implementing the Layer 2 and Layer 3 service bridging described in connection with the examples disclosed in the present application may be directly embodied as hardware, a software module executed by a processor, or a combination of the two. For example, one or more combinations of one or more functional blocks and/or functional blocks in the functional blocks shown in FIGS. 1 and 4 (eg, a bridge port creation module) may correspond to a computer program flow. Each software module can also correspond to each hardware module. These software modules may correspond to the respective steps shown in FIG. 5, respectively. These hardware modules can be implemented, for example, by curing these software modules using a Field Programmable Gate Array (FPGA).
软件模块可以位于RAM存储器、闪存、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、移动硬盘、CD-ROM或者本领域已知的任何其他形式的存储介质。可以将一种存储介质藕接至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息;或者该存储介质可以是处理器的组成部分。处理器和存储介质可以位于专用集成电路中。该软件模块可以存储在移动终端的存储器中,也可以存储在可插入移动终端的存储卡中。例如,若移动终端采用的是较大容量的MEGA-SIM卡或者大容量的闪存装置,则该软件模块可存储在该MEGA-SIM卡或者大容量的闪存装置中。 The software module can reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable hard drive, CD-ROM, or any other form of storage medium known in the art. A storage medium can be coupled to the processor to enable the processor to read information from, and write information to, the storage medium; or the storage medium can be an integral part of the processor. The processor and the storage medium may be located in an application specific integrated circuit. The software module can be stored in the memory of the mobile terminal or in a memory card that can be inserted into the mobile terminal. For example, if the mobile terminal uses a larger capacity MEGA-SIM card or a large-capacity flash memory device, the software module can be stored in the MEGA-SIM card or a large-capacity flash memory device.
针对图1和图4描述的功能框图中的一个或多个和/或功能框图的一个或多个组合(例如,桥接端口创建模块),可以实现为用于执行本申请所描述功能的通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或晶体管逻辑器件、分立硬件组件或者其任意适当组合。针对图1和图4描述的功能框图中的一个或多个和/或功能框图的一个或多个组合,还可以实现为计算机设备的组合,例如,DSP和微处理器的组合、多个微处理器、与DSP通信结合的一个或多个微处理器或者任何其他这种配置。One or more of the functional block diagrams described with respect to Figures 1 and 4 and/or one or more combinations of functional block diagrams (e.g., bridge port creation modules) may be implemented as general purpose processing for performing the functions described herein. , digital signal processor (DSP), application specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, or any suitable combination thereof. One or more of the functional blocks described with respect to Figures 1 and 4 and/or one or more combinations of functional blocks may also be implemented as a combination of computer devices, e.g., a combination of a DSP and a microprocessor, multiple micro A processor, one or more microprocessors in communication with the DSP, or any other such configuration.
虽然本申请描述了本公开的特定示例,但本领域技术人员可以在不脱离本公开实施例的基础上设计出来本公开的变型。While the present application has been described with respect to the specific examples of the present disclosure, those skilled in the art can devise modifications of the present disclosure without departing from the embodiments of the present disclosure.
本领域技术人员在本公开实施例的启发下,在不脱离本公开内容的基础上,还可以对本公开的方法做出各种改进,这仍落在本公开的保护范围之内。Those skilled in the art can make various modifications to the method of the present disclosure, which are still within the protection scope of the present disclosure, without departing from the disclosure.
工业实用性Industrial applicability
本申请提供的实现二三层业务桥接的方法、装置及PTN设备,提高了设备利用率。 The method, device and PTN device for implementing the bridging of the Layer 2 and Layer 3 services provided by the application improve the utilization rate of the device.

Claims (14)

  1. 一种实现二三层业务桥接的装置,包括:A device for implementing bridging of Layer 2 and Layer 3 services, comprising:
    桥接端口创建模块,被配置为查找设备的空闲端口,在查找到的空闲端口中选取预定数量的空闲端口形成桥接端口;a bridge port creation module configured to find a free port of the device, and select a predetermined number of free ports to form a bridge port among the found idle ports;
    二三层业务配置模块,被配置为依据所述桥接端口与二层业务端口进行二层虚拟专用网络L2VPN业务的配置,以及依据所述桥接端口与三层业务端口进行三层虚拟专用网络L3VPN业务的配置;The Layer 2 and Layer 3 service configuration module is configured to perform a Layer 2 virtual private network L2VPN service configuration according to the bridge port and the Layer 2 service port, and perform a Layer 3 virtual private network L3VPN service according to the bridge port and the Layer 3 service port. Configuration;
    二三层业务桥接模块,被配置为进行所述桥接端口的环回,形成二三层业务桥接。The Layer 2 and Layer 3 service bridging module is configured to perform loopback of the bridging port to form a Layer 2 and Layer 3 service bridging.
  2. 如权利要求1所述的装置,其中,所述桥接端口创建模块,还被配置为根据二三层业务桥接的带宽要求,设置所述预定数量。The apparatus of claim 1, wherein the bridge port creation module is further configured to set the predetermined number according to a bandwidth requirement of a Layer 2 and Layer 3 service bridge.
  3. 如权利要求2所述的装置,其中,所述桥接端口创建模块包括虚拟端口组创建子模块、成员端口数量设置子模块、端口遍历子模块和桥接端口选择子模块;The apparatus of claim 2, wherein the bridge port creation module comprises a virtual port group creation submodule, a member port number setting submodule, a port traversal submodule, and a bridge port selection submodule;
    所述虚拟端口组创建子模块,被配置为创建虚拟端口组形成所述桥接端口;The virtual port group creation submodule is configured to create a virtual port group to form the bridge port;
    所述成员端口数量设置子模块,被配置为将所述虚拟端口组的成员端口数量设置为所述预定数量;The member port number setting submodule is configured to set a number of member ports of the virtual port group to the predetermined number;
    所述端口遍历子模块,被配置为遍历所述设备的交换芯片端口,查找所述空闲端口;The port traversal submodule is configured to traverse a switch chip port of the device to find the idle port;
    所述桥接端口选择子模块,被配置为根据所述成员端口数量,在查找到的所述空闲端口中选取空闲端口加入所述虚拟端口组中作为成员端口。The bridge port selection sub-module is configured to select an idle port to join the virtual port group as a member port in the discovered idle port according to the number of the member ports.
  4. 如权利要求3所述的装置,其中,所述桥接端口选择子模块,被配置为当查找到的所述空闲端口的数量小于或等于所述成员端口数量时,将查找到的所有空闲端口加入所述虚拟端口组中作为成员端口;The apparatus of claim 3, wherein the bridge port selection sub-module is configured to join all of the discovered idle ports when the number of the discovered free ports is less than or equal to the number of the member ports The virtual port group is a member port;
    当查找到的所述空闲端口的数量大于所述成员端口数量时,在查找到的空 闲端口中选取相应数量的空闲端口加入所述虚拟端口组中作为成员端口,其中,所述相应数量与所述成员端口数量一致。When the number of the free ports found is greater than the number of the member ports, the found space is empty. A number of idle ports are selected as the member ports in the virtual port group, wherein the corresponding number is consistent with the number of the member ports.
  5. 如权利要求3所述的装置,其中,所述桥接端口选择子模块,还被配置为监测所述设备交换芯片端口的状态变化,当空闲端口数量减少,并且减少的空闲端口为成员端口时,从所述虚拟端口组中移除所述减少的空闲端口;The apparatus of claim 3, wherein the bridge port selection sub-module is further configured to monitor a state change of the device switch chip port, when the number of free ports is reduced, and the reduced free port is a member port, Removing the reduced idle port from the virtual port group;
    当空闲端口数量增加时,确定所述虚拟端口组中现有成员端口的数量与设置的所述成员端口数量的差值,在所述差值大于0时,若增加的空闲端口数量小于或等于所述差值,将所有增加的空闲端口加入所述虚拟端口组中作为成员端口;若增加的空闲端口数量大于所述差值,在增加的空闲端口中选取所述差值的空闲端口加入所述虚拟端口组中作为成员端口。When the number of the free port is increased, the difference between the number of the existing member ports in the virtual port group and the number of the member ports is determined. If the difference is greater than 0, the number of the added free ports is less than or equal to The difference value is that all the added idle ports are added to the virtual port group as member ports; if the increased number of free ports is greater than the difference, the idle ports that select the difference are added to the added idle ports. As a member port in the virtual port group.
  6. 如权利要求1-5任意一项所述的装置,其中,所述二三层业务配置模块包括虚拟局域网VLAN处理模块、二层业务配置模块和三层业务配置模块;The device according to any one of claims 1-5, wherein the two-layer service configuration module comprises a virtual local area network VLAN processing module, a layer 2 service configuration module, and a three-layer service configuration module;
    所述虚拟局域网VLAN处理模块,被配置为对所述二层虚拟专用网络L2VPN业务和所述三层虚拟专用网络L3VPN业务分配不同的虚拟局域网;The virtual local area network (VLAN) VLAN processing module is configured to allocate different virtual local area networks to the Layer 2 virtual private network L2VPN service and the Layer 3 virtual private network L3VPN service;
    所述二层业务配置模块,被配置为将所述桥接端口作为所述二层虚拟专用网络L2VPN业务的用户网络接口,将所述二层业务端口作为所述二层虚拟专用网络L2VPN业务的网络节点接口,进行所述二层虚拟专用网络L2VPN业务的配置;The Layer 2 service configuration module is configured to use the bridge port as a user network interface of the Layer 2 virtual private network L2VPN service, and use the Layer 2 service port as the network of the Layer 2 virtual private network L2VPN service. a node interface, configured to perform the L2VPN service of the Layer 2 virtual private network;
    所述三层业务配置模块,被配置为将所述桥接端口作为所述三层虚拟专用网络L3VPN业务的用户网络接口,将所述三层业务端口作为所述三层虚拟专用网络L3VPN业务的网络节点接口,进行所述三层虚拟专用网络L3VPN业务的配置。The Layer 3 service configuration module is configured to use the bridge port as a user network interface of the Layer 3 virtual private network L3VPN service, and use the Layer 3 service port as a network of the Layer 3 virtual private network L3VPN service. The node interface performs configuration of the L3VPN service of the three-layer virtual private network.
  7. 一种PTN设备,包括如权利要求1-6任意一项实现二三层桥接的装置。A PTN device comprising a device for implementing two or three layers of bridging according to any of claims 1-6.
  8. 一种实现二三层业务桥接的方法,包括:A method for implementing Layer 2 and Layer 3 service bridging includes:
    查找设备的空闲端口,在查找到的空闲端口中选取预定数量的空闲端口形成桥接端口; Finding a free port of the device, selecting a predetermined number of free ports from the found idle ports to form a bridge port;
    依据所述桥接端口与二层业务端口进行二层虚拟专用网络L2VPN业务的配置,以及依据所述桥接端口与三层业务端口进行三层虚拟专用网络L3VPN业务的配置;Performing a configuration of a Layer 2 virtual private network L2VPN service according to the bridge port and a Layer 2 service port, and configuring a Layer 3 virtual private network L3VPN service according to the bridge port and the Layer 3 service port;
    进行所述桥接端口的环回,形成二三层业务桥接。The loopback of the bridge port is performed to form a two-layer service bridging.
  9. 如权利要求8所述的方法,还包括:The method of claim 8 further comprising:
    根据二三层业务桥接的带宽要求,设置所述预定数量。The predetermined number is set according to the bandwidth requirement of the Layer 2 and Layer 3 service bridging.
  10. 如权利要求9所述的方法,其中,所述查找设备的空闲端口,在查找到的空闲端口中选取预定数量的空闲端口形成桥接端口的步骤,包括:The method of claim 9, wherein the step of finding a free port of the device and selecting a predetermined number of free ports from the found free ports to form a bridge port comprises:
    创建虚拟端口组形成所述桥接端口;Creating a virtual port group to form the bridge port;
    将所述虚拟端口组的成员端口数量设置为所述预定数量;Setting the number of member ports of the virtual port group to the predetermined number;
    遍历所述设备的交换芯片端口,查找所述空闲端口;Traversing the switch chip port of the device to find the free port;
    根据所述成员端口数量,在查找到的所述空闲端口中选取空闲端口加入所述虚拟端口组中作为成员端口。And selecting, according to the number of the member ports, the idle port in the discovered idle port to join the virtual port group as a member port.
  11. 如权利要求10所述的方法,其中,所述根据所述成员端口数量,在查找到的空闲端口中选取空闲端口加入所述虚拟端口组中作为成员端口的步骤,包括:The method of claim 10, wherein the step of selecting a free port to join the virtual port group as a member port in the found idle port according to the number of the member ports includes:
    当查找到的所述空闲端口的数量小于或等于所述成员端口数量时,将查找到的所有空闲端口加入所述虚拟端口组中作为成员端口;When the number of the free ports that are found is less than or equal to the number of the member ports, all the idle ports that are found are added to the virtual port group as member ports;
    当查找到的所述空闲端口的数量大于所述成员端口数量时,在查找到的空闲端口中选取相应数量的空闲端口加入所述虚拟端口组中作为成员端口,其中,所述相应数量与所述成员端口数量一致。When the number of the idle ports that are found is greater than the number of the member ports, select a corresponding number of free ports in the found idle ports to join the virtual port group as member ports, where the corresponding quantity and location are The number of member ports is the same.
  12. 如权利要求11所述的方法,其中,所述根据所述成员端口数量,在查找到的空闲端口中选取空闲端口加入所述虚拟端口组中作为成员端口的步骤之后,还包括:The method of claim 11, wherein the step of selecting a free port to join the virtual port group as a member port in the found idle port according to the number of the member ports further includes:
    监测所述设备交换芯片端口的状态变化,当空闲端口数量减少,并且减少的空闲端口为成员端口时,从所述虚拟端口组中移除所述减少的空闲端口; Monitoring a state change of the switch chip port of the device, when the number of free ports is decreased, and the reduced free port is a member port, removing the reduced idle port from the virtual port group;
    当空闲端口数量增加时,确定所述虚拟端口组中现有成员端口的数量与设置的设置的所述成员端口数量的差值,在所述差值大于0时,若增加的空闲端口数量小于或等于所述差值,将所有增加的空闲端口加入所述虚拟端口组中作为成员端口;若增加的空闲端口数量大于所述差值,在增加的空闲端口中选取所述差值的空闲端口加入所述虚拟端口组中作为成员端口。When the number of the idle port is increased, the difference between the number of the existing member ports in the virtual port group and the set number of the member ports is determined. If the difference is greater than 0, the number of free ports added is smaller than Or equal to the difference, adding all the added idle ports to the virtual port group as member ports; if the increased number of free ports is greater than the difference, selecting the free port of the difference in the added idle ports Join the virtual port group as a member port.
  13. 如权利要求8-12任意一项所述的方法,其中,所述依据所述桥接端口与二层业务端口进行二层虚拟专用网络L2VPN业务的配置,以及依据所述桥接端口与三层业务端口进行三层虚拟专用网络L3VPN业务的配置的步骤,包括:The method according to any one of claims 8 to 12, wherein the configuration of the Layer 2 virtual private network L2VPN service is performed according to the bridge port and the Layer 2 service port, and according to the bridge port and the Layer 3 service port. The steps of configuring the three-layer virtual private network L3VPN service include:
    对所述二层虚拟专用网络L2VPN业务和所述三层虚拟专用网络L3VPN业务分配不同的虚拟局域网;Allocating different virtual local area networks to the Layer 2 virtual private network L2VPN service and the Layer 3 virtual private network L3VPN service;
    将所述桥接端口作为所述二层虚拟专用网络L2VPN业务的用户网络接口,将所述二层业务端口作为所述二层虚拟专用网络L2VPN业务的网络节点接口,进行所述二层虚拟专用网络L2VPN业务的配置;The bridge port is used as the user network interface of the L2VPN service of the Layer 2 virtual private network, and the Layer 2 service port is used as the network node interface of the L2VPN service of the Layer 2 virtual private network, and the Layer 2 virtual private network is performed. Configuration of the L2VPN service;
    将所述桥接端口作为所述三层虚拟专用网络L3VPN业务的用户网络接口,将所述三层业务端口作为所述三层虚拟专用网络L3VPN业务的网络节点接口,进行所述三层虚拟专用网络L3VPN业务的配置。The bridge port is used as a user network interface of the L3VPN service of the Layer 3 virtual private network, and the Layer 3 service port is used as a network node interface of the Layer 3 virtual private network L3VPN service, and the Layer 3 virtual private network is performed. Configuration of the L3VPN service.
  14. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行权利要求8-13中任一项的方法。 A computer readable storage medium storing computer executable instructions arranged to perform the method of any one of claims 8-13.
PCT/CN2017/102776 2016-09-21 2017-09-21 Method and device for implementing layers two and three service bridging and ptn equipment WO2018054335A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610838278.5A CN107846299B (en) 2016-09-21 2016-09-21 Method and device for realizing two-layer and three-layer service bridging and PTN (packet transport network) equipment
CN201610838278.5 2016-09-21

Publications (1)

Publication Number Publication Date
WO2018054335A1 true WO2018054335A1 (en) 2018-03-29

Family

ID=61656923

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/102776 WO2018054335A1 (en) 2016-09-21 2017-09-21 Method and device for implementing layers two and three service bridging and ptn equipment

Country Status (2)

Country Link
CN (1) CN107846299B (en)
WO (1) WO2018054335A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6950435B2 (en) * 2001-02-19 2005-09-27 Fujitsu Limited Communication device and bandwidth management method
CN102594665A (en) * 2012-02-02 2012-07-18 中兴通讯股份有限公司 Business data transmission method and device
CN104683206A (en) * 2013-11-29 2015-06-03 中国移动通信集团内蒙古有限公司 Method and device for coordinating and switching layer 2 and layer 3 virtual private networks in bridging apparatus
CN105049316A (en) * 2015-08-26 2015-11-11 华为技术有限公司 Communication method and communication device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1147094C (en) * 2002-08-22 2004-04-21 华为技术有限公司 Message receiving and transmitting method of combined bridge connection function and routing function
US20050190757A1 (en) * 2004-02-27 2005-09-01 Cisco Technology Inc. Interworking between Ethernet and non-Ethernet customer sites for VPLS
CN101110745A (en) * 2007-08-14 2008-01-23 华为技术有限公司 Method, device and system for engaging second layer network and third layer network
CN101247334B (en) * 2008-03-06 2010-09-01 中兴通讯股份有限公司 Virtual special local area network service network and its implementing method and supplier edge router
CN101667969B (en) * 2009-09-24 2014-09-10 中兴通讯股份有限公司 Method of accessing IP/L3VPN network of L2VPN network and device thereof
CN102333011B (en) * 2011-10-17 2017-11-03 中兴通讯股份有限公司 One way link detection method and device
CN105429841B (en) * 2014-09-15 2020-01-07 中兴通讯股份有限公司 NNI PING implementation method and device
CN104618150B (en) * 2015-01-09 2018-05-29 烽火通信科技股份有限公司 A kind of bis- layers of PTN turns business collocation method and system under three layer service scenes
CN104717119B (en) * 2015-04-09 2018-02-13 烽火通信科技股份有限公司 Realize the method and system of L2 VPN and L3 VPN bridge joints

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6950435B2 (en) * 2001-02-19 2005-09-27 Fujitsu Limited Communication device and bandwidth management method
CN102594665A (en) * 2012-02-02 2012-07-18 中兴通讯股份有限公司 Business data transmission method and device
CN104683206A (en) * 2013-11-29 2015-06-03 中国移动通信集团内蒙古有限公司 Method and device for coordinating and switching layer 2 and layer 3 virtual private networks in bridging apparatus
CN105049316A (en) * 2015-08-26 2015-11-11 华为技术有限公司 Communication method and communication device

Also Published As

Publication number Publication date
CN107846299A (en) 2018-03-27
CN107846299B (en) 2022-04-12

Similar Documents

Publication Publication Date Title
US11563602B2 (en) Method and apparatus for providing a point-to-point connection over a network
US10924389B2 (en) Segment routing based on maximum segment identifier depth
EP3222012B1 (en) Method and system for virtualizing flow tables in a software-defined networking (sdn) system
CN107819663B (en) Method and device for realizing virtual network function service chain
US9882815B2 (en) Adaptive load balancing in packet processing
US9491063B2 (en) Method and apparatus for providing network services orchestration
EP3507953B1 (en) Techniques for architecture-independent dynamic flow learning in a packet forwarder
KR20150016309A (en) System and method for routing traffic between distinct infiniband subnets based on fat-tree routing
US10454711B2 (en) Method for obtaining port path and apparatus
CN105847185B (en) Message processing method, device and the distributed apparatus of distributed apparatus
WO2017124709A1 (en) Method of establishing traffic engineering tunnel and device
US11663052B2 (en) Adaptive application assignment to distributed cloud resources
US9565112B2 (en) Load balancing in a link aggregation
WO2015039617A1 (en) Method, system, and device for packet processing
WO2017088495A1 (en) Method and apparatus for acquiring routing information
WO2018042230A1 (en) Configurable selective packet-in mechanism for openflow switches
WO2016110084A1 (en) Method, device and system for precision time protocol time synchronization in aggregation network
RU2675212C1 (en) Adaptive load balancing during package processing
WO2018054335A1 (en) Method and device for implementing layers two and three service bridging and ptn equipment
US8665752B2 (en) Network modeling, service provisioning, and service management
CN108111419B (en) Path selection method and device
WO2016127565A1 (en) Method and apparatus for processing segment routing id (sid)
US11233748B1 (en) Bandwidth management for resource reservation label switched path of a ring network
EP3588867A1 (en) Resource reservation techniques for point-to-multipoint tunnels on a ring network
WO2015127600A1 (en) Shunting and reporting method, switch, controller and system

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

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

Country of ref document: EP

Kind code of ref document: A1