WO2012146097A1 - Vpls网络和以太环网的倒换方法及装置 - Google Patents

Vpls网络和以太环网的倒换方法及装置 Download PDF

Info

Publication number
WO2012146097A1
WO2012146097A1 PCT/CN2012/072587 CN2012072587W WO2012146097A1 WO 2012146097 A1 WO2012146097 A1 WO 2012146097A1 CN 2012072587 W CN2012072587 W CN 2012072587W WO 2012146097 A1 WO2012146097 A1 WO 2012146097A1
Authority
WO
WIPO (PCT)
Prior art keywords
fault
network
vpls network
vpls
mac address
Prior art date
Application number
PCT/CN2012/072587
Other languages
English (en)
French (fr)
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 WO2012146097A1 publication Critical patent/WO2012146097A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/66Layer 2 routing, e.g. in Ethernet based MAN's
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/68Pseudowire emulation, e.g. IETF WG PWE3

Definitions

  • the present invention relates to the field of communications, and in particular to a VPLS (Virtual Private LAN Service) network and an Ethernet ring network switching method and apparatus.
  • VPLS Virtual Private LAN Service
  • Ethernet ring network switching method and apparatus BACKGROUND
  • VPLS Virtual Private LAN Service
  • Ethernet ring network switching method and apparatus BACKGROUND
  • a VPLS network is also used.
  • the VPLS network also has many protection methods such as TE FRR (Traffic Engineer Fast Reroute), LDP FRR (Label Distribution Protocol Fast Reroute), and so on.
  • TE FRR Traffic Engineer Fast Reroute
  • LDP FRR Label Distribution Protocol Fast Reroute
  • VLAN Virtual Local Area Network
  • the primary node blocks traffic forwarding on a port on the ring to prevent loops. When a fault occurs in the loop, the master node sets the physical forwarding function of the blocked port.
  • the device sends a FLUSH packet (that is, a MAC address refresh packet) that refreshes the MAC address of the port (the medium access control), so that the node on the ring receives the packet.
  • a FLUSH packet that is, a MAC address refresh packet
  • the corresponding port MAC address table will be refreshed, and the nodes on the ring will relearn the MAC address of the packet and construct a new topology.
  • the user's packets (including Layer 2 and Layer 3 packets) are transparently transmitted between sites by establishing a PW (Pseudo Wire) between the sites.
  • the carrier edge router device (labeled as the PE) needs to learn the source MAC address of the packet when forwarding the user packet, and establish the corresponding forwarding entry to complete the access of the user to the AC (Attachment Circuit).
  • the carrier backbone router device (labeled as P) provides the tunnel function.
  • the MPLS forwarding is performed only in accordance with the MPLS (Multi-Protocol Label Switching) label.
  • the VPLS network does not receive the VPLS network.
  • the traffic that is sent to the VPLS network cannot be received by the ring network. Nowhere. In response to this problem, no effective solution has yet been proposed.
  • a VPLS network and an Ethernet ring switching method including: a PE in a VPLS network detects a downlink fault, and when detecting a downlink fault, detecting a faulty PE blocking the fault corresponding to the fault.
  • the PE that detects the fault informs the other PEs in the VPLS network to delete the MAC address in the VPLS network corresponding to the fault; the PE in the VPLS network establishes a new forwarding path.
  • the PE that detects the fault informs other PEs in the VPLS network to delete the fault in the VPLS network.
  • the MAC address includes: a faulty PE sends a FLUSH packet to refresh the uplink address; the other PEs in the VPLS network receive the FLUSH packet, refresh the MAC address table, and delete the MAC address in the VPLS network corresponding to the fault.
  • the PE in the VPLS network establishes a new forwarding path, including: the PE that detects the fault broadcasts the data stream sent by the user side to the PE in the VPLS network, and the other PEs in the VPLS network receive the broadcast data stream according to the refreshed MAC address. Table, determine the new forwarding topology, and establish a new forwarding path.
  • a method for detecting a downlink fault by a PE in a VPLS network includes at least one of: performing physical scanning on a port, receiving a corresponding alarm in an Ethernet ring network, and performing link hello detection.
  • a VPLS network and an Ethernet ring switching device on a PE in a VPLS network are provided, including: a detection blocking module configured to detect a downlink fault and block when a downlink fault is detected The port corresponding to the fault; the fault notification module is configured to notify other PEs in the VPLS network to delete the MAC address of the VPLS network corresponding to the fault; and the path establishment module is configured to establish a new forwarding path.
  • the fault notification module notifies the other PEs in the VPLS network to refresh the MAC address table by sending a FLUSH message that refreshes the uplink address, and deletes the MAC address in the VPLS network corresponding to the fault.
  • the path establishing module includes: a forwarding topology unit, configured to receive a data stream sent by the user side of the PE broadcast that detects the fault to the PE, determine a new forwarding topology according to the refreshed MAC address table, and establish a new forwarding path;
  • the data broadcast unit is configured to broadcast the data stream sent by the user side to the PE in the VPLS network when the PE to which the UE belongs belongs to detect the fault.
  • the method for detecting the downlink fault by the blocking module includes at least one of the following: performing physical scanning on the port, receiving a corresponding alarm in the Ethernet ring network, and performing link hello detection.
  • the invention adopts a scheme of blocking the faulty port by the PE that finds the downlink fault, and notifying other PEs to delete the MAC address of the response, and establishing a new forwarding path, which solves the state of the node in the access ring network in the prior art.
  • the change of the VPLS network is not perceived, and the problem that the traffic sent by the VPLS network is not received by the ring network is achieved, thereby achieving the effect of enhancing the transmission stability and robustness of the Ethernet.
  • FIG. 10 is a structural block diagram of a switching device of a network and an Ethernet ring network
  • FIG. 10 is a structure of a switching device of a VPLS network and an Ethernet ring network according to a preferred embodiment of the present invention
  • Fig. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
  • 1 is a flow chart of a method for switching a VPLS network and an Ethernet ring network according to an embodiment of the invention. As shown in FIG.
  • CE1 CE2 forms the uppermost ring network.
  • SI also means the switch is the small switch that connects users.
  • CE1, CE2 and S2, CE1 and CE2 are respectively composed. The other two rings.
  • PE1, PE2, PE3, PE4 and all other P devices form a VPLS network.
  • the VPLS network forwards the data in the following manner: CE1 sends the user packet to the PE1.
  • the PE1 selects the corresponding PW according to the forwarding table and pushes the PW label according to the PW forwarding table.
  • the PE2 device receives the packet and then sends the user packet to the corresponding AC according to the corresponding PW search.
  • the P device is only used for the external exchange of the public network. , do not care about the internal PW data.
  • S3, S4, CE3, and CE4 are added to the network shown in Figure 3, where S3,
  • FIG. 7 is a structural block diagram of a switching device of a VPLS network and an Ethernet ring network, which is located on a PE in a VPLS network, according to an embodiment of the invention. As shown in FIG.
  • the PE deletes the MAC address in the VPLS network corresponding to the fault.
  • the path establishment module 96 is connected to the fault notification module 94 and is set to establish a new forwarding path.
  • the VPLS network cannot detect the state change of the node in the Ethernet ring network, so the traffic delivered by the VPLS network may not be received by the Ethernet ring network.
  • the above device is designed for this problem. The above device is set on each PE in the VPLS network, so that the VPLS network can timely sense the state change of the node in the Ethernet ring network, or All the PEs in the VPLS network can shield the fault and re-establish the forwarding path to continue to deliver traffic, which greatly enhances Ethernet transmission stability and robustness.
  • the fault notification module 94 can notify the other PEs in the VPLS network to refresh the MAC address table by sending a FLUSH message that refreshes the uplink address, and delete the MAC address in the VPLS network corresponding to the fault.
  • the application of the FLUSH packet that refreshes the upstream address to notify other PEs that are blocked is implemented.
  • the PE is the most convenient and efficient.
  • the PE that receives the FLUSH packet immediately refreshes its MAC address table and deletes it.
  • the MAC address corresponding to the fault It should be noted that when detecting the port corresponding to the fault, the blocking module 92 first refreshes the MAC address table of the PE to which it belongs to delete the corresponding MAC address.
  • the path establishing module 96 may further include: a forwarding topology unit 962, configured to receive a data stream sent by the user side of the PE broadcast that detects the fault to the PE, according to the refreshed MAC address table, The new forwarding topology is determined, and a new forwarding path is established.
  • the data broadcasting unit 964 is configured to broadcast the data stream sent by the user side to the PE in the VPLS network when the PE to which the UE belongs belongs.
  • the forwarding topology unit 962 receives the user-side data stream of the PE broadcast that is found to be faulty, thereby establishing a new forwarding path.
  • the method for detecting the downlink fault by the blocking module 92 may include at least one of: performing physical scanning on the port, receiving a corresponding alarm in the Ethernet ring network, and performing link hello detection.
  • the detection blocking module 92 can perform fault detection actively, for example, performing physical scanning on the port and performing link hello detection.
  • the alarm function in the Ethernet ring network can also be used to receive the corresponding alarm of the alarm module, and the fault is detected indirectly.
  • there are many methods for detecting faults that can be used in the present invention, and are not limited to the above methods. From the above description, it can be seen that the technical solution provided by the present invention can enable the Ethernet ring network and the VPLS network to be intelligently switched, so that the VPLS network can know the state change of the Ethernet ring network in time, thereby changing the corresponding forwarding table. Prevents downstream traffic from becoming unreasonable, increasing the stability and robustness of Ethernet transmission.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, thereby Storing them in a storage device is performed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that herein, or they may be separately fabricated into individual integrated circuit modules, or Multiple of these modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.

