WO2014071729A1 - Method and network device for selecting multicast root node in trill network - Google Patents

Method and network device for selecting multicast root node in trill network Download PDF

Info

Publication number
WO2014071729A1
WO2014071729A1 PCT/CN2013/076059 CN2013076059W WO2014071729A1 WO 2014071729 A1 WO2014071729 A1 WO 2014071729A1 CN 2013076059 W CN2013076059 W CN 2013076059W WO 2014071729 A1 WO2014071729 A1 WO 2014071729A1
Authority
WO
WIPO (PCT)
Prior art keywords
priority
trill network
equal
lsdb
rbs
Prior art date
Application number
PCT/CN2013/076059
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 WO2014071729A1 publication Critical patent/WO2014071729A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/48Routing tree calculation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1863Arrangements for providing special services to substations for broadcast or conference, e.g. multicast comprising mechanisms for improved reliability, e.g. status reports
    • H04L12/1877Measures taken prior to transmission

Definitions

  • the present invention belongs to the field of communications, and in particular, to a method and network device for selecting a multicast root node in a TRILL network. Background technique
  • the routing bridge After the completion of the network deployment of the Transparent Interconnection of Lots of Links (TRILL), the routing bridge (RB) is first based on the Intermediate System-Intermediate System (ISIS) protocol, and The other RBs connected to the RB establish a neighbor relationship. Finally, each RB has a whole network topology, and the RB synchronizes the information in the link state database LSDB. The RB calculates the absolute priority according to the configuration priority and the nickname. The number of multicast root nodes (roots) to be elected by the device with the highest priority is broadcasted to the TRILL network. Each RB is based on the same root.
  • ISIS Intermediate System-Intermediate System
  • Shortest Path First (SPF) calculation calculate the same shared tree; calculated shared tree is a bidirectional tree, multicast traffic can be from leaf to root node, from root node to leaf; Ingress RB node ( Here, the packet enters the TRILL network from the normal Ethernet. Select the root that is closer to itself to forward.
  • SPPF Shortest Path First
  • the core and access layers usually use devices with different processing capabilities, and the core devices have better capabilities.
  • two RBs with the highest absolute priority are selected from the RB devices in the TRILL network.
  • dual-core devices enable device and link redundancy to address single points of failure and improve reliability.
  • the second network still needs to select two roots based on the advertisement of the device with the highest priority. Therefore, one device has access to the original root. The device is selected as the new r 00 t.
  • the object of the embodiment of the present invention is to provide a method for selecting a multicast root node in a TRILL network, where the method can solve the problem that a poor performance device in the same network may be elected as root without changing the current TRILL protocol. problem.
  • the present invention provides a method for selecting a multicast root node in a multi-link transparent interconnect TRILL network, where the method includes:
  • the routing bridge RB establishes a neighbor relationship with other RBs connected to the RB according to the intermediate system-intermediate system ISIS protocol, and synchronizes information in the link state database LSDB;
  • the RB counts the number of RBs having the same priority as the RB according to the information in the synchronized LSDB;
  • the link state protocol data unit LSPDU is advertised to the TRILL network where the RB is located, and the number of the root root node of the TRILL network is advertised as x, when n is less than or equal to the pre- When the number of multicast root nodes is set to m, X is n.
  • the absolute priority is an absolute value calculated by the RB according to a priority of the RB and an alias nickname of the RB.
  • the method includes:
  • n is greater than or equal to m
  • the X is equal to m
  • the method further includes:
  • the RB When the LSDB is changed, the RB recalculates the number of RBs in the LSDB that are equal to the RB priority, and updates the value of n;
  • the present invention provides a network device, where the device includes:
  • a statistical unit configured to calculate, according to information in the synchronized LSDB, the number of RBs having the same priority as the RB;
  • a processing unit configured to: when the absolute priority of the RB is the highest, issue a link state protocol data unit LSPDU to the TRILL network where the RB is located, and notify the root number of the root node selected by the TRILL network as x, When n is less than or equal to the preset number of root nodes m, then X takes the value n.
  • the absolute priority is a value that is calculated by the RB according to a priority of the RB and a nickname of the RB.
  • n is greater than or equal to m
  • X is equal to m
  • the processing unit is further configured to: :
  • the RB When the LSDB is changed, the RB recalculates the number of RBs in the LSDB that are equal to the RB priority, and updates the value of n;
  • the value of X is n, and the LSPDU is re-issued to announce that the number of roots selected by the TRILL network is x.
  • n is smaller than Or equal to the number of root nodes m set in advance. If yes, the RB is responsible for advertising the number of roots to the TRILL network where the RB is located, so that the TRILL network where the RB is located always passes the best performing RB. Or most services can prevent the RBs with poor capabilities from being elected as root and affect the performance of the TRILL network where the RBs are located.
  • FIG. 1 is a flowchart of a method for selecting a multicast root node in a TRILL network according to Embodiment 1 of the present invention
  • FIG. 2 is a structural diagram of a network device according to Embodiment 2 of the present invention
  • FIG. 3 is a structural diagram of another network device according to Embodiment 3 of the present invention. detailed description
  • FIG. 1 is a flowchart of a method for selecting a multicast root node in a multi-link transparent interconnection TRILL network according to Embodiment 1 of the present invention. As shown in Figure 1, the method includes the following steps:
  • Step 101 The routing bridge RB establishes a neighbor relationship with other RBs connected to the RB according to the intermediate system-intermediate system ISIS protocol, and synchronizes information in the link state database LSDB.
  • each RB in the TRILL network establishes a neighbor relationship with other RBs connected to the RB, so that each RB can obtain the entire network topology of the TRILL network, and establish a neighbor relationship.
  • Each RB synchronizes information in the LSDB, including the number of all RBs in the TRILL network, the topology relationship of each RB and other RBs, and the priority of each RB.
  • Step 102 The RB counts, according to information in the synchronized LSDB, the number of RBs having the same priority as the RB.
  • the information in the synchronized LSDB includes the priority of all the RBs in the TRILL network where the RB is located, and the RB counts the number n of RBs having the same priority as the RB according to the information.
  • Step 103 When the absolute priority of the RB is the highest, the RB issues a link state protocol data unit LSPDU to the TRILL network, and advertises the number x of the multicast root node selected by the TRILL network, when n When it is less than or equal to the preset number of root nodes m, X is equal to n.
  • LSPDU link state protocol data unit
  • the absolute priority is a value calculated by the RB according to a priority of the RB and an alias nickname of the RB.
  • Nickname is the identifier of the two octets used to distinguish between the ingress RB and the egress RB in the TRILL network.
  • Nickname is unique in TRILL, so the calculated absolute priority value is also unique.
  • the RB has the highest absolute priority, and the RB count and the RB number n of the same priority level of the RB are 1, and the preset number of root nodes m is 2, where n is less than 2,
  • the number of the root of the multicast root node that can be selected by the TRILL network is 1, instead of 2; when the RB is based on the LSDB, the n value is 3, n is greater than 2, and X is 2, and the RB is based on The LSDB counts n as 2, n equals 2, and x takes 2. That is, the step ensures that the best performing RB is always selected as the root in the TRILL network, and the selection is not selected.
  • the secondary RB is used as the root, so that the processing service capability of the TRILL network is always implemented by the best performing RB.
  • the RB When the LSDB is changed, the RB recalculates the number of RBs in the LSDB that have the same priority as the RB, and updates the value of n;
  • the LSPDU is re-advertised to announce the root number x of the TRILL network.
  • the RB when the absolute priority of the RB is the highest, and the number of RBs having the same priority level as the RB is n in the TRILL network where the RB is located, it is determined whether n is less than or equal to the preset multicast.
  • the number of root nodes is m. If yes, the RB is responsible for notifying the TRILL network where the RB is located that the number of multicast root nodes is n, so that the TRILL network where the RBs are located always processes the best RBs with the best performance or For most services, it can be avoided that the RB with poor ability is elected as root and affects the performance of the TRILL network where the RB is located.
  • FIG. 2 is a structural diagram of a network device according to Embodiment 2 of the present invention.
  • the device includes an initial unit 201, which is used to execute step 101 of FIG. 1 in Embodiment 1, and a statistical unit 202 is configured to perform implementation.
  • the processing unit 203 is configured to perform step 103 of FIG. 1 in the first embodiment.
  • each unit included in the network device in the second embodiment of the present invention is only divided according to functional logic, but is not limited to the foregoing division, as long as the corresponding function can be implemented;
  • the specific names of the functional units are only for convenience of distinguishing from each other, and are not intended to limit the scope of protection of the present application.
  • the initial unit 201 is configured to: establish, by the routing bridge RB, a neighbor relationship of other RBs connected to the RB according to the intermediate system-intermediate system ISIS protocol, and synchronize information in the link state database LSDB;
  • each RB in the TRILL network establishes a neighbor relationship with other RBs connected to each RB when the device is running, so that each RB can obtain the entire network topology of the TRILL network.
  • each RB synchronizes information in the LSDB, including the number of all RBs in the TRILL network, the topology relationship of each RB and other RBs, and the priority of each RB. Wait.
  • the statistic unit 202 is configured to calculate, according to information in the synchronized LSDB, the number n of RBs having the same priority as the RB;
  • the information in the synchronized LSDB includes the priority of all the RBs in the TRILL network where the RB is located, and the RB counts the number n of RBs having the same priority as the RB according to the information.
  • the processing unit 203 is configured to: when the absolute priority of the RB is the highest, issue a link state protocol data unit LSPDU to the TRILL network, and notify the number of root nodes selected by the TRILL network to be x, when When n is less than or equal to the preset number of root nodes m, then X is n.
  • the absolute priority is a value calculated by the RB according to a priority of the RB and an alias nickname of the RB.
  • Nickname is the identifier of the two octets used to distinguish between the ingress RB and the egress RB in the TRILL network.
  • Nickname is unique in TRILL, so the calculated absolute priority value is also unique.
  • the RB count and the RB number n of the same priority level of the RB are 1, when the number of root nodes m set in advance is 2, where n is less than 2
  • the number of roots of the multicast root node that can be selected by the TRILL network is 1, not 2; when the RB is based on the LSDB, the n value is 3, n is greater than 2, and X is 2, and the RB is counted according to the LSDB.
  • the value of n is 2, n is equal to 2, and x is 2. That is, the step is to ensure that the RB with the best performance is always selected as the root in the TRILL network, and the RB of the performance is not selected as the root, so that the processing service capability of the TRILL network is always implemented by the best performing RB.
  • the processing unit is further configured to: when the LSDB is changed, the RB recalculates the number of RBs in the LSDB that have the same priority as the RB, and updates an n value; when the RB has the highest absolute priority, and When the number of root nodes is less than or equal to m, the number of roots x of the TRILL network is advertised by the LSPDU.
  • the RB calculates the n value according to the information in the LSDB.
  • the RB when the absolute priority of the RB is the highest, and the number of RBs having the same priority level as the RB is n in the TRILL network where the RB is located, it is determined whether n is less than or equal to the preset. The number of root nodes is m. If yes, the RB is responsible for advertising the number of roots to the TRILL network where the RB is located, so that the TRILL network in which the RB is located always processes the important or most services through the best performing RB. It can be avoided that the RB with poor ability is elected as root and affects the performance of the TRILL network where the RB is located.
  • FIG. 3 is a structural diagram of a network device according to Embodiment 3 of the present invention.
  • FIG. 3 is a network device 300 according to an embodiment of the present invention.
  • the specific implementation of the network device does not limit the specific implementation of the network device.
  • the device 300 includes:
  • a processor 301 A processor 301, a communication interface 302, a memory 303, and a bus 304.
  • the processor 301, the communication interface 302, and the memory 303 complete communication with each other via the bus 304.
  • a communication interface 302 configured to communicate with other network devices
  • the processor 301 is configured to execute program A.
  • program A can include program code, the program code including computer operating instructions.
  • the processor 301 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.
  • CPU central processing unit
  • ASIC Application Specific Integrated Circuit
  • the memory 303 is used to store the program A.
  • the memory 303 may include a high speed RAM memory and may also include a non-volatile memory.
  • Program A may specifically include:
  • the initial unit 201 is configured to: establish, by the RB RB, a neighbor relationship with other RBs connected to the RB according to the intermediate system-intermediate system ISIS protocol, and synchronize information in the link state database LSDB;
  • the RB counts the number n of RBs having the same priority as the RB according to information in the synchronized LSDB;
  • the processing unit 203 is configured to: when the absolute priority of the RB is the highest, issue a link state protocol data unit LSPDU to the TRILL network, and notify the number of root nodes selected by the TRILL network to be x, when When n is less than or equal to the preset number of root nodes m, then X is n.
  • each unit in the program A refers to the corresponding unit in the embodiment shown in FIG. 2, which is not described herein.

Abstract

Published are a method and network device for selecting a multicast root node in a TRILL network. When the absolute priority level of an RB is the highest, and in the case where the number of RBs having the same priority level as that of the RB in a TRILL network in which the RB is located is n, it is judged whether n is less than or equal to the number m of root nodes set in advance, and if so, the RB notifies the TRILL network in which the RB is located that the number of multicast root nodes is n. By means of the present invention, in the TRILL network in which the RB is located, important or most services are processed by the RB with best performance all the time, thereby being able to avoid the performance of the TRILL network in which the RB is located being affected due to the fact that the RB with a poor capability is selected as a multicast root node.

Description

种 TRILL网络中组播根节点选择的方法及网络设备 本申请要求于 2012年 11月 12日提交中国专利局、 申请号为 201210450447.X、 发明名 称为"一种 TRILL网络中组播根节点选择的方法及网络设备"的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域  Method for selecting multicast root node in TRILL network and network device The application claims to be submitted to the Chinese Patent Office on November 12, 2012, the application number is 201210450447.X, and the invention name is "a multicast root node selection in a TRILL network" The priority of the Chinese Patent Application, the entire disclosure of which is hereby incorporated by reference. Technical field
本发明属于通信领域, 尤其涉及一种 TRILL 网络中组播根节点选择的方法及网络 设备。 背景技术  The present invention belongs to the field of communications, and in particular, to a method and network device for selecting a multicast root node in a TRILL network. Background technique
多链路透明互联 (Transparent Interconnection of Lots of Links, TRILL) 网络部署完 成之后, 首先由路由桥 (Router Bridge, RB ) 根据中间系统-中间系统 (Intermediate System-Intermediate System, ISIS)协议, 和所述 RB连接的其他 RB建立邻居关系, 最 后每台 RB都拥有整网拓扑, 同时所述 RB 同步链路状态数据库 LSDB中的信息。 RB 根据配置优先级和别名 (nickname) 计算得到绝对优先级, 由绝对优先级最高的设备向 广播所述 TRILL网络需要选出的组播根节点 (root)个数; 各 RB根据相同的 root进行 最短路径优先 (Shortest Path First, SPF)计算, 计算出相同的共享树; 计算出的共享树 为双向树,组播流量可以从叶子到根节点,也可以从根节点到叶子; Ingress RB节点(报 文在此处从普通以太网进入 TRILL网络) 选择距离自己较近的 root进行转发。  After the completion of the network deployment of the Transparent Interconnection of Lots of Links (TRILL), the routing bridge (RB) is first based on the Intermediate System-Intermediate System (ISIS) protocol, and The other RBs connected to the RB establish a neighbor relationship. Finally, each RB has a whole network topology, and the RB synchronizes the information in the link state database LSDB. The RB calculates the absolute priority according to the configuration priority and the nickname. The number of multicast root nodes (roots) to be elected by the device with the highest priority is broadcasted to the TRILL network. Each RB is based on the same root. Shortest Path First (SPF) calculation, calculate the same shared tree; calculated shared tree is a bidirectional tree, multicast traffic can be from leaf to root node, from root node to leaf; Ingress RB node ( Here, the packet enters the TRILL network from the normal Ethernet. Select the root that is closer to itself to forward.
在典型双核心 +接入场景中, 核心和接入层通常会采用处理能力不同的设备, 而核 心设备能力更优, 通常从 TRILL网络中的 RB设备中选取绝对值优先级最高的两台 RB 作为 root,双核心设备可实现设备和链路冗余,解决单点故障,提高可靠性。当作为 root 的两台 RB中其中有 1台 RB出现故障时, 根据绝对优先级最高的设备的通告, 整网仍 需选出 2个 root, 因此会有 1台能力次于原 root的接入设备被选为新 r00t。 In a typical dual-core+access scenario, the core and access layers usually use devices with different processing capabilities, and the core devices have better capabilities. Generally, two RBs with the highest absolute priority are selected from the RB devices in the TRILL network. As root, dual-core devices enable device and link redundancy to address single points of failure and improve reliability. When one of the two RBs as the root fails, the second network still needs to select two roots based on the advertisement of the device with the highest priority. Therefore, one device has access to the original root. The device is selected as the new r 00 t.
如果某台核心交换机 down (表示接口状态,接口状态 down即处于停止工作状态), 根据现有规则, 需要在整网选出 2个 root, 则必然出现能力较差的接入设备被选为 root 以代替原有 root的情况。接入设备承担 root角色后,增加了系统资源的消耗,流量增大, 进而影响用户接入服务。 发明内容 本发明实施例的目的在于提供的一种 TRILL 网络中组播根节点选择的方法, 所述 方法可以在不改变当前 TRILL协议的情况下, 解决同一网络中性能较差设备可能被选 举为 root的问题。 If a core switch is down (indicating the status of the interface and the interface is down, the device is down). According to the existing rules, you need to select two roots on the entire network. The access device with poor capability is elected as the root. To replace the original root situation. After the access device assumes the root role, the system resources are consumed and the traffic is increased, which in turn affects the user access service. Summary of the invention The object of the embodiment of the present invention is to provide a method for selecting a multicast root node in a TRILL network, where the method can solve the problem that a poor performance device in the same network may be elected as root without changing the current TRILL protocol. problem.
第一方面, 本发明提供一种多链路透明互联 TRILL网络中组播根节点选择的方法, 其特征在于, 所述方法包括:  In a first aspect, the present invention provides a method for selecting a multicast root node in a multi-link transparent interconnect TRILL network, where the method includes:
路由桥 RB根据中间系统-中间系统 ISIS协议,建立和所述 RB连接的其他 RB的邻 居关系, 并同步链路状态数据库 LSDB中的信息;  The routing bridge RB establishes a neighbor relationship with other RBs connected to the RB according to the intermediate system-intermediate system ISIS protocol, and synchronizes information in the link state database LSDB;
所述 RB根据同步后的 LSDB中的信息统计和所述 RB具有相同优先级的的 RB的 数量 n;  The RB counts the number of RBs having the same priority as the RB according to the information in the synchronized LSDB;
当所述 RB的绝对优先级最高时, 则向所述 RB所在的 TRILL网络发布链路状态协 议数据单元 LSPDU, 通告所述 TRILL网络的组播根节点 root数量为 x, 当 n小于或等 于预先设置的组播根节点数量 m时, 则 X取值为 n。  When the absolute priority of the RB is the highest, the link state protocol data unit LSPDU is advertised to the TRILL network where the RB is located, and the number of the root root node of the TRILL network is advertised as x, when n is less than or equal to the pre- When the number of multicast root nodes is set to m, X is n.
结合第一方面, 在第一方面的第一种可能的实现方式中, 所述绝对优先级是所述 RB根据所述 RB的优先级和所述 RB的别名 nickname计算得到的绝值。  With reference to the first aspect, in a first possible implementation manner of the first aspect, the absolute priority is an absolute value calculated by the RB according to a priority of the RB and an alias nickname of the RB.
结合第一方面的第一种可能的实现方式, 在第一方面的第二种可能的实现方式中, 所述方法包括:  In conjunction with the first possible implementation of the first aspect, in a second possible implementation of the first aspect, the method includes:
当当 n大于或等于 m时, 所述 X等于 m。  When n is greater than or equal to m, the X is equal to m.
结合第一方面或第一方面的第一种可能的实现方式或第一方面的第二种可能的实 现方式, 在第一方面的第三种可能的实现方式中, 所述方法还包括:  With reference to the first aspect, or the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the method further includes:
当所述 LSDB变更时,所述 RB重新计算所述 LSDB中与所述 RB优先级等同的 RB 数量, 更新 n值;  When the LSDB is changed, the RB recalculates the number of RBs in the LSDB that are equal to the RB priority, and updates the value of n;
当所述 RB绝对优先级最高, 且 n小于或等于预先设置的根节点数量 m时, 则 x取 值为 n, 并重新发布 LSPDU通告所述 TRILL网络选择的 root数量为 x。  When the absolute priority of the RB is the highest, and n is less than or equal to the preset number of root nodes m, then the value of x is n, and the LSPDU is re-issued to announce that the number of roots selected by the TRILL network is x.
第二方面, 本发明提供一种网络设备, 其特征在于, 所述设备包括:  In a second aspect, the present invention provides a network device, where the device includes:
初始单元, 用于路由桥 RB根据中间协议 ISIS协议, 建立和所述 RB连接的其他 An initial unit, used for routing bridge RB, according to the intermediate protocol ISIS protocol, establishing other connections with the RB
RB的邻居关系, 并同步链路状态数据库 LSDB中的信息; Neighbor relationship of the RB, and synchronize the information in the link state database LSDB;
统计单元, 用于所述 RB根据同步后的 LSDB中的信息统计和所述 RB具有相同优 先级的的 RB数量 n;  a statistical unit, configured to calculate, according to information in the synchronized LSDB, the number of RBs having the same priority as the RB;
处理单元, 用于当所述 RB的绝对优先级最高时, 则向所述 RB所在的 TRILL网络 发布链路状态协议数据单元 LSPDU,通告所述 TRILL网络选择的根节点 root数量为 x, 当 n小于或等于预先设置的根节点数量 m时, 则 X取值为 n。 a processing unit, configured to: when the absolute priority of the RB is the highest, issue a link state protocol data unit LSPDU to the TRILL network where the RB is located, and notify the root number of the root node selected by the TRILL network as x, When n is less than or equal to the preset number of root nodes m, then X takes the value n.
结合第二方面, 在第二方面的第一种可能的实现方式中, 所述绝对优先级是所述 RB根据所述 RB的优先级和所述 RB的 nickname计算得到的值。  With reference to the second aspect, in a first possible implementation manner of the second aspect, the absolute priority is a value that is calculated by the RB according to a priority of the RB and a nickname of the RB.
结合第二方面的第一种可能的实现方式, 在第二方面的第二种可能的实现方式中, 当 n大于或等于 m时, 所述 X等于 m。  With reference to the first possible implementation of the second aspect, in a second possible implementation of the second aspect, when n is greater than or equal to m, the X is equal to m.
结合第二方面或第二方面的第一种可能的实现方式或第二方面的第二种可能的实 现方式, 在第二方面的第三种可能的实现方式中, 所述处理单元还用于:  With reference to the second aspect or the first possible implementation of the second aspect or the second possible implementation of the second aspect, in a third possible implementation manner of the second aspect, the processing unit is further configured to: :
当所述 LSDB变更时,所述 RB重新计算所述 LSDB中与所述 RB优先级等同的 RB 数量, 更新 n值;  When the LSDB is changed, the RB recalculates the number of RBs in the LSDB that are equal to the RB priority, and updates the value of n;
当所述 RB绝对优先级最高, 且 n小于或等于预先设置的根节点数量 m时, 则 X取 值为 n, 并重新发布 LSPDU通告所述 TRILL网络选择的 root数量为 x。  When the absolute priority of the RB is the highest, and n is less than or equal to the preset number of root nodes, the value of X is n, and the LSPDU is re-issued to announce that the number of roots selected by the TRILL network is x.
与现有技术相比, 本发明实施例中, 当 RB的绝对优先级最高, 且所述 RB所在的 TRILL网络中, 具有和所述 RB相同优先级别的 RB数量为 n, 通过判断 n是否小于或 者等于预先设置的根节点数量 m, 若是, 则所述 RB负责向所述 RB所在的 TRILL网络 通告 root数量为 n, 使得所述 RB所在的 TRILL网络中始终通过性能最好的 RB处理重 要的或者大部分业务, 可以避免能力较差的 RB被选举为 root而影响所述 RB所在的 TRILL网络的性能。 附图说明  Compared with the prior art, in the embodiment of the present invention, when the absolute priority of the RB is the highest, and the number of RBs having the same priority level as the RB is n in the TRILL network where the RB is located, it is determined whether n is smaller than Or equal to the number of root nodes m set in advance. If yes, the RB is responsible for advertising the number of roots to the TRILL network where the RB is located, so that the TRILL network where the RB is located always passes the best performing RB. Or most services can prevent the RBs with poor capabilities from being elected as root and affect the performance of the TRILL network where the RBs are located. DRAWINGS
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例中所需要使用的附 图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本 领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其 他的附图。  In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings to be used in the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying creative labor.
图 1是本发明实施例一提供的一种 TRILL网络中组播根节点选择的方法流程图; 图 2是本发明实施例二提供的一种网络设备结构图;  1 is a flowchart of a method for selecting a multicast root node in a TRILL network according to Embodiment 1 of the present invention; FIG. 2 is a structural diagram of a network device according to Embodiment 2 of the present invention;
图 3是本发明实施例三提供的另一种网络设备结构图。 具体实施方式  FIG. 3 is a structural diagram of another network device according to Embodiment 3 of the present invention. detailed description
为了使本发明的目的、 技术方案及优点更加清楚明白, 以下结合附图及实施例, 对 本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明, 并不用于限定本发明。 以上所述仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡在本发明的精神 和原则之内所作的任何修改、 等同替换和改进等, 均应包含在本发明的保护范围之内。 The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. Within the scope.
实施例一  Embodiment 1
参考图 1, 图 1是本发明实施例一提供的一种多链路透明互联 TRILL网络中组播根 节点选择的方法流程图。 如图 1所示, 该方法包括以下步骤:  Referring to FIG. 1, FIG. 1 is a flowchart of a method for selecting a multicast root node in a multi-link transparent interconnection TRILL network according to Embodiment 1 of the present invention. As shown in Figure 1, the method includes the following steps:
步骤 101, 路由桥 RB根据中间系统-中间系统 ISIS协议, 建立和所述 RB连接的其 他 RB的邻居关系, 并同步链路状态数据库 LSDB中的信息;  Step 101: The routing bridge RB establishes a neighbor relationship with other RBs connected to the RB according to the intermediate system-intermediate system ISIS protocol, and synchronizes information in the link state database LSDB.
具体的, TRILL网络中的每台 RB在运行时, 都跟与所述 RB相连的其他 RB建立 邻居关系, 使得每台 RB都能够获得所在的 TRILL网络的整网拓扑, 同时, 在建立邻居 关系的时候, 每台 RB都同步 LSDB中的信息, 所述信息包括 TRILL网络中的所有 RB 的数量, 每台 RB和其他 RB的拓扑关系, 以及每台 RB的优先级等等。  Specifically, each RB in the TRILL network establishes a neighbor relationship with other RBs connected to the RB, so that each RB can obtain the entire network topology of the TRILL network, and establish a neighbor relationship. Each RB synchronizes information in the LSDB, including the number of all RBs in the TRILL network, the topology relationship of each RB and other RBs, and the priority of each RB.
步骤 102, 所述 RB根据同步后的 LSDB中的信息统计和所述 RB具有相同优先级 的 RB的数量 n;  Step 102: The RB counts, according to information in the synchronized LSDB, the number of RBs having the same priority as the RB.
具体的, 同步后的 LSDB中的信息包括所述 RB所在的 TRILL网络中所有 RB的优 先级, 所述 RB根据所述信息统计和所述 RB具有相同优先级的 RB的数量 n。  Specifically, the information in the synchronized LSDB includes the priority of all the RBs in the TRILL network where the RB is located, and the RB counts the number n of RBs having the same priority as the RB according to the information.
步骤 103, 当所述 RB的绝对优先级最高时, 则所述 RB向所述 TRILL网络发布链 路状态协议数据单元 LSPDU, 通告所述 TRILL网络选择的组播根节点 root的数量 x, 当 n小于或等于预先设置的根节点数量 m时, X等于 n。  Step 103: When the absolute priority of the RB is the highest, the RB issues a link state protocol data unit LSPDU to the TRILL network, and advertises the number x of the multicast root node selected by the TRILL network, when n When it is less than or equal to the preset number of root nodes m, X is equal to n.
优选的, 所述绝对优先级是所述 RB 根据所述 RB 的优先级和所述 RB 的别名 nickname计算得到的值。其中, nickname为 TRILL网络中用于区分入口 RB和出口 RB 的两个八比特字节的标识。 Nickname在 TRILL中具有唯一性, 因此, 计算得到的绝对 优先级的值也是唯一的。  Preferably, the absolute priority is a value calculated by the RB according to a priority of the RB and an alias nickname of the RB. Nickname is the identifier of the two octets used to distinguish between the ingress RB and the egress RB in the TRILL network. Nickname is unique in TRILL, so the calculated absolute priority value is also unique.
本步骤中, 如果所述 RB绝对优先级最高, 则所述 RB通告所述所述 TRILL网络选 择的根节点 root数量 x, 当 n小于或等于预先设置的根节点数量 m时, 则 x=n, 当 n大 于 m时, x=m。  In this step, if the RB has the highest absolute priority, the RB advertises the root number x of the root node selected by the TRILL network, and when n is less than or equal to the preset number of root nodes m, then x=n , when n is greater than m, x=m.
具体的, 当所述 RB绝对优先级最高, 且所述 RB统计和所述所述 RB相同优先级 别的 RB数量 n为 1,预先设置的根节点数量 m为 2时,此时 n小于 2,则所述所述 TRILL 网络可以选择的组播根节点 root的数量为 1, 而不是 2; 所述 RB根据 LSDB统计 n值 为 3时, n大于 2, X取值为 2, 所述 RB根据 LSDB统计 n值为 2, n等于 2, x取值 为 2。 即所述步骤保证 TRILL网络中始终选取性能最好的 RB作为 root, 而不会选取性 能次的 RB作为 root, 从而保证所述 TRILL 网络的处理业务能力始终通过性能最好的 RB来实现。 Specifically, when the RB has the highest absolute priority, and the RB count and the RB number n of the same priority level of the RB are 1, and the preset number of root nodes m is 2, where n is less than 2, The number of the root of the multicast root node that can be selected by the TRILL network is 1, instead of 2; when the RB is based on the LSDB, the n value is 3, n is greater than 2, and X is 2, and the RB is based on The LSDB counts n as 2, n equals 2, and x takes 2. That is, the step ensures that the best performing RB is always selected as the root in the TRILL network, and the selection is not selected. The secondary RB is used as the root, so that the processing service capability of the TRILL network is always implemented by the best performing RB.
当所述 LSDB变更时, 所述 RB重新计算所述 LSDB中与所述 RB具有相同优先级 的 RB数量, 更新 n值;  When the LSDB is changed, the RB recalculates the number of RBs in the LSDB that have the same priority as the RB, and updates the value of n;
当所述 RB绝对优先级最高, 且 n小于或等于预先设置的根节点数量 m时, 重新发 布 LSPDU通告所述 TRILL网络的 root数量 x。  When the RB has the highest absolute priority and n is less than or equal to the preset number of root nodes, the LSPDU is re-advertised to announce the root number x of the TRILL network.
具体的, 当所述 RB绝对优先级最高, 且所述 RB根据 LSDB中的信息统计 n值为 2时, 若此时其中一台同所述 RB优先级相同的 RB down掉后, LSDB中的信息发生变 更, 所述 RB重新计算计算所述 LSDB中与所述 RB相同的优先级的 RB数量, 更新 n 值为 1, 若 m此时取值为 2, 则 m>n, x=n, 即 x=n=l。  Specifically, when the RB has the highest absolute priority, and the RB counts according to the information in the LSDB, the n value is 2, if one of the RBs with the same RB priority is down, the LSDB If the information is changed, the RB recalculates and calculates the number of RBs in the LSDB with the same priority as the RB, and updates the value of n to 1. If m is 2, m>n, x=n, That is, x=n=l.
本发明实施例中, 当 RB的绝对优先级最高, 且所述 RB所在的 TRILL网络中, 具 有和所述 RB相同优先级别的 RB数量为 n, 通过判断 n是否小于或者等于预先设置的 组播根节点数量 m, 若是, 则所述 RB负责向所述 RB所在的 TRILL网络通告组播根节 点 root数量为 n, 使得所述 RB所在的 TRILL网络中始终通过性能最好的 RB处理重要 的或者大部分业务,可以避免能力较差的 RB被选举为 root而影响所述 RB所在的 TRILL 网络的性能。  In the embodiment of the present invention, when the absolute priority of the RB is the highest, and the number of RBs having the same priority level as the RB is n in the TRILL network where the RB is located, it is determined whether n is less than or equal to the preset multicast. The number of root nodes is m. If yes, the RB is responsible for notifying the TRILL network where the RB is located that the number of multicast root nodes is n, so that the TRILL network where the RBs are located always processes the best RBs with the best performance or For most services, it can be avoided that the RB with poor ability is elected as root and affects the performance of the TRILL network where the RB is located.
实施例二  Embodiment 2
参考图 2, 图 2是本发明实施例二提供的一种网络设备结构图, 所述设备包括初始 单元 201, 用于执行实施例一中图 1的步骤 101, 统计单元 202, 用于执行实施例一中图 1的步骤 102, 处理单元 203, 用于执行实施例一中图 1的步骤 103。  Referring to FIG. 2, FIG. 2 is a structural diagram of a network device according to Embodiment 2 of the present invention. The device includes an initial unit 201, which is used to execute step 101 of FIG. 1 in Embodiment 1, and a statistical unit 202 is configured to perform implementation. In step 1 of FIG. 1, the processing unit 203 is configured to perform step 103 of FIG. 1 in the first embodiment.
本领域普通技术人员可以理解为所述本发明实施例二中的网络设备所包括的各个 单元只是按照功能逻辑进行划分的, 但并不局限于上述的划分, 只要能够实现相应的功 能即可; 另外, 各功能单元的具体名称也只是为了便于相互区分, 并不用于限制本申请 的保护范围。  A person skilled in the art can understand that each unit included in the network device in the second embodiment of the present invention is only divided according to functional logic, but is not limited to the foregoing division, as long as the corresponding function can be implemented; In addition, the specific names of the functional units are only for convenience of distinguishing from each other, and are not intended to limit the scope of protection of the present application.
初始单元 201, 用于路由桥 RB根据中间系统-中间系统 ISIS协议, 建立和所述 RB 连接的其他 RB的邻居关系, 并同步链路状态数据库 LSDB中的信息;  The initial unit 201 is configured to: establish, by the routing bridge RB, a neighbor relationship of other RBs connected to the RB according to the intermediate system-intermediate system ISIS protocol, and synchronize information in the link state database LSDB;
具体的, TRILL网络中的每台 RB在设备运行时, 都跟与所述每台 RB相连的其他 RB建立邻居关系, 使得所述每台 RB都能获得所在的 TRILL网络的整网拓扑, 同时, 在建立邻居关系的时候,每台 RB都进行同步 LSDB中的信息,所述信息包括 TRILL网 络中的所有 RB的数量, 每台 RB和其他 RB的拓扑关系, 以及每台 RB的优先级等等。 统计单元 202, 用于所述 RB根据同步后的 LSDB中的信息统计和所述 RB具有相 同优先级的的 RB的数量 n; Specifically, each RB in the TRILL network establishes a neighbor relationship with other RBs connected to each RB when the device is running, so that each RB can obtain the entire network topology of the TRILL network. When establishing a neighbor relationship, each RB synchronizes information in the LSDB, including the number of all RBs in the TRILL network, the topology relationship of each RB and other RBs, and the priority of each RB. Wait. The statistic unit 202 is configured to calculate, according to information in the synchronized LSDB, the number n of RBs having the same priority as the RB;
具体的, 同步后的 LSDB中的信息包括所述 RB所在的 TRILL网络中所有 RB的优 先级, 所述 RB根据所述信息统计和所述 RB具有相同优先级的 RB的数量 n。  Specifically, the information in the synchronized LSDB includes the priority of all the RBs in the TRILL network where the RB is located, and the RB counts the number n of RBs having the same priority as the RB according to the information.
处理单元 203, 用于当所述 RB的绝对优先级最高时, 则向述 RB向所述 TRILL网 络发布链路状态协议数据单元 LSPDU, 通告所述 TRILL网络选择的根节点 root数量为 x, 当 n小于或等于预先设置的根节点数量 m时, 则 X取值为 n。  The processing unit 203 is configured to: when the absolute priority of the RB is the highest, issue a link state protocol data unit LSPDU to the TRILL network, and notify the number of root nodes selected by the TRILL network to be x, when When n is less than or equal to the preset number of root nodes m, then X is n.
可优选的, 所述绝对优先级是所述 RB根据所述 RB 的优先级和所述 RB 的别名 nickname计算得到的值。其中, nickname为 TRILL网络中用于区分入口 RB和出口 RB 的两个八比特字节的标识。 Nickname在 TRILL中具有唯一性, 因此, 计算得到的绝对 优先级的值也是唯一的。  Preferably, the absolute priority is a value calculated by the RB according to a priority of the RB and an alias nickname of the RB. Nickname is the identifier of the two octets used to distinguish between the ingress RB and the egress RB in the TRILL network. Nickname is unique in TRILL, so the calculated absolute priority value is also unique.
具体的,如果所述 RB绝对优先级最高,则所述 RB通告所述所述 RB所在的 TRILL 网络选择的根节点 root数量为 x, 当 n小于或等于预先设置的根节点数量 m时, 则 x取 值为 n, 当 n大于 m时, x=m。  Specifically, if the RB has the highest absolute priority, the RB advertises that the number of root nodes selected by the TRILL network where the RB is located is x, and when n is less than or equal to the preset number of root nodes m, x is n, and when n is greater than m, x=m.
具体的, 当所述 RB绝对优先级最高, 且所述 RB统计和所述所述 RB相同优先级 别的 RB数量 n为 1时,预先设置的根节点数量 m为 2时,此时 n小于 2,则所述 TRILL 网络可以选择的组播根节点 root数量为 1,而不是 2;所述 RB根据 LSDB统计 n值为 3 时, n大于 2, X取值为 2, 所述 RB根据 LSDB统计 n值为 2, n等于 2, x取值为 2。 即所述步骤保证 TRILL网络中始终选取性能最好的 RB作为 root,而不会选取性能次的 RB作为 root, 从而保证所述 TRILL网络的处理业务能力始终通过性能最好的 RB来实 现。  Specifically, when the RB has the highest absolute priority, and the RB count and the RB number n of the same priority level of the RB are 1, when the number of root nodes m set in advance is 2, where n is less than 2 The number of roots of the multicast root node that can be selected by the TRILL network is 1, not 2; when the RB is based on the LSDB, the n value is 3, n is greater than 2, and X is 2, and the RB is counted according to the LSDB. The value of n is 2, n is equal to 2, and x is 2. That is, the step is to ensure that the RB with the best performance is always selected as the root in the TRILL network, and the RB of the performance is not selected as the root, so that the processing service capability of the TRILL network is always implemented by the best performing RB.
所述处理单元还用于当所述 LSDB变更时, 所述 RB重新计算所述 LSDB中与所述 RB具有相同优先级的 RB数量, 更新 n值; 当所述 RB绝对优先级最高, 且 n小于或等 于预先设置的根节点数量 m时, 重新发布 LSPDU通告所述 TRILL网络的 root数量 x。  The processing unit is further configured to: when the LSDB is changed, the RB recalculates the number of RBs in the LSDB that have the same priority as the RB, and updates an n value; when the RB has the highest absolute priority, and When the number of root nodes is less than or equal to m, the number of roots x of the TRILL network is advertised by the LSPDU.
具体的, 当所述 RB绝对优先级最高, 且所述 RB根据 LSDB中的信息统计 n值为 Specifically, when the RB has the highest absolute priority, and the RB calculates the n value according to the information in the LSDB.
2时, 若此时其中一台同所述 RB优先级相同的 RB down掉后, LSDB中的信息发生变 更, 所述 RB重新计算计算所述 LSDB中与所述 RB相同的优先级的 RB数量, 更新 n 值为 1, 若 m此时取值为 2, 则 m>n, x=n, 即 x=n=l。 At 2 o'clock, if one of the RBs with the same RB priority is down, the information in the LSDB is changed, and the RB recalculates and calculates the number of RBs in the LSDB with the same priority as the RB. , update n value is 1, if m is now 2, then m>n, x=n, ie x=n=l.
本发明实施例中,通过当 RB的绝对优先级最高,且所述 RB所在的 TRILL网络中, 具有和所述 RB相同优先级别的 RB数量为 n, 通过判断 n是否小于或者等于预先设置 的根节点数量 m, 若是, 则所述 RB负责向所述 RB所在的 TRILL网络通告 root数量为 n, 使得所述 RB所在的 TRILL网络中始终通过性能最好的 RB处理重要的或者大部分 业务,可以避免能力较差的 RB被选举为 root而影响所述 RB所在的 TRILL网络的性能。 In the embodiment of the present invention, when the absolute priority of the RB is the highest, and the number of RBs having the same priority level as the RB is n in the TRILL network where the RB is located, it is determined whether n is less than or equal to the preset. The number of root nodes is m. If yes, the RB is responsible for advertising the number of roots to the TRILL network where the RB is located, so that the TRILL network in which the RB is located always processes the important or most services through the best performing RB. It can be avoided that the RB with poor ability is elected as root and affects the performance of the TRILL network where the RB is located.
实施例三  Embodiment 3
参考图 3, 图 3是本发明实施例三提供的一种网络设备结构图。 参考图 3, 图 3是 本发明实施例提供的一种网络设备 300, 本发明具体实施例并不对所述网络设备的具体 实现做限定。 所述设备 300包括:  Referring to FIG. 3, FIG. 3 is a structural diagram of a network device according to Embodiment 3 of the present invention. Referring to FIG. 3, FIG. 3 is a network device 300 according to an embodiment of the present invention. The specific implementation of the network device does not limit the specific implementation of the network device. The device 300 includes:
处理器(processor)301 , 通信接 口(Communications Interface)302, 存储器 (memory)303 , 总线 304。  A processor 301, a communication interface 302, a memory 303, and a bus 304.
处理器 301, 通信接口 302, 存储器 303通过总线 304完成相互间的通信。  The processor 301, the communication interface 302, and the memory 303 complete communication with each other via the bus 304.
通信接口 302, 用于与其他网络设备进行通信;  a communication interface 302, configured to communicate with other network devices;
处理器 301, 用于执行程序 A。  The processor 301 is configured to execute program A.
具体地, 程序 A可以包括程序代码, 所述程序代码包括计算机操作指令。  In particular, program A can include program code, the program code including computer operating instructions.
处理器 301可能是一个中央处理器 CPU, 或者是特定集成电路 ASIC (Application Specific Integrated Circuit), 或者是被配置成实施本发明实施例的一个或多个集成电路。  The processor 301 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.
存储器 303, 用于存放程序 A。 存储器 303可能包含高速 RAM存储器, 也可能还 包括非易失性存储器 ( non- volatile memory )。 程序 A具体可以包括:  The memory 303 is used to store the program A. The memory 303 may include a high speed RAM memory and may also include a non-volatile memory. Program A may specifically include:
初始单元 201, 用于路由桥 RB根据中间系统-中间系统 ISIS协议, 建立和所述 RB 连接的其他 RB的邻居关系, 并同步链路状态数据库 LSDB中的信息; 统计单元 202, 用于所述 RB根据同步后的 LSDB中的信息统计和所述 RB具有相同优先级的的 RB的 数量 n;  The initial unit 201 is configured to: establish, by the RB RB, a neighbor relationship with other RBs connected to the RB according to the intermediate system-intermediate system ISIS protocol, and synchronize information in the link state database LSDB; The RB counts the number n of RBs having the same priority as the RB according to information in the synchronized LSDB;
处理单元 203, 用于当所述 RB的绝对优先级最高时, 则向述 RB向所述 TRILL网 络发布链路状态协议数据单元 LSPDU, 通告所述 TRILL网络选择的根节点 root数量为 x, 当 n小于或等于预先设置的根节点数量 m时, 则 X取值为 n。  The processing unit 203 is configured to: when the absolute priority of the RB is the highest, issue a link state protocol data unit LSPDU to the TRILL network, and notify the number of root nodes selected by the TRILL network to be x, when When n is less than or equal to the preset number of root nodes m, then X is n.
具体的,程序 A中各单元的具体实现参见图 2所示实施例中的相应单元,在此不赘 述。  Specifically, for the specific implementation of each unit in the program A, refer to the corresponding unit in the embodiment shown in FIG. 2, which is not described herein.
以上所述仅为本发明的优选实施方式, 并不构成对本发明保护范围的限定。 任何在 本发明的原则之内所作的任何修改、 等同替换和改进等, 均应包含在本发明要求包含范 围之内。  The above is only a preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions and improvements made within the principles of the invention are intended to be included within the scope of the invention.

Claims

权利要求 Rights request
1、 一种多链路透明互联 TRILL网络中组播根节点选择的方法, 其特征在于, 所述 方法包括: 1. A method for selecting multicast root nodes in a multi-link transparent interconnection TRILL network, characterized in that the method includes:
路由桥 RB根据中间系统-中间系统 ISIS协议,建立和所述 RB连接的其他 RB的邻 居关系, 并同步链路状态数据库 LSDB中的信息; The routing bridge RB establishes neighbor relationships with other RBs connected to the RB according to the intermediate system-intermediate system ISIS protocol, and synchronizes the information in the link state database LSDB;
所述 RB根据同步后的 LSDB中的信息统计和所述 RB具有相同优先级的 RB的数 量 n; The RB counts the number n of RBs with the same priority as the RB based on the information in the synchronized LSDB;
当所述 RB的绝对优先级最高时, 则向所述 RB所在的 TRILL网络发布链路状态协 议数据单元 LSPDU, 通告所述 TRILL网络的组播根节点 root数量为 x; 当 n小于或等 于预先设置的组播根节点数量 m时, 则所述 X 等于 n。 When the absolute priority of the RB is the highest, the link state protocol data unit LSPDU is released to the TRILL network where the RB is located, and the number of multicast root nodes of the TRILL network is x; when n is less than or equal to the preset When the number of multicast root nodes is set to m, then X is equal to n.
2、 根据权利要求 1所述的方法, 其特征在于, 所述绝对优先级是所述 RB根据所 述 RB的优先级和所述 RB的别名 nickname计算得到的值。 2. The method according to claim 1, wherein the absolute priority is a value calculated by the RB based on the priority of the RB and the nickname of the RB.
3、 根据权利要求 2所述的方法, 其特征在于: 3. The method according to claim 2, characterized in that:
当 n大于或等于 m时, 所述 X等于 m。 When n is greater than or equal to m, the X is equal to m.
4、 根据权利要求 1-3中任意一项所述的方法, 其特征在于, 所述方法还包括: 当所述 LSDB变更时, 所述 RB重新计算所述 LSDB中与所述 RB具有相同优先级 的 RB数量, 更新 n值; 4. The method according to any one of claims 1-3, characterized in that, the method further includes: when the LSDB is changed, the RB recalculates the LSDB with the same priority as the RB. The number of RBs in the level, update the n value;
当所述 RB绝对优先级最高, 且 n小于或等于预先设置的根节点数量 m时, 重新发 布 LSPDU通告所述 TRILL网络的 root数量 x。 When the RB has the highest absolute priority and n is less than or equal to the preset number of root nodes m, LSPDU is re-issued to notify the root number x of the TRILL network.
5、 一种网络设备, 其特征在于, 所述设备包括: 5. A network device, characterized in that the device includes:
初始单元, 用于路由桥 RB根据中间协议 ISIS协议, 建立和所述 RB连接的其他 RB的邻居关系, 并同步链路状态数据库 LSDB中的信息; The initial unit is used for the routing bridge RB to establish neighbor relationships with other RBs connected to the RB according to the intermediate protocol ISIS protocol, and to synchronize the information in the link state database LSDB;
统计单元, 用于所述 RB根据同步后的 LSDB中的信息统计和所述 RB具有相同优 先级的的 RB数量 n; A statistical unit, used for the RB to count the number n of RBs that have the same priority as the RB according to the information in the synchronized LSDB;
处理单元, 用于当所述 RB的绝对优先级最高时, 则向所述 RB所在的 TRILL网络 发布链路状态协议数据单元 LSPDU,通告所述 TRILL网络选择的根节点 root数量为 x, 当 n小于或等于预先设置的根节点数量 m时, 则 X取值为 n。 A processing unit configured to, when the absolute priority of the RB is the highest, publish a link state protocol data unit LSPDU to the TRILL network where the RB is located, and notify that the number of root nodes selected by the TRILL network is x. When n When it is less than or equal to the preset number of root nodes m, then the value of X is n.
6、 根据权利要求 5所述的设备, 其特征在于, 所述绝对优先级是所述 RB根据所 述 RB的优先级和所述 RB的 nickname计算得到的值。 6. The device according to claim 5, wherein the absolute priority is a value calculated by the RB based on the priority of the RB and the nickname of the RB.
7、 根据权利要求 6所述的设备, 其特征在于, 当 n大于或等于 m时, 所述 x等于 m。 7. The device according to claim 6, characterized in that, When n is greater than or equal to m, the x is equal to m.
8、 根据权利要求 5至 7中任意一项所述的设备, 其特征在于, 所述处理单元还用 于: 8. The device according to any one of claims 5 to 7, characterized in that the processing unit is also used for:
当所述 LSDB变更时,所述 RB重新计算所述 LSDB中与所述 RB优先级等同的 RB 数量, 更新 n值; When the LSDB changes, the RB recalculates the number of RBs in the LSDB that are equal to the RB priority, and updates the n value;
当所述 RB绝对优先级最高, 且 n小于或等于预先设置的根节点数量 m时, 则 x取 值为 n, 并重新发布 LSPDU通告所述 TRILL网络选择的 root数量为 x。 When the RB has the highest absolute priority and n is less than or equal to the preset number of root nodes m, then x takes the value n, and the LSPDU is re-issued to notify that the number of roots selected by the TRILL network is x.
PCT/CN2013/076059 2012-11-12 2013-05-22 Method and network device for selecting multicast root node in trill network WO2014071729A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210450447.XA CN103812781B (en) 2012-11-12 2012-11-12 Method for selecting multicast root nodes in TRILL network and network device
CN201210450447.X 2012-11-12

Publications (1)

Publication Number Publication Date
WO2014071729A1 true WO2014071729A1 (en) 2014-05-15

Family

ID=50684006

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/076059 WO2014071729A1 (en) 2012-11-12 2013-05-22 Method and network device for selecting multicast root node in trill network

Country Status (2)

Country Link
CN (1) CN103812781B (en)
WO (1) WO2014071729A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866464A (en) * 2022-05-18 2022-08-05 深圳市艾迪思特信息技术有限公司 System for automatically discovering IP multicast domain and multicast proxy node

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110299527A1 (en) * 2010-06-08 2011-12-08 Brocade Communications Systems, Inc. Supporting multiple multicast trees in trill networks
CN102404216A (en) * 2011-11-23 2012-04-04 华为技术有限公司 Method for TRILL (transparent interconnection of lots of links) network protection, routing bridge and system
CN102710522A (en) * 2012-06-08 2012-10-03 神州数码网络(北京)有限公司 Method and device for configuring reversing path forwarding (RPF) rule in transparent interconnection of lots of link (TRILL) network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110299527A1 (en) * 2010-06-08 2011-12-08 Brocade Communications Systems, Inc. Supporting multiple multicast trees in trill networks
CN102404216A (en) * 2011-11-23 2012-04-04 华为技术有限公司 Method for TRILL (transparent interconnection of lots of links) network protection, routing bridge and system
CN102710522A (en) * 2012-06-08 2012-10-03 神州数码网络(北京)有限公司 Method and device for configuring reversing path forwarding (RPF) rule in transparent interconnection of lots of link (TRILL) network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866464A (en) * 2022-05-18 2022-08-05 深圳市艾迪思特信息技术有限公司 System for automatically discovering IP multicast domain and multicast proxy node
CN114866464B (en) * 2022-05-18 2023-10-27 深圳市艾迪思特信息技术有限公司 System for automatically discovering IP multicast domain and multicast proxy node

Also Published As

Publication number Publication date
CN103812781A (en) 2014-05-21
CN103812781B (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CA2882535C (en) Control device discovery in networks having separate control and forwarding devices
TW202034737A (en) Routing optimizations in a network computing environment
EP2883334B1 (en) Techniques for flooding optimization for link state protocols in a network topology
US9306808B2 (en) System and method for topology transparent zoning in network communications
CA2963580C (en) Data forwarding method, device, and system in software-defined networking
AU2011300438B2 (en) Automated traffic engineering for multi-protocol label switching (MPLS) with link utilization as feedback into the tie-breaking mechanism
US8320361B2 (en) Advertising alternate paths at border gateway protocol route reflectors
JP6117911B2 (en) Optimization of 3-stage folded CLOS for 802.1AQ
US8040906B2 (en) Utilizing betweenness to determine forwarding state in a routed network
CN104396197A (en) Selecting between equal cost shortest paths in a 802.1aq network using split tiebreakers
JP2013510459A (en) Separate path computation algorithm
CN102136940A (en) Network recovery method and device
CN105340230A (en) Virtual chassis topology management
WO2014048339A1 (en) Routing update method, switch and system
WO2011147299A1 (en) Fast reroute method and apparatus in layer-2 virtual private network
Vanamoorthy et al. Congestion-free transient plane (CFTP) using bandwidth sharing during link failures in SDN
CN105656781B (en) A kind of transmission method and the network equipment of link state data packet
WO2014071729A1 (en) Method and network device for selecting multicast root node in trill network
CN113098788B (en) Method and device for releasing route
WO2015032261A1 (en) Route updating method and routing device
CN104426777A (en) Routing updating method and routing equipment
US20200280513A1 (en) Fast receive re-convergence of multi-pod multi-destination traffic in response to local disruptions
Avresky et al. Dynamically scaling computer networks
CN104821918A (en) Multi-broadcast message forwarding method and device

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

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

Country of ref document: EP

Kind code of ref document: A1