WO2012171378A1 - Method and router for preventing flow interruption caused by failover from vpls to l3 - Google Patents
Method and router for preventing flow interruption caused by failover from vpls to l3 Download PDFInfo
- Publication number
- WO2012171378A1 WO2012171378A1 PCT/CN2012/072754 CN2012072754W WO2012171378A1 WO 2012171378 A1 WO2012171378 A1 WO 2012171378A1 CN 2012072754 W CN2012072754 W CN 2012072754W WO 2012171378 A1 WO2012171378 A1 WO 2012171378A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- vrrp
- bgp
- path
- router
- master
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/58—Association of routers
- H04L45/583—Stackable routers
Definitions
- the present invention relates to the field of IP communication technologies, and in particular to a method and a router for solving a VPLS (Virtual Private LAN Service) access L3 (network side) failover and causing a current interruption.
- VPLS Virtual Private LAN Service
- L3 network side
- BGP Border Gateway Protocol
- IBGP Intelligent Border Gateway Protocol
- the value of the local preference and the metric are the two routing attributes of BGP.
- the characteristics of the local preference are: 1.
- the local preference value is in multiple paths to the same destination network. The greater the local preference value is.
- the default value is 2; the default value of the local preference value is 100; the attribute of the local preference value can be passed in the same autonomous system.
- the local priority is only passed in the entire AS (Autonomous System), and the local preference is set.
- the value of the router will notify the IBGP neighbors of the priority when leaving the AS from itself, thus achieving the effect of neighbor routing.
- the metric (path length) value is exchanged between the autonomous systems.
- the autonomous system uses the attribute of the local preference value to influence its outbound selection, and the metric value to influence the outbound selection of another autonomous system. Similar to the metric value of other routing protocols, the smaller the metric value, the higher the priority.
- VRRP Virtual Router Redundancy Protocol
- VRRP router refers to the router running VRRP, which is physical Entity
- Virtual router is created by VRRP and is a logical concept.
- a group of VRRP routers work together to form a virtual router. The virtual router appears externally as a logical router with a unique fixed IP address and MAC address.
- a router in the same VRRP group has two mutually exclusive roles: a primary router and a standby router.
- One VRRP group has only one router in the master role, that is, the primary router. One or more of them can be backed up. The role of the router, the ready router.
- the VRRP protocol uses the selection policy to select one of the router groups as the master. It is responsible for the corresponding address resolution protocol and forwarding IP packets.
- the other routers in the group are in standby state as backup roles. When the primary router fails for some reason, the backup router can be upgraded to the primary router after a short delay.
- VRRP advertisement (advertisement). It is encapsulated using IP multicast packets with a group address of 224.0.0.18 and the release range is limited to the same LAN. This ensures that virtual routers can be reused across different networks. To reduce network bandwidth consumption, only the primary router can periodically send VRRP advertisements. The backup router initiates a new round of VRRP elections after receiving VRRP for three consecutive notification intervals or receiving a notification with priority 0.
- Ethernet OAM (Operation, Administration, and Maintenance) is a tool for monitoring network problems. It works at the data link layer and uses the OAM Protocol Data Units (OAM Protocol Data Units) to report the status of the network, enabling network administrators to manage the network more efficiently. By enabling the Ethernet OAM feature on two point-to-point connected devices, you can monitor the link status between the two devices for fast link detection.
- OAM Protocol Data Units OAM Protocol Data Units
- the router node PE3 serves as the primary router of the VRRP.
- PE3 and PE4 receive VPLS traffic forwarding as Layer 3 traffic forwarding, and upstream traffic from PE1 to PE4 enters the switch or PTN device. Downstream traffic passes through PE3 to PE1 from the PTN device (or switch).
- the VRRP switchover is performed on the primary router, the upstream and downstream traffic is normal.
- the switchback is performed and the traffic path is unchanged, the traffic is interrupted.
- the uplink traffic does not go to the MAC address of the destination address (Media Access Control, The physical address layer) entries are not updated, and the original traffic will be sent from PE4 to PE3 to the switch (or from PE4 to the switch path), so device reliability, link reliability, and network reliability are not. high. Summary of the invention
- the main object of the present invention is to provide a method and a router for solving the VPLS access L3 failover to cause a current interruption, thereby improving device reliability, link reliability, and network reliability.
- a method for resolving VPLS access L3 failover causes disconnection, which includes configuring VRRP on the downlink interface, the virtual address of the VRRP is used as a gateway, the uplink interface is connected through BGP, and the VPLS is established by the router node PE1 and PE2.
- the BGP routing priority of the VRRP management protocol packet is the optimal route.
- the method includes the following steps: Configuring the BGP local preference local preference value or the path length metric value. When the VRRP active/standby relationship is formed, the BGP local preference value or the metric value is changed, so that the path advertised by the BGP route is consistent with the path of the VRRP active/standby relationship.
- the path of the BGP route advertised is consistent with the path of the VRRP master/slave relationship, and the steps are as follows:
- the link between the VRRP master and backup routers is detected in real time through the extended management operation and maintenance EOAM, the bidirectional forwarding detection BFD, or the network detection command Ping.
- the detection result is notified to the VRRPo.
- the method further comprises:
- the BGP is notified to change its local preference value or metric value, so that the path of the BGP route advertisement is the same as the path of the VRRP master/slave relationship.
- the method further comprises:
- the BGP is notified to change its local preference value or metric value, so that the path of the BGP route advertisement is the same as the path of the VRRP master/slave relationship.
- the change of the BGP local preference value or the metric value includes: selecting the local preference value of the BGP on the VRRP primary router plus N, and the BGP local preference value of the VRRP backup router minus N, or
- the configuring the VRRP active/standby relationship includes:
- the invention provides a router, comprising:
- the parameter configuration unit is configured to configure a BGP local preference value or a metric value.
- the path configuration unit is configured to configure a VRRP active/standby relationship. When the VRRP active/standby relationship is formed, the BGP local preference value or metric value is changed. The path of the BGP route advertisement is consistent with the path of the VRRP master/slave relationship.
- the router further includes a path detecting unit, configured to detect the link of the VRRP active and standby routers in real time through the extended management operation maintenance EOAM, the bidirectional forwarding detection BFD, or the network detection command Ping, and notify the VRRP of the detection result. .
- a path detecting unit configured to detect the link of the VRRP active and standby routers in real time through the extended management operation maintenance EOAM, the bidirectional forwarding detection BFD, or the network detection command Ping, and notify the VRRP of the detection result.
- the router further includes a parameter change unit, when the VRRP active/standby relationship changes, notifying the BGP to change its local preference value or metric value, so that the The path of the BGP route advertisement is the same as the path of the VRRP master/slave relationship.
- the BGP is notified to change its local preference value or metric value.
- the path of the VRRP master/slave relationship is the same.
- the path configuration unit is configured to select the local preference value of the BGP on the VRRP primary router plus N, and the local preference value of the BGP on the VRRP backup router minus N, or
- the technical solution of the present invention has the following beneficial effects:
- the method and the router provided by the present invention notify the association of the changed state after the detection technology discovers that the link state changes after the detection technology detects the linkage between the detection technology and the application service.
- Application service, application services switch state according to state changes, complete link protection, improve device reliability, link reliability and network reliability, and shorten VRPP switching time through fast detection methods such as EOAM/Ping
- the path of the BGP route advertisement is the same as that of the VRRP master/slave relationship.
- the real-time linkage is stronger.
- FIG. 1 is a network architecture diagram according to an embodiment of the present invention
- FIG. 3 is a flowchart of a method according to an embodiment of the present invention.
- FIG. 5 is still another flowchart of a method according to an embodiment of the present invention.
- FIG. 6 is a schematic structural diagram of a router according to an embodiment of the present disclosure.
- FIG. 7 is another schematic structural diagram of a router according to an embodiment of the present disclosure.
- FIG. 8 is still another schematic structural diagram of a router according to an embodiment of the present invention.
- the implementation, functional features, and advantages of the present invention will be further described with reference to the accompanying drawings. detailed description
- the embodiment of the present invention provides a method for resolving the VPLS access to the L3 failover, and the method is implemented as follows: As shown in FIG. 2, the VRRP is configured on the downlink interface, and the virtual address of the VRRP is used as the gateway, and the uplink interface is adopted.
- BGP including: IBGP: Internal Border Gateway Protocol, EBGP: External Border Gateway Protocol, MP-IBGP: Route Switching - Internal Border Gateway Protocol, MP-EBGP: Route Switching - E-Border Border Gateway Protocol), Router Node PE1 and The router node PE2 and the PTN (or the switch) establish the VPLS, and the PE1 and the PE2 are connected to the L3 (the network layer).
- the BGP route priority of the router where the VRRP management protocol (master) packet is located is the optimal route.
- the priority of a BGP route can be changed in two ways. One is: Change the local preference value. One way is to change the metric value. The change of the local preference value can only be valid in IBGP or MP-IBGP. The change of the metric value can take effect for both IBGP and EBGP.
- the method for solving the VPLS access L3 failover and causing the current interruption is as shown in FIG. 3:
- the configuration change of the local preference value can only be valid in IBGP or MP-IBGP.
- the configuration of the metric value can be changed for IBGP or EBGP.
- the VRRP master/slave relationship is configured by election.
- the local preference value or the metric value of the BGP changed in the step S120 which specifically includes:
- BGP route advertisement is selected according to the above configuration.
- the local preference value of BGP on the VRRP primary router is added with N.
- the local preference value of BGP on the VRRP backup router is reduced by N, or
- BGP route advertisement is selected according to the above configuration.
- the metric value of BGP on the VRRP backup router is decremented by N, and the metric value of BGP on the VRRP backup router is added with N.
- step S120 the path of the BGP route advertisement is consistent with the path of the VRRP master/slave relationship. Then, as shown in FIG. 4, the method further includes the following steps:
- the S130 detects the link of the VRRP master and backup routers in real time through EOAM (Extended Management Operation and Maintenance), BFD (Bidirectional Forwarding Detection), or Ping (Network Detection Command), and notifies the VRRP of the detection result. : Notifies the object or entity corresponding to the VRRP).
- EOAM Extended Management Operation and Maintenance
- BFD Bidirectional Forwarding Detection
- Ping Network Detection Command
- step S130 as shown in FIG. 5, the method further includes the steps of:
- N can be any natural number, such as: 100, 200, etc.
- the original VRRP master switch is switched to the local preference value of BGP on the standby router minus N, or
- the BGP BGP route is switched to the BGP metric value of the primary router minus N.
- the VRRP original primary router switches to the BGP metric value plus N on the standby router.
- the detection technology After the detection technology detects that the link state changes, the detection technology notifies the associated application service of the changed state, and the application service performs the state according to the state change. Switching to complete link protection improves device reliability, link reliability, and network reliability, and shortens VRPP switching time through EOAM/Ping and other fast detection methods, resulting in BGP route advertisement advertised path and VRPP master-slave relationship. The path is consistent, and the linkage is more real-time.
- step S140 may also be performed after step S120.
- the embodiment of the invention further provides a router, as shown in FIG. 6, which includes:
- the parameter configuration unit 210 is configured to configure a BGP local preference value or a metric value.
- the path configuration unit 220 is configured to configure a VRRP active/standby relationship. When the VRRP active/standby relationship is formed, the BGP local preference value or metric value is changed, so that BGP is configured.
- the path of the route advertisement is the same as the path of the VRRP master/slave relationship.
- the path configuration unit 220 is configured to select the local preference value of the BGP on the VRRP primary router plus N, and the local preference value of the BGP on the VRRP backup router minus N, or
- N is a natural number.
- the router further includes a path detecting unit 230 for detecting the link of the VRRP active/standby router in real time through EOAM, BFD or Ping, and notifying the VRRP of the detection result.
- the router further includes a parameter changing unit 240 as shown in FIG.
- the BGP route is notified to change the local preference value or the metric value.
- BGP is notified to change its local preference value or metric value.
- the path of the BGP route advertisement is the same as the path of the VRRP master/slave relationship.
- the detection technology After the detection technology detects that the link state changes, the detection technology notifies the associated application service of the changed state, and the application service performs the state according to the state change. Switching to complete link protection improves device reliability, link reliability, and network reliability, and shortens VRPP switching time through EOAM/Ping and other fast detection methods, resulting in BGP route advertisement advertised path and VRPP master-slave relationship. The path is consistent, and the linkage is more real-time.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Disclosed in the present invention is a method for preventing flow interruption caused by failover from virtual private LAN service (VPLS) to network layer 3(L3). The method comprises the following steps: configuring a local preference value or path-length metric value of the border gateway protocol(BGP); configuring master-slave relationship of the virtual router redundancy protocol (VRRP); and when the master-slave relationship of the VRRP is formed, changing the local preference value or metric value of the BGP so that the path of route advertisement of the BGP is consistent with that of the master-slave relationship of the VRRP. The invention discloses a router. By the invention, reliability of equipment, links and networks is improved.
Description
解决 VPLS接入 L3故障切换导致断流的方法及路由器 技术领域 Method and router for solving VPLS access L3 failover causing current interruption
本发明涉及 IP通信技术领域,尤其是指解决一种 VPLS ( Virtual Private Lan Service, 虚拟专用局域网业务)接入 L3 (网络侧)故障切换导致断流 的方法及路由器。 背景技术 The present invention relates to the field of IP communication technologies, and in particular to a method and a router for solving a VPLS (Virtual Private LAN Service) access L3 (network side) failover and causing a current interruption. Background technique
BGP ( Border Gateway Protocol, 边界网关协议 )是一种在自治系统之 间动态交换路由信息的路由协议。 一个自治系统的经典定义是在一个管理 机构控制之下的一组路由器,它使用 IBGP ( Inside Border Gateway Protocol, 内部边界网关协议 )和普通度量值向其他自治系统转发报文。 BGP (Border Gateway Protocol) is a routing protocol that dynamically exchanges routing information between autonomous systems. A classic definition of an autonomous system is a set of routers under the control of a management authority that uses IBGP (Insular Border Gateway Protocol) and common metrics to forward messages to other autonomous systems.
local preference (本地优先 )值和 metric (路径长度 )值是 BGP的两条 选路属性, 它们的特点分别是: 1、 local preference值在到达同一目标网络 的多条路径中, local preference值越大则越优先; 2、 local preference值的默 认值是 100; local preference值的属性可以在同一个自治系统内传递, 本地 优先级只在整个 AS ( Autonomous System, 自治系统)中去传递,设置 local preference值的路由器会通知 IBGP邻居从自身这里离开 AS的时候优先级 是多少, 从而达到邻居选路的效果。 3、 metric (路径长度)值在自治系统 之间交换, 自治系统使用 local preference值的属性来影响自己的出站选择, 而用 metric值来影响另一个自治系统的出站选择。与其他路由协议的 metric 值相同, metric值越小, 优先级越高。 The value of the local preference and the metric are the two routing attributes of BGP. The characteristics of the local preference are: 1. The local preference value is in multiple paths to the same destination network. The greater the local preference value is. The default value is 2; the default value of the local preference value is 100; the attribute of the local preference value can be passed in the same autonomous system. The local priority is only passed in the entire AS (Autonomous System), and the local preference is set. The value of the router will notify the IBGP neighbors of the priority when leaving the AS from itself, thus achieving the effect of neighbor routing. 3. The metric (path length) value is exchanged between the autonomous systems. The autonomous system uses the attribute of the local preference value to influence its outbound selection, and the metric value to influence the outbound selection of another autonomous system. Similar to the metric value of other routing protocols, the smaller the metric value, the higher the priority.
VRRP ( Virtual Router Redundancy Protocol, 虚拟路由器冗余协议)是 一种选择协议, 可以分为 VRRP路由器和虚拟路由器, 以及可以分为主路 由器和备路由器。 其中: VRRP路由器是指运行 VRRP的路由器、 是物理
实体; 虚拟路由器是指 VRRP协议创建的, 是逻辑概念。 一组 VRRP路由 器协同工作, 共同构成一台虚拟路由器。 该虚拟路由器对外表现为一个具 有唯一固定 IP地址和 MAC地址的逻辑路由器。 处于同一个 VRRP组中的 路由器具有两种互斥的角色: 主路由器和备路由器, 一个 VRRP组中有且 只有一台处于主控角色的路由器、 即主路由器, 可以有一个或者多个处于 备份角色的路由器、即备路由器。 VRRP协议使用选择策略从路由器组中选 出一台作为主控, 负责相应的地址解析协议和转发 IP数据包, 组中的其它 路由器作为备份的角色处于待命状态。 当由于某种原因主路由器发生故障 时, 备份路由器能在短暂的时延后升级为主路由器。 VRRP (Virtual Router Redundancy Protocol) is a selection protocol that can be divided into VRRP routers and virtual routers, and can be divided into primary routers and standby routers. Where: VRRP router refers to the router running VRRP, which is physical Entity; Virtual router is created by VRRP and is a logical concept. A group of VRRP routers work together to form a virtual router. The virtual router appears externally as a logical router with a unique fixed IP address and MAC address. A router in the same VRRP group has two mutually exclusive roles: a primary router and a standby router. One VRRP group has only one router in the master role, that is, the primary router. One or more of them can be backed up. The role of the router, the ready router. The VRRP protocol uses the selection policy to select one of the router groups as the master. It is responsible for the corresponding address resolution protocol and forwarding IP packets. The other routers in the group are in standby state as backup roles. When the primary router fails for some reason, the backup router can be upgraded to the primary router after a short delay.
VRRP控制报文只有一种: VRRP通告( advertisement )。 它使用 IP多 播数据包进行封装, 组地址为 224.0.0.18, 发布范围只限于同一局域网内。 这保证了虚拟路由器在不同网络中可以重复使用。 为了减少网络带宽消耗 只有主路由器才可以周期性的发送 VRRP通告报文。 备份路由器在连续三 个通告间隔内收不到 VRRP或收到优先级为 0的通告后启动新的一轮 VRRP 选举。 There is only one type of VRRP control message: VRRP advertisement (advertisement). It is encapsulated using IP multicast packets with a group address of 224.0.0.18 and the release range is limited to the same LAN. This ensures that virtual routers can be reused across different networks. To reduce network bandwidth consumption, only the primary router can periodically send VRRP advertisements. The backup router initiates a new round of VRRP elections after receiving VRRP for three consecutive notification intervals or receiving a notification with priority 0.
以太网 OAM ( Operations, Administration and Maintenance, 操作、 管理 和维护)是一种监控网络问题的工具。 它工作在数据链路层, 利用设备之 间定时交互 OAMPDU ( OAM Protocol Data Units, OAM协议数据单元 )来 报告网络的状态, 使网络管理员能够更有效地管理网络。 通过在两个点到 点连接的设备上启用以太网 OAM 功能, 可以监控两台设备之间的链路状 态, 从而达到快速检测链路作用。 Ethernet OAM (Operation, Administration, and Maintenance) is a tool for monitoring network problems. It works at the data link layer and uses the OAM Protocol Data Units (OAM Protocol Data Units) to report the status of the network, enabling network administrators to manage the network more efficiently. By enabling the Ethernet OAM feature on two point-to-point connected devices, you can monitor the link status between the two devices for fast link detection.
随着 IP技术的飞速发展,各种增值业务在互联网上得到了广泛的应用。 新兴的 NGN/3G、 IPTV流媒体、大客户专线和 VPN互联等重要的电信级业 务, 对 IP电信网的可靠性提出了很高的要求。 With the rapid development of IP technology, various value-added services have been widely used on the Internet. Important carrier-grade services such as emerging NGN/3G, IPTV streaming media, large customer lines and VPN interconnections place high demands on the reliability of IP telecom networks.
现有技术中: 如图 1所示, 路由器节点 PE3作为 VRRP的主路由器,
PE4作为 VRRP的备路由器, PE3和 PE4上接收 VPLS流量转发为三层流 量转发,上行流量从 PE1至 PE4进过交换机或 PTN设备, 下行流量从 PTN 设备 (或交换机 )经过 PE3至 PE1 ; 当 VRRP的主路由器进行 VRRP切换 时, 上下行流量都正常, 当进行回切时, 且流量路径不变的情况下会导致 流量中断, 由于上行流量不走导致 PE4到目的地址的 MAC ( Media Access Control, 物理地址层)表项不更新, 也就会导致本来流量要从 PE4到 PE3 到交换机的路径发送错误 (还是从 PE4到交换机路径发送), 因此设备可靠 性、 链路可靠性和网络可靠性不高。 发明内容 In the prior art, as shown in FIG. 1, the router node PE3 serves as the primary router of the VRRP. As the backup router of VRRP, PE3 and PE4 receive VPLS traffic forwarding as Layer 3 traffic forwarding, and upstream traffic from PE1 to PE4 enters the switch or PTN device. Downstream traffic passes through PE3 to PE1 from the PTN device (or switch). When the VRRP switchover is performed on the primary router, the upstream and downstream traffic is normal. When the switchback is performed and the traffic path is unchanged, the traffic is interrupted. The uplink traffic does not go to the MAC address of the destination address (Media Access Control, The physical address layer) entries are not updated, and the original traffic will be sent from PE4 to PE3 to the switch (or from PE4 to the switch path), so device reliability, link reliability, and network reliability are not. high. Summary of the invention
本发明的主要目的是提供一种解决 VPLS接入 L3故障切换导致断流的 方法及路由器, 以提高设备可靠性、 链路可靠性和网络可靠性。 The main object of the present invention is to provide a method and a router for solving the VPLS access L3 failover to cause a current interruption, thereby improving device reliability, link reliability, and network reliability.
本发明解决其技术问题所采用的技术方案是: The technical solution adopted by the present invention to solve the technical problem thereof is:
一种解决 VPLS接入 L3故障切换导致断流的方法, 其包括, 在下联接 口配置 VRRP, 所述 VRRP的虚拟地址作为网关, 上联接口通过 BGP相连 接,路由器节点 PE1与 PE2建立 VPLS并接入 L3 , 所述 VRRP的管理协议 报文所在路由器的 BGP路由优先级为最优路由, 其中, 该方法包括步驟: 配置 BGP的本地优先 local preference值或路径长度 metric值; 配置 VRRP主备关系, 当所述 VRRP主备关系形成时, 改变所述 BGP 的 local preference值或 metric值, 使所述 BGP的路由通告的路径和 VRRP 主备关系的路径一致。 A method for resolving VPLS access L3 failover causes disconnection, which includes configuring VRRP on the downlink interface, the virtual address of the VRRP is used as a gateway, the uplink interface is connected through BGP, and the VPLS is established by the router node PE1 and PE2. In the L3, the BGP routing priority of the VRRP management protocol packet is the optimal route. The method includes the following steps: Configuring the BGP local preference local preference value or the path length metric value. When the VRRP active/standby relationship is formed, the BGP local preference value or the metric value is changed, so that the path advertised by the BGP route is consistent with the path of the VRRP active/standby relationship.
优选地,所述改变 BGP的 local preference值或 metric值,使得所述 BGP 的路由通告的路径和 VRRP主备关系的路径一致之后, 还包括步驟: Preferably, after the BGP local preference value or the metric value is changed, the path of the BGP route advertised is consistent with the path of the VRRP master/slave relationship, and the steps are as follows:
通过扩展的管理运营维护 EOAM、双向转发检测 BFD或者网络检测命 令 Ping 实时对 VRRP主备路由器的链路进行检测, 并将该检测结果通知 VRRPo
优选地, 该方法进一步包括: The link between the VRRP master and backup routers is detected in real time through the extended management operation and maintenance EOAM, the bidirectional forwarding detection BFD, or the network detection command Ping. The detection result is notified to the VRRPo. Preferably, the method further comprises:
当所述 VRRP 主备关系发生变化时, 通知所述 BGP 改变其 local preference值或 metric值, 使得所述 BGP的路由通告的路径和 VRRP主备 关系的路径一致。 When the VRRP master/slave relationship changes, the BGP is notified to change its local preference value or metric value, so that the path of the BGP route advertisement is the same as the path of the VRRP master/slave relationship.
优选地, 该方法进一步包括: Preferably, the method further comprises:
当 VRRP的主备关系回切时, 通知所述 BGP改变其 local preference值 或 metric值,使得所述 BGP的路由通告的路径和 VRRP主备关系的路径一 致。 When the VRRP master/slave relationship is switched back, the BGP is notified to change its local preference value or metric value, so that the path of the BGP route advertisement is the same as the path of the VRRP master/slave relationship.
优选地, 所述改变 BGP的 local preference值或 metric值, 具体包括: 选择对 VRRP主路由器上 BGP的 local preference值加上 N, VRRP备 路由器上 BGP的 local preference值减去 N, 或者, Preferably, the change of the BGP local preference value or the metric value includes: selecting the local preference value of the BGP on the VRRP primary router plus N, and the BGP local preference value of the VRRP backup router minus N, or
选择对 VRRP主路由器上 BGP的 metric值减去 N, VRRP备路由器上 BGP的 metric值加上 N, 其中: 所述 N为自然数。 Select the metric value of BGP on the VRRP master router minus N. The metric value of BGP on the VRRP backup router plus N, where: N is a natural number.
优选地, 所述配置 VRRP主备关系, 具体包括: Preferably, the configuring the VRRP active/standby relationship includes:
通过选举的方式配置所述 VRRP主备关系。 Configure the VRRP master/slave relationship by election.
本发明提供一种路由器, 包括: The invention provides a router, comprising:
参数配置单元, 用于配置 BGP的 local preference值或 metric值; 路径配置单元, 用于配置 VRRP主备关系, 当所述 VRRP主备关系形 成时, 改变所述 BGP的 local preference值或 metric值,使所述 BGP的路由 通告的路径和 VRRP主备关系的路径一致。 The parameter configuration unit is configured to configure a BGP local preference value or a metric value. The path configuration unit is configured to configure a VRRP active/standby relationship. When the VRRP active/standby relationship is formed, the BGP local preference value or metric value is changed. The path of the BGP route advertisement is consistent with the path of the VRRP master/slave relationship.
优选地, 所述路由器还包括路径检测单元, 用于通过扩展的管理运营 维护 EOAM、 双向转发检测 BFD或者网络检测命令 Ping实时对 VRRP主 备路由器的链路进行检测, 并将该检测结果通知 VRRP。 Preferably, the router further includes a path detecting unit, configured to detect the link of the VRRP active and standby routers in real time through the extended management operation maintenance EOAM, the bidirectional forwarding detection BFD, or the network detection command Ping, and notify the VRRP of the detection result. .
优选地, 所述路由器还包括参数改变单元, 当所述 VRRP主备关系发 生变化时, 通知所述 BGP改变其 local preference值或 metric值, 使得所述
BGP的路由通告的路径和 VRRP主备关系的路径一致, 或者, 当 VRRP的主备关系回切时, 通知所述 BGP改变其 local preference值 或 metric值,使得所述 BGP的路由通告的路径和 VRRP主备关系的路径一 致。 Preferably, the router further includes a parameter change unit, when the VRRP active/standby relationship changes, notifying the BGP to change its local preference value or metric value, so that the The path of the BGP route advertisement is the same as the path of the VRRP master/slave relationship. When the VRRP relationship is switched back, the BGP is notified to change its local preference value or metric value. The path of the VRRP master/slave relationship is the same.
优选地,所述路径配置单元,用于选择对 VRRP主路由器上 BGP的 local preference值加上 N, VRRP备路由器上 BGP的 local preference值减去 N, 或者, Preferably, the path configuration unit is configured to select the local preference value of the BGP on the VRRP primary router plus N, and the local preference value of the BGP on the VRRP backup router minus N, or
选择对 VRRP主路由器上 BGP的 metric值减去 N, VRRP备路由器上 BGP的 metric值加上 N, 其中: 所述 N为自然数。 Select the metric value of BGP on the VRRP master router minus N. The metric value of BGP on the VRRP backup router plus N, where: N is a natural number.
实施本发明的技术方案, 具有以下有益效果: 本发明提供的方法和路 由器通过在检测技术与应用业务之间的联动, 在检测技术发现链路状态发 生变化后, 检测技术将变化的状态通知关联的应用业务, 应用业务根据状 态的变化进行状态的切换, 完成链路的保护, 提高了设备可靠性、 链路可 靠性和网络可靠性, 并能通过 EOAM/Ping等快速检测手段缩短 VRPP切换 时间, 致使 BGP的路由通告的路径和 VRPP主备关系的路径一致, 联动的 实时性更强。 附图说明 The technical solution of the present invention has the following beneficial effects: The method and the router provided by the present invention notify the association of the changed state after the detection technology discovers that the link state changes after the detection technology detects the linkage between the detection technology and the application service. Application service, application services switch state according to state changes, complete link protection, improve device reliability, link reliability and network reliability, and shorten VRPP switching time through fast detection methods such as EOAM/Ping The path of the BGP route advertisement is the same as that of the VRRP master/slave relationship. The real-time linkage is stronger. DRAWINGS
图 1为现有技术提供的网络架构图; 1 is a network architecture diagram provided by the prior art;
图 1为本发明实施例提供的网络架构图; FIG. 1 is a network architecture diagram according to an embodiment of the present invention;
图 3为本发明实施例提供的方法流程图; 3 is a flowchart of a method according to an embodiment of the present invention;
图 4为本发明实施例提供的方法的另一流程图; 4 is another flowchart of a method according to an embodiment of the present invention;
图 5为本发明实施例提供的方法的又一流程图; FIG. 5 is still another flowchart of a method according to an embodiment of the present invention;
图 6为本发明实施例提供的路由器的结构示意图; FIG. 6 is a schematic structural diagram of a router according to an embodiment of the present disclosure;
图 7为本发明实施例提供的路由器的另一结构示意图; FIG. 7 is another schematic structural diagram of a router according to an embodiment of the present disclosure;
图 8为本发明实施例提供的路由器的又一结构示意图。
本发明目的的实现、 功能特点及优点将结合实施例, 参照附图做进一 步说明。 具体实施方式 FIG. 8 is still another schematic structural diagram of a router according to an embodiment of the present invention. The implementation, functional features, and advantages of the present invention will be further described with reference to the accompanying drawings. 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.
本发明实施例提供一种解决 VPLS接入 L3故障切换导致断流的方法, 该方法实现的基础是: 如图 2所示, 在下联接口配置 VRRP, VRRP的虚拟 地址作为网关,上联接口通过 BGP (包括: IBGP:内部边界网关协议、 EBGP: 外部边界网关协议、 MP-IBGP:路由交换-内部边界网关协议、 MP-EBGP:路 由交换-夕卜部边界网关协议)相连接, 路由器节点 PE1与路由器节点 PE2及 PTN (也可以是交换机 )建立 VPLS且 PE1与 PE2接入 L3 (网络层), VRRP 的管理协议 ( master )报文所在路由器的 BGP路由优先级为最优路由, 本 实施例中, BGP路由的优先级可以通过两种方法改变, 一种是: 改变 local preference值, 一种方式是改变 metric值。 local preference值的改变只能在 IBGP或 MP-IBGP协议有效; metric值的改变,对于 IBGP或 EBGP都可以 生效。 其中, 该解决 VPLS接入 L3故障切换导致断流的方法如图 3所示包 括步驟: The embodiment of the present invention provides a method for resolving the VPLS access to the L3 failover, and the method is implemented as follows: As shown in FIG. 2, the VRRP is configured on the downlink interface, and the virtual address of the VRRP is used as the gateway, and the uplink interface is adopted. BGP (including: IBGP: Internal Border Gateway Protocol, EBGP: External Border Gateway Protocol, MP-IBGP: Route Switching - Internal Border Gateway Protocol, MP-EBGP: Route Switching - E-Border Border Gateway Protocol), Router Node PE1 and The router node PE2 and the PTN (or the switch) establish the VPLS, and the PE1 and the PE2 are connected to the L3 (the network layer). The BGP route priority of the router where the VRRP management protocol (master) packet is located is the optimal route. In this embodiment, The priority of a BGP route can be changed in two ways. One is: Change the local preference value. One way is to change the metric value. The change of the local preference value can only be valid in IBGP or MP-IBGP. The change of the metric value can take effect for both IBGP and EBGP. The method for solving the VPLS access L3 failover and causing the current interruption is as shown in FIG. 3:
S 110、 配置 BGP的 local preference值或 metric值; S110. Configure a local preference value or a metric value of the BGP.
local preference值的配置改变只能在 IBGP或 MP-IBGP协议有效; metric值的配置改变, 对于 IBGP或 EBGP都可以生效。 The configuration change of the local preference value can only be valid in IBGP or MP-IBGP. The configuration of the metric value can be changed for IBGP or EBGP.
S120、 配置 VRRP主备关系, 当 VRRP主备关系形成时, 改变 BGP的 local preference值或 metric值, 使 BGP的路由通告的路径和 VRRP主备关 系的路径一致。 S120. Configure the VRRP master/slave relationship. When the VRRP master/slave relationship is established, change the BGP local preference value or metric value to make the BGP route advertisement path consistent with the VRRP master/slave relationship.
在本步驟 S120中, 是通过选举的方式配置 VRRP主备关系。
在本步驟 S120中的改变 BGP的 local preference值或 metric值, 具体 包括: In this step S120, the VRRP master/slave relationship is configured by election. The local preference value or the metric value of the BGP changed in the step S120, which specifically includes:
通过 BGP路由通告根据上述配置选择对 VRRP主路由器上 BGP的 local preference值加上 N, VRRP备路由器上 BGP的 local preference值减去 N, 或者, BGP route advertisement is selected according to the above configuration. The local preference value of BGP on the VRRP primary router is added with N. The local preference value of BGP on the VRRP backup router is reduced by N, or
通过 BGP路由通告根据上述配置选择对 VRRP主路由器上 BGP 的 metric值减去 N, VRRP备路由器上 BGP的 metric值加上 N。 BGP route advertisement is selected according to the above configuration. The metric value of BGP on the VRRP backup router is decremented by N, and the metric value of BGP on the VRRP backup router is added with N.
在进一步的实施例中, 在步驟 S120的: 使 BGP的路由通告的路径和 VRRP主备关系的路径一致, 之后, 如图 4所示, 还包括步驟: In a further embodiment, in step S120, the path of the BGP route advertisement is consistent with the path of the VRRP master/slave relationship. Then, as shown in FIG. 4, the method further includes the following steps:
S130、 通过 EOAM (扩展的管理运营维护)、 BFD ( Bidirectional Forwarding Detection, 双向转发检测)或者 Ping (网络检测命令) 实时对 VRRP主备路由器的链路进行检测, 并将该检测结果通知 VRRP (即: 通知 该 VRRP对应的对象或者实体)。以对 VRRP主备路由器的链路进行快速的 检测, 从而使 VRRP的路由发生更快速的切换, 使得 BGP的上下行流量一 致避免链路中断。 The S130 detects the link of the VRRP master and backup routers in real time through EOAM (Extended Management Operation and Maintenance), BFD (Bidirectional Forwarding Detection), or Ping (Network Detection Command), and notifies the VRRP of the detection result. : Notifies the object or entity corresponding to the VRRP). The link between the VRRP master and backup routers is quickly detected, so that VRRP routes are switched more quickly, so that BGP uplink and downlink traffic is consistently avoided.
在进一步的实施例中, 在上述实施例的基础上, 在步驟 S130之后, 如 图 5所示, 进一步包括步驟: In a further embodiment, based on the foregoing embodiment, after step S130, as shown in FIG. 5, the method further includes the steps of:
S140、 当 VRRP主备关系发生变化(如 VRRP主路由器变为 VRRP备 路由器)时, 通知 BGP改变其 local preference值或 metric值, 使 BGP的路 由通告的路径和 VRRP主备关系的路径一致; 或者, 当 VRRP主备关系回 切(该回切是指: 链路中断后, 又回到原来 VRRP主备关系的过程) 时, 通知 BGP改变其 local preference值或 metric值,使得 BGP的路由通告的路 径和 VRRP主备关系的路径一致。 该主备关系改变或者回切过程中: 通过 BGP路由通告根据上述配置选择对 VRRP原备路由器切换为主路由器上 BGP的 local preference值加上 N ( N可以为任意自然数,如: 100、 200等),
VRRP原主路由器切换为备路由器上 BGP的 local preference值减去 N, 或 者 S140: When the VRRP master/slave relationship changes (for example, the VRRP master router becomes the VRRP backup router), the BGP router is notified to change the local preference value or the metric value, so that the path of the BGP route advertisement is the same as the path of the VRRP master/slave relationship; or When the VRRP master/slave relationship is switched back to the VRRP master/slave relationship, the BGP router changes its local preference value or metric value to make the BGP route advertisement. The path is the same as the path of the VRRP master/slave relationship. During the change of the active/standby relationship or the switchback process: BGP route advertisement is selected according to the above configuration. Switch the VRRP switch to the local preference value of the BGP on the primary router plus N (N can be any natural number, such as: 100, 200, etc. ), The original VRRP master switch is switched to the local preference value of BGP on the standby router minus N, or
通过 BGPBGP路由通告根据上述配置选择对 VRRP原备路由器切换为 主路由器上 BGP的 metric值减去 N, VRRP原主路由器切换为备路由器上 BGP的 metric值加上 N。 According to the above configuration, the BGP BGP route is switched to the BGP metric value of the primary router minus N. The VRRP original primary router switches to the BGP metric value plus N on the standby router.
上述实施例提供的方法通过在检测技术与应用业务之间的联动, 在检 测技术发现链路状态发生变化后, 检测技术将变化的状态通知关联的应用 业务, 应用业务根据状态的变化进行状态的切换, 完成链路的保护, 提高 了设备可靠性、 链路可靠性和网络可靠性, 并能通过 EOAM/Ping等快速检 测手段缩短 VRPP切换时间, 致使 BGP的路由通告的路径和 VRPP主备关 系的路径一致, 联动的实时性更强。 After the detection technology detects that the link state changes, the detection technology notifies the associated application service of the changed state, and the application service performs the state according to the state change. Switching to complete link protection improves device reliability, link reliability, and network reliability, and shortens VRPP switching time through EOAM/Ping and other fast detection methods, resulting in BGP route advertisement advertised path and VRPP master-slave relationship. The path is consistent, and the linkage is more real-time.
这里, 步驟 S140也可在步驟 S120之后执行。 Here, step S140 may also be performed after step S120.
本发明实施例还提供一种路由器, 如图 6所示, 其包括: The embodiment of the invention further provides a router, as shown in FIG. 6, which includes:
参数配置单元 210, 用于配置 BGP的 local preference值或 metric值; 路径配置单元 220, 用于配置 VRRP主备关系, 当 VRRP主备关系形 成时, 改变 BGP的 local preference值或 metric值,使得 BGP的路由通告的 路径和 VRRP主备关系的路径一致。 更为具体的实施例中, 该路径配置单 元 220用于选择对 VRRP主路由器上 BGP的 local preference值加上 N, VRRP备路由器上 BGP的 local preference值减去 N, 或者 The parameter configuration unit 210 is configured to configure a BGP local preference value or a metric value. The path configuration unit 220 is configured to configure a VRRP active/standby relationship. When the VRRP active/standby relationship is formed, the BGP local preference value or metric value is changed, so that BGP is configured. The path of the route advertisement is the same as the path of the VRRP master/slave relationship. In a more specific embodiment, the path configuration unit 220 is configured to select the local preference value of the BGP on the VRRP primary router plus N, and the local preference value of the BGP on the VRRP backup router minus N, or
选择对 VRRP主路由器上 BGP的 metric值减去 N, VRRP备路由器上 Select the metric value of BGP on the VRRP master router minus N, on the VRRP backup router.
BGP的 metric值加上 N, 其中: N为自然数。 The metric value of BGP is added to N, where: N is a natural number.
在进一步的实施例中, 该路由器如图 7还包括路径检测单元 230, 用于 通过 EOAM、 BFD或者 Ping实时对 VRRP主备路由器的链路进行检测, 并 将该检测结果通知 VRRP。 In a further embodiment, the router further includes a path detecting unit 230 for detecting the link of the VRRP active/standby router in real time through EOAM, BFD or Ping, and notifying the VRRP of the detection result.
在进一步的实施例中, 该路由器如图 8所示还包括参数改变单元 240,
当 VRRP主备关系发生变化时,通知 BGP改变其 local preference值或 metric 值, 使得 BGP的路由通告的路径和 VRRP主备关系的路径一致, 或者 In a further embodiment, the router further includes a parameter changing unit 240 as shown in FIG. When the VRRP master/slave relationship changes, the BGP route is notified to change the local preference value or the metric value.
当 VRRP的主备关系回切时, 通知 BGP改变其 local preference值或 metric值, 使得 BGP的路由通告的路径和 VRRP主备关系的路径一致。 When the VRRP master/slave relationship is switched back, BGP is notified to change its local preference value or metric value. The path of the BGP route advertisement is the same as the path of the VRRP master/slave relationship.
上述实施例提供的路由器通过在检测技术与应用业务之间的联动, 在 检测技术发现链路状态发生变化后, 检测技术将变化的状态通知关联的应 用业务, 应用业务根据状态的变化进行状态的切换, 完成链路的保护, 提 高了设备可靠性、 链路可靠性和网络可靠性, 并能通过 EOAM/Ping等快速 检测手段缩短 VRPP切换时间, 致使 BGP的路由通告的路径和 VRPP主备 关系的路径一致, 联动的实时性更强。 After the detection technology detects that the link state changes, the detection technology notifies the associated application service of the changed state, and the application service performs the state according to the state change. Switching to complete link protection improves device reliability, link reliability, and network reliability, and shortens VRPP switching time through EOAM/Ping and other fast detection methods, resulting in BGP route advertisement advertised path and VRPP master-slave relationship. The path is consistent, and the linkage is more real-time.
以上仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡在本发 明的精神和原则之内所作的任何修改、 等同替换和改进等, 均应包含在本 发明的保护范围之内。
The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalents, and improvements made within the spirit and scope of the present invention should be included in the scope of the present invention. Inside.
Claims
1、 一种解决 VPLS接入 L3故障切换导致断流的方法, 其特征在于, 包括, 在下联接口配置虚拟路由器冗余协议 VRRP, 所述 VRRP的虚拟地 址作为网关, 上联接口通过边界网关协议 BGP相连接, 路由器节点 PE1与 PE2建立虚拟专用局域网业务 VPLS并接入网络层 L3 , 所述 VRRP的管理 协议报文所在路由器的 BGP路由优先级为最优路由, 其中, 该方法包括步 驟: A method for resolving a VPLS access L3 failover to cause a current interruption, comprising: configuring a virtual router redundancy protocol VRRP on a downlink interface, the virtual address of the VRRP serving as a gateway, and the uplink interface passing the border gateway protocol BGP is connected, the router node PE1 and the PE2 establish a virtual private local area network service VPLS and access the network layer L3, and the BGP route priority of the router where the VRRP management protocol packet is located is an optimal route, wherein the method includes the following steps:
配置 BGP的本地优先 local preference值或路径长度 metric值; 配置 VRRP主备关系, 当所述 VRRP主备关系形成时, 改变所述 BGP 的 local preference值或 metric值, 使所述 BGP的路由通告的路径和 VRRP 主备关系的路径一致。 Configure the BGP local preference preference value or the path length metric value. Configure the VRRP master/slave relationship. When the VRRP master/slave relationship is formed, change the BGP local preference value or metric value to advertise the BGP route. The path is the same as the path of the VRRP master/slave relationship.
2、 如权利要求 1 所述方法, 其特征在于, 所述改变 BGP 的 local preference值或 metric值, 使所述 BGP的路由通告的路径和 VRRP主备关 系的路径一致之后, 还包括步驟: The method of claim 1, wherein the step of: changing the BGP local preference value or the metric value, after the path of the BGP route advertisement is consistent with the path of the VRRP master-slave relationship, the method further includes the following steps:
通过扩展的管理运营维护 EOAM、双向转发检测 BFD或者网络检测命 令 Ping 实时对 VRRP主备路由器的链路进行检测, 并将该检测结果通知 VRRPo The VRRP and the network detection command are used to detect the link between the VRRP master and backup routers in real time, and notify the VRRPo of the detection result.
3、 如权利要求 2所述方法, 其特征在于, 该方法进一步包括: 当所述 VRRP 主备关系发生变化时, 通知所述 BGP 改变其 local preference值或 metric值, 使所述 BGP的路由通告的路径和 VRRP主备关 系的路径一致。 The method of claim 2, wherein the method further comprises: when the VRRP master/slave relationship changes, notifying the BGP to change its local preference value or metric value, so that the BGP route advertisement is advertised. The path is the same as the path of the VRRP master/slave relationship.
4、 如权利要求 2所述方法, 其特征在于, 该方法进一步包括: 当 VRRP的主备关系回切时, 通知所述 BGP改变其 local preference值 或 metric值,使得所述 BGP的路由通告的路径和 VRRP主备关系的路径一 致。 The method of claim 2, wherein the method further comprises: when the VRRP active/standby relationship is switched back, notifying the BGP to change its local preference value or metric value, so that the BGP route advertisement is advertised. The path is the same as the path of the VRRP master/slave relationship.
5、 如权利要求 1 所述方法, 其特征在于, 所述改变 BGP 的 local preference值或 metric值, 具体包括: The method of claim 1, wherein the changing the local preference value or the metric value of the BGP includes:
选择对 VRRP主路由器上 BGP的 local preference值加上 N, VRRP备 路由器上 BGP的 local preference值减去 N, 或者 Add the local preference value of BGP on the VRRP master router plus N, and the local preference value of BGP on the VRRP backup router minus N, or
选择对 VRRP主路由器上 BGP的 metric值减去 N, VRRP备路由器上 BGP的 metric值加上 N, 其中: 所述 N为自然数。 Select the metric value of BGP on the VRRP master router minus N. The metric value of BGP on the VRRP backup router plus N, where: N is a natural number.
6、 如权利要求 1所述方法, 其特征在于, 所述配置 VRRP主备关系, 具体包括: 通过选举的方式配置所述 VRRP主备关系。 The method of claim 1, wherein the configuring the VRRP master/slave relationship comprises: configuring the VRRP master/slave relationship by means of an election.
7、 一种路由器, 其特征在于, 包括: 7. A router, comprising:
参数配置单元, 用于配置 BGP的 local preference值或 metric值; 路径配置单元, 用于配置 VRRP主备关系, 当所述 VRRP主备关系形 成时, 改变所述 BGP的 local preference值或 metric值,使所述 BGP的路由 通告的路径和 VRRP主备关系的路径一致。 The parameter configuration unit is configured to configure a BGP local preference value or a metric value. The path configuration unit is configured to configure a VRRP active/standby relationship. When the VRRP active/standby relationship is formed, the BGP local preference value or metric value is changed. The path of the BGP route advertisement is consistent with the path of the VRRP master/slave relationship.
8、 如权利要求 7所述路由器, 其特征在于, 还包括路径检测单元, 用 于通过扩展的管理运营维护 EOAM、双向转发检测 BFD或者网络检测命令 Ping 实时对 VRRP 主备路由器的链路进行检测, 并将该检测结果通知 VRRPo The router according to claim 7, further comprising a path detecting unit, configured to detect the link of the VRRP active and standby routers in real time through the extended management operation maintenance EOAM, the bidirectional forwarding detection BFD, or the network detection command Ping. , and notify the VRPPO of the test result
9、 如权利要求 8所述路由器, 其特征在于, 还包括参数改变单元, 当 所述 VRRP主备关系发生变化时 , 通知所述 BGP改变其 local preference值 或 metric值,使得所述 BGP的路由通告的路径和 VRRP主备关系的路径一 致, 或者, The router according to claim 8, further comprising a parameter changing unit, when the VRRP active/standby relationship changes, notifying the BGP to change its local preference value or metric value, so that the BGP route is The advertised path is the same as the path of the VRRP master/slave relationship.
当 VRRP的主备关系回切时, 通知所述 BGP改变其 local preference值 或 metric值,使得所述 BGP的路由通告的路径和 VRRP主备关系的路径一 致。 When the VRRP master/slave relationship is switched back, the BGP is notified to change its local preference value or metric value, so that the path of the BGP route advertisement is the same as the path of the VRRP master/slave relationship.
10、 如权利要求 7所述方法, 其特征在于, 所述路径配置单元, 用于 选择对 VRRP主路由器上 BGP的 local preference值加上 N, VRRP备路由 器上 BGP的 local preference值减去 N, 或者, The method according to claim 7, wherein the path configuration unit is configured to: Add the local preference value of BGP to the VRRP master router plus N. The local preference value of BGP on the VRRP backup router minus N, or
选择对 VRRP主路由器上 BGP的 metric值减去 N, VRRP备路由器上 BGP的 metric值加上 N, 其中: 所述 N为自然数。 Select the metric value of BGP on the VRRP master router minus N. The metric value of BGP on the VRRP backup router plus N, where: N is a natural number.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110160966.8A CN102244609B (en) | 2011-06-15 | 2011-06-15 | Solve VPLS and access method and the router that L3 failover causes stopping |
CN201110160966.8 | 2011-06-15 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2012171378A1 true WO2012171378A1 (en) | 2012-12-20 |
Family
ID=44962458
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2012/072754 WO2012171378A1 (en) | 2011-06-15 | 2012-03-21 | Method and router for preventing flow interruption caused by failover from vpls to l3 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102244609B (en) |
WO (1) | WO2012171378A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106789636A (en) * | 2017-03-21 | 2017-05-31 | 山东超越数控电子有限公司 | A kind of High Availabitity reliable network access control system and system |
US9883411B2 (en) | 2015-11-24 | 2018-01-30 | Cisco Technology, Inc. | External cellular recovery device |
WO2020238875A1 (en) * | 2019-05-31 | 2020-12-03 | 华为技术有限公司 | Method and apparatus for determining port attribute |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102244609B (en) * | 2011-06-15 | 2016-12-21 | 中兴通讯股份有限公司 | Solve VPLS and access method and the router that L3 failover causes stopping |
WO2014205832A1 (en) * | 2013-06-29 | 2014-12-31 | 华为技术有限公司 | Method, border gateway, and control plane device for transmitting data |
US9929937B2 (en) * | 2015-08-27 | 2018-03-27 | Dell Products L.P. | Layer 3 routing loop prevention system |
CN109005045B (en) * | 2017-06-06 | 2022-01-25 | 北京金山云网络技术有限公司 | Main/standby service system and main node fault recovery method |
CN108494688B (en) * | 2018-03-21 | 2019-11-05 | 常熟理工学院 | A kind of Future Data network implementation approach of low-cost |
CN112887201A (en) * | 2019-11-29 | 2021-06-01 | 北京华为数字技术有限公司 | VRRP (virtual router redundancy protocol) -based interface updating method and device and storage medium |
CN112187519A (en) * | 2020-09-09 | 2021-01-05 | 中盈优创资讯科技有限公司 | Multi-activity concurrency method and device for realizing policy control based on BGP (Border gateway protocol) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101635648A (en) * | 2009-08-05 | 2010-01-27 | 中兴通讯股份有限公司 | Method for managing and rapidly switching virtual redundant route protocol group |
CN101951345A (en) * | 2010-10-15 | 2011-01-19 | 杭州华三通信技术有限公司 | Message transmitting method and equipment |
CN102244609A (en) * | 2011-06-15 | 2011-11-16 | 中兴通讯股份有限公司 | Method for preventing flow interruption caused by failover during access of VPLS (virtual private LAN service) to L3 (network layer 3) and router |
-
2011
- 2011-06-15 CN CN201110160966.8A patent/CN102244609B/en active Active
-
2012
- 2012-03-21 WO PCT/CN2012/072754 patent/WO2012171378A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101635648A (en) * | 2009-08-05 | 2010-01-27 | 中兴通讯股份有限公司 | Method for managing and rapidly switching virtual redundant route protocol group |
CN101951345A (en) * | 2010-10-15 | 2011-01-19 | 杭州华三通信技术有限公司 | Message transmitting method and equipment |
CN102244609A (en) * | 2011-06-15 | 2011-11-16 | 中兴通讯股份有限公司 | Method for preventing flow interruption caused by failover during access of VPLS (virtual private LAN service) to L3 (network layer 3) and router |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9883411B2 (en) | 2015-11-24 | 2018-01-30 | Cisco Technology, Inc. | External cellular recovery device |
CN106789636A (en) * | 2017-03-21 | 2017-05-31 | 山东超越数控电子有限公司 | A kind of High Availabitity reliable network access control system and system |
WO2020238875A1 (en) * | 2019-05-31 | 2020-12-03 | 华为技术有限公司 | Method and apparatus for determining port attribute |
US12088471B2 (en) | 2019-05-31 | 2024-09-10 | Huawei Technologies Co., Ltd. | Method and apparatus for determining port orientation |
Also Published As
Publication number | Publication date |
---|---|
CN102244609A (en) | 2011-11-16 |
CN102244609B (en) | 2016-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2012171378A1 (en) | Method and router for preventing flow interruption caused by failover from vpls to l3 | |
CN102396193B (en) | By the method for client data transmission of packet switching provider network | |
US9197583B2 (en) | Signaling of attachment circuit status and automatic discovery of inter-chassis communication peers | |
US9509591B2 (en) | Technique for dual homing interconnection between communication networks | |
CN102638389B (en) | The redundancy backup method and system of a kind of TRILL network | |
CN101931520B (en) | A switching method and system | |
EP2027676B1 (en) | Technique for providing interconnection between communication networks | |
JP4899959B2 (en) | VPN equipment | |
US9059902B2 (en) | Procedures, apparatuses, systems, and computer-readable media for operating primary and backup network elements | |
JP4542045B2 (en) | Data communication apparatus and method | |
JP5913635B2 (en) | Redundant network connection | |
EP3188409A1 (en) | Oam mechanisms for evpn active-active services | |
US20120236730A1 (en) | Method, device and system for processing service traffic based on pseudo wires | |
CN108512739A (en) | The multicast state between more host's routers in Ethernet Virtual Private Network | |
WO2008119290A1 (en) | Method of redundancy protection of multicast flow and device thereof | |
WO2012130034A1 (en) | Vpls fast rerouting method and device | |
WO2007115493A1 (en) | A method, device and system for achieving the switch in the dual-homed network based on the vpls | |
WO2007012239A1 (en) | A method for switching the serving services of virtual private lan and a system thereof | |
WO2012075731A1 (en) | Method and device for link fault detecting and recovering based on arp interaction | |
WO2008083590A1 (en) | Method and apparatus of rapid convergence of point-to-point service | |
WO2012159489A1 (en) | Switching method, system and dual homing provider device for pseudowire dual homing network | |
WO2008046358A1 (en) | A method and device to realize punch-through of point-to-multipoint network link status | |
CN109327318B (en) | SDN management network architecture and method for establishing SDN management network | |
WO2011144088A2 (en) | Method for service protection and access device | |
CN101299722B (en) | Improved quick rerouting method and network equipment |
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: 12800818 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: 12800818 Country of ref document: EP Kind code of ref document: A1 |