Abstract

本发明公开了一种VPLS网络和以太环网的倒换方法及装置,上述方法包括:VPLS网络中的PE对下行故障进行检测,当检测到下行故障时,检测到故障的PE阻塞该故障对应的端口;检测到故障的PE通知VPLS网络中的其它PE删除上述故障对应的VPLS网络中的MAC地址;VPLS网络中的PE建立新的转发路径。通过本发明提供的技术方案,解决了现有技术中由于接入环网中节点的状态变化VPLS网络不会感知到,而引起VPLS网络下发的流量接入环网接收不到的问题,进而达到了增强以太网的传输稳定性、健壮性的效果。

Description

VPLS网络和以太环网的倒换方法及装置 技术领域 本发明涉及通信领域, 具体而言, 涉及一种 VPLS (Virtual Private LAN Service, 虚拟专用局域网业务) 网络和以太环网的倒换方法及装置。 背景技术 随着以太网技术的不断发展, 以太网网络规模越来越大。 目前电信级以太网电路 被广泛地应用, 因此对以太环网链路的保护就显得尤其重要。 在现有组网中, 网路规划都是分层布置的, 以太网组织结构分为三个层次: 接入 层, 汇聚层和核心层。 为了保证业务的正常运行, 需要相应的保护机制进行保护, 汇 聚层一般用二层以太网环网保护, 核心层一般是各个运营商提供的业务, 核心网络提 供多点对多点的业务模型, 典型的是 VPLS组网, VPLS 网络也有很多保护方法比如 TE FRR ( Traffic Engineer Fast ReRoute, 流量工程快速重路由) ,LDP FRR (Label Distribution Protocol Fast ReRoute, 标签分发协议快速重路由) 等等。 在以太环网保护系统中, 设置了多个保护域, 每个保护域通常由一个主节点 (Master) 和多个从节点 (Slave) 共同组成, 每个保护域可以实现基于用户数据业务 转发的 VLAN ( Virtual Local Area Network, 业务虚拟局域网)功能。在每个保护域中, 正常情况下时, 主节点会阻塞环上一个端口的业务转发, 防止环路, 当检查到环路中 出现故障时, 主节点会将该阻塞端口的物理转发功能置为有效,保证业务的正常转发, 同时会发送刷新端口 MAC (Medium Access Control, 介质访问控制)地址的 FLUSH报 文(即 MAC地址刷新报文),这样环上的节点接收到这种报文就会刷新相应端口 MAC 地址表, 环上的节点就会重新学习报文的 MAC地址, 构造新的拓扑结构。 在 VPSL组网中, 通过建立各个站点之间的 PW (Pseudo Wire, 伪线), 把用户的 报文(包括二三层报文)在各个站点间透传。对于运营商边缘路由器设备(标记为 PE) 需要在转发用户报文的时候学习报文的源 MAC地址, 并建立好相应的转发表项, 完 成用户接入 AC (Attachment Circuit, 接入链路) 和 PW之间的映射关系。 而运营商 骨干路由器设备(标记为 P)提供隧道功能, 只需要依照 MPLS (Multi-Protocol Label Switching, 多协议标签交换) 标签进行 MPLS转发, 不需要关心内部封装的用户报文 信息。 在接入环网和 VPLS 网络对接的组网中, 由于接入环网中节点的状态变化 VPLS 网络不会感知到, 所以会引起 VPLS网络下发的流量接入环网接收不到, 造成流量的 不通。 针对这一问题, 目前尚未提出有效的解决方案。 发明内容 本发明提供了一种 VPLS网络和以太环网的倒换方法及装置, 以解决上述问题。 根据本发明的一个方面, 提供了一种 VPLS网络和以太环网的倒换方法, 包括: VPLS网络中的 PE对下行故障进行检测, 当检测到下行故障时, 检测到故障的 PE阻 塞该故障对应的端口; 检测到故障的 PE通知 VPLS网络中的其它 PE删除上述故障对 应的 VPLS网络中的 MAC地址; VPLS网络中的 PE建立新的转发路径。 检测到故障的 PE通知 VPLS网络中的其它 PE删除故障对应的 VPLS网络中的
MAC地址包括:检测到故障的 PE发送刷新上行地址的 FLUSH报文; VPLS网络中的 其它 PE接收该 FLUSH报文, 刷新 MAC地址表, 删除故障对应的 VPLS 网络中的 MAC地址。
VPLS网络中的 PE建立新的转发路径包括: 检测到故障的 PE在 VPLS网络中广 播用户侧发送给该 PE的数据流, VPLS网络中的其它 PE接收该广播数据流, 根据刷 新后的 MAC地址表, 确定新的转发拓扑, 建立新的转发路径。
VPLS网络中的 PE对下行故障进行检测的方法包括以下至少之一:对端口进行物 理扫描、 接收以太环网中的相应告警、 进行 link hello检测。 根据本发明的另一方面,提供了一种位于 VPLS网络中的 PE上的 VPLS网络和以 太环网的倒换装置, 包括: 检测阻塞模块, 设置为检测下行故障, 并在检测到下行故 障时阻塞该故障对应的端口; 故障通知模块, 设置为通知 VPLS网络中的其它 PE删 除上述故障对应的 VPLS网 MAC地址; 路径建立模块, 设置为建立新的转发路径。 故障通知模块通过发送刷新上行地址的 FLUSH报文通知 VPLS网络中的其它 PE 刷新 MAC地址表, 删除故障对应的 VPLS网络中的 MAC地址。 上述路径建立模块包括: 转发拓扑单元, 设置为接收检测到故障的 PE广播的用 户侧发送给该 PE的数据流, 根据刷新后的 MAC地址表, 确定新的转发拓扑, 建立新 的转发路径; 数据广播单元, 设置为在其所属的 PE检测到故障时, 在 VPLS网络中 广播用户侧发送给该 PE的数据流。 检测阻塞模块对下行故障进行检测的方法包括以下至少之一: 对端口进行物理扫 描、 接收以太环网中的相应告警、 进行 link hello检测。 通过本发明, 采用由发现下行故障的 PE阻塞该故障端口, 并通知其它 PE删除响 应的 MAC地址, 并建立新的转发路径的方案, 解决了现有技术中由于接入环网中节 点的状态变化 VPLS网络不会感知到, 而引起 VPLS网络下发的流量接入环网接收不 到的问题, 进而达到了增强以太网的传输稳定性、 健壮性的效果。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据本发明实施例的 VPLS网络和以太环网的倒换方法的流程图; 图 2是根据本发明实例的 VPLS网络和以太环网组网及故障处理的流程图; 图 3是根据本发明实例的 VPLS网络和以太环网混合组网的结构示意图; 图 4是根据本发明实例的以太环网故障之前的数据流走向示意图; 图 5是根据本发明实例的 AC发生故障且以太环网没有通知 VPLS网络时的数据 流走向示意图; 图 6是根据本发明实例的 AC发生故障, PE发送 FLUSH报文通知 VPLS网路中 所有的 PE节点的报文走向示意图; 图 7是根据本发明实例的 AC发生故障, 广播数据流走向示意图; 图 8是根据本发明实例的 AC发生故障, 新建立的转发路径转发数据流的走向示 意图; 图 9是根据本发明实施例的 VPLS网络和以太环网的倒换装置的结构框图; 图 10是根据本发明优选实施例的 VPLS网络和以太环网的倒换装置的结构框图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 图 1是根据发明实施例的 VPLS网络和以太环网的倒换方法的流程图。 如图 1所 示, 根据发明实施例的 VPLS网络和以太环网的倒换方法包括: 步骤 S102, VPLS网络中的 PE对下行故障进行检测, 当检测到下行故障时, 检 测到故障的 PE阻塞该故障对应的端口; 步骤 S104,检测到故障的 PE通知 VPLS网络中的其它 PE删除该故障对应的 VPLS 网络中的 MAC地址; 步骤 S106, VPLS网络中的 PE建立新的转发路径。 上述方法应用于包括以太环网和 VPLS网络的混合组网中, 在现有技术中, 由于 VPLS 网络不能感知到以太环网中结点的状态变化, 所以可能会造成 VPLS 网络下发 的流量以太环网接收不到。 上述方法针对这一问题, 首先, 在 PE上增加了故障检测 功能, 使得 VPLS网络可以及时感知到以太环网中结点的状态变化, 并进一步提出了 故障的解决办法, 即由发现故障的 PE阻塞故障对应的端口并通知其它的 PE删除在该 VFI (Virtual Forward Instance, 虚拟转发实例) 中该故障对应的 MAC地址(每个具体 的数据流的传输都对应一个 VFI,在一个 VPLS网络中可以建立多个实例),使得 VPLS 网络中所有 PE可以屏蔽掉该故障, 并重新建立转发路径继续下发流量, 从而一举解 决了现有技术中的问题, 大大增强了以太网的传输稳定性、 健壮性。 优选地, 步骤 S104可以进一步包括以下处理:
( 1 ) 检测到故障的 PE发送刷新上行地址的 FLUSH报文;
(2) VPLS网络中的其它 PE接收该 FLUSH报文, 刷新 MAC地址表, 删除该故 障对应的 VPLS网络中的 MAC地址。 在具体实施过程中,应用刷新上行地址的 FLUSH报文通知其它的 PE被阻塞的端 口, 实现起来最为方便, 且效率很高, 接收到 FLUSH报文的 PE会立即刷新自己的 MAC地址表从而删除故障对应的 MAC地址。 需要说明的是, 检测到故障的 PE在阻 塞故障对应的端口时会首先刷新自己的 MAC地址表删除相应的 MAC地址。 优选地, 步骤 S106可以进一步包括以下处理: 检测到故障的 PE在 VPLS网络中 广播用户侧发送给该 PE的数据流, VPLS网络中的其它 PE接收该广播数据流, 根据 刷新后的 MAC地址表, 确定新的转发拓扑, 建立新的转发路径。 在检测到故障的 PE将故障对应的端口阻塞并删除了相应的 MAC地址后,在新的 用户侧数据流到达该 PE 时, 由于原路径已被阻塞所以就找不到相应的转发路径了, 此时该 PE就需要在整个 VPLS网络中广播该数据流 (报文), 从而确定新的转发拓扑 结构, 并在此基础上进一步建立新的转发路径。 优选地, VPLS网络中的 PE对下行故障进行检测的方法可以包括以下至少之一: 对端口进行物理扫描、 接收以太环网中的相应告警、 进行 link hello检测。 PE可以主动进行故障检测, 例如, 对端口进行物理扫描、 进行 link hello检测, 也可以利用以太环网中告警功能, 接收告警模块的相应告警, 间接的检测故障。 实际 上, 目前可以用于本发明的故障检测方法还有很多, 不限于上述方法。 下面结合实例及图 2至图 8对上述优选实施进行详细说明。 图 2是根据本发明实例的 VPLS网络和以太环网组网及故障处理的流程图, 包括 组网及故障处理两个部分。 如图 2所示, 包括以下步骤: 步骤 S202, 配置以太环网, 或者其它环网协议, 通常配置环网需要配置唯一的一 个主节点, 其它节点为 transit (传输) 节点, 如图 3所示有三个以太环拓扑, 每个环 都有一个主节点, 其余节点为 transit节点, 每个环上都阻塞一个物理端口, 这样环上 任何两点通信只有逻辑上的一条通道, 防止环路的产生, 从而避免报文广播风暴的产 生, 进入步骤 S204; 步骤 S204, 配置全连接的 VPLS网络, VPLS网络由 PE、 运营商骨干路由器(标 记为 P)等设备组成, 分别指定 PE、 P设备, PE和 PE之间建立伪线 PW, 和 PE相连 的是以太环网的用户边缘路由器(标记为 CE), CE和 PE之间的链路为 AC, 伪线 PW 运行在公网隧道上, 公网隧道运行的 MPLS标签交换。 把上述的以太环网和 VPLS网 络混合组网, 进入步骤 S206; 步骤 S206, 检测 AC 侧链路, 可以通过检测模块检测链路故障, 目前检测模块有 很多, 如对端口的物理扫描, 告警模块的相应告警, link hello 的检测等等, 进入步骤 S208; 步骤 S208, 如果检测到 AC侧链路故障, PE设备需要发送刷新地址 FLUSH报文 给上行的 VPLS网络, 进入步骤 S210; 步骤 S210, 通过相应的 AC 找到 PW, 然后打上公网标签传送到 VPLS各个 PE 设备, VPLS网络的各个 PE设备收到该 FLUSH报文以后刷新相应的 MAC地址表项, 这样下次 (数据流) 报文到达 PE设备, 如果查找不到相应的转发表项则会在同一个 VFI 中广播此报文, 重新学习新的转发拓扑, 这样下行流量就不至于中断, 等到新的 转发表项建立以后, 以后的数据流就按照新的转发路径进行转发。 上述方案主要应用于包括以太环网和 VPLS网络的混合组网中, 其主要目的在于 防止环网状态变化的时候, VPLS 网络没有感知到, 从而使 VPLS 网络转发数据的时 候仍然按照环网状态变化之前的转发, 造成下行流的不通。 在以太环网变化的时候通 知 AC测的 PE, 通过 AC侧的端口找到相应的 PW, 发送刷新 MAC地址的 FLUSH报 文, 这样 VPLS网络上所有的 PE收到该报文以后基于相应的 PW刷新 MAC表, 这样 以后的数据查找相应的 MAC表项,如果查找不到相应的 MAC表项就会在同一个 VFI 中广播该数据, 同时每个收到该报文的 PE会学习相应的转发表项, 下次报文就会按 照新学习的转发拓扑来发送数据。 图 3是根据本发明实例的 VPLS网络和以太环网混合组网的结构示意图。 下面以 图 3所示的混合组网为基础, 描述上述方案的具体应用。 如图 3所示, 建立环网拓扑, 有三个环网, CE1 CE2 组成最上层环网, SI ( S也 表示交换机, 是连接用户的小交换机), CE1 , CE2 和 S2, CE1 , CE2分别组成另外 两个环网。 PE1, PE2, PE3, PE4 和其余所有的 P设备组成 VPLS网络。 其中, VPLS 网络转发数据的走向是: CE1上送用户报文, 通过 AC 接入到 PE1, PE1收到报文后, 根据转发表选择相应的 PW, 根据 PW转发表压入 PW标签, 并送到外层隧道, 经过 公网隧道到达对端 PE2, PE2设备收到报文后, 根据相应的 PW查找, 把用户报文传 送到相应的 AC, P设备仅仅是用于公网的外层交换, 不关心内部的 PW数据。 如图 4所示, 在图 3所示组网的基础上加入了 S3、 S4、 CE3、 CE4, 其中, S3、
S4作为下行数据流的来源, CE3、 CE4分别用于将 S3、 S4连接至 VPLS网络。 以 S3 和 S1进行通信为例, S3和 S1通信的数据流走向如箭头所示, 组网中各个环网分别进 行协议运算, 阻塞相应的物理端口, 防止出现环路, 圆圈表示被阻塞的端口, 以下类 同。 如图 5所示, 当 PE1和 CE1之间的链路故障时, 以太环网感知到故障后, 就会阻 塞故障端口, 打开 CE2的物理端口, 但是上行的 VPLS网络不知道下行的环网的状态 变化, 数据流还是沿着以太环网状态变化之前的走向进行传输数据, 由于 PE1和 CE1 之间链路故障, 这样势必会造成 S3和 S1之间的通信中断。 如图 6所示, 为了解决图 5所示的由于 PE1和 CE1之间 AC侧的链路故障, 而导 致的下行流不通问题, 当 AC侧的链路故障的时候, PE1在检测到链路故障后, 就需 要发送 FLUSH报文给上层的 VPLS网络中的其余 PE节点, 同时刷新自己的 MAC地 址表项,刷新 MAC地址需要基于 PW删除,通过 AC可以查找到相应的 VFI, FLUSH 报文在同一个 VFI中广播, 这样同一个 VFI中的所有 PE 设备都能收到该报文, 基于 PW删除相应的 MAC地址表项。 如图 7所示, 在 VPLS网络中所有 PE设备收到下行环网发送 FLSUH报文, 并且 刷新了各自的 MAC地址表项后, S3到达 PE4后就查找不到相应的转发表项, 这时它 会把数据流在同一个 VFI里面进行广播, 同时每个 PE重新学习新的 MAC地址,建立 新的转发表项。 如图 8所示, 建立了新的转发表项以后, 以后的数据流走向就可以沿着新建的转 发路径传播, 而不需要进行广播该数据流, 浪费带宽。 图 9是根据发明实施例的 VPLS网络和以太环网的倒换装置的结构框图, 该装置 位于 VPLS网络中的 PE上。如图 9所示,据发明实施例的 VPLS网络和以太环网的倒 换装置包括: 检测阻塞模块 92, 设置为检测下行故障, 并在检测到下行故障时阻塞该故障对应 的端口; 故障通知模块 94, 连接至检测阻塞模块 92, 设置为通知所 VPLS 网络中的其它
PE删除上述故障对应的 VPLS网络中的 MAC地址; 路径建立模块 96, 连接至故障通知模块 94, 设置为建立新的转发路径。 在现有技术中, 由于 VPLS网络不能感知到以太环网中结点的状态变化, 所以可 能会造成 VPLS网络下发的流量以太环网接收不到。 上述装置正是针对这一问题设计 的, 在 VPLS 网络中的每一个 PE上都设置上述装置, 这样一来, 即可以使得 VPLS 网络可以及时感知到以太环网中结点的状态变化, 也可以使得 VPLS 网络中所有 PE 可以屏蔽掉该故障, 并重新建立转发路径继续下发流量, 从而大大增强了以太网的传 输稳定性、 健壮性。 优选地, 故障通知模块 94可以通过发送刷新上行地址的 FLUSH报文通知 VPLS 网络中的其它 PE刷新 MAC地址表, 删除故障对应的 VPLS网络中的 MAC地址。 在具体实施过程中,应用刷新上行地址的 FLUSH报文通知其它的 PE被阻塞的端 口, 实现起来最为方便, 且效率很高, 接收到 FLUSH报文的 PE会立即刷新自己的 MAC地址表从而删除故障对应的 MAC地址。 需要说明的是, 检测阻塞模块 92在阻 塞故障对应的端口时会首先刷新自己所属 PE的 MAC地址表删除相应的 MAC地址。 优选地, 如图 10所示, 路径建立模块 96可以进一步包括: 转发拓扑单元 962, 设置为接收检测到故障的 PE广播的用户侧发送给该 PE的数 据流, 根据刷新后的 MAC地址表, 确定新的转发拓扑, 建立新的转发路径; 数据广播单元 964, 设置为在其所属的 PE检测到故障时, 在 VPLS网络中广播数 用户侧发送给该 PE的据流。 当 PE不是发现故障的 PE时, 其转发拓扑单元 962就会接收到发现故障的 PE广 播的用户侧数据流, 从而在此基础上建立新的转发路径。 当 PE是发现故障的 PE时, 在其检测阻塞模块 92将故障对应的端口阻塞后, 在 新的数据流到达该 PE 时, 由于原路径已被阻塞所以就找不到相应的转发路径了, 此 时其数据广播单元 964就需要在整个 VPLS网络中广播该数据流(报文), 从而确定新 的转发拓扑结构。 优选地,检测阻塞模块 92对下行故障进行检测的方法可以包括以下至少之一: 对 端口进行物理扫描、 接收以太环网中的相应告警、 进行 link hello检测。 检测阻塞模块 92可以主动进行故障检测, 例如, 对端口进行物理扫描、 进行 link hello检测, 也可以利用以太环网中告警功能, 接收告警模块的相应告警, 间接的检测 故障。 实际上, 目前可以用于本发明的故障检测方法还有很多, 不限于上述方法。 从以上的描述中, 可以看出, 本发明提供的技术方案可以使以太网环网和 VPLS 网络智能地进行倒换, 使得 VPLS网络可以及时的获知以太环网状态变化, 从而改变 相应的转发表, 防止下行流量不通, 增加了以太网传输的稳定性、 健壮性。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求 书
1. 一种虚拟专用局域网业务 VPLS网络和以太环网的倒换方法, 包括:
所述 VPLS网络中的运营商边缘路由器 PE对下行故障进行检测, 当检测 到下行故障时, 检测到故障的 PE阻塞所述故障对应的端口;
所述检测到故障的 PE通知所述 VPLS网络中的其它 PE删除所述故障对应 的 VPLS网络中的介质访问控制 MAC地址;
所述 VPLS网络中的 PE建立新的转发路径。
2. 根据权利要求 1所述的方法, 其中, 所述检测到故障的 PE通知所述 VPLS网 络中的其它 PE删除所述故障对应的 VPLS网络中的 MAC地址包括:
所述检测到故障的 PE发送刷新上行地址的 FLUSH报文;
所述 VPLS网络中的其它 PE接收所述 FLUSH报文, 刷新 MAC地址表, 删除所述故障对应的 VPLS网络中的 MAC地址。
3. 根据权利要求 2所述的方法, 其中, 所述 VPLS网络中的 PE建立新的转发路 径包括:
所述检测到故障的 PE在所述 VPLS网络中广播用户侧发送给该 PE的数据 流,所述 VPLS网络中的其它 PE接收所述广播数据流,根据刷新后的所述 MAC 地址表, 确定新的转发拓扑, 建立新的转发路径。
4. 根据权利要求 1至 3任一项所述的方法, 其中, 所述 VPLS网络中的 PE对下 行故障进行检测的方法包括以下至少之一: 对端口进行物理扫描、 接收以太环 网中的相应告警、 进行 link hello检测。
5. 一种虚拟专用局域网业务 VPLS 网络和以太环网的倒换装置, 位于所述 VPLS 网络中的运营商边缘路由器 PE上, 包括: 检测阻塞模块, 设置为检测下行故障, 并在检测到下行故障时阻塞所述故 障对应的端口;
故障通知模块, 设置为通知所述 VPLS网络中的其它 PE删除所述故障对 应的 VPLS网络中的介质访问控制 MAC地址; 路径建立模块, 设置为建立新的转发路径。
6. 根据权利要求 5所述的装置, 其中, 所述故障通知模块通过发送刷新上行地址 的 FLUSH报文通知所述 VPLS网络中的其它 PE刷新 MAC地址表, 删除所述 故障对应的 VPLS网络中的 MAC地址。
7. 根据权利要求 6所述的装置, 其中, 所述路径建立模块包括:
转发拓扑单元,设置为接收检测到故障的 PE广播的用户侧发送给该 PE的 数据流, 根据刷新后的所述 MAC地址表, 确定新的转发拓扑, 建立新的转发 路径;
数据广播单元, 设置为在其所属的 PE检测到故障时, 在所述 VPLS网络 中广播用户侧发送给该 PE的数据流。
8. 根据权利要求 5至 7任一项所述的装置, 其中, 所述检测阻塞模块对下行故障 进行检测的方法包括以下至少之一: 对端口进行物理扫描、 接收以太环网中的 相应告警、 进行 link hello检测。
PCT/CN2012/072587 2011-04-29 2012-03-20 Vpls网络和以太环网的倒换方法及装置 WO2012146097A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110111221.2 2011-04-29
CN201110111221.2A CN102185712B (zh) 2011-04-29 2011-04-29 Vpls网络和以太环网的倒换方法及装置

