[go: up one dir, main page]

WO2009052725A1 - Procédé, système et routeur pour l'établissement d'une liaison maître/esclave - Google Patents

Procédé, système et routeur pour l'établissement d'une liaison maître/esclave Download PDF

Info

Publication number
WO2009052725A1
WO2009052725A1 PCT/CN2008/072581 CN2008072581W WO2009052725A1 WO 2009052725 A1 WO2009052725 A1 WO 2009052725A1 CN 2008072581 W CN2008072581 W CN 2008072581W WO 2009052725 A1 WO2009052725 A1 WO 2009052725A1
Authority
WO
WIPO (PCT)
Prior art keywords
router
switch
routers
rrpp
port
Prior art date
Application number
PCT/CN2008/072581
Other languages
English (en)
Chinese (zh)
Inventor
Jian Liang
Original Assignee
Huawei Technologies Co., Ltd.
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 Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2009052725A1 publication Critical patent/WO2009052725A1/fr

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

Definitions

  • the present invention relates to the field of network communication technologies, and in particular, to a method, system, and router for establishing a primary and backup link. Background technique
  • the common ring network protection protocol or the active/standby link protection protocol mainly includes the Resilient Packet Ring (RPR) protocol, the Spanning Tree Protocol (STP), and the fast ring network. Rapid Ring Protection Protocol (RRPP).
  • RPR Resilient Packet Ring
  • STP Spanning Tree Protocol
  • RRPP Rapid Ring Protection Protocol
  • RPR is a media access control (MAC) used on the ring topology developed and standardized by the Institute of Electrical and Electronics Engineers (IEEE) 802.17 working group and the RPR Alliance.
  • Layer protocol which defines a closed loop, point-to-point, MAC-based logical ring topology.
  • RPR is a set of point-to-point links; for the data link layer, RPR is like a broadcast medium network similar to Ethernet.
  • the STP protocol is also a standard ring network protection protocol developed by IEEE and is widely used.
  • the STP protocol is also a standard ring network protection protocol developed by IEEE and is widely used.
  • the network size and convergence time are affected by the network topology, when the network diameter is large, data requiring high transmission quality often cannot meet the requirements.
  • RRPP is a link layer protocol that is specifically applied to Ethernet rings. It prevents broadcast storms caused by data loops when the Ethernet ring is complete, and quickly restores the communication path between nodes on the ring when a link on the Ethernet ring is disconnected. Compared with the STP protocol, the RRPP protocol is dedicated to the Ethernet ring topology and faster response.
  • one RRPP ring corresponds to a ring-connected Ethernet topology
  • one RRPP domain consists of multiple RRPP rings connected to each other, one of which is the main ring, and the other The ring is a subring.
  • an RRPP A domain can also contain only one RRPP ring.
  • the ring can be configured as either a primary ring or a sub-ring, which has the same effect in application.
  • Each RRPP domain has two control virtual local area networks (VLANs), which are called primary control VLAN and sub-control VLAN.
  • VLANs virtual local area networks
  • the protocol packets of the primary ring are propagated in the primary control VLAN, and the protocol packets of the sub-ring are propagated in the sub-control VLAN.
  • Any node other than the primary node on the ring can be called a transit node (the edge node and the assistant edge node are actually special transport nodes). There can be multiple transit nodes on an RRPP ring or no transit nodes.
  • Layer 3 forwarding can be implemented by the Virtual Router Redundancy Protocol (VRRP).
  • VRRP Virtual Router Redundancy Protocol
  • a method, a system, and a router for establishing an active/standby link are provided in the embodiment of the present invention, and the method for the active/standby mode of the Layer 2 device cannot be implemented when the Layer 2 device and the Layer 3 device are mixed and running in the prior art. Therefore, when the primary link fails, the problem of being unable to quickly switch to the standby link cannot be achieved.
  • a method for establishing an active/standby link includes: The first switch establishes a Layer 2 data link with the second switch by using at least two routers connected thereto;
  • a system for establishing an active/standby link includes at least two switches and at least two routers, where the first switch establishes a Layer 2 data link with the second switch through at least two routers connected thereto. Road, the system also includes:
  • a processing module configured to enable a port of one of the at least two routers to be connected to the first switch, and close a port of the at least two routers that is connected to the first switch.
  • the router provided in the embodiment of the present invention is applied to an environment in which the first switch establishes a Layer 2 data link with the second switch through the at least two routers connected to the first switch, including:
  • the first module is configured to determine whether it is a primary RRPP router
  • a second module configured to: after determining that the router where the router is located is the primary RRPP router, open a port that is connected to the first switch by one of the at least two routers, and close other routers of the at least two routers The port to which the first switch is connected.
  • the first switch establishes a Layer 2 data link with the second switch by using at least two routers connected thereto, and opens a port connected to the first switch by one of the at least two routers, and closes the port.
  • the port of the at least two routers connected to the first switch implements the active/standby mode of the Layer 2 device, so that when the primary link fails, the switch can be quickly switched to the standby link.
  • FIG. 1 is a schematic structural view of a prior art RRPP
  • FIG. 2 is a schematic structural diagram of a system for establishing a primary and backup links according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a router according to an embodiment of the present invention
  • 4 is a schematic flowchart of a method for establishing a primary and backup links according to an embodiment of the present invention
  • FIG. 5A is a schematic diagram of a first networking of an embodiment of the present invention
  • FIG. 5B is a schematic diagram of a second networking diagram according to an embodiment of the present invention.
  • FIG. 6A is a schematic diagram of establishing an RRPP set according to a first embodiment of the present invention
  • FIG. 6B is a schematic diagram of establishing a RRPP set according to a second embodiment of the present invention.
  • the port of one of the at least two routers connected to the switch is opened, and the ports of other routers connected to the switch are closed, thereby forming a form of an active and standby link, and implementing the layer 2 device. Active and standby mode.
  • the system for establishing an active/standby link in the embodiment of the present invention includes: at least two switches, at least two routers, and a processing module 10.
  • the first switch establishes a Layer 2 data link with the second switch by using at least two routers connected thereto.
  • the two routers are also connected to the second switch to implement Layer 2 data link interworking between the first switch and the second switch.
  • the processing module 10 is configured to enable a port of one of the at least two routers to be connected to the first switch, and close a port of the at least two routers connected to the first switch by the other router.
  • the system for establishing the active/standby link in the embodiment of the present invention may further include: a switching module 11.
  • the switching module 11 is configured to open a port connected to the first switch by one of the other routers when the link corresponding to the port connected to the first switch is broken.
  • the switching module 11 is a master node, and uses a ringing state active detection mechanism (poling) mechanism to periodically send a health detection (Hello) message, if the switching module 11 If the Hello packet sent by itself is not received within the set time, the link is considered to be faulty.
  • a ringing state active detection mechanism polying
  • Hello health detection
  • the Link Down mechanism is adopted, that is, when the link that is connected to the transmission node fails to send a Link Down message to the switching node 11, that is, the master node receives the Link Down message, the switching module 11 receives the Link Down message.
  • the link is considered to be faulty.
  • Hello packets are sent by the switch.
  • Link Down packets are sent by the router.
  • the switch can still transmit RRPP packets through the RRPP port.
  • the system for establishing the active/standby link in the embodiment of the present invention may further include: a selection module 12.
  • the module 12 is selected to use one router in the system as the primary RRPP router.
  • the processing module 10 and/or the switching module 11 can then be placed in the primary RRPP router. If the primary RRPP router fails, the selection module 12 selects another router as the primary RRPP router.
  • the selection module 12 may further include: a comparison module 120 and a determination module 121.
  • the comparing module 120 is configured to determine a router according to parameters or preset settings of each of the at least two routers.
  • the determining module 121 is configured to use the router determined by the comparing module 120 as a primary RRPP router.
  • the user can preset a router as the primary RRPP router, or compare the parameters of all routers, and determine a router that meets the conditions according to the set conditions.
  • the parameters of the router include but are not limited to one or more of the following parameters:
  • the priority of the router the ID of the router (identification description), the MAC address of the router port, and so on.
  • the specific conditions can be set according to the requirements and the selected parameters. For example: If the parameter is the priority of the router, the router with the highest priority can be used as the primary RRPP. router.
  • the selection module 12 can randomly select a router as the primary RRPP router.
  • the selection module 12 can be placed in a router in the system.
  • the primary RRPP router can be a router connected to the first switch.
  • the structure of the router in the embodiment of the present invention includes: a first module 30 and a second module 31.
  • the first module 30 is configured to determine whether it is a primary RRPP router.
  • the manner in which the first module 30 determines whether it is the primary RRPP router includes, but is not limited to, one of the following modes:
  • the second module 31 is configured to: after the first module determines that it is the primary RRPP router, open a port that connects one of the at least two routers to the first switch, and close the connection between the other routers of the at least two routers and the first switch. port.
  • the switching module 32 is configured to open a port connected to the first switch by one of the other routers when the link corresponding to the port connected to the first switch is broken.
  • the polling mechanism is used to detect the link. If the switching module 32 is the master node, the switching module 32 periodically sends a Hello packet to detect the link. If the first switch or the second switch is the master node, The Hello packet is sent by the first switch or the second switch.
  • the router of this embodiment may be a router connected to the first switch.
  • the router of this embodiment may further include a selection module 33, which has the same function as the selection module 12 in FIG. 2 and will not be described again.
  • the method for establishing an active/standby link in the embodiment of the present invention includes the following steps: Step 400: A first switch establishes a Layer 2 data link with a second switch by using at least two routers connected thereto.
  • the router connected to the switch is an edge router.
  • Step 401 Enable a port that is connected to the first switch by one of the at least two routers, and close a port that is connected to the first switch by the other routers of the at least two routers.
  • the step 401 may further include:
  • the port connected to the first switch is opened by one of the other routers.
  • the link is sent to detect the link.
  • step 401 the method further includes:
  • the RRPP set includes at least two routers, and the RRPP set is a set of routers participating in the RRPP calculation;
  • step 401 when the link corresponding to the port connected to the first switch is broken, the primary RRPP router opens a port that the closed router is connected to the first switch.
  • the primary RRPP router is determined based on the parameters of each router or the prior settings.
  • the user can pre-set a router as the primary RRPP router, or determine a primary RRPP router based on the parameters of each router.
  • the parameters of all routers are compared according to the set conditions, and one router that meets the conditions is used as the primary RRPP router.
  • the parameters of the router include but are not limited to one or more of the following parameters:
  • the priority of the router the ID of the router, the MAC address of the router port, and so on.
  • the specific conditions can be set according to the needs and selected parameters, such as: If the parameter is the priority of the router, the router with the highest priority can be used as the primary RRPP router.
  • the primary RRPP router can be a router connected to the first switch.
  • switch 1 is dual-homed to router 1 and router 2
  • switch 2 is dual-homed to the router.
  • 3 and router 4 routers 1, 2, 3, 4 can be connected through multiple routers (not shown), the routers 1, 2, 3, 4 constitute the RRPP set, and the RRPP set is the master node , the switch is a transit node.
  • the user can also access the network through a Layer 3 device.
  • the Layer 3 device is dual-homed to the router.
  • Each router in the network may act as the primary RRPP router.
  • Each router can send its own parameters to a specified device, and the device can determine a primary RRPP router after comparison; each router can also send its own parameters to each router and set its own parameters. Compared with the received parameters, if other parameters are superior to their own parameters, they will not be the primary RRPP router, so that only one router in the last network has better parameters than all other routers, then the router will It acts as the primary RRPP router.
  • Router 1 can close the port where Router 2 and Router 4 are connected to the switch, and open the port of itself and Router 3 and the switch.
  • the data sent by switch 1 will only be transmitted to switch 2 through router 1 and router 3.
  • the data sent by the same switch 2 will only be transmitted to switch 1 through router 3 and router 1.
  • Router 1 can also shut down the port of Router 3 or Router 4 and the switch, and open the port where Router 2 and Router 4 or Router 3 are connected to the switch. Which port can be turned on and off, which can be set according to specific needs. As long as there is a link between the switches that can transmit data.
  • switch 1 and switch 2 close the port of a router connected to itself, and router 1 or the primary RRPP router does not open or close any port.
  • routers 1, 2, 3, 4, 5 and 6 form the RRPP set, and the RRPP set is the master node.
  • the switch is a transit node.
  • Router 5 is the primary RRPP router
  • Router 5 closes the ports of Router 2 and Router 4 and the switch, and all switches act as transit nodes.
  • the switch 1 sends the Hello message to the router 1.
  • the router 1 forwards the packet to the router 5, and the router 5 forwards it to the router 3, and the router 3 forwards it to the switch 2.
  • Switch 2 sends the Hello message to router 4, router 4 forwards it to router 6, and router 6 forwards it to router 2, which then forwards it to switch 1.
  • the Layer 2 RRPP packets are forwarded by the PEER in the RRPP set.
  • the protocol transmitted by PEER in the RRPP set includes, but is not limited to, one of the following "3 ⁇ 4 texts:
  • Router 5 can also close the ports of Router 1 and Router 3 and the switch. Or close the ports of Router 1 and Router 4 and the switch, or close the ports of Router 2 and Router 3 and the switch. Which port can be turned on and off specifically, which can be set according to specific needs, as long as one of the switches can transmit data.
  • the link is OK.
  • switch 1 and switch 2 close the port of one router connected to itself, and router 5, the primary RRPP router, does not open or close any port.
  • all the routers in FIG. 5A and FIG. 5B are used as one RRPP set, that is, as a whole, regardless of the complexity of the network, for the RRPP set.
  • the network is a device, so that the RRPP set can be used to implement Layer 2 service interworking of the network, which simplifies networking.
  • the routers in FIG. 5A and FIG. 5B are divided into two RRPP sets. Similarly, regardless of the complexity of the network, Saying that the network is two devices also simplifies networking.
  • the router 1 or the router 5 that is, the primary RRPP router can only open the port where the router 1 and the router 3 are connected to the switch, and close the router 2 And the port of the router 4 and the switch; or close the port where the router 1 and the router 3 are connected to the switch, and open the ports of the router 2 and the router 4 and the switch.
  • the router can be divided into multiple RRPP sets as needed.
  • the first switch in the embodiment of the present invention establishes a Layer 2 data link with the second switch by using at least two routers connected thereto; enabling one of the at least two routers and the router
  • the port connected to the first switch is configured to close the port of the at least two routers connected to the first switch, so that the active/standby mode of the Layer 2 device is implemented, so that when the primary link fails, the switch can be quickly switched to The backup link; the Layer 2 interface is not required to be interconnected in the RRPP set, so that the Layer 3 protocol is not affected on the Layer 3 device, and the Layer 2 and Layer 3 running are implemented; and the embodiment of the present invention can be applied to the MAN.
  • the RRPP set is used to implement the entire network.
  • Layer 2 services are interconnected. Users at both ends of the network use the switch to access Layer 2 packets without using L2VPN. This eliminates the need to configure L2VPN and saves the number of PWs and device resources. It is within the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention.

