WO2009100662A1 - 环网的业务倒换方法和装置 - Google Patents

环网的业务倒换方法和装置 Download PDF

Info

Publication number
WO2009100662A1
WO2009100662A1 PCT/CN2009/070217 CN2009070217W WO2009100662A1 WO 2009100662 A1 WO2009100662 A1 WO 2009100662A1 CN 2009070217 W CN2009070217 W CN 2009070217W WO 2009100662 A1 WO2009100662 A1 WO 2009100662A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
information
forwarding
resolution protocol
ring network
Prior art date
Application number
PCT/CN2009/070217
Other languages
English (en)
French (fr)
Inventor
Zhi XUE
Jinbo Lu
Weizhi Zeng
Yun ZHOU
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 WO2009100662A1 publication Critical patent/WO2009100662A1/zh

Links

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/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration

Definitions

  • the present invention relates to the field of network communications, and in particular, to a service switching method and apparatus for a ring network.
  • Ring network technology in simple terms, is a technology that connects some network devices through the shape of a ring to achieve mutual communication.
  • Existing ring network technologies such as the Spanning Tree Protocol (Spanning Tree Protocol)
  • the inventors have found that at least the following drawbacks exist in the prior art:
  • the topology convergence speed is fast (higher than 50 ms) and the convergence time is related to the number of nodes on the ring network.
  • the embodiment of the invention provides a service switching method and device for a ring network, so that the delay of service switching of the ring network can be shortened.
  • a service switching method of a ring network which is applied to an Ethernet ring network, where the Ethernet ring network includes: a transmission node and a master node, and the method includes:
  • a ring network service switching device is applied to an Ethernet ring network, where the Ethernet ring network includes: a transmission node and a master node, and the device includes:
  • the forwarding relationship information obtaining module is configured to establish, by using the message exchange with the node, the forwarding relationship information between the nodes in the domain, and after acquiring the state change information of the Ethernet ring network, updating the information according to the state change information.
  • Forwarding relationship information [14]
  • the address resolution protocol entry obtaining module is configured to establish an address resolution protocol entry that includes the MAC address of the node and the port information, and update the address resolution protocol table according to the forwarding relationship information updated by the forwarding relationship information obtaining module. item;
  • the service packet forwarding module is configured to forward the service packet by using the address resolution protocol table updated by the module by the address resolution protocol entry.
  • the node updates the address resolution protocol entry according to the saved forwarding relationship information, thereby shortening the node update ARP table time and shortening The delay of the service switching of the Layer 3 forwarding of the RRPP ring.
  • FIG. 1 is a schematic diagram of packet transmission of a Rapid Ring Protection Protocol (RRPP) ring in a normal state according to an embodiment of the present invention
  • FIG. 2 is a flowchart of processing a service switching method of an RRPP ring according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of an ARP learning process performed by a primary node and each transmitting node of the RRPP ring to establish an ARP table after the convergence of an RRPP ring according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a node for updating an ARP entry after receiving a message for updating an FDB according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a service switching device of an RRPP ring according to an embodiment of the present invention.
  • RRPP is applied to all Ethernet ring networks
  • RRPP is a link layer protocol specifically applied to an Ethernet ring.
  • the protocol can prevent broadcast storms caused by data loops when the Ethernet ring is complete.
  • the backup link can be quickly enabled to restore communication between nodes on the Ethernet ring.
  • An Ethernet topology with a ring connection using RRPP is called an RRPP ring. Multiple RRPP rings form an RRPP domain.
  • the primary node is the primary decision and control node on the RRPP ring. There must be one and only one master node on each RRPP ring, and the transit node is a node other than the master node on the RRPP ring.
  • the role of the port is determined by the configuration of the user.
  • the primary and secondary ports of the primary node are functionally zoned Other.
  • the master node sends a loop state detection packet from its primary port. If the probe packet is received from the master port, the RRPP ring network of the master node is complete. Therefore, the secondary port needs to be blocked to prevent data loops. If no probe packet is received, the RRPP ring network on the primary node is faulty. You need to enable the secondary port to ensure normal communication between all nodes on the ring.
  • the primary and secondary ports of the transit node are functionally indistinguishable.
  • the role of the port is also determined by the user's configuration.
  • the Layer 3 forwarding of the RRPP ring means that the network device can identify Layer 3 network layer information (such as IP address) and use it as a basis for fast data exchange.
  • Layer 3 forwarding can implement network layer functions such as routing that can be completed by the router, and the processing delay of data forwarding is far lower than that of the router.
  • the RRPP ring When all the links on the ring network are in the normal (UP) state, the RRPP ring is in the normal state.
  • the master node blocks its secondary ports to prevent broadcast packets on the RRPP ring from forming a broadcast loop. For example, in the packet transmission diagram in which the RRPP ring is in the normal state as shown in FIG. 1, the data service packet is looped from the primary node A, and the transit node B-C is transmitted, and the transit node D is down.
  • the transit node is always monitoring its own port link status. If the transit node detects that the port status changes from UP to Down, it will send this by sending a LINK-DOWN message. A status change is notified to the master node. After receiving the LINK-DOWN packet, the master node immediately opens the secondary port of the primary node to ensure normal communication between all nodes on the ring.
  • the master node and each of the transit nodes establish a connection table between the nodes in the domain by performing packet exchange with other nodes.
  • the connection table includes multiple forwarding entries, and each forwarding entry The MAC address of the source node, the MAC address of the destination node, and the forwarding port information between the source node and the destination node are included.
  • the master node and each transport node are learning an address resolution protocol (Address Resolution Protocol,
  • the MAC address and port information are saved in the corresponding ARP entries.
  • the transmission node After the state of a certain transmission node changes, the transmission node sends a state change notification message carrying the MAC address information and port information of the transmission node to the other transmission node and the master node, and the other transmission nodes and the master node according to the The status change notification message updates the saved connection table.
  • the primary node sends a message for updating the forwarding table to the transmitting node, and the transmitting node receives the packet of the update forwarding table, and the transmitting node and the primary node according to the MAC address and port letter of the corresponding node in the ARP table. Update the ARP table with the updated connection table.
  • Each node of the RRPP ring learns the ARP table and records the MAC address and port information of the upper ring node of the ARP packet.
  • FIG. 3 a schematic diagram of the ARP learning process performed by the primary node and each transmission node of the RRPP ring to establish an ARP table is shown in FIG. 3 .
  • an ARP reply packet is sent from the RRPP ring on the node D.
  • the MACS address information of the upper ring node (node D) is added to the response packet, and the response packet is sequentially routed to the node C and node on the RRPP ring.
  • node D, node C, node B, and node A learn the ARP table through the ARP reply message, record the MAC address and port information of the node through which the ARP response message passes, and the MAC address of the node The port information is saved in the corresponding ARP entry.
  • Each node of the RRPP ring learns and exchanges messages with other nodes to establish and maintain a connection table between nodes in a domain.
  • the packet can be a fast-paced packet of the Layer 2, for example, a unicast packet that a node can actively send to its surrounding nodes.
  • the connection table includes a plurality of entries, each of which includes source node information, destination node information, and corresponding port information, where the source node information and the destination node information may be MAC addresses of the source node and the destination node, for example, one
  • the entry may be: the source node information is the MAC address of the node A, the destination node information is the MAC address of the node B, and the port information is the primary port, that is, the packet from the node A to the node B is forwarded from the primary port of the node A.
  • the entries in the connection table of the foregoing node may include the entries in the RRPP ring in the RRPP domain where the node is located, or the entries in the RRPP ring in the RRPP domain where the node is located. .
  • the entry in each RRPP ring may include forwarding information between all nodes in the RRPP ring.
  • the local node and the other nodes in the RRPP ring exchange learning information.
  • the local node and the neighboring nodes in the RRPP ring need to send packets. Interactive learning.
  • the entry in the connection table can be compared with the ARP table by using the MAC address of the source node information, the MAC address of the destination node, and the port information.
  • the corresponding records in the corresponding ones correspond to each other.
  • the transmitting node After the state of a certain transmission node changes, the transmitting node sends a link state change notification message carrying the MAC address information of the node to the other node, and the other nodes send the notification message according to the link state change. Update its connection table.
  • the transit node After the state of a transit node in the RRPP ring is changed, the transit node sends a link state change advertisement message carrying the MAC address information of the node to the other node, where the link state change notification message may be Link up/link
  • the transit node After the state of a transit node changes from UP to down, the transit node sends a link down packet carrying the MAC address information and port information of the node to the master node and other transit nodes; The transit node sends a link UP message carrying the MAC address information and port information of the node to the master node and other transit nodes.
  • the MAC address information and port information of the node carried in the down packet are updated, and the corresponding entries in the connection table are updated. Then, the master node sends an update forwarding address table to each transport node (Forward DataBase)
  • connection table After the packet is sent, the corresponding entry in the connection table is updated according to the link up/link down packet.
  • the primary node After the primary node updates the corresponding entry in its connection table, it immediately updates its corresponding ARP entry based on the updated connection table. After receiving the message of the updated FDB sent by the master node, the transit node updates its corresponding ARP entry according to the updated connection table. In actual applications, the transit node may also be in the absence. After receiving the packet of the updated FDB sent by the master node, after updating the corresponding entry in the connection table, the corresponding ARP entry is updated according to the updated connection table.
  • FIG. 4 The schematic diagram of the ARP entry updated by the node provided by the embodiment of the present invention after updating the ARP entry is as shown in FIG. 4 , and the specific processing procedure is as follows: After the primary node opens its secondary port, all the transmissions are performed. The node sends a message that updates the FDB. After receiving the FDB message sent by the master node, the transit node does not delete the entire ARP table, but updates its corresponding ARP entry according to the updated connection table. For example, a transit node updates three entries in the update connection table. Therefore, only the corresponding records of the three entries in the A RP table need to be updated, that is, only the corresponding three in the ARP table are updated. Entry.
  • ARP entries There are two ways to update ARP entries. Update the node information or port information in the ARP entry, or delete the unreachable ARP entry to prevent the unreachable ARP entry from incorrectly forwarding. .
  • the above-mentioned master node and the transit node can forward the message according to the updated ARP table.
  • the RRPP ring in the method of the foregoing embodiment of the present invention has the characteristics of simple openness and low cost, and has been widely applied in the field of local area networks, and gradually developed to the metropolitan area network. It also supports ring network structures such as single ring and tangent ring.
  • the process of the method described in the foregoing embodiment of the present invention does not need to delete the entire ARP table, and then re-establishes the ARP table, and only needs to update the ARP entry. Therefore, the service switching delay of the Layer 3 forwarding of the RRPP ring is shortened, and the performance of the service switching of the Layer 3 forwarding of the RRPP is improved.
  • FIG. 5 A schematic structural diagram of a service switching device for an RRPP ring according to an embodiment of the present invention is shown in FIG. 5, and includes the following modules:
  • the forwarding relationship information obtaining module is configured to establish forwarding relationship information between nodes in the domain by performing packet interaction with the node, and after obtaining the state change information of the RRPP ring, update the establishment according to the state change information. Forwarding relationship information between nodes within a domain.
  • the forwarding relationship information obtaining module may include: a forwarding relationship information establishing submodule and a forwarding relationship information updating submodule.
  • the address resolution protocol entry obtaining module is configured to establish an address resolution protocol entry that includes a MAC address and port information of the node, and update the address resolution protocol table according to the forwarding relationship information updated by the forwarding relationship information obtaining module. item.
  • the address resolution protocol entry obtaining module may include: an address resolution protocol entry creation submodule and an address resolution protocol entry update submodule.
  • the service packet forwarding module is configured to obtain an address resolution protocol updated by the address resolution protocol entry obtaining module.
  • a table item is used to forward service packets.
  • the forwarding relationship information establishing sub-module in the forwarding relationship information acquiring module is configured to establish a connection table between nodes in the domain by performing packet interaction with other nodes after the RRPP ring converges, where the connection table includes At least two forwarding entries, each forwarding entry includes a MAC address of the source node, a MAC address of the destination node, and forwarding port information between the source node and the destination node;
  • the forwarding relationship information update sub-module in the forwarding relationship information acquiring module is configured to: after receiving the state change notification message carrying the MAC address information and the port information sent by the other node, according to the state change notification message And updating the forwarding relationship information between the nodes in the domain established by the forwarding relationship information establishing module.
  • the address resolution protocol entry obtaining sub-module of the address resolution protocol entry obtaining module is configured to record the MAC address of the upper ring node of the ARP packet after learning the ARP table after the R RPP ring converges Port information, and save the MAC address and port information of the node in the corresponding ARP entry.
  • the address resolution protocol entry update submodule in the address resolution protocol entry obtaining module is configured to establish, according to the address resolution protocol entry, the MAC address and port information corresponding to the ARP entry established by the module, and the forwarding relationship.
  • the forwarding relationship information updated by the information update module is used to update its ARP entry.
  • the service switching device of the RRPP ring can be set in the primary node and the transit node.
  • the embodiment of the present invention does not require a node to resend an ARP request, receive an ARP response, and perform ARP learning to update an ARP entry, thereby shortening the time during which the node updates the ARP table, so that the ARP table is updated.
  • the number of ARP entries does not depend on the number of ARP entries.
  • the update of the ARP table is consistent with the convergence of the RRPP ring.
  • the delay of the service switching of the Layer 3 forwarding of the RRPP ring is shortened, and the performance of the service switching of the Layer 3 forwarding of the RRPP is improved.

Abstract

本发明提供了一种环网的业务倒换方法,应用于以太环网,该以太环网包括:传输节点和主节点,所述方法包括:获取以太环网的状态变化信息后,根据该状态变化信息来更新转发关系信息,并根据所述更新后的转发关系信息来更新ARP(地址解析协议,Address Resolution Protocol)表项,基于所述更新后的地址解析协议表项进行业务报文的转发。利用本发明,可以缩短节点更新ARP表项的时间,缩短RRPP环的三层转发的业务倒换的延迟。

Description

说明书 环网的业务倒换方法和装置
[I] 本申请要求于 2008年 2月 5日提交中国专利局、 申请号为 200810008113.0、 发明 名称为 "环网的业务倒换方法和装置"的中国专利申请的优先权, 其全部内容通过 引用结合在本申请中。
[2] 技术领域
[3] 本发明涉及网络通信领域, 尤其涉及一种环网的业务倒换方法和装置。
[4] 发明背景
[5] 环网技术, 简单来说, 就是将一些网络设备, 通过环的形状连接到一起, 实现 相互通信的一种技术。 已有的环网技术: 比如生成树协议 (Spanning Tree Protocol ,
STP) 。 发明人在实现本发明吋, 发现已有技术至少存在以下缺陷: 拓扑收敛速 度快 (高于 50ms)及收敛吋间与环网上节点数有关。
[6] 发明内容
[7] 本发明实施例提供了一种环网的业务倒换方法和装置, 从而可以缩短环网的业 务倒换的延迟。
[8] 本发明实施例的目的是通过以下技术方案实现的:
[9] 一种环网的业务倒换方法, 应用于以太环网, 所述以太环网包括: 传输节点和 主节点, 所述方法包括:
[10] 获取以太环网的状态变化信息后, 根据所述状态变化信息来更新转发关系信息
, 并根据更新后的转发关系信息来更新地址解析协议表项;
[I I] 基于更新后的地址解析协议表项进行业务报文的转发。
[12] 一种环网的业务倒换装置, 应用于以太环网, 所述以太环网包括: 传输节点和 主节点, 所述装置包括:
[13] 转发关系信息获取模块, 用于通过与节点进行报文交互来建立域内的节点间的 转发关系信息, 在获取了以太环网的状态变化信息后, 根据该状态变化信息来 更新所述转发关系信息; [14] 地址解析协议表项获取模块, 用于建立包含节点的 MAC地址以及端口信息的 地址解析协议表项, 根据转发关系信息获取模块所更新的转发关系信息, 来更 新所述地址解析协议表项;
[15] 业务报文转发模块, 用于通过地址解析协议表项获取模块所更新的地址解析协 议表项, 来进行业务报文的转发。
[16] 由上述本发明实施例提供的技术方案可以看出, 本发明实施例通过节点根据保 存的转发关系信息来更新其地址解析协议表项, 从而可以缩短节点更新 ARP表的 吋间, 缩短 RRPP环的三层转发的业务倒换的延迟。
[17] 附图简要说明
图 1为本发明实施例处于正常状态下的快速环网保护协议 (Rapid Ring Protection Protocol , RRPP) 环的报文传输示意图;
[19] 图 2为本发明实施例所述 RRPP环的业务倒换方法的处理流程图;
[20] 图 3为本发明实施例提供的一个 RRPP环收敛后, 该 RRPP环的主节点和各个传 输节点为建立 ARP表而进行的 ARP学习过程示意图;
[21] 图 4为本发明实施例提供的节点收到更新 FDB的报文后, 更新其 ARP表项的示 意图;
[22] 图 5为本发明实施例提供的 RRPP环的业务倒换装置的结构示意图。
[23] 实施本发明的方式
[24] 在本发明实施例中, 以 RRPP为例, 适用于所有的以太环网, RRPP是一个专门 应用于以太网环的链路层协议。 该协议在以太网环完整吋能够防止数据环路引 起的广播风暴; 而当以太网环上一条链路断幵吋, 能迅速启用备份链路以恢复 以太网环上各个节点之间的通信。
[25] 一个应用了 RRPP协议的环形连接的以太网拓扑称为 RRPP环, 多个 RRPP环构 成一个 RRPP域。
[26] 主节点是 RRPP环上的主要决策和控制节点。 每个 RRPP环上必须且只能有一个 主节点, 传输节点是 RRPP环上除主节点之外的其它节点。
[27] 主节点和传输节点接入以太网环的两个端口中, 一个为主端口, 另一个为副端 口, 端口的角色由用户的配置决定。 主节点的主端口和副端口在功能上是有区 别的。 主节点从其主端口发送环路状态探测报文, 如果能够从主端口收到该探 测报文, 说明主节点所在 RRPP环网完整, 因此需要阻塞副端口以防止数据环路 ; 相反如果在规定吋间内收不到探测报文, 说明主节点所在 RRPP环网故障, 此 吋需要打开副端口以保证环上所有节点的正常通信。 传输节点的主端口和副端 口在功能上没有区别。 端口的角色同样由用户的配置决定。
[28] RRPP环的三层转发是指网络设备可以识别第三层网络层信息 (比如 IP地址) , 并以此为依据实现快速的数据交换。 三层转发可以实现原来由路由器才能完 成的路由等网络层功能, 而数据转发的处理过程延迟却远远低于路由器。
[29] 当整个环网上所有链路都处于正常 (UP) 状态, RRPP环处于正常状态吋。 主 节点为了防止 RRPP环上的数据报文形成广播环路, 阻塞其副端口。 比如, 在如 图 1所示的 RRPP环处于正常状态下的报文传输示意图中, 数据业务报文从主节点 A上环, 途径传输节点 B-C, 由传输节点 D处下环。
[30] 传输节点总是在监测自己的端口链路状态, 如果传输节点检测到端口状态从 U P变化到 Down (故障) 吋, 它就会通过发送 LINK-DOWN (链路故障) 报文把这 种状态变化通知给主节点。 主节点收到该 LINK-DOWN报文后, 立即打开主节点 副端口, 以保证环上所有节点的正常通信。
[31] 在 RRPP环收敛后, 主节点和各个传输节点都通过与其它节点进行报文交互来 建立域内的节点间的连接表, 该连接表中包括多个转发表项, 每个转发表项中 包括源节点的 MAC地址、 目的节点的 MAC地址, 以及源节点和目的节点之间的 转发端口信息。 并且, 主节点和各个传输节点在学习地址解析协议 (Address Resolution Protocol,
ARP) 表吋, 记录 ARP报文的上环节点的 MAC地址以及端口信息, 并将节点的
MAC地址以及端口信息保存在对应的 ARP表项中。
[32] 在某个传输节点的状态发生变化后, 该传输节点向其它传输节点和主节点发送 携带该传输节点的 MAC地址信息和端口信息的状态变化通知报文, 其它传输节 点和主节点根据该状态变化通知报文来更新其保存的上述连接表。
[33] 然后, 主节点向传输节点发送更新转发表的报文, 传输节点接收该更新转发表 的报文, 所述传输节点和主节点根据 ARP表中对应的节点的 MAC地址和端口信 息和所述更新后的连接表, 来更新其 ARP表。
[34] 下面结合附图来详细描述本发明实施例, 本发明实施例提供的 RRPP环的业务 倒换方法的处理流程如图 2所示, 包括如下步骤:
[35] 21、 RRPP环的各个节点在学习 ARP表吋, 记录 ARP报文的上环节点的 MAC地 址以及端口信息。
[36] 在目前的 ARP表中记载了 MAC地址和 IP地址的对应关系, 本发明实施例在 ARP 表中增加记载节点的端口信息, 并增加记载上环节点的 MAC地址信息和端口信 息。
[37] 在本发明实施例中, 在一个 RRPP环收敛后, 该 RRPP环的主节点和各个传输节 点为建立 ARP表而进行的 ARP学习过程示意图如图 3所示。 在学习过程中, 一个 ARP应答报文从节点 D上 RRPP环, 该应答报文中添加该上环节点 (节点 D) 的 M AC地址信息, 应答报文依次途径 RRPP环上的节点 C、 节点 B和节点 A, 节点 D、 节点 C、 节点 B和节点 A在通过该 ARP应答报文学习 ARP表吋, 记录该 ARP应答报 文经过的节点的 MAC地址以及端口信息, 并将节点的 MAC地址以及端口信息保 存在对应的 ARP表项中。
[38] 22、 RRPP环的各个节点通过与其它节点进行报文交互学习, 建立和维持一个 域内的节点间的连接表。
[39] 在一个 RRPP环收敛后, 该 RRPP环上的主节点和各个传输节点都通过与其它节 点进行报文交互学习, 来建立和维持一个域内的节点间的连接表。 该报文可以 为二层的速度比较快的报文, 比如, 可以为一个节点主动向其周围节点发送的 单播报文。 该连接表中包括很多表项, 每个表项中包括源节点信息、 目的节点 信息和相应的端口信息, 该源节点信息、 目的节点信息可以为源节点和目的节 点的 MAC地址, 比如, 一个表项可以为: 源节点信息为节点 A的 MAC地址、 目 的节点信息为节点 B的 MAC地址, 端口信息为主端口, 即表示从节点 A到节点 B 的报文从节点 A的主端口转发。
[40] 上述节点的连接表中的表项可以包括节点所在的 RRPP域中所有 RRPP环中的表 项, 也可以只包括节点所在的 RRPP域中指定的一个或多个 RRPP环中的表项。 每 个 RRPP环中的表项可以包括该 RRPP环中的所有节点之间的转发信息, 此吋, 需 要本节点与 RRPP环中的所有其他节点进行报文交互学习; 也可以只包括本节点 与相邻节点之间的转发信息, 此吋, 需要本节点与 RRPP环中的相邻节点进行报 文交互学习。
[41] 由于在上述 ARP表项中也记录了节点的 MAC地址以及端口信息, 上述连接表中 的表项通过源节点信息的 MAC地址、 目的节点的 MAC地址和端口信息, 可以和 上述 ARP表中的相应记录互相对应。
[42] 23、 在某个传输节点的状态发生变化后, 该传输节点向其它节点发送携带本节 点 MAC地址信息的链路状态变化通告报文, 其它节点根据该链路状态变化通告 报文来更新其连接表。
[43] 在 RRPP环中的某个传输节点的状态发生变化后, 该传输节点向其它节点发送 携带本节点 MAC地址信息的链路状态变化通告报文, 该链路状态变化通告报文 可以为 link up/link
down报文。 比如, 某个传输节点的状态从 UP变化为 down后, 该传输节点向主节 点和其它传输节点发送携带本节点的 MAC地址信息和端口信息的 link down报文; 从 down变化为 UP后, 该传输节点向主节点和其它传输节点发送携带 本节点的 MAC地址信息和端口信息的 link UP报文。
[44] 主节点收到上述状态变化的传输节点发送的 link
down报文后, 打幵其副端口, 并且根据上述 link
down报文中携带的节点的 MAC地址信息和端口信息, 更新其连接表中的对应表 项。 然后, 主节点向各个传输节点发送更新转发地址表 (Forward DataBase
, FDB) 的报文。
[45] 其它传输节点收到上述传输节点发送的 link up/link
down报文后, 也根据上述 link up/link down报文更新其连接表中的对应表项。
[46] 24、 传输节点和主节点根据上述更新后的连接表来更新其 ARP表项。 然后, 通 过更新后的 ARP表进行报文转发。
[47] 在主节点更新了其连接表中的对应表项后, 立即根据更新后的连接表来更新其 对应的 ARP的表项。 传输节点在收到主节点发送的更新 FDB的报文后, 根据更新 后的连接表来更新其对应的 ARP的表项, 在实际应用中, 传输节点也可以在没有 收到主节点发送的更新 FDB的报文吋, 而在更新完连接表中的对应表项后, 立即 根据更新后的连接表来更新其对应的 ARP的表项。
[48] 本发明实施例提供的节点收到更新 FDB的报文后, 更新其 ARP表项的示意图如 图 4所示, 具体处理过程如下: 主节点在打开了其副端口后, 向所有传输节点发 送更新 FDB的报文。 传输节点在收到主节点发送的更新 FDB的报文后, 并不去删 除整个 ARP表, 而是根据其更新后的连接表来更新其对应的 ARP的表项。 比如, 某个传输节点在更新连接表吋更新了 3个表项, 此吋, 只需要更新该 3个表项在 A RP表中的相应记录, 即也只更新 ARP表中的对应的 3个表项。
[49] ARP表项的更新方式有两种, 更新 ARP表项中的节点信息或端口信息, 或者, 对于不可达的 ARP表项进行删除, 以避免该不可达的 ARP表项错误地指导转发。
[50] 然后, 上述主节点和传输节点就可以根据更新后的 ARP表进行报文转发。
[51] 上述本发明实施例所述方法中的 RRPP环具有简单开放、 成本低廉的特点, 在 局域网领域中获得了广泛的应用, 并逐渐向城域网发展。 并且支持单环、 相切 环等环状网络结构。
[52] 利用上述本发明实施例所述方法的处理流程, 不需要先删除整个 ARP表后, 再 重新建立 ARP表, 而只需要对 ARP表项进行更新。 从而缩短了 RRPP环的三层转 发的业务倒换的延迟, 提高了 RRPP三层转发的业务倒换的性能。
[53] 本发明实施例提供的 RRPP环的业务倒换装置的结构示意图如图 5所示, 包括如 下模块:
[54] 转发关系信息获取模块, 用于通过与节点进行报文交互来建立域内的节点间的 转发关系信息, 在获取了 RRPP环的状态变化信息后, 根据该状态变化信息来更 新所述建立的域内的节点之间的转发关系信息。 可选的, 该转发关系信息获取 模块具体可以包括: 转发关系信息建立子模块和转发关系信息更新子模块。
[55] 地址解析协议表项获取模块, 用于建立包含节点的 MAC地址以及端口信息的 地址解析协议表项, 根据转发关系信息获取模块所更新的转发关系信息, 来更 新所述地址解析协议表项。 可选的, 该地址解析协议表项获取模块具体可以包 括: 地址解析协议表项建立子模块和地址解析协议表项更新子模块。
[56] 业务报文转发模块, 用于通过地址解析协议表项获取模块所更新的地址解析协 议表项, 来进行业务报文的转发。
[57] 所述转发关系信息获取模块中的转发关系信息建立子模块, 用于在 RRPP环收 敛后, 通过与其它节点进行报文交互来建立域内的节点间的连接表, 该连接表 中包括至少两个转发表项, 每个转发表项中包括源节点的 MAC地址、 目的节点 的 MAC地址, 以及源节点和目的节点之间的转发端口信息;
[58] 所述转发关系信息获取模块中的转发关系信息更新子模块, 用于在接收到其它 节点发送的携带 MAC地址信息和端口信息的状态变化通知报文后, 根据该状态 变化通知报文来更新所述转发关系信息建立模块所建立的域内的节点之间的转 发关系信息。
[59] 所述地址解析协议表项获取模块中的地址解析协议表项建立子模块, 用于在 R RPP环收敛后, 在学习 ARP表吋, 记录 ARP报文的上环节点的 MAC地址以及端口 信息, 并将节点的 MAC地址以及端口信息保存在对应的 ARP表项中;
[60] 所述地址解析协议表项获取模块中的地址解析协议表项更新子模块, 用于根据 地址解析协议表项建立模块所建立的 ARP表项对应的 MAC地址以及端口信息, 和转发关系信息更新模块所更新的转发关系信息, 来更新其 ARP表项。
[61] 上述 RRPP环的业务倒换装置可以设置于主节点和传输节点中。
[62] 综上所述, 本发明实施例不需要节点重新发送 ARP请求、 接收 ARP应答以及进 行 ARP学习来更新 ARP表项, 从而缩短了节点更新 ARP表的吋间, 使得 ARP表的 更新吋间不依赖 ARP表项的数目, 可以保证 ARP表的更新吋间基本跟 RRPP环的 收敛吋间保持一致。
[63] 本发明实施例缩短了 RRPP环的三层转发的业务倒换的延迟, 提高了 RRPP三层 转发的业务倒换的性能。
[64] 以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并不局限于 此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到 的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围 应该以权利要求的保护范围为准。

Claims

权利要求书
[1] 一种环网的业务倒换方法, 其特征在于
, 应用于以太环网, 所述以太环网包括: 传输节点和主节点, 所述方法包 括:
获取以太环网的状态变化信息后, 根据所述状态变化信息来更新转发关系 信息, 并根据更新后的转发关系信息来更新地址解析协议表项; 基于更新后的地址解析协议表项进行业务报文的转发。
[2] 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括:
在以太环网收敛后, 以太环网中的各个节点都通过与其它节点进行报文交 互来建立域内的节点间的连接表, 所述连接表中包括至少两个转发表项, 每个转发表项中包括源节点的 MAC地址、 目的节点的 MAC地址, 以及源节 点和目的节点之间的转发端口信息。
[3] 根据权利要求 2所述的方法, 其特征在于, 所述连接表中包括本节点所在的 域中所有以太环网的转发表项, 或者, 包括本节点所在的域中指定的一个 或多个以太环网的转发表项。
[4] 根据权利要求 3所述的方法, 其特征在于, 所述连接表中的以太环网的转发 表项包括该以太环网中所有节点之间的转发信息, 或者, 包括本节点与相 邻节点之间的转发信息。
[5] 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括:
在以太环网收敛后, 以太环网中的各个节点在学习地址解析协议表吋, 记 录地址解析协议报文的上环节点的 MAC地址以及端口信息, 并将节点的 M AC地址以及端口信息保存在对应的地址解析协议表项中。
[6] 根据权利要求 1至 5任一项所述的方法, 其特征在于, 所述获取以太环网的 状态变化信息后, 根据该状态变化信息来更新转发关系信息具体包括: 在某个节点的状态发生变化后, 该节点向其它节点发送携带该节点的 MAC 地址信息和端口信息的通知报文, 其它节点接收到该通知报文后, 根据该 通知报文中携带的信息更新其保存的转发关系信息。
[7] 根据权利要求 6所述的方法, 其特征在于, 所述根据所述更新后的转发关系 信息来更新地址解析协议表项具体包括:
节点在更新了所述转发关系信息后, 当收到主节点发送的更新转发表的报 文后或者, 根据所述更新后的转发关系信息和地址解析协议表项对应的节 点的 MAC地址和端口信息, 来更新地址解析协议表项。
[8] 一种环网的业务倒换装置, 其特征在于, 应用于以太环网, 所述以太环网 包括: 传输节点和主节点, 所述装置包括:
转发关系信息获取模块, 用于通过与节点进行报文交互来建立域内的节点 间的转发关系信息, 在获取了以太环网的状态变化信息后, 根据该状态变 化信息来更新所述转发关系信息;
地址解析协议表项获取模块, 用于建立包含节点的 MAC地址以及端口信息 的地址解析协议表项, 根据转发关系信息获取模块所更新的转发关系信息 , 来更新所述地址解析协议表项;
业务报文转发模块, 用于通过地址解析协议表项获取模块所更新的地址解 析协议表项, 来进行业务报文的转发。
[9] 根据权利要求 8所述的环网的的业务倒换装置, 其特征在于
, 所述转发关系信息获取模块具体包括:
转发关系信息建立子模块, 用于在以太环网收敛后, 通过与节点进行报文 交互来建立域内的节点间的连接表, 该连接表中包括至少两个转发表项, 每个转发表项中包括源节点的 MAC地址、 目的节点的 MAC地址, 以及源节 点和目的节点之间的转发端口信息;
转发关系信息更新子模块, 用于在接收到节点发送的携带 MAC地址信息和 端口信息的状态变化通知报文后, 根据该状态变化通知报文来更新所述转 发关系信息建立子模块所建立的转发关系信息。
[10] 根据权利要求 9所述的环网的的业务倒换装置, 其特征在于
, 所述地址解析协议表项获取模块具体包括:
地址解析协议表项建立子模块, 用于以太环网收敛后, 在学习地址解析协 议表吋, 记录地址解析协议报文的上环节点的 MAC地址以及端口信息, 并 将节点的 MAC地址以及端口信息保存在对应的地址解析协议表项中; 地址解析协议表项更新子模块, 用于根据地址解析协议表项建立模块所建 立的地址解析协议表项对应的 MAC地址以及端口信息, 和转发关系信息更 新模块所更新的转发关系信息, 来更新其地址解析协议表项。
PCT/CN2009/070217 2008-02-05 2009-01-19 环网的业务倒换方法和装置 WO2009100662A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2008100081130A CN101252503B (zh) 2008-02-05 2008-02-05 环网的业务倒换方法和装置
CN200810008113.0 2008-02-05

Publications (1)

Publication Number Publication Date
WO2009100662A1 true WO2009100662A1 (zh) 2009-08-20

Family

ID=39955698

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/070217 WO2009100662A1 (zh) 2008-02-05 2009-01-19 环网的业务倒换方法和装置

Country Status (2)

Country Link
CN (1) CN101252503B (zh)
WO (1) WO2009100662A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209018A (zh) * 2010-03-30 2011-10-05 杭州华三通信技术有限公司 快速环保护协议环中的实况业务调度方法及节点

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252503B (zh) * 2008-02-05 2010-12-08 华为技术有限公司 环网的业务倒换方法和装置
CN101610221B (zh) * 2009-07-23 2011-08-03 杭州华三通信技术有限公司 一种stp切换时ip单播平滑切换的方法及装置
CN102238067B (zh) * 2010-04-28 2013-12-25 杭州华三通信技术有限公司 一种快速环网保护协议环上的切换方法和装置
CN102710479B (zh) * 2012-06-14 2014-03-12 北京理工大学 用于通信协议逆向解析的汽车网关系统
CN104040967B (zh) * 2012-12-07 2017-08-18 华为技术有限公司 一种报文的流转发方法及报文转发设备
WO2014139175A1 (zh) 2013-03-15 2014-09-18 华为技术有限公司 双上行相切环收敛的方法、设备和系统
CN106341297B (zh) * 2016-08-12 2020-01-14 浙江宇视科技有限公司 一种监控环网的组网方法和装置
CN106357832B (zh) * 2016-08-24 2019-10-18 浙江宇视科技有限公司 环网地址表项更新机制方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1812361A (zh) * 2006-01-23 2006-08-02 杭州华为三康技术有限公司 快速环网保护方法及系统
CN101022390A (zh) * 2007-03-21 2007-08-22 华为技术有限公司 一种对双归接入的rrpp环网的保护方法、系统和设备
CN101252503A (zh) * 2008-02-05 2008-08-27 华为技术有限公司 环网的业务倒换方法和装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100477666C (zh) * 2005-11-23 2009-04-08 杭州华三通信技术有限公司 一种快速更新地址解析协议的方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1812361A (zh) * 2006-01-23 2006-08-02 杭州华为三康技术有限公司 快速环网保护方法及系统
CN101022390A (zh) * 2007-03-21 2007-08-22 华为技术有限公司 一种对双归接入的rrpp环网的保护方法、系统和设备
CN101252503A (zh) * 2008-02-05 2008-08-27 华为技术有限公司 环网的业务倒换方法和装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"Extreme Networks' Ethernet Automatic Protection Switching (EAPS) Version I", RFC 3619, October 2003 (2003-10-01), pages 2 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209018A (zh) * 2010-03-30 2011-10-05 杭州华三通信技术有限公司 快速环保护协议环中的实况业务调度方法及节点

Also Published As

Publication number Publication date
CN101252503B (zh) 2010-12-08
CN101252503A (zh) 2008-08-27

Similar Documents

Publication Publication Date Title
WO2009100662A1 (zh) 环网的业务倒换方法和装置
EP2533475B1 (en) Method and system for host route reachability in packet transport network access ring
CN102035676B (zh) 基于arp协议交互的链路故障检测与恢复的方法和设备
JP4899959B2 (ja) Vpn装置
JP5061748B2 (ja) パケットリングネットワークシステム、パケット転送方法
CN101345683B (zh) 以太网自动保护切换系统中的协议报文传输控制方法
WO2012028029A1 (zh) 一种切换方法及系统
WO2021031648A1 (zh) Evpn和vpls共存双活的方法、设备及系统
WO2007115493A1 (fr) Procédé, dispositif et système pour réaliser la commutation dans le réseau à double anneau de réseau vpls
WO2007077923A1 (ja) ネットワークシステム及びデータ転送装置
CN103873333B (zh) 环网三层收敛方法及装置
TW201218687A (en) Network device with creating path data and method thereof
CN105897515A (zh) 基于ipran设备的以太网环路检测及处理方法
WO2012149862A1 (zh) 环网故障切换方法和装置
WO2008154781A1 (fr) Procédé de traitement d'un message d'anneau ethernet et système de protection d'anneau ethernet utilisant le procédé
WO2009092241A1 (zh) 基于环路的报文传送方法、网络系统和节点设备
CN1964360A (zh) Mac帧转发的方法及设备
EP2709405B1 (en) Method and system for mobility management in label switched networks
WO2012095022A1 (zh) 一种mff手工模式下的报文传输方法及装置
JP2003258822A (ja) パケットリングネットワーク及びそれに用いるパケットリングネットワーク間の接続方法
WO2012122844A1 (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
CN103685029B (zh) 一种快速环网保护协议组网中报文转发方法和设备
WO2009052725A1 (en) Method, system and router for establishing master/slave link
CN107547330B (zh) 一种传输业务数据的方法和节点设备

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

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

Country of ref document: EP

Kind code of ref document: A1