Publications (1)

Publication Number Publication Date
WO2012146097A1 true WO2012146097A1 (zh) 2012-11-01

Family

ID=44571785

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/072587 WO2012146097A1 (zh) 2011-04-29 2012-03-20 Vpls网络和以太环网的倒换方法及装置

Country Status (2)

Country Link
CN (1) CN102185712B (zh)
WO (1) WO2012146097A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016033944A1 (zh) * 2014-09-03 2016-03-10 中兴通讯股份有限公司 一种专用网络内消息转发方法及装置
CN114679348A (zh) * 2020-12-24 2022-06-28 华为技术有限公司 故障处理方法和相关产品

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185712B (zh) * 2011-04-29 2015-10-21 中兴通讯股份有限公司 Vpls网络和以太环网的倒换方法及装置
CN102299845B (zh) * 2011-09-20 2015-09-09 神州数码网络(北京)有限公司 多链路透明互联多播帧传输方法和系统
CN102801562B (zh) * 2012-08-10 2015-04-22 福建星网锐捷网络有限公司 传输链路切换方法、装置及网络设备
CN103166849B (zh) * 2013-03-06 2016-02-17 杭州华三通信技术有限公司 IPSec VPN互联组网路由收敛的方法及路由设备
CN107786435B (zh) * 2016-08-25 2021-06-25 中兴通讯股份有限公司 伪线保护方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905482A (zh) * 2006-08-02 2007-01-31 华为技术有限公司 一种网络故障检测结果互通的方法和装置
CN1980155A (zh) * 2006-11-29 2007-06-13 杭州华为三康技术有限公司 发起媒体访问控制地址回收的方法和运营商边缘设备
CN101237343A (zh) * 2007-02-02 2008-08-06 华为技术有限公司 故障时快速切换的方法及快速切换系统
US20100329109A1 (en) * 2009-06-30 2010-12-30 Juniper Networks, Inc Redundant pseudowires for border gateway patrol-based virtual private local area network service multi-homing environments
CN102185712A (zh) * 2011-04-29 2011-09-14 中兴通讯股份有限公司 Vpls网络和以太环网的倒换方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905482A (zh) * 2006-08-02 2007-01-31 华为技术有限公司 一种网络故障检测结果互通的方法和装置
CN1980155A (zh) * 2006-11-29 2007-06-13 杭州华为三康技术有限公司 发起媒体访问控制地址回收的方法和运营商边缘设备
CN101237343A (zh) * 2007-02-02 2008-08-06 华为技术有限公司 故障时快速切换的方法及快速切换系统
US20100329109A1 (en) * 2009-06-30 2010-12-30 Juniper Networks, Inc Redundant pseudowires for border gateway patrol-based virtual private local area network service multi-homing environments
CN102185712A (zh) * 2011-04-29 2011-09-14 中兴通讯股份有限公司 Vpls网络和以太环网的倒换方法及装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016033944A1 (zh) * 2014-09-03 2016-03-10 中兴通讯股份有限公司 一种专用网络内消息转发方法及装置
CN114679348A (zh) * 2020-12-24 2022-06-28 华为技术有限公司 故障处理方法和相关产品
CN114679348B (zh) * 2020-12-24 2022-12-27 华为技术有限公司 故障处理方法和相关产品