Landscapes

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

Abstract

L'invention concerne un système et un routeur pour l'établissement d'une liaison maître/esclave. Un premier commutateur établit une liaison de données à deux couches avec un deuxième commutateur via au moins deux routeurs connectés au premier commutateur. Les ports d'au moins l'un des deux routeurs connectés au premier commutateur sont ouverts, et les ports des autres routeurs parmi les au moins deux routeurs connectés au premier commutateur sont fermés.
PCT/CN2008/072581 2007-10-22 2008-09-27 Procédé, système et routeur pour l'établissement d'une liaison maître/esclave WO2009052725A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710163427.3 2007-10-22
CN2007101634273A CN101150478B (zh) 2007-10-22 2007-10-22 一种建立主备链路的方法、系统和路由器

Publications (1)

Publication Number Publication Date
WO2009052725A1 true WO2009052725A1 (fr) 2009-04-30

Family

ID=39250829

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/072581 WO2009052725A1 (fr) 2007-10-22 2008-09-27 Procédé, système et routeur pour l'établissement d'une liaison maître/esclave

Country Status (2)

Country Link
CN (1) CN101150478B (fr)
WO (1) WO2009052725A1 (fr)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150478B (zh) * 2007-10-22 2010-08-25 华为技术有限公司 一种建立主备链路的方法、系统和路由器
CN101860492A (zh) * 2010-06-28 2010-10-13 中兴通讯股份有限公司 快速切换的方法、装置和系统
CN102143004B (zh) * 2011-04-06 2013-10-09 北京华为数字技术有限公司 一种链路保护方法和网络设备
CN103607325A (zh) * 2013-11-26 2014-02-26 国家电网公司 数据网链路监测自动切换系统
CN112445186B (zh) * 2019-09-04 2022-10-25 西门子电站自动化有限公司 工厂总线的改造方法、工厂总线及分散控制系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW232659B (fr) * 1991-11-25 1994-10-21 Hoechst Celanese Corp
CN1507721A (zh) * 2001-05-28 2004-06-23 ��˹��ŵ�� 用于在局域网内实现快速恢复进程的方法和系统
GB2416875A (en) * 2004-08-03 2006-02-08 Siemens Ag Switching from master computer system to standby computer system
CN1956417A (zh) * 2003-09-08 2007-05-02 株式会社Ntt都科摩 通信系统,通信终端,路由控制方法和路由器
CN101150478A (zh) * 2007-10-22 2008-03-26 华为技术有限公司 一种建立主备链路的方法、系统和路由器

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW232659B (fr) * 1991-11-25 1994-10-21 Hoechst Celanese Corp
CN1507721A (zh) * 2001-05-28 2004-06-23 ��˹��ŵ�� 用于在局域网内实现快速恢复进程的方法和系统
CN1956417A (zh) * 2003-09-08 2007-05-02 株式会社Ntt都科摩 通信系统,通信终端,路由控制方法和路由器
GB2416875A (en) * 2004-08-03 2006-02-08 Siemens Ag Switching from master computer system to standby computer system
CN101150478A (zh) * 2007-10-22 2008-03-26 华为技术有限公司 一种建立主备链路的方法、系统和路由器

