WO2011113398A1 - Method and node for constructing management and maintenance channels - Google Patents

Method and node for constructing management and maintenance channels Download PDF

Info

Publication number
WO2011113398A1
WO2011113398A1 PCT/CN2011/073484 CN2011073484W WO2011113398A1 WO 2011113398 A1 WO2011113398 A1 WO 2011113398A1 CN 2011073484 W CN2011073484 W CN 2011073484W WO 2011113398 A1 WO2011113398 A1 WO 2011113398A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
network
broadcast tree
broadcast
information
Prior art date
Application number
PCT/CN2011/073484
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 华为技术有限公司
Priority to CN201180000420.4A priority Critical patent/CN102171974B/en
Priority to PCT/CN2011/073484 priority patent/WO2011113398A1/en
Publication of WO2011113398A1 publication Critical patent/WO2011113398A1/en

Links

Images

Classifications

    • 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/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • 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]
    • H04L12/4675Dynamic sharing of VLAN information amongst network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/03Topology update or discovery by updating link state protocols
    • 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

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and a node for constructing a maintenance and maintenance channel.
  • the process implemented in the prior art is: First, the NNI at each node (network node interface, Network Manually configure mVLAN on the side port of the Node Interface (virtual management area network, management virtual Local Area) Then, on the edge Layer 3 device, configure the mVLAN as the gateway interface of all Layer 2 network devices and configure interface routing. All nodes in the Layer 2 network are manually configured with MSTP (Multiple). Spanning Tree Protocol, multiple spanning tree protocol, based on the protocol, the loop existing in the mVLAN broadcast domain is destroyed.
  • MSTP Multiple
  • a channel between the edge Layer 3 device and the Layer 2 device is established from the edge node to each node.
  • the channel is used to transmit between the network management system of the background or other service systems (including a dynamic host configuration protocol server that allocates addresses for the Layer 2 device or a file transmission server that provides version downloading for the device) and each Layer 2 network device. Network management or other service packets.
  • the embodiment of the present invention provides a method for constructing a maintenance and maintenance channel and a node.
  • the node in the network can automatically determine the broadcast tree and propagate the maintenance and maintenance message through the broadcast tree.
  • An embodiment of the present invention provides a method for constructing a management and maintenance channel, including:
  • the extended specific protocol is used to obtain topology information in the network, where the topology information includes: a node state in the network, a link state between nodes, management virtual network mVLAN information, and edge node information;
  • a broadcast tree Determining, by the predetermined algorithm, a broadcast tree to the edge node according to the node state, the inter-node link state, and the edge node information in the acquired network, and dynamically configuring a port of the broadcast tree according to the mVLAN information, the broadcast
  • the tree is used to propagate management and maintenance messages.
  • the embodiment of the invention provides a node, including:
  • An acquiring module configured to acquire topology information in the network by running the extended specific protocol, where the topology information includes: a node state of each node in the network, a link state between nodes, management virtual network mVLAN information, and edge node information;
  • a broadcast tree determining module configured to determine, according to a node state, an inter-node link state, and an edge node information in a network acquired by the acquiring module, a broadcast tree to an edge node by using a predetermined algorithm, and dynamically configuring the device according to the mVLAN information
  • each node in the network acquires topology information in the network by running a specific protocol extended, and determines a broadcast tree in the network according to the predetermined algorithm according to the topology information, without manual Configure to enable each node in the network of any topology to automatically build management and maintenance channels.
  • FIG. 1 is a flowchart of a method for constructing a management maintenance channel according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of an extended format of a TLV message according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a layer 2 network formed by 10 nodes according to an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of a Layer 2 network formed by 11 nodes according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a node according to an embodiment of the present invention.
  • An embodiment of the present invention provides a method for constructing a management and maintenance channel, as shown in FIG. 1 , including:
  • the nodes in the network obtain the topology information in the network by running the extended specific protocol, where the topology information in the network includes but is not limited to the node status of each node in the network, the link state between nodes, and the management virtual network mVLAN information and Edge node information.
  • the specific protocol may be the 802.1aq protocol
  • the 802.1aq protocol is the ITU (International Telecommunications Union, the International Telecommunications Union, a standard protocol, because the node status and inter-node link status of each node in the network can be learned by running the existing 802.1aq protocol, so the extension of 802.1aq only needs to include mVLAN information and
  • the edge node information may be, wherein the node state may indicate that each node is in a working or closed state, and the inter-node link state may indicate that the link between the nodes is in a normal or fault state.
  • the extension of the 802.1aq can be extended to the TLV packet in the protocol.
  • the extended format can be as shown in Figure 2, where "Type” is used to identify the topology information of the packet used in the transmission network; "Length” is used to Identifies the length of the packet; "mVLAN” Used to mark the mVLAN information reserved by the network.
  • the mVLAN information can be used to identify the mVLAN; ID is used to identify the information of the edge node, which can be the MAC address of the edge node.
  • the nodes in the network can extend the entire network of the topology information by running the extended 802.1aq protocol, so that all nodes on the entire network can perceive the network.
  • the edge node in the mVLAN is a network reserved for the edge node and configured on the edge node to carry packets for communication with the service system and for managing network devices in the maintenance network.
  • Each node in the network determines a broadcast tree of the edge node to each node in the network according to a node state, an inter-node link state, and an edge node information in the acquired network, and dynamically configures the broadcast according to the mVLAN information.
  • the foregoing broadcast tree is automatically saved in each node after determining, and the predetermined algorithm may include, but is not limited to, a shortest path first SPF algorithm, and the node automatically adopts an SPF algorithm based on the edge node information according to the node status of each node and the interlink relationship between the nodes.
  • the broadcast tree with the edge node as the root and the other nodes as the leaf nodes is constructed. Take the two-layer network composed of 10 nodes as shown in FIG. 3 as an example, and the dotted line indicates the broadcast path of the automatically constructed broadcast tree.
  • the broadcast tree automatically constructed is only used when the service system such as the background network management manages and maintains the network device, no communication is required between the nodes, so in order to prevent a node from transmitting ARP (Address Resolution Protocol), DHCP (Dynamic Host Configuration) Protocols, dynamic host setting protocol, etc. are broadcasted to other nodes in a meaningless manner, and the load of the control planes of other nodes is increased. Therefore, port isolation of each outgoing port of the broadcast tree is performed on the mVLAN. To prevent the packets from being forwarded on the mVLANs in the outbound port of the broadcast tree, you can maintain the outbound port list of the broadcast tree first, and then set all the outbound ports in the outbound port list to port isolation.
  • ARP Address Resolution Protocol
  • DHCP Dynamic Host Configuration Protocol
  • dynamic host setting protocol etc.
  • the settings can be done by each node or by a switch in the network.
  • the port isolation setting allows packets to be forwarded only between the ingress port and the egress port of the broadcast tree. In this way, each node can send and receive management and maintenance packets only between the service system and the back-end network. The nodes do not send and receive packets to each other, ensuring the security and reliability of the network device.
  • a two-layer network composed of 10 nodes as shown in FIG. 3 is taken as an example, wherein Ifi-j represents a port between node i and node j, and i and j are both positive integers, and the ingress port of node 2
  • Ifi-j represents a port between node i and node j
  • i and j are both positive integers
  • the ingress port of node 2 For example, if2-1, the outbound ports If2-3 and If2-5, the ports If2-3 and If2-5 are set to port isolation, so that packets can only be forwarded between If2-3 and If2-1, or Messages can only be forwarded between If2-5 and If2-1.
  • the node adjacent to the faulty node broadcasts fault information
  • the nodes other than the faulty node in the broadcast tree pass the predetermined fault information according to the fault information and the topology information in the network.
  • the algorithm re-determines the broadcast tree of the edge node to each node in the network and updates the stored broadcast tree; for example, as shown in FIG. 3, if node 7 fails, node 1 and/or node 8 adjacent to node 7 broadcast node 7
  • nodes 1, 2, 3, 4, 5, 6, 8, 9, and 10 in the broadcast tree re-determine the broadcast tree of the edge node 1 to each node in the network through the SPF algorithm, and update the original stored node according to the node.
  • 1, 2, 3, 4, 5, 6, 7, 8, 9, and 10 use the SPF algorithm to determine the broadcast tree between the edge node 1 and each node, and manage the maintenance message transmission through the updated broadcast tree. .
  • the method further includes: when a link fault occurs between the node and the node in the network, the node connected by the fault link broadcasts the fault information, and each node in the broadcast tree passes the fault information and the topology information in the network.
  • the predetermined algorithm re-determines the broadcast tree of the edge node to each node and updates the stored broadcast tree. For example, as shown in FIG. 3, if a link failure occurs between the node 7 and the node 8, the node 7 and/or the node 8 broadcast the link failure information between the node 7 and the node 8, and the nodes 1 and 2 in the broadcast tree are broadcasted. 3, 4, 5, 6, 7, 8, 9, and 10 re-determine the broadcast tree of the edge node 1 to the node through the SPF algorithm, update the originally stored broadcast tree, and manage and maintain the report through the updated broadcast tree. The spread of the text.
  • the method may further include: when a node is added to the broadcast tree, first, the node in the broadcast tree notifies the newly added node of the stored broadcast tree by running the extended specific protocol; secondly, the node in the broadcast tree And the newly added node determines the path of the newly added node to the edge node by using a predetermined algorithm based on the broadcast tree, and finally adds the path of the newly added node to the edge node to the broadcast tree and stores. For example, as shown in FIG.
  • node 9 and/or node 10 advertise its stored broadcast tree to node 11 by running the extended 802.1aq protocol, nodes 1 to 10 in the broadcast tree, and The newly added node 11 determines the path of the node 11 to the node 1 by the SPF algorithm based on the determined broadcast tree (as shown by the dotted line in FIG. 3) (ie, node 1 - node 7 - node 8 - node 9 - node 11), broadcast tree
  • the nodes 1 to 10 and the new node 11 in the node 11 add the path of the node 11 to the node 1 to the determined broadcast tree and store it, and the broken line in Fig. 4 indicates the broadcast path of the new broadcast tree.
  • the network in the embodiment of the present invention may be a network of any topology, and may be a Layer 2 network in an Ethernet or the like.
  • An embodiment of the present invention further provides a node, as shown in FIG. 5, including:
  • the obtaining module 51 is configured to obtain topology information in the network by running the extended specific protocol, where the topology information in the network includes: node status of each node in the network, link status between nodes, management virtual network mVLAN information, and edge node information.
  • the specific protocol in the obtaining module 51 may be an 802.1aq protocol, and the 802.1aq protocol is an ITU (International). Telecommunications Union, the International Telecommunications Union, a standard protocol, because the node status and inter-node link status of each node in the network can be learned by running the existing 802.1aq protocol, so the extension of 802.1aq only needs to include mVLAN information and
  • the edge node information may be, wherein the node state may indicate that each node is in a working or closed state, and the inter-node link state may indicate that the link between the nodes is in a normal or fault state.
  • the extension of the 802.1aq can be extended to the TLV packet in the protocol.
  • the extended format can be as shown in Figure 2, where "Type” is used to identify the topology information of the packet used in the transmission network; "Length” is used to Identifies the length of the packet; mVLAN is used to mark the mVLAN information reserved by the network.
  • the mVLAN information can be used to identify the mVLAN; ID is used to identify the information of the edge node, which can be the MAC address of the edge node.
  • the nodes in the network can extend the entire network of the topology information by running the extended 802.1aq protocol, so that all nodes on the entire network can perceive the network.
  • the edge node in .
  • the broadcast tree determining module 52 is configured to determine, according to a node state, an inter-node link state, and an edge node information in the network acquired by the acquiring module 51, a broadcast node of the edge node to each node by using a predetermined algorithm, according to the mVLAN information.
  • the port of the broadcast tree is dynamically configured, and the broadcast tree is used to propagate management maintenance messages.
  • the predetermined algorithm may include, but is not limited to, a shortest path first SPF algorithm, and the above broadcast tree is automatically saved in each node after being determined.
  • the edge node may further include a reservation configuration module, configured to reserve an mVLAN to the edge node and configured on the edge node, where the mVLAN is used to carry a message for communication with a service system and is used for management. Maintain network devices in your network.
  • a reservation configuration module configured to reserve an mVLAN to the edge node and configured on the edge node, where the mVLAN is used to carry a message for communication with a service system and is used for management. Maintain network devices in your network.
  • the port isolation module may be further configured to perform port isolation on the mVLANs of the outbound ports of the broadcast tree to prevent the packets from being forwarded on the mVLANs in the outbound ports of the broadcast tree.
  • the above node may further include: a fault broadcast module, configured to broadcast fault information.
  • the broadcast tree determining module 52 is further configured to determine, by the predetermined algorithm, the broadcast tree of the edge node to each node according to the fault information broadcasted in the fault broadcast module and the topology information in the network.
  • an update module configured to update the stored broadcast tree to the broadcast tree of the edge node re-determined by the broadcast tree determining module 52 to each node.
  • the node adjacent to the faulty node executes the fault broadcast module
  • the nodes other than the faulty node in the broadcast tree execute the broadcast tree determining module 52 and the update module; or,
  • the node connected by the faulty link executes the fault broadcast module, and each node in the broadcast tree executes a broadcast tree determination module 52 and an update module.
  • the foregoing node may further include: an advertising module, configured to notify the newly added node of the stored broadcast tree by running the extended specific protocol when a node is added to the broadcast tree.
  • the broadcast tree determining module 52 is further configured to determine, by using a predetermined algorithm, the path of the newly added node to the edge node based on the stored broadcast tree.
  • the module is updated at this time, and is also used to add the path of the newly added node to the edge node to the stored broadcast tree.
  • the network in the embodiment of the present invention may be a network of any topology, and may be a Layer 2 network in an Ethernet or the like.
  • each module included is only divided according to functional logic, but is not limited to the above division, as long as the corresponding function can be implemented; in addition, the specific name of each functional module It is also for convenience of distinguishing from each other and is not intended to limit the scope of protection of the present invention.
  • the storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • an MVLAN can be reserved and configured on the network edge node to implement automatic configuration of the management and maintenance channel, and no other manual configuration is required.
  • the specific topology information can be spread by extending the 802.1aq protocol.
  • the edge node declares the attribute of the node as an edge node, and regards the mVLAN as a subsidiary topology information attached to the edge node.
  • the two information and the network topology information are spread together. All the nodes of the entire network, each node calculates a broadcast tree from the edge node to all the nodes based on the network topology information, and dynamically configures the ports of the broadcast tree according to the mVLAN.
  • each node in the network can automatically build a management and maintenance channel to the network edge node (corresponding to the business system such as the background network management).
  • the mVLAN for management and maintenance can be dynamically configured to the corresponding port through the extended 802.1aq protocol, and is calculated based on the topology information of the current network, and the edge node is the root of the other node as the leaf node of the broadcast tree. Dynamically configured to the ingress port and egress port of the broadcast tree. Because the broadcast tree can be changed with the network topology information, and the mVLAN is configured on the edge node, you need to replace other VLANs as the mVLAN for managing the maintenance channel.
  • mVLAN is a dynamic VLAN, and can be dynamically and automatically configured to the corresponding port.
  • the port isolation of the egress port of the broadcast tree on the mVLAN allows the management and maintenance packets to be forwarded only between the ingress port and the egress port of the broadcast tree, so that each node can only be in the background.
  • the service and maintenance messages are sent and received between the network and other service systems.
  • the nodes do not send and receive packets to each other. Therefore, the management and maintenance related packets are broadcast and replicated between devices, ensuring the safe and reliable operation of network devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Relating to the field of communication technology, a method and a node for constructing management and maintenance channels are provided. The embodiments of the present invention include: first, each node in a network obtains the topology information of the network by applying an extended designated protocol; then, according to the obtained topology information of the network, each node in the network determines the broadcast tree from edge nodes to each node via a predetermined algorithm and configures the ports of the broadcast tree dynamically, wherein the broadcast tree is used to transmitting management and maintenance messages. The embodiments of the present invention enable, for a two-layer network with any kind of topology, each node in the network to construct management and maintenance channels automatically without manual configuration so that the plug and play capabilities of devices are enabled. In addition, the embodiments of the present invention perform port insulation at each output port of the broadcast tree in management Virtual Local Area Network (mVLAN) so that the management and maintenance massages can be only transmitted between the output ports and the input ports of the broadcast tree, therefore ensuring network device operation safety and reliability.

Description

一种管理维护通道的构建方法及节点  Construction method and node of management and maintenance channel
技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种管理维护通道的构建方法及节点。The present invention relates to the field of communications technologies, and in particular, to a method and a node for constructing a maintenance and maintenance channel.
发明背景Background of the invention
目前为了通过后台的网管系统对设备和网络进行管理维护,通常需要在网络的边缘三层设备和二层网络设备之间建立一个通道,专门用于转发来自网管系统的管理维护报文。现有技术实现的过程为:首先,在每个节点的NNI(网络节点接口,Network Node Interface)侧端口上手工配置mVLAN(虚拟管理局域网,management Virtual Local Area Network);然后,在边缘三层设备上将该mVLAN作为所有二层网络设备的网关接口并配置接口路由,在二层网络中所有节点手工配置MSTP(Multiple Spanning Tree Protocol,多生成树协议),基于该协议将mVLAN广播域所存在的环路破坏;最后,从边缘节点到各个节点之间建立一个在边缘三层设备和二层设备之间通道。该通道用于后台的网管系统或其它业务系统(可以包括为二层设备分配地址的动态主机配置协议服务器或为设备提供版本下载的文件传输服务器等业务系统)与各二层网络设备之间传送网管或其它业务报文。To manage and maintain devices and networks through the network management system in the background, you need to establish a channel between the Layer 3 device and the Layer 2 network device to forward management and maintenance packets from the NMS. The process implemented in the prior art is: First, the NNI at each node (network node interface, Network Manually configure mVLAN on the side port of the Node Interface (virtual management area network, management virtual Local Area) Then, on the edge Layer 3 device, configure the mVLAN as the gateway interface of all Layer 2 network devices and configure interface routing. All nodes in the Layer 2 network are manually configured with MSTP (Multiple). Spanning Tree Protocol, multiple spanning tree protocol, based on the protocol, the loop existing in the mVLAN broadcast domain is destroyed. Finally, a channel between the edge Layer 3 device and the Layer 2 device is established from the edge node to each node. The channel is used to transmit between the network management system of the background or other service systems (including a dynamic host configuration protocol server that allocates addresses for the Layer 2 device or a file transmission server that provides version downloading for the device) and each Layer 2 network device. Network management or other service packets.
发明内容Summary of the invention
本发明的实施例提供了一种管理维护通道的构建方法及节点,无需手动配置VLAN,网络中的各节点可以自动确定广播树,并通过该广播树传播管理维护报文。The embodiment of the present invention provides a method for constructing a maintenance and maintenance channel and a node. The node in the network can automatically determine the broadcast tree and propagate the maintenance and maintenance message through the broadcast tree.
本发明实施例提供了一种管理维护通道的构建方法,包括:An embodiment of the present invention provides a method for constructing a management and maintenance channel, including:
运行扩展后的特定协议获取网络中的拓扑信息,所述拓扑信息包括:网络中的节点状态、节点间链路状态、管理虚拟局域网mVLAN信息和边缘节点信息;The extended specific protocol is used to obtain topology information in the network, where the topology information includes: a node state in the network, a link state between nodes, management virtual network mVLAN information, and edge node information;
根据所述获取的网络中的节点状态、节点间链路状态和边缘节点信息通过预定的算法确定到边缘节点的广播树,并根据所述mVLAN信息动态配置所述广播树的端口,所述广播树用于传播管理维护报文。Determining, by the predetermined algorithm, a broadcast tree to the edge node according to the node state, the inter-node link state, and the edge node information in the acquired network, and dynamically configuring a port of the broadcast tree according to the mVLAN information, the broadcast The tree is used to propagate management and maintenance messages.
本发明实施例提供了一种节点,包括:The embodiment of the invention provides a node, including:
获取模块,用于通过运行扩展后的特定协议获取网络中的拓扑信息,所述拓扑信息包括:网络中各节点的节点状态、节点间链路状态、管理虚拟局域网mVLAN信息和边缘节点信息;An acquiring module, configured to acquire topology information in the network by running the extended specific protocol, where the topology information includes: a node state of each node in the network, a link state between nodes, management virtual network mVLAN information, and edge node information;
广播树确定模块,用于根据所述获取模块获取的网络中的节点状态、节点间链路状态和边缘节点信息通过预定的算法确定到边缘节点的广播树,并根据所述mVLAN信息动态配置所述广播树的端口,所述广播树用于传播管理维护报文。a broadcast tree determining module, configured to determine, according to a node state, an inter-node link state, and an edge node information in a network acquired by the acquiring module, a broadcast tree to an edge node by using a predetermined algorithm, and dynamically configuring the device according to the mVLAN information The port of the broadcast tree, where the broadcast tree is used to propagate management maintenance messages.
由上述本发明的实施例提供的技术方案可以看出,网络中各节点通过运行扩展的特定协议获取网络中的拓扑信息,并根据该拓扑信息按照预定的算法确定网络中的广播树,无需人工配置,使任意拓扑结构的网络中各节点可以自动构建管理维护通道。It can be seen from the technical solution provided by the foregoing embodiments of the present invention that each node in the network acquires topology information in the network by running a specific protocol extended, and determines a broadcast tree in the network according to the predetermined algorithm according to the topology information, without manual Configure to enable each node in the network of any topology to automatically build management and maintenance channels.
附图简要说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本发明实施例提供的一种管理维护通道的构建方法的流程图;FIG. 1 is a flowchart of a method for constructing a management maintenance channel according to an embodiment of the present invention;
图2为本发明实施例提供的TLV报文扩展格式的示意图;2 is a schematic diagram of an extended format of a TLV message according to an embodiment of the present invention;
图3为本发明实施例提供的10个节点构成的二层网络结构示意图;FIG. 3 is a schematic structural diagram of a layer 2 network formed by 10 nodes according to an embodiment of the present disclosure;
图4为本发明实施例提供的11个节点构成的二层网络结构示意图;4 is a schematic structural diagram of a Layer 2 network formed by 11 nodes according to an embodiment of the present invention;
图5为本发明实施例提供的一种节点的结构示意图。FIG. 5 is a schematic structural diagram of a node according to an embodiment of the present invention.
实施本发明的方式Mode for carrying out the invention
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供了一种管理维护通道的构建方法,如图1所示,包括:An embodiment of the present invention provides a method for constructing a management and maintenance channel, as shown in FIG. 1 , including:
11、网络中各节点通过运行扩展后的特定协议获取网络中的拓扑信息,其中网络中的拓扑信息包括但不限于网络中各节点的节点状态、节点间链路状态、管理虚拟局域网mVLAN信息和边缘节点信息。11. The nodes in the network obtain the topology information in the network by running the extended specific protocol, where the topology information in the network includes but is not limited to the node status of each node in the network, the link state between nodes, and the management virtual network mVLAN information and Edge node information.
进一步,特定的协议可以为802.1aq协议,802.1aq协议是ITU(International Telecommunications Union,国际电信联盟)的一个标准协议,由于通过运行现有的802.1aq协议即可获知网络中各节点的节点状态、节点间链路状态,故对802.1aq的扩展只需其包括mVLAN信息和边缘节点信息即可,其中节点状态可以表示各节点处于工作或关闭等状态,节点间链路状态可以表示节点间的链路处于正常或故障状态。对802.1aq的扩展具体可以对协议中的TLV报文进行扩展,扩展的格式可以如图2所示,其中“Type”用来标识报文用于传输网络中的拓扑信息;“Length”用来标识报文的长度;“mVLAN” 用来标记网络预留的mVLAN信息,mVLAN信息可以用来识别该mVLAN ;“Node ID”用来标识边缘节点信息,具体可以是边缘节点的MAC地址。网络中各节点通过运行扩展后的802.1aq协议,可以实现拓扑信息的全网扩散,使全网所有节点都能够感知到网络中的边缘节点。mVLAN是网络预留给边缘节点且配置在该边缘节点上,用于承载与业务系统之间通信的报文以及用于管理维护网络中的网络设备。Further, the specific protocol may be the 802.1aq protocol, and the 802.1aq protocol is the ITU (International Telecommunications Union, the International Telecommunications Union, a standard protocol, because the node status and inter-node link status of each node in the network can be learned by running the existing 802.1aq protocol, so the extension of 802.1aq only needs to include mVLAN information and The edge node information may be, wherein the node state may indicate that each node is in a working or closed state, and the inter-node link state may indicate that the link between the nodes is in a normal or fault state. The extension of the 802.1aq can be extended to the TLV packet in the protocol. The extended format can be as shown in Figure 2, where "Type" is used to identify the topology information of the packet used in the transmission network; "Length" is used to Identifies the length of the packet; "mVLAN" Used to mark the mVLAN information reserved by the network. The mVLAN information can be used to identify the mVLAN; ID is used to identify the information of the edge node, which can be the MAC address of the edge node. The nodes in the network can extend the entire network of the topology information by running the extended 802.1aq protocol, so that all nodes on the entire network can perceive the network. The edge node in the mVLAN is a network reserved for the edge node and configured on the edge node to carry packets for communication with the service system and for managing network devices in the maintenance network.
12、网络中各节点根据获取的网络中的节点状态、节点间链路状态和边缘节点信息通过预定的算法确定网络中边缘节点到各节点的广播树,根据所述mVLAN信息动态配置所述广播树的端口,所述广播树用于传播管理维护报文。12. Each node in the network determines a broadcast tree of the edge node to each node in the network according to a node state, an inter-node link state, and an edge node information in the acquired network, and dynamically configures the broadcast according to the mVLAN information. A port of the tree, where the broadcast tree is used to propagate management and maintenance messages.
具体地,上述广播树确定后自动保存在各个节点中,预定的算法可以包括但不限于最短路径优先SPF算法,节点根据各节点的节点状态和节点间链路状态基于边缘节点信息通过SPF算法自动构建以边缘节点为根,其它节点为叶子节点的广播树,以如图3所示的10个节点构成的二层网络为例,虚线表示自动构建的广播树的广播路径。Specifically, the foregoing broadcast tree is automatically saved in each node after determining, and the predetermined algorithm may include, but is not limited to, a shortest path first SPF algorithm, and the node automatically adopts an SPF algorithm based on the edge node information according to the node status of each node and the interlink relationship between the nodes. The broadcast tree with the edge node as the root and the other nodes as the leaf nodes is constructed. Take the two-layer network composed of 10 nodes as shown in FIG. 3 as an example, and the dotted line indicates the broadcast path of the automatically constructed broadcast tree.
由于自动构建的该广播树仅仅用于后台网管等业务系统管理维护网络设备时使用,故各节点之间无需任何通信,因此,为了防止某节点发送 ARP(Address Resolution Protocol,地址解析协议)、DHCP(Dynamic Host Configuration Protocol,动态主机设置协议)等广播报文时被毫无意义地广播到其它节点上,增加其它节点的控制平面的负荷,故要对所述广播树的各个出端口在mVLAN上进行端口隔离,以禁止广播树中的各出端口间在mVLAN上进行报文的转发,具体可以先维护一个广播树的出端口列表,然后将该出端口列表中的所有出端口设置为端口隔离,该端口隔离的设置可以由各节点来完成,也可以由网络中的交换机来完成。通过上述端口隔离的设置使得报文只能在该广播树的入端口和出端口之间进行转发。这样可以使得每个节点只能和后台网络等业务系统之间收发管理维护报文,各节点之间不会相互收发报文,保证了网络设备的安全性和可靠性。Since the broadcast tree automatically constructed is only used when the service system such as the background network management manages and maintains the network device, no communication is required between the nodes, so in order to prevent a node from transmitting ARP (Address Resolution Protocol), DHCP (Dynamic Host Configuration) Protocols, dynamic host setting protocol, etc. are broadcasted to other nodes in a meaningless manner, and the load of the control planes of other nodes is increased. Therefore, port isolation of each outgoing port of the broadcast tree is performed on the mVLAN. To prevent the packets from being forwarded on the mVLANs in the outbound port of the broadcast tree, you can maintain the outbound port list of the broadcast tree first, and then set all the outbound ports in the outbound port list to port isolation. The settings can be done by each node or by a switch in the network. The port isolation setting allows packets to be forwarded only between the ingress port and the egress port of the broadcast tree. In this way, each node can send and receive management and maintenance packets only between the service system and the back-end network. The nodes do not send and receive packets to each other, ensuring the security and reliability of the network device.
具体地,以如图3所示的10个节点构成的二层网络为例,其中Ifi-j表示节点i和节点j之间的端口,i和j均为正整数,以节点2的入端口If2-1、出端口If2-3和If2-5为例,将端口If2-3和If2-5设置为端口隔离,使得报文只能在If2-3和If2-1之间进行转发,或者使得报文只能在If2-5和If2-1之间进行转发。Specifically, a two-layer network composed of 10 nodes as shown in FIG. 3 is taken as an example, wherein Ifi-j represents a port between node i and node j, and i and j are both positive integers, and the ingress port of node 2 For example, if2-1, the outbound ports If2-3 and If2-5, the ports If2-3 and If2-5 are set to port isolation, so that packets can only be forwarded between If2-3 and If2-1, or Messages can only be forwarded between If2-5 and If2-1.
进一步,当广播树中的节点发生故障时,与所述故障节点相邻的节点广播故障信息,则广播树中除故障节点之外的其它节点根据该故障信息和网络中的拓扑信息通过预定的算法重新确定网络中边缘节点到各节点的广播树,并更新存储的广播树;例如图3所示,若节点7发生故障时,与节点7相邻的节点1和/或节点8广播节点7故障信息,则广播树中的节点1、2、3、4、5、6、8、9和10通过SPF算法重新确定网络中边缘节点1到各节点的广播树,同时更新原来存储的根据节点1、2、3、4、5、6、7、8、9和10通过SPF算法确定的边缘节点1到各节点之间的广播树,并通过更新后的广播树进行管理维护报文的传播。Further, when a node in the broadcast tree fails, the node adjacent to the faulty node broadcasts fault information, and the nodes other than the faulty node in the broadcast tree pass the predetermined fault information according to the fault information and the topology information in the network. The algorithm re-determines the broadcast tree of the edge node to each node in the network and updates the stored broadcast tree; for example, as shown in FIG. 3, if node 7 fails, node 1 and/or node 8 adjacent to node 7 broadcast node 7 For the fault information, nodes 1, 2, 3, 4, 5, 6, 8, 9, and 10 in the broadcast tree re-determine the broadcast tree of the edge node 1 to each node in the network through the SPF algorithm, and update the original stored node according to the node. 1, 2, 3, 4, 5, 6, 7, 8, 9, and 10 use the SPF algorithm to determine the broadcast tree between the edge node 1 and each node, and manage the maintenance message transmission through the updated broadcast tree. .
进一步还可以包括,当网络中节点与节点之间发生链路故障时,所述故障链路连接的节点广播故障信息,则广播树中各节点根据该故障信息和所述网络中的拓扑信息通过预定的算法重新确定边缘节点到各节点的广播树,并更新存储的广播树。例如图3所示,若节点7与节点8之间发生链路故障时,节点7和/或节点8广播节点7与节点8之间的链路故障信息,则广播树中的节点1、2、3、4、5、6、7、8、9和10通过SPF算法重新确定边缘节点1到个节点的广播树,同时更新原来存储的广播树,并通过更新后的广播树进行管理维护报文的传播。The method further includes: when a link fault occurs between the node and the node in the network, the node connected by the fault link broadcasts the fault information, and each node in the broadcast tree passes the fault information and the topology information in the network. The predetermined algorithm re-determines the broadcast tree of the edge node to each node and updates the stored broadcast tree. For example, as shown in FIG. 3, if a link failure occurs between the node 7 and the node 8, the node 7 and/or the node 8 broadcast the link failure information between the node 7 and the node 8, and the nodes 1 and 2 in the broadcast tree are broadcasted. 3, 4, 5, 6, 7, 8, 9, and 10 re-determine the broadcast tree of the edge node 1 to the node through the SPF algorithm, update the originally stored broadcast tree, and manage and maintain the report through the updated broadcast tree. The spread of the text.
上述方法中,还可以包括:当广播树中新增节点时,首先,广播树中的节点通过运行扩展后的特定协议将其存储的广播树通告该新增节点;其次,广播树中的节点和该新增节点基于所述广播树通过预定的算法确定该新增节点到边缘节点的路径,最后,将该新增节点到边缘节点的路径添加到所述广播树中并存储。例如,如图4所示,当新增节点11时,节点9和/或节点10通过运行扩展后的802.1aq协议将其存储的广播树通告给节点11,广播树中的节点1至10以及新增节点11基于已确定的广播树(如图3所示的虚线)通过SPF算法确定节点11到节点1的路径(即节点1-节点7-节点8-节点9-节点11),广播树中的节点1至10以及新增节点11将节点11到节点1的路径添加到已确定的广播树中并存储,图4中的虚线表示新的广播树的广播路径。In the above method, the method may further include: when a node is added to the broadcast tree, first, the node in the broadcast tree notifies the newly added node of the stored broadcast tree by running the extended specific protocol; secondly, the node in the broadcast tree And the newly added node determines the path of the newly added node to the edge node by using a predetermined algorithm based on the broadcast tree, and finally adds the path of the newly added node to the edge node to the broadcast tree and stores. For example, as shown in FIG. 4, when node 11 is added, node 9 and/or node 10 advertise its stored broadcast tree to node 11 by running the extended 802.1aq protocol, nodes 1 to 10 in the broadcast tree, and The newly added node 11 determines the path of the node 11 to the node 1 by the SPF algorithm based on the determined broadcast tree (as shown by the dotted line in FIG. 3) (ie, node 1 - node 7 - node 8 - node 9 - node 11), broadcast tree The nodes 1 to 10 and the new node 11 in the node 11 add the path of the node 11 to the node 1 to the determined broadcast tree and store it, and the broken line in Fig. 4 indicates the broadcast path of the new broadcast tree.
本发明实施例中所指的网络可以是任意拓扑结构的网络,具体可以是以太网中的二层网络等。The network in the embodiment of the present invention may be a network of any topology, and may be a Layer 2 network in an Ethernet or the like.
本发明实施例还提供了一种节点,如图5所示,包括:An embodiment of the present invention further provides a node, as shown in FIG. 5, including:
获取模块51,用于通过运行扩展后的特定协议获取网络中的拓扑信息,其中网络中的拓扑信息包括:网络中各节点的节点状态、节点间链路状态、管理虚拟局域网mVLAN信息和边缘节点信息。The obtaining module 51 is configured to obtain topology information in the network by running the extended specific protocol, where the topology information in the network includes: node status of each node in the network, link status between nodes, management virtual network mVLAN information, and edge node information.
具体地,获取模块51中特定协议可以为802.1aq协议,802.1aq协议是ITU(International Telecommunications Union,国际电信联盟)的一个标准协议,由于通过运行现有的802.1aq协议即可获知网络中各节点的节点状态、节点间链路状态,故对802.1aq的扩展只需其包括mVLAN信息和边缘节点信息即可,其中节点状态可以表示各节点处于工作或关闭等状态,节点间链路状态可以表示节点间的链路处于正常或故障状态。对802.1aq的扩展具体可以对协议中的TLV报文进行扩展,扩展的格式可以如图2所示,其中“Type”用来标识报文用于传输网络中的拓扑信息;“Length”用来标识报文的长度;“mVLAN”用来标记网络预留的mVLAN信息,mVLAN信息可以用来识别该mVLAN;“Node ID”用来标识边缘节点信息,具体可以是边缘节点的MAC地址。网络中各节点通过运行扩展后的802.1aq协议,可以实现拓扑信息的全网扩散,使全网所有节点都能够感知到网络中的边缘节点。Specifically, the specific protocol in the obtaining module 51 may be an 802.1aq protocol, and the 802.1aq protocol is an ITU (International). Telecommunications Union, the International Telecommunications Union, a standard protocol, because the node status and inter-node link status of each node in the network can be learned by running the existing 802.1aq protocol, so the extension of 802.1aq only needs to include mVLAN information and The edge node information may be, wherein the node state may indicate that each node is in a working or closed state, and the inter-node link state may indicate that the link between the nodes is in a normal or fault state. The extension of the 802.1aq can be extended to the TLV packet in the protocol. The extended format can be as shown in Figure 2, where "Type" is used to identify the topology information of the packet used in the transmission network; "Length" is used to Identifies the length of the packet; mVLAN is used to mark the mVLAN information reserved by the network. The mVLAN information can be used to identify the mVLAN; ID is used to identify the information of the edge node, which can be the MAC address of the edge node. The nodes in the network can extend the entire network of the topology information by running the extended 802.1aq protocol, so that all nodes on the entire network can perceive the network. The edge node in .
广播树确定模块52,用于根据所述获取模块51获取的网络中的节点状态、节点间链路状态和边缘节点信息通过预定的算法确定边缘节点到各节点的广播树,根据所述mVLAN信息动态配置所述广播树的端口,所述广播树用于传播管理维护报文。The broadcast tree determining module 52 is configured to determine, according to a node state, an inter-node link state, and an edge node information in the network acquired by the acquiring module 51, a broadcast node of the edge node to each node by using a predetermined algorithm, according to the mVLAN information. The port of the broadcast tree is dynamically configured, and the broadcast tree is used to propagate management maintenance messages.
具体地,预定的算法可以包括但不限于最短路径优先SPF算法,上述广播树确定后自动保存在各个节点中。Specifically, the predetermined algorithm may include, but is not limited to, a shortest path first SPF algorithm, and the above broadcast tree is automatically saved in each node after being determined.
上述边缘节点还可以包括预留配置模块,用于将mVLAN预留给所述边缘节点且配置在所述边缘节点上,所述mVLAN用于承载与业务系统之间通信的报文以及用于管理维护网络中的网络设备。The edge node may further include a reservation configuration module, configured to reserve an mVLAN to the edge node and configured on the edge node, where the mVLAN is used to carry a message for communication with a service system and is used for management. Maintain network devices in your network.
还可以包括端口隔离模块,用于对所述广播树的各个出端口在mVLAN上进行端口隔离,以禁止广播树中的各出端口间在mVLAN上进行报文的转发。The port isolation module may be further configured to perform port isolation on the mVLANs of the outbound ports of the broadcast tree to prevent the packets from being forwarded on the mVLANs in the outbound ports of the broadcast tree.
上述节点还可以包括:故障广播模块,用于广播故障信息。The above node may further include: a fault broadcast module, configured to broadcast fault information.
此时广播树确定模块52,还用于根据所述故障广播模块中广播的故障信息和网络中的拓扑信息通过预定的算法确定边缘节点到各节点的广播树。The broadcast tree determining module 52 is further configured to determine, by the predetermined algorithm, the broadcast tree of the edge node to each node according to the fault information broadcasted in the fault broadcast module and the topology information in the network.
更新模块,用于更新存储的所述广播树为广播树确定模块52重新确定的所述边缘节点到各节点的广播树。And an update module, configured to update the stored broadcast tree to the broadcast tree of the edge node re-determined by the broadcast tree determining module 52 to each node.
具体地,当广播树中的节点发生故障时,与所述故障节点相邻的节点执行该故障广播模块,则广播树中除故障节点之外的其它节点执行广播树确定模块52和更新模块;或,Specifically, when a node in the broadcast tree fails, the node adjacent to the faulty node executes the fault broadcast module, and the nodes other than the faulty node in the broadcast tree execute the broadcast tree determining module 52 and the update module; or,
当广播树中的节点与节点之间发生链路故障时,所述故障链路连接的节点执行该故障广播模块,则广播树中各节点执行广播树确定模块52和更新模块。When a link failure occurs between a node and a node in the broadcast tree, the node connected by the faulty link executes the fault broadcast module, and each node in the broadcast tree executes a broadcast tree determination module 52 and an update module.
上述节点还可以包括,通告模块,用于当所述广播树中新增节点时,通过运行扩展后的特定协议将其存储的所述广播树通告所述新增节点。The foregoing node may further include: an advertising module, configured to notify the newly added node of the stored broadcast tree by running the extended specific protocol when a node is added to the broadcast tree.
此时广播树确定模块52,还用于基于存储的广播树通过预定的算法确定所述新增节点到边缘节点的路径。At this time, the broadcast tree determining module 52 is further configured to determine, by using a predetermined algorithm, the path of the newly added node to the edge node based on the stored broadcast tree.
此时更新模块,还用于将所述新增节点到边缘节点的路径添加到存储的广播树中。The module is updated at this time, and is also used to add the path of the newly added node to the edge node to the stored broadcast tree.
上述装置中包含的各模块的处理功能的具体实现方式在之前的方法实施例中已经描述,在此不再重复描述。The specific implementation of the processing functions of the modules included in the foregoing apparatus has been described in the previous method embodiments, and the description thereof will not be repeated here.
本发明实施例中所指的网络可以是任意拓扑结构的网络,具体可以是以太网中的二层网络等。The network in the embodiment of the present invention may be a network of any topology, and may be a Layer 2 network in an Ethernet or the like.
值得注意的是,上述节点实施例中,所包括的各个模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能模块的具体名称也只是为了便于相互区分,并不用于限制本发明的保护范围。It should be noted that, in the above node embodiment, each module included is only divided according to functional logic, but is not limited to the above division, as long as the corresponding function can be implemented; in addition, the specific name of each functional module It is also for convenience of distinguishing from each other and is not intended to limit the scope of protection of the present invention.
另外,本领域普通技术人员可以理解实现上述各方法实施例中的全部或部分步骤是可以通过程序来指令相关的硬件完成,相应的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。In addition, those skilled in the art can understand that all or part of the steps in implementing the foregoing method embodiments may be performed by a program to instruct related hardware, and the corresponding program may be stored in a computer readable storage medium. The storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
本发明实施例首先,在网络边缘节点预留并配置一个mVLAN即可实现管理维护通道的自动构建,无需其它任何人工配置,其具体可以通过对802.1aq协议的扩展实现全网拓扑信息的扩散。在全网拓扑信息扩散过程中,边缘节点将本节点的属性声明为边缘节点,且将mVLAN视为附属于边缘节点的一个附属拓扑信息,这两个信息和全网网络拓扑信息被一并扩散到全网所有节点,各个节点基于全网拓扑信息,计算出从边缘节点到所有节点的一棵广播树,并根据该mVLAN动态配置所述广播树的各个端口。通过这种方法,网络中各节点可以自动构建到网络边缘节点(对应于后台网管等业务系统)之间的管理维护通道。然后,通过扩展后的802.1aq协议可以将管理维护用的mVLAN动态的配置到相应的端口上,并且是基于当前网络的拓扑信息计算出的以边缘节点为根其它节点为叶子节点的广播树后,动态配置到这棵广播树的入端口和出端口上。由于这棵广播树可以随着网络拓扑信息的变化而变化,且mVLAN是配置在边缘节点上的,故当需要更换其它VLAN作为管理维护通道的mVLAN 时,只需要在网络边缘节点上重新配置一个 mVLAN 即可,因此,在本技术方案中mVLAN 是一个动态的 VLAN,且能动态、自动配置到相应的端口上。最后,对所述广播树的各个出端口在mVLAN上进行端口隔离,可以使管理维护报文只能在该广播树的入端口和出端口之间进行转发,这样使得每个节点只能和后台网络等业务系统之间收发管理维护报文,各节点之间不会相互收发报文,故避免了管理维护相关报文在设备之间相互广播复制,确保了网络设备的安全和可靠运行。The embodiment of the present invention firstly, an MVLAN can be reserved and configured on the network edge node to implement automatic configuration of the management and maintenance channel, and no other manual configuration is required. The specific topology information can be spread by extending the 802.1aq protocol. In the whole network topology information diffusion process, the edge node declares the attribute of the node as an edge node, and regards the mVLAN as a subsidiary topology information attached to the edge node. The two information and the network topology information are spread together. All the nodes of the entire network, each node calculates a broadcast tree from the edge node to all the nodes based on the network topology information, and dynamically configures the ports of the broadcast tree according to the mVLAN. In this way, each node in the network can automatically build a management and maintenance channel to the network edge node (corresponding to the business system such as the background network management). Then, the mVLAN for management and maintenance can be dynamically configured to the corresponding port through the extended 802.1aq protocol, and is calculated based on the topology information of the current network, and the edge node is the root of the other node as the leaf node of the broadcast tree. Dynamically configured to the ingress port and egress port of the broadcast tree. Because the broadcast tree can be changed with the network topology information, and the mVLAN is configured on the edge node, you need to replace other VLANs as the mVLAN for managing the maintenance channel. In this case, only one mVLAN needs to be reconfigured on the network edge node. Therefore, in this technical solution, mVLAN is a dynamic VLAN, and can be dynamically and automatically configured to the corresponding port. Finally, the port isolation of the egress port of the broadcast tree on the mVLAN allows the management and maintenance packets to be forwarded only between the ingress port and the egress port of the broadcast tree, so that each node can only be in the background. The service and maintenance messages are sent and received between the network and other service systems. The nodes do not send and receive packets to each other. Therefore, the management and maintenance related packets are broadcast and replicated between devices, ensuring the safe and reliable operation of network devices.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明实施例揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of it within the technical scope disclosed by the embodiments of the present invention. Variations or substitutions are intended to be covered by the scope of the invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims (12)

  1. 一种管理维护通道的构建方法,其特征在于,包括:A method for constructing a management maintenance channel, comprising:
    运行扩展后的特定协议获取网络中的拓扑信息,所述拓扑信息包括:网络中的节点状态、节点间链路状态、管理虚拟局域网mVLAN信息和边缘节点信息;The extended specific protocol is used to obtain topology information in the network, where the topology information includes: a node state in the network, a link state between nodes, management virtual network mVLAN information, and edge node information;
    根据所述获取的网络中的节点状态、节点间链路状态和边缘节点信息通过预定的算法确定到边缘节点的广播树,并根据所述mVLAN信息动态配置所述广播树的端口,所述广播树用于传播管理维护报文。Determining, by the predetermined algorithm, a broadcast tree to the edge node according to the node state, the inter-node link state, and the edge node information in the acquired network, and dynamically configuring a port of the broadcast tree according to the mVLAN information, the broadcast The tree is used to propagate management and maintenance messages.
  2. 根据权利要求1所述的一种管理维护通道的构建方法,其特征在于,所述mVLAN是预留给所述边缘节点且配置在所述边缘节点上,用于承载与业务系统之间通信的报文以及用于管理维护网络中的网络设备。The method for constructing a management and maintenance channel according to claim 1, wherein the mVLAN is reserved for the edge node and configured on the edge node, and is used for carrying communication with a service system. Messages and network devices used to manage maintenance networks.
  3. 根据权利要求1所述的一种管理维护通道的构建方法,其特征在于,网络中各节点通过运行扩展后的特定协议获取网络中的拓扑信息,包括:The method for constructing a maintenance and maintenance channel according to claim 1, wherein each node in the network obtains topology information in the network by running the extended specific protocol, including:
    若所述特定协议为802.1aq协议,则扩展所述802.1aq协议中的TLV字段用于携带所述拓扑信息,网络中各节点通过运行扩展后的802.1aq协议获取网络中的各节点的节点状态、节点间链路状态和边缘节点信息。If the specific protocol is the 802.1aq protocol, the TLV field in the 802.1aq protocol is extended to carry the topology information, and each node in the network obtains the node status of each node in the network by running the extended 802.1aq protocol. , inter-node link status and edge node information.
  4. 根据权利要求1-3任一项所述的一种管理维护通道的构建方法,其特征在于,还包括:The method for constructing a management and maintenance channel according to any one of claims 1 to 3, further comprising:
    对所述广播树的各个出端口在mVLAN上进行端口隔离,以禁止广播树中的各出端口间在mVLAN上进行报文的转发。The egress port of the broadcast tree is isolated on the mVLAN to prevent the packets from being forwarded on the mVLANs.
  5. 根据权利要求1-3任一项所述的一种管理维护通道的构建方法,其特征在于,还包括:The method for constructing a management and maintenance channel according to any one of claims 1 to 3, further comprising:
    当广播树中的节点发生故障时,与所述故障节点相邻的节点广播故障信息,则广播树中除故障节点之外的其它节点根据所述故障信息和所述网络中的拓扑信息通过预定的算法重新确定边缘节点到各节点的广播树,并更新存储的广播树;或,When a node in the broadcast tree fails, a node adjacent to the faulty node broadcasts fault information, and other nodes in the broadcast tree other than the faulty node pass the predetermined information according to the fault information and the topology information in the network. Algorithm re-determines the edge node to the broadcast tree of each node and updates the stored broadcast tree; or,
    当广播树中节点与节点之间发生链路故障时,所述故障链路连接的节点广播故障信息,则广播树中各节点根据所述故障信息和所述网络中的拓扑信息通过预定的算法重新确定边缘节点到各节点的广播树,并更新存储的广播树。When a link fault occurs between a node and a node in the broadcast tree, the node connected by the fault link broadcasts fault information, and each node in the broadcast tree passes a predetermined algorithm according to the fault information and topology information in the network. Re-determine the edge node to the broadcast tree of each node and update the stored broadcast tree.
  6. 根据权利要求1-3所述的一种管理维护通道的构建方法,其特征在于,当所述广播树中新增节点时,还包括:The method for constructing a management and maintenance channel according to any one of the preceding claims, wherein when the node is added to the broadcast tree, the method further includes:
    广播树中的节点通过运行扩展后的特定协议将其存储的所述广播树通告给所述新增节点;The node in the broadcast tree advertises the stored broadcast tree to the newly added node by running the extended specific protocol;
    广播树中的节点和所述新增节点基于所述广播树通过预定的算法确定所述新增节点到边缘节点的路径,将所述新增节点到边缘节点的路径添加到所述广播树中。The node in the broadcast tree and the newly added node determine a path of the newly added node to an edge node by using a predetermined algorithm based on the broadcast tree, and add a path of the newly added node to an edge node to the broadcast tree. .
  7. 一种节点,其特征在于,包括:A node, comprising:
    获取模块,用于通过运行扩展后的特定协议获取网络中的拓扑信息,所述拓扑信息包括:网络中各节点的节点状态、节点间链路状态、管理虚拟局域网mVLAN信息和边缘节点信息;An acquiring module, configured to acquire topology information in the network by running the extended specific protocol, where the topology information includes: a node state of each node in the network, a link state between nodes, management virtual network mVLAN information, and edge node information;
    广播树确定模块,用于根据所述获取模块获取的网络中的节点状态、节点间链路状态和边缘节点信息通过预定的算法确定到边缘节点的广播树,并根据所述mVLAN信息动态配置所述广播树的端口,所述广播树用于传播管理维护报文。a broadcast tree determining module, configured to determine, according to a node state, an inter-node link state, and an edge node information in a network acquired by the acquiring module, a broadcast tree to an edge node by using a predetermined algorithm, and dynamically configuring the device according to the mVLAN information The port of the broadcast tree, where the broadcast tree is used to propagate management maintenance messages.
  8. 根据权利要求7所述的节点,其特征在于,还包括:The node according to claim 7, further comprising:
    预留配置模块,用于将mVLAN预留给所述边缘节点且配置在所述边缘节点上,所述mVLAN用于承载与业务系统之间通信的报文以及用于管理维护网络中的网络设备。a reservation configuration module, configured to reserve an mVLAN to the edge node and configured on the edge node, where the mVLAN is used to carry a message for communication with a service system, and is used to manage a network device in the maintenance network. .
  9. 根据权利要求7所述的节点,其特征在于,所述获取模块,用于若所述特定协议为802.1aq协议,则扩展所述802.1aq协议中的TLV字段用于携带所述拓扑信息,网络中各节点通过运行扩展后的802.1aq协议获取网络中的各节点的节点状态、节点间链路状态和边缘节点信息。The node according to claim 7, wherein the obtaining module is configured to: if the specific protocol is an 802.1aq protocol, extend a TLV field in the 802.1aq protocol to carry the topology information, the network Each node in the network obtains the node status, inter-node link status, and edge node information of each node in the network by running the extended 802.1aq protocol.
  10. 根据权利要求7-9任一项所述的节点,其特征在于,还包括:The node according to any one of claims 7-9, further comprising:
    端口隔离模块,用于对所述广播树的各个出端口在mVLAN上进行端口隔离,以禁止广播树中的各出端口间在mVLAN上进行报文的转发。The port isolation module is configured to perform port isolation on the mVLANs of the egress ports of the broadcast tree to prevent the packets from being forwarded on the mVLANs in the outbound ports of the broadcast tree.
  11. 根据权利要求7-9任一项所述的节点,其特征在于,还包括:The node according to any one of claims 7-9, further comprising:
    故障广播模块,用于广播故障信息;A fault broadcast module for broadcasting fault information;
    所述广播树确定模块,还用于根据所述故障广播模块广播的故障信息和所述网络中的拓扑信息通过预定的算法重新确定边缘节点到各节点的广播树;The broadcast tree determining module is further configured to: re-determine a broadcast tree of the edge node to each node by using a predetermined algorithm according to the fault information broadcasted by the fault broadcast module and the topology information in the network;
    更新模块,用于更新存储的所述广播树为所述广播树确定模块重新确定的所述边缘节点到各节点的广播树;And an update module, configured to update the stored broadcast tree to the broadcast tree of the edge node re-determined by the broadcast tree determining module to each node;
    具体包括:当广播树中的节点发生故障时,与所述故障节点相邻的节点执行所述故障广播模块,则广播树中除故障节点之外的其它节点执行所述广播树确定模块和所述更新模块;或,Specifically, when a node in the broadcast tree fails, the node adjacent to the faulty node executes the fault broadcast module, and the nodes other than the faulty node in the broadcast tree execute the broadcast tree determining module and the node. Update module; or,
    当广播树中的节点与节点之间发生链路故障时,所述故障链路连接的节点执行所述故障广播模块,则广播树中各节点执行所述广播树确定模块和所述更新模块。When a link failure occurs between a node and a node in the broadcast tree, the node connected by the fault link executes the fault broadcast module, and each node in the broadcast tree executes the broadcast tree determination module and the update module.
  12. 根据权利要求7-9任一项所述的节点,其特征在于,还包括:The node according to any one of claims 7-9, further comprising:
    通告模块,用于当所述广播树中新增节点时,通过运行扩展后的特定协议将其存储的所述广播树通告所述新增节点;a notification module, configured to notify the newly added node of the stored broadcast tree by running the extended specific protocol when a node is added to the broadcast tree;
    所述广播树确定模块,还用于基于存储的广播树通过预定的算法确定所述新增节点到边缘节点的路径。The broadcast tree determining module is further configured to determine, by using a predetermined algorithm, a path of the newly added node to an edge node based on the stored broadcast tree.
PCT/CN2011/073484 2011-04-28 2011-04-28 Method and node for constructing management and maintenance channels WO2011113398A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201180000420.4A CN102171974B (en) 2011-04-28 2011-04-28 Method and node for constructing management and maintenance channels
PCT/CN2011/073484 WO2011113398A1 (en) 2011-04-28 2011-04-28 Method and node for constructing management and maintenance channels

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/073484 WO2011113398A1 (en) 2011-04-28 2011-04-28 Method and node for constructing management and maintenance channels

Publications (1)

Publication Number Publication Date
WO2011113398A1 true WO2011113398A1 (en) 2011-09-22

Family

ID=44491709

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/073484 WO2011113398A1 (en) 2011-04-28 2011-04-28 Method and node for constructing management and maintenance channels

Country Status (2)

Country Link
CN (1) CN102171974B (en)
WO (1) WO2011113398A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469845B (en) * 2013-09-18 2019-05-10 华为技术有限公司 A kind of message processing method, system and equipment
CN105656746A (en) * 2014-12-03 2016-06-08 中兴通讯股份有限公司 Management information transmitting method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101171802A (en) * 2005-03-04 2008-04-30 日本电气株式会社 Node, network, correspondence creating method, and frame transferring program
US20090059800A1 (en) * 2007-08-30 2009-03-05 Nortel Networks Limited Method and apparatus for managing the interconnection between network domains
CN101667956A (en) * 2008-09-05 2010-03-10 华为技术有限公司 Method, device and system for PBB-TE path management
WO2010118964A1 (en) * 2009-04-16 2010-10-21 Alcatel Lucent Method for client data transmission through a packet switched provider network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101171802A (en) * 2005-03-04 2008-04-30 日本电气株式会社 Node, network, correspondence creating method, and frame transferring program
US20090059800A1 (en) * 2007-08-30 2009-03-05 Nortel Networks Limited Method and apparatus for managing the interconnection between network domains
CN101667956A (en) * 2008-09-05 2010-03-10 华为技术有限公司 Method, device and system for PBB-TE path management
WO2010118964A1 (en) * 2009-04-16 2010-10-21 Alcatel Lucent Method for client data transmission through a packet switched provider network

Also Published As

Publication number Publication date
CN102171974A (en) 2011-08-31
CN102171974B (en) 2013-04-24

Similar Documents

Publication Publication Date Title
CN106936777B (en) Cloud computing distributed network implementation method and system based on OpenFlow
EP3691185B1 (en) Method for processing message, device, and system
US7733812B2 (en) Method for enabling multipoint network services over a ring topology network
US9197583B2 (en) Signaling of attachment circuit status and automatic discovery of inter-chassis communication peers
US8837281B2 (en) Use of partitions to reduce flooding and filtering database size requirements in large layer two networks
CN108092893B (en) Special line opening method and device
KR102342286B1 (en) DCN message processing method, network device, and network system
US20090074413A1 (en) System and method for providing transparent lan services
CN106452909B (en) A kind of route issuing method and Router Reflector equipment
US10560456B2 (en) Method, apparatus, and system for collecting access control list
JP2009212875A (en) Communication device and operation management method used for the same
WO2011144048A2 (en) Multicast realization method and network device
CN105490937A (en) Ethernet virtual network gateway switching method and service provider edge node equipment
WO2019157476A1 (en) Binding osi layer 3 ip connections to osi layer 2 for mesh networks
WO2011113398A1 (en) Method and node for constructing management and maintenance channels
JP2015012455A (en) Transmission device and transmission method
Gumaste et al. On the architectural considerations of the FISSION (Flexible Interconnection of Scalable Systems Integrated using Optical Networks) framework for data-centers
US20030208525A1 (en) System and method for providing transparent lan services
JP2023543199A (en) Routing information transmission method and device
JP5853758B2 (en) Communication apparatus and bandwidth control method
WO2023143186A1 (en) Data transmission method, system and apparatus
JP2004032633A (en) System and method for monitoring transmission network
Kasu et al. Spanning Tree Protocol
James Applying ADM and OpenFlow to Build High Availability Networks
WO2005018145A1 (en) System and method for providing transparent lan services

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180000420.4

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11755715

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

Country of ref document: EP

Kind code of ref document: A1