Also Published As

Publication number Publication date
CN102185712B (zh) 2015-10-21
CN102185712A (zh) 2011-09-14

Similar Documents

Publication Publication Date Title
JP5484590B2 (ja) 擬似ワイヤに基づいてサービストラヒックを処理するための方法、デバイスおよびシステム
US9509591B2 (en) Technique for dual homing interconnection between communication networks
WO2012028029A1 (zh) 一种切换方法及系统
WO2012146097A1 (zh) Vpls网络和以太环网的倒换方法及装置
WO2007115493A1 (fr) Procédé, dispositif et système pour réaliser la commutation dans le réseau à double anneau de réseau vpls
WO2016101646A1 (zh) 以太虚拟网络的接入方法及装置
US20130272114A1 (en) Pseudo wire switching method and device
WO2017028586A1 (zh) 一种业务报文的组播方法及装置
WO2012075831A1 (zh) 一种实现组播保护的方法及系统
WO2009056034A1 (fr) Procédé, système et équipement pour établir une détection bfd pour un tunnel lsp
JP2008236212A (ja) Vpn装置
WO2008083590A1 (fr) Procédé et appareil de convergence rapide d'un service point à point
WO2009138036A1 (zh) 以太网业务传送中转发表的更新方法、设备和系统
WO2012003743A1 (zh) 组播流量的转发方法及装置
WO2008080312A1 (fr) Procédé de convergence, dispositif, système pour réseau toute connexion ainsi qu'un dispositif domestique double
WO2012130034A1 (zh) 一种vpls快速重路由方法和设备
WO2008089633A1 (fr) Procédé et appareil pour protéger un anneau éthernet
CN101364927A (zh) 实现虚拟专用网vpn故障恢复的方法、设备及系统
WO2011060667A1 (zh) 一种虚拟专用局域网络中链路保护的方法及设备
WO2012171378A1 (zh) 解决vpls接入l3故障切换导致断流的方法及路由器
WO2011144088A2 (zh) 一种业务保护方法及接入设备
WO2012016458A1 (zh) 用于二层虚拟专用网络的数据传输方法和装置
WO2008131654A1 (fr) Système de réseau et procédé pour établir le trajet le plus court et transmettre le paquet de diffusion
WO2013139159A1 (zh) 在网络中转发报文的方法和运营商边缘设备
WO2011147299A1 (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: 12777610

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

Country of ref document: EP

Kind code of ref document: A1