Also Published As

Publication number Publication date
CN101150478B (zh) 2010-08-25
CN101150478A (zh) 2008-03-26

Similar Documents

Publication Publication Date Title
CN101155109B (zh) 一种以太网交换系统及设备
US7233991B2 (en) Self-healing tree network
EP3474498B1 (fr) Multihébergement basé sur le hachage
CN102077521B (zh) 用于链路汇聚的方法和系统
EP1974485B1 (fr) Protection contre les défaillances des services de réseaux locaux privés virtuels dans des réseaux en anneaux
US7778205B2 (en) System and method for implementing virtual ports within ring networks
CN101610221B (zh) 一种stp切换时ip单播平滑切换的方法及装置
CN101345683B (zh) 以太网自动保护切换系统中的协议报文传输控制方法
WO2007115493A1 (fr) Procédé, dispositif et système pour réaliser la commutation dans le réseau à double anneau de réseau vpls
WO2011021180A1 (fr) Technique pour une double interconnexion de rdioralliement entre des réseaux de communication
CN103581164A (zh) 用于在可冗余操作的工业通信网络中进行消息传输的方法和用于可冗余操作的工业通信网络的通信设备
WO2009092241A1 (fr) Procédé de transmission de message, système de réseau et équipement de nœud en boucle
WO2012162946A1 (fr) Procédé et système de traitement de message
WO2009100662A1 (fr) Procédé de commutation de service et dispositif dans le réseau en anneau
JP2003258822A (ja) パケットリングネットワーク及びそれに用いるパケットリングネットワーク間の接続方法
WO2010031295A1 (fr) Procédé de contrôle pour reprise après une panne ethernet
WO2009052725A1 (fr) Procédé, système et routeur pour l'établissement d'une liaison maître/esclave
CN101345686A (zh) 虚拟专用局域网服务环路的处理方法、装置和系统
WO2008095360A1 (fr) Méthode et système de commutation rapide en cas de défaillance d'une liaison d'un réseau privé virtuel
US6724734B1 (en) Creating a spanning tree of a network including clusters
CN100417139C (zh) 一种组播数据不间断转发的方法
WO2010031211A1 (fr) Procédé de configuration d’un canal de commande d’un réseau multi-anneaux d’ethernet et de transmission de son paquet
Alimi Bandwidth management and loop prevention in redundant networks
JP5427665B2 (ja) スパニングツリーの再構成方法および通信装置
WO2006027824A1 (fr) Système de réseau de communication et appareil de détection de panne

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

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

Country of ref document: EP

Kind code of ref document: A1