CN101841462A - Method, device and system for informing VRRP state information - Google Patents

Method, device and system for informing VRRP state information Download PDF

Info

Publication number
CN101841462A
CN101841462A CN 201010117142 CN201010117142A CN101841462A CN 101841462 A CN101841462 A CN 101841462A CN 201010117142 CN201010117142 CN 201010117142 CN 201010117142 A CN201010117142 A CN 201010117142A CN 101841462 A CN101841462 A CN 101841462A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
vrrp
routing
device
information
state
Prior art date
Application number
CN 201010117142
Other languages
Chinese (zh)
Other versions
CN101841462B (en )
CN101841462K1 (en )
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

Links

Abstract

The invention discloses a method, a device and a system for informing VRRP state information for solving the problem that upstream equipment cannot be timely informed to change a route when the VRRP state information is changed in the prior art. The method disclosed by the invention comprises the following steps of: judging a personal VRRP routing equipment state through VRRP routing equipment, and sending announcement information message to specified convergence equipment when the VRRP routing equipment state of the VRRP routing equipment is changed; if the VRRP routing equipment is changed into a main control routing equipment state from a non main control routing equipment state, sending available announcement information message containing a link state of a VRRP interface of the VRRP routing equipment to the specified convergence equipment; and if the VRRP routing equipment is changed into the non main control routing equipment state from the main control routing equipment state, sending unavailable announcement information message containing the link state of the VRRP interface of the VRRP routing equipment to the specified convergence equipment.

Description

一种通知VRRP状态信息的方法、装置及系统 Method of notifying the state information of the VRRP method, apparatus and system for

技术领域 FIELD

[0001] 本发明涉及通信领域,特别是涉及一种通知VRRP状态信息的方法、装置及系统。 [0001] The present invention relates to the field of communications, particularly to a VRRP state information notification method, apparatus and system. 背景技术 Background technique

[0002]在传输控制协议(Transmission Control Protocol, TCP) / 互联网协议(InternetProtocol,IP)网络中,网络设备通过查找路由表项决定下一个转发路径。 [0002] In the transmission control protocol (Transmission Control Protocol, TCP) / Internet Protocol (InternetProtocol, IP) network, the network device by looking up the routing table entries to determine a forwarding path. 目前常用的路由表项生成方法有两种:一种是配置静态路由;另一种是通过路由协议动态学习, 例如通过路由信息协议(Routing Information Protocol,RIP)和开放最短路径优先(Open Shortest Path First,0SPF)来动态学习。 There are currently commonly used routing table generation method two: one is to configure static routes; and a dynamic learned through routing protocols such as Routing Information Protocol by (Routing Information Protocol, RIP) and Open Shortest Path First (Open Shortest Path First, 0SPF) to dynamically learn. 在每一个终端设备都实现路由协议的动态学习是不现实的,因此现有技术中普遍采用对终端设备配置静态路由的方法,一般是给终端设备指定一个或多个默认网关。 In each terminal equipment learning dynamic routing protocol it is impractical, so the prior art method commonly used to configure static routes on the terminal device, generally designated one or more default gateway to the terminal device.

[0003] 为了防止因默认网关故障导致的通信中断,在TCP/IP网络中可以采用虚拟路由器冗余协议(Virtual Router Redundancy Protocol, VRRP)。 [0003] In order to prevent the default gateway communication failure caused by interruption in TCP / IP networks can use Virtual Router Redundancy Protocol (Virtual Router Redundancy Protocol, VRRP). VRRP 是一种容错协议,当局域网中有两台或两台以上的路由设备时,可以将这些路由设备根据VRRP协议组成一台虚拟路由设备,将这台虚拟路由设备作为局域网内终端设备的默认网关,并为该虚拟路由设备提供唯一固定的IP地址和硬件地址。 VRRP is a fault-tolerant protocol, when there are more than two LANs or two devices, the routing device may be composed of a virtual routing apparatus according to the VRRP, these routing devices as the default virtual LAN terminal device gateway, and provide a unique fixed IP address and hardware address for the virtual routing equipment. 组成虚拟路由设备的这些路由设备中只有一台作为主控路由设备代表虚拟路由设备进行包的发送,其他的为备份路由设备。 These routing device consisting of virtual routing device has only one route as the master device on behalf of the virtual routing device to send packets, the other as a backup routing equipment. 备份路由设备随时监测主控路由设备的状态,并根据需要进行由备份路由设备到主控路由设备的状态切换。 Backup routing device routes any time to monitor the state of the master device, and the routing device status by the backup device to the master routing switch as needed. 当主控路由设备正常工作时,每隔一段时间会发送一个VRRP组播报文,以通知组内的备份路由设备此时主控路由设备处于正常工作状态。 When the master routing device is working properly, time to time sends a VRRP multicast packet to inform backup devices in the routing group master routing device is in this case normal operation. 如果备份路由设备长时间没有接收到来自主控路由设备的报文,则将自己变为主控路由设备。 If the backup routing device for a long time does not receive messages from the master routing equipment, it will become their own master routing equipment. 当组内有多台备份路由设备时,将有可能产生多个主控路由设备。 When multiple devices in the backup routing group, it will be possible to produce a plurality of master routing devices. 这时每个主控路由设备比较接收到的VRRP报文中的优先级和自己的优先级,将优先级最高的路由设备选成新的主控路由设备。 Then each master VRRP packet routing device compares the received priority and their priority, the highest priority routing devices selected as the new master routing equipment.

[0004] 如图1所示为采用上述VRRP方法进行组网的路由示意图。 [0004] 1 routes VRRP networking method employing the above-described FIG. 在同一个局域网内,终端设备1和终端设备2通过交换机与路由设备1和路由设备2连接,路由设备1和路由设备2又分别通过汇聚设备1和汇聚设备2与外部网络连接。 In the same LAN, the terminal apparatus 1 and terminal apparatus 2 connected to the routing device 1 through the switch 2 and a routing device, the routing device and the routing device 1 and 2 are respectively connected to the external network 2 by an aggregation device and the aggregation device. 局域网中的路由设备1和路由设备2运行VRRP协议,组成一台虚拟路由设备作为局域网终端设备的默认网关,运行VRRP 协议的接口称为VRRP接口,运行VRRP协议的路由设备可以称为VRRP路由设备。 The routing device 1 and LAN 2 running VRRP protocol routing device, the routing device consisting of a virtual LAN terminal device as the default gateway, the interface running VRRP protocol is called VRRP interface running VRRP protocol routing device may be called a VRRP routing device . 因此,路由设备1,称为VRRP路由设备1,为主控路由设备,该路由设备的VRRP接口为图1中的VRRP 接口1。 Thus, the routing device 1, called a VRRP routing device 1, as the master routing device, the routing device VRRP interfaces as in FIG. 1 1 VRRP interfaces. 路由设备2,称为VRRP路由设备2,为备份路由设备,该路由设备的VRRP接口为图1中的VRRP接口2。 2 routing device, routing device 2 called a VRRP, backup routing device, the routing device VRRP interfaces as in FIG. 1 VRRP Interface 2. 外部网络区域运行动态路由协议实现路由交互,外部网络汇聚设备和局域网内虚拟路由设备路由交互采用静态路由协议。 External area network routing dynamic routing protocol interaction, external network aggregation routing and virtual routing device interaction within the local area network using static routing protocol.

[0005] 为了检测外部网络汇聚设备到局域网路由设备的接入链路是否工作正常,可采用链路连通性检测协议,如双向转发检测(Bidirectional ForwardingDetection, BFD)协议对这段接入链路进行故障检测。 [0005] In order to detect whether the external devices access network aggregation LAN link routing device is working properly, can be detected link connectivity protocol, such as bidirectional forwarding detection (Bidirectional ForwardingDetection, BFD) protocol for this access link Troubleshooting. BFD协议在相邻设备之间的路径上,提供一种低开销、短检测周期的失败检测机制,可以检测网络的可达性,同时为应用层提供可达性状态信息。 BFD protocol on a path between adjacent devices, to provide a low cost, a failure detection mechanism detects a short period can be detected network reachability, while providing reachability status information to the application layer. 当BFD会话建立之后,双方周期性的向对端设备发送BFD报文,同时也在使能了BFD的链路上, 周期性检测对端设备的BFD报文的到达情况,如果在一定间隔内没有收到来自对端设备的BFD报文,则认为检测链路出现故障。 After the BFD session is established, both periodically send BFD packets to the peer device, but also in the upper link BFD, reaching a BFD packets can periodically detect the peer device, if at a certain interval BFD does not receive packets from the peer device is considered to detect link failure.

[0006] 当局域网内终端设备要访问外部网络时,因终端设备在局域网内的默认网关为虚拟路由设备,而该虚拟路由设备中的路由设备1为主控路由设备,所以局域网访问外部网络的业务转发路径以路由设备1到汇聚设备1的路由为主路由,以路由设备2到汇聚设备2 的路由为备路由。 [0006] When the LAN terminal device to access the external network, because the terminal device in the LAN default gateway for the virtual routing device, the routing device of the virtual routing device 1 as the master routing device, so that the LAN access the external network forwarding path for routing traffic aggregation device 1 to the routing device 1 based routing to route the routing device to the sink device 2 for 2 backup routes. 因此,当外部网络访问局域网时,为了保证数据传输时来回路径的一致, 也应以汇聚设备1到路由设备1的路由为主路由,为了实现这一点,现有技术中通常需要在两台汇聚设备上分别配置指向局域网中各路由设备的VRRP接口所在网络的静态路由,并将配置的静态路由重分发到外部网络的动态路由协议中,同时在两台汇聚设备上为重分发的静态路由指定不同的路由权重值metric,例如对于图1而言,当外部网络运行OSPF协议时,则通过汇聚设备1重分发的metric <汇聚设备2重分发的metric,这样外部网络中的其他网络设备就可以通过路由优选策略,优选汇聚设备1重分发的静态路由对应的路由信息,实现外部网络访问局域网的业务转发路径以汇聚设备1到路由设备1的路由为主路由, 以汇聚设备2到路由设备2的路由为备路由,从而保证数据传输时来回路径的一致。 Thus, when the external access to a LAN network, in order to ensure consistency of data transmission back and forth path, should also be routed to a convergence device 1 mainly routing device routes, in order to achieve this, the prior art typically requires two converge device are arranged static route to each local area network routing devices where a VRRP interface and configure static routes redistributed into dynamic routing protocol of the external network, specifying a static re-routing distributed on both convergence device different weight value metric route weight, for example, FIG. 1, when the external network running OSPF protocol, the metric by the aggregation device 1 weight distribution <metric, so that the external network to other network devices convergence device 2 weight distribution can by routing policy preferably, the routing information is preferably 1 wt static convergence device corresponding to the distribution route, to achieve external access to the LAN network traffic forwarding path for routing the routing device 1 to the main route convergence device 1, device 2 to converge to the routing device 2 route for backup routing path back and forth to ensure consistent data transmission.

[0007] 但是,现有技术存在如下缺点: [0007] However, the prior art has the following disadvantages:

[0008] 首先,在实际组网应用中,一般外部网络中的一台汇聚设备下面会接入几十甚至几百个局域网路由设备,因此当外部网络汇聚设备和局域网路由设备之间的路由交互采用静态路由协议时,在图1中两台汇聚设备上需要手工配置指向各路由设备的VRRP接口所在网络的静态路由,并为重分发的各静态路由分别指定不同的权重值。 [0008] First, in the actual networking application, generally external network below a convergence device will access a LAN tens or even hundreds routing device, the routing interaction between the external device and the aggregation network equipment when routing the LAN when using static routing protocol, to be manually configured static route to network routing devices each VRRP interface resides on FIG. 1 two aggregation device, and specify a different weight values ​​for the static routes are redistributed. 因此,配置工作量大, 且配置效率低。 Therefore, the configuration workload, configuration and low efficiency. 其次,当同一局域网中的两台路由设备的VRRP状态发生切换时,也要求外部网络访问局域网的业务转发路径能自动调整,在现有技术中,当局域网路由设备到外部网络汇聚设备的接入链路出现故障时,利用BFD协议可检测到链路故障,由此通告汇聚设备完成业务转发路径的切换。 Then, the VRRP state switching when two devices in the same local area network occurs, requires external access to the LAN network traffic transfer path can be automatically adjusted, in the prior art, when the routing device to access the LAN to the external network aggregation device when a link fails, use BFD protocol detects a link fault, thereby to complete the service announcement convergence device forwarding path switching. 但是,对于局域网中可能出现的某些网络故障,如当路由设备1和交换机之间连接线出现故障时,主控路由设备由路由设备1变为路由设备2,而外部网络访问局域网的业务转发路径还是以汇聚设备1到路由设备1的路由为主路由,因此,需要手工修改两台汇聚设备上重分发静态路由的路由权重值,否则会出现外部网络无法访问局域网终端设备的情况。 However, for some local area network failures that may occur, such as when a connecting line between faulty and switches the routing device 1, the master routing device by the routing device 1 to a routing device 2, while the external access to the LAN network traffic forwarding path or routing device to route 1 to 1 of convergence devices based routing, therefore, need to manually modify the weight distribution on the device brings together two heavy weights of the routes static route, or the external network can not access the LAN terminal device will appear. 总之,手工配置工作量大,而且处理效率低。 In short, the manual configuration workload and low efficiency.

发明内容 SUMMARY

[0009] 本发明实施例提供一种通知VRRP状态信息的方法、装置及系统,用以将VRRP状态切换的信息通知给相关网络设备,从而使相关网络设备可以实现正确的路由,确保数据传输时来回路径的一致。 [0009] In the practice of the present invention provides a VRRP state information notification method, apparatus and system for handover notifies the VRRP state information related to the network device, so that the associated network device can implement proper routing to ensure that data back and forth the same path.

[0010] 一种发送虚拟路由设备冗余协议VRRP状态信息的方法,该方法包括以下步骤: [0010] Redundancy Protocol VRRP virtual routing state information transmitting apparatus, the method comprising the steps of:

[0011] VRRP路由设备判断自身在多个VRRP路由设备组成的虚拟路由设备中的VRRP路由设备状态,当该VRRP路由设备的VRRP路由设备状态发生改变时,则向指定汇聚设备发送通告信息报文: [0011] The routing device determines itself VRRP VRRP state routing device in multiple VRRP virtual routing device consisting of a routing device, the routing device when the state of the VRRP VRRP routing device is changed, the convergence device transmits packets to a specified announcement information :

[0012] 若该VRRP路由设备由非主控路由设备状态变为主控路由设备状态,则向指定汇聚设备发送含有该VRRP路由设备的VRRP接口的链路状态可用的通告信息报文;若该VRRP路由设备由主控路由设备状态变为非主控路由设备状态,则向指定汇聚设备发送含有该VRRP路由设备的VRRP接口的链路状态不可用的通告信息报文。 Link Status [0012] If the routing device by a non-master VRRP state routing device becomes a master state routing devices, the interfaces containing the VRRP VRRP routing device transmits to the designated aggregation devices available advertisement information messages; if the the routing device by the master VRRP state routing is rendered non-master routing device status, sending a VRRP interface containing the link-state routing is unavailable VRRP advertisement packet to the specified information aggregation device.

[0013] 较佳的,在VRRP路由设备判断自身在多个VRRP路由设备组成的虚拟路由设备中的VRRP路由设备状态之前,检测该VRRP路由设备到终端设备的链路状态是否正常,如果检测结果为故障,则不允许成为主控路由设备。 [0013] Preferably, before the VRRP VRRP itself determines the routing device in the virtual device state routing multiple VRRP routing device consisting of a routing device, to the terminal apparatus to detect the status of the VRRP routing device is normal, if the detection result fault, is not allowed to become the master routing equipment.

[0014] 较佳的,在VRRP路由设备判断自身在多个VRRP路由设备组成的虚拟路由设备中的VRRP路由设备状态的步骤之前,进一步包括:所述VRRP路由设备配置自身的VRRP接口所在网络的IP地址和子网掩码,并指定接收通告信息报文的汇聚设备的IP地址,则发送的通告信息报文中进一步包括接收通告信息报文的汇聚设备的IP地址。 [0014] Preferably, before the step of determining the routing device in the VRRP VRRP virtual routing device status itself in multiple VRRP routing device consisting of a routing device, further comprising: said routing device configured VRRP itself connected network of VRRP IP address and subnet mask, and to specify the aggregation device receives the route information of the IP address of the packet, the packet transmitted announcement information further comprises receiving the IP address notification information packet aggregation device.

[0015] 一种接收虚拟路由设备冗余协议VRRP状态信息的方法,包括: [0015] Virtual Route Redundancy Protocol VRRP state apparatus for receiving information, comprising:

[0016] 汇聚设备接收VRRP路由设备发送的含有该VRRP路由设备的VRRP接口的链路状态的通告信息报文,并确定该VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码; Link state advertisement information message is [0016] received VRRP convergence device comprising a routing device transmitting the VRRP VRRP routing device interface, and determine the IP address and subnet mask of the network device routing VRRP VRRP interface resides;

[0017] 如果确定所述通告信息报文中含有的VRRP路由设备的VRRP接口的链路状态可用,则将汇聚设备保存的静态路由表中对应的静态路由的属性信息置为可用,并将所述静态路由通告给汇聚设备所在网络中的其他设备,所述静态路由表中包含指向与汇聚设备相连的VRRP路由设备的VRRP接口所在网络的静态路由以及所述静态路由的属性信息;如果确定所述通告信息报文中含有的VRRP路由设备的VRRP接口的链路状态不可用,则将所述静态路由的属性信息置为不可用。 [0017] If it is determined the link state advertisement VRRP VRRP interface devices routing information contained in the packet is available, the device attribute information set stored will converge static routing table corresponding static routes is available, and the said static route advertisement to other network equipment located in the convergence device, the static routing table contains the routing network VRRP static routing device connected to the convergence device pointing VRRP interface belongs and the attribute information of the static route; If it is determined VRRP VRRP interface link state routing device of said advertisement information contained in the packet is unavailable, the attribute information is set then the static route is unavailable.

[0018] 较佳的,确定该VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码的步骤的实现方式包括:汇聚设备上根据保存的各VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码,确定发送通告信息报文的VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码。 [0018] Preferably, the step of implementation of an IP address and subnet mask of the VRRP to determine a network routing device comprising a VRRP interface where: IP address and subnetwork each VRRP routing device stored in the interface where the VRRP convergence device according to the mask, send notices to determine the IP address and subnet mask of network equipment VRRP routing information packets VRRP interface resides.

[0019] 较佳的,所述通告信息报文还进一步包括:发送通告信息报文的VRRP路由设备的IP地址、所述VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码;则确定该VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码的步骤的实现方式包括:汇聚设备从所述通告信息报文中获取所述VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码。 [0019] Preferably, the advertisement information packet further comprising: IP address of the device sending VRRP advertisement routing information message, the network routing device VRRP VRRP interface resides IP address and subnet mask; determining implementation steps and subnet mask of the IP address of the VRRP network routing device where a VRRP interface comprising: a convergence device from the advertisement information IP address and subnet mask VRRP packet routing device acquires the network interface resides VRRP code.

[0020] 较佳的,若所述通告信息报文中含有的VRRP路由设备的VRRP接口的链路状态不可用,并且汇聚设备在收到所述通告信息报文之前已经将汇聚设备保存的静态路由表中对应的静态路由通告给汇聚设备所在网络中的其他设备,则将所述静态路由的属性信息置为不可用的步骤之后还包括:汇聚设备通知汇聚设备所在网络撤销所述静态路由对应的路由fn息ο [0020] Preferably, if the link state advertisement VRRP VRRP interface devices routing information contained in the packet is unavailable, and the aggregation device prior to receipt of the static advertisement information packet aggregation device has been stored static routing table corresponding to the router advertisement to other network devices in the convergence device is located, then the attribute information is set after the step of static routes is unavailable further comprising: a convergence device notifies the network device is located aggregation static route corresponds revocation the routing information ο fn

[0021] 一种发送虚拟路由设备冗余协议VRRP状态信息的装置,包括: [0021] Redundancy Protocol VRRP state information of a virtual routing means transmitting apparatus, comprising:

[0022] VRRP状态判断单元,用于判断自身在多个VRRP路由设备组成的虚拟路由设备中的VRRP路由设备状态; [0022] VRRP state determining means for determining the state of the device itself VRRP routers in multiple VRRP virtual routing device consisting of a routing device;

[0023] 通告信息报文发送单元,用于在VRRP路由设备状态发生改变时发送通告信息报文,若由非主控路由设备状态变为主控路由设备状态,则向指定汇聚设备发送链路状态可用的通告信息报文;若由主控路由设备状态变为非主控路由设备状态,则向指定汇聚设备发送链路状态不可用的通告信息报文。 [0023] The announcement information packet sending unit, configured to, when the device state is changed the routing VRRP advertisement message transmitted packets of a non-master state if the route is the route master device state, the device transmits a link to the designated aggregation available state advertisement information messages; if the master device is rendered non-master state routing state routing device, the notification information packet to the specified unavailable device sends link state aggregation.

[0024] 较佳的,所述VRRP状态判断单元进一步用于检测到终端设备的链路状态是否正常,如果检测结果为故障,则不允许成为主控路由设备。 Detecting a link state of the terminal device [0024] Preferably, the determination unit is further configured VRRP state is normal, if the detection result is failure, the routing device is not allowed to become a master.

[0025] 较佳的,所述装置还包括配置单元,用于配置自身VRRP接口所在网络的IP地址和子网掩码,并指定接收通告信息报文的汇聚设备的IP地址,则所述通告信息报文进一步包括接收通告信息报文的汇聚设备的IP地址。 [0025] Preferably, the apparatus further includes a configuration unit for configuring the IP address and subnet mask of the network where the interface itself VRRP, and specify the IP address of the received advertisement information packet aggregation device, then the announcement information packet further comprises receiving the IP address notification information packet aggregation device.

[0026] 一种VRRP路由设备,包括上述任一发送虚拟路由设备冗余协议VRRP状态信息的直ο [0026] A VRRP routing device comprising any of the above straight ο transmitting apparatus Redundancy Protocol VRRP virtual routing status information

[0027] 一种接收虚拟路由设备冗余协议VRRP状态信息的装置,包括: [0027] Redundancy Protocol VRRP state information of a virtual routing means receiving apparatus, comprising:

[0028] 存储单元,用于保存静态路由表,所述静态路由表中包含指向与通告信息报文接收单元相连的VRRP路由设备的VRRP接口所在网络的静态路由以及所述静态路由的属性信息; [0028] a storage unit for storing static routing table, the static routing table contains the routing network static attribute information and the advertisement information directed packet receiving unit connected to the routing device VRRP VRRP interface resides, and the static route;

[0029] 通告信息报文接收单元,用于接收VRRP路由设备发送的通告信息报文,并确定该VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码; [0029] The announcement information packet receiving unit, for receiving a VRRP advertisement message sent information routing device, and determine the IP address and subnet mask of the network device routing VRRP VRRP interface resides;

[0030] 路由处理单元,用于确定所述通告信息报文中含有的VRRP路由设备的VRRP接口的链路状态是否可用,如果可用,则将存储单元保存的静态路由表中对应的静态路由的属性信息置为可用,并将所述静态路由通告给当前所在网络中的其他设备;如果不可用,则将所述静态路由的属性信息置为不可用。 [0030] The routing processing unit for determining whether the link state advertisement VRRP VRRP interface devices routing information contained in the packet is available, if available, will be stored in the storage unit corresponding to the static routing table static routing attribute information is set to usable, and the static route advertisement to other network devices currently located; if not available, set the attribute information of the static routes will be unavailable.

[0031] 较佳的,所述存储单元,用于进一步保存各VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码;则所述通告信息报文接收单元,用于根据所述存储单元保存的各VRRP 路由设备的VRRP接口所在网络的IP地址和子网掩码,确定发送通告信息报文的VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码。 IP address and subnet mask of the network [0031] Preferably, the memory unit for further storage in each routing device VRRP VRRP interface resides; then the advertisement information packet receiving unit for the storage unit IP address and subnet mask for each network routing device VRRP VRRP interface resides saved, send notices to determine the IP address and subnet mask of network equipment VRRP routing information packets VRRP interface resides.

[0032] 较佳的,所述通告信息报文还进一步包括:发送通告信息报文的VRRP路由设备的IP地址、所述VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码;则所述通告信息报文接收单元,用于从通告信息报文中获取所述VRRP路由设备的VRRP接口所在网络的IP 地址和子网掩码。 [0032] Preferably, the advertisement information packet further comprising: IP address of the device sending VRRP advertisement routing information message, the network routing device VRRP VRRP interface resides IP address and subnet; then the said notification information packet receiving unit, configured to obtain an IP address and subnet mask of the network device routing VRRP VRRP advertisement from an interface where the information packet.

[0033] 较佳的,路由处理单元,如果确定所述通告信息报文中含有的VRRP路由设备的VRRP接口的链路状态不可用,且在收到所述通告信息报文之前已经将存储单元保存的静态路由表中对应的静态路由通告给当前所在网络中的所有设备,则进一步用于通知当前所在网络撤销所述静态路由对应的路由信息。 [0033] Preferably, the routing processing unit, if determined that the link state advertisement VRRP VRRP interface devices routing information contained in the packet is unavailable, and before receiving the advertisement information packet has a storage unit static routing table stored in the corresponding static routes advertised to all devices in the network is currently located, where the current is further for informing the network of the withdrawn route information corresponding to the static route.

[0034] 一种汇聚设备,包括上述任一接收虚拟路由设备冗余协议VRRP状态信息的装置。 [0034] A convergence device comprising receiving means any preceding Virtual Router Redundancy Protocol VRRP state information.

[0035] 一种通知VRRP状态信息的系统,包括VRRP路由设备和汇聚设备,其中,VRRP路由设备,包括上述任一发送虚拟路由设备冗余协议VRRP状态信息的装置;汇聚设备,包括上述任一接收虚拟路由设备冗余协议VRRP状态信息的装置。 [0035] A notification system VRRP state information, and the routing device comprising a VRRP convergence device, wherein, VRRP routing apparatus comprising transmitting means any preceding Virtual Router Redundancy Protocol VRRP state information of the device; a convergence device, comprising any of the above redundancy protocol VRRP state information of a virtual device receives the routing device.

[0036] 本发明实施例中的VRRP路由设备在VRRP路由设备状态发生改变时向指定汇聚设备发送通告信息报文,若VRRP路由设备由非主控路由设备变为主控路由设备,则发送链路状态可用的通告信息报文;若VRRP路由设备由主控路由设备变为非主控路由设备,则发送链路状态不可用的通告信息报文。 [0036] The announcement information sending packets to the designated aggregation devices modified example of the routing device occurs VRRP VRRP state routing apparatus embodiment of the present invention, if a non-routing device VRRP master routing device becomes the master routing device, the transmission chain path available state advertisement information messages; if the routing device by the master VRRP routing device becomes non-master routing device, sending a link state advertisement information unavailable message. 汇聚设备在收到通告信息报文后,根据报文中的内容进行相应的处理,若接收到链路状态可用的通告信息报文,则将对应静态路由置为可用,并将该静态路由通告给所在网络中的其他设备;若接收到链路状态不可用的通告信息报文,则将对应静态路由置为不可用。 Aggregation device receives advertisement information messages, perform corresponding processing according to the content of packets, when receiving the link state advertisement information packets available, then the corresponding static route set is available, and the static route advertised to another device located in the network; Upon receiving the link state advertisement information unavailable packet, then the corresponding static route set unusable. 通过采用本发明实施例的方法,可以将VRRP状态信息及时通知给相关网络设备,从而确保数据传输时来回路径的一致。 By using the method of Example of the present invention, the VRRP state information to inform the relevant network devices in order to ensure consistency of the data transfer path back and forth. 附图说明 BRIEF DESCRIPTION

[0037] 图1为现有技术中采用VRRP进行组网的示意图; [0038] 图2为本发明实施例中通知VRRP状态信息的方法流程图; [0037] FIG. 1 is a prior art schematic diagram VRRP networking is employed; [0038] FIG 2 is a flowchart of a method VRRP state information notified embodiment invention;

[0039] 图3为本发明实施例中发送VRRP状态信息的装置结构图; [0039] FIG 3 a configuration diagram VRRP state information transmitting apparatus in the embodiment of the present invention;

[0040] 图4为本发明实施例中接收VRRP状态信息的装置结构图。 [0040] FIG 4 a configuration diagram VRRP state information receiving apparatus in the embodiment of the present invention.

具体实施方式 Detailed ways

[0041] 本发明实施例给出了一种通知VRRP状态信息的方法、装置及系统,使用该方法、 装置及系统,可使下游设备VRRP状态切换时及时通知给上游设备,使上游设备可以选择正确的路由,从而确保数据传输时来回路径的一致。 [0041] Example shows a method, apparatus and system for notification VRRP state information of the present invention, use of the method, apparatus and system can notify downstream equipment VRRP state switching device to the upstream, the upstream device may select correct routing path back and forth to ensure consistent data transmission. 以下结合说明书附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。 The following description in conjunction with the accompanying drawings of the preferred embodiments of the present invention are described, it should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention and are not intended to limit the present invention.

[0042] 本发明的一个实施例提供一种发送虚拟路由设备冗余协议VRRP状态信息的方法,该方法包括以下步骤: [0042] The embodiment provides a method of transmitting a Virtual Router Redundancy Protocol VRRP state information apparatus of the present invention, the method comprising the steps of:

[0043] VRRP路由设备判断自身在多个VRRP路由设备组成的虚拟路由设备中的VRRP路由设备状态,当该VRRP路由设备的VRRP路由设备状态发生改变时,则向指定汇聚设备发送通告信息报文:若该VRRP路由设备由非主控路由设备状态变为主控路由设备状态,则向指定汇聚设备发送含有该VRRP路由设备的VRRP接口的链路状态可用的通告信息报文;若该VRRP路由设备由主控路由设备状态变为非主控路由设备状态,则向指定汇聚设备发送含有该VRRP路由设备的VRRP接口的链路状态不可用的通告信息报文。 [0043] The routing device determines itself VRRP VRRP state routing device in multiple VRRP virtual routing device consisting of a routing device, the routing device when the state of the VRRP VRRP routing device is changed, the convergence device transmits packets to a specified announcement information : If the routing device by a non-master VRRP state routing device becomes a master state routing device, the interface comprising the link status VRRP VRRP routing device transmits to the specified aggregation devices available advertisement information messages; if the routing VRRP state routing device by the master device becomes non-master state routing device, sending a VRRP interface containing the link-state routing is unavailable VRRP advertisement packet to the specified information aggregation device. 当VRRP路由设备初始运行VRRP协议确定出处于主控路由设备状态的VRRP路由设备和处于非主控路由设备状态的VRRP路由设备时,也属于VRRP路由设备状态发生改变的一种情况,这时,各VRRP路由设备也要根据自身的VRRP路由设备状态发送通告信息报文:处于主控路由设备状态的VRRP路由设备向指定汇聚设备发送含有该VRRP路由设备的VRRP接口的链路状态可用的通告信息报文,处于非主控路由设备状态的VRRP路由设备向指定汇聚设备发送含有该VRRP路由设备的VRRP接口的链路状态不可用的通告信息报文。 When initial running VRRP VRRP protocol routing device determines that the routing device is a master VRRP state routing device and the routing device in the non-master VRRP routing device status, also belongs to a routing device, the VRRP state changes, this time, each VRRP routing device also transmits state routing apparatus according VRRP advertisement message packet itself: a VRRP interface link state routing device of the VRRP routing device is a master VRRP state comprises the routing device transmits to the specified aggregation device announcement information available packet, the routing device in the non-master VRRP routing device state transmitting link state advertisement information messages containing the VRRP VRRP interface routing is unavailable to the designated aggregation device. 在VRRP路由设备判断自身在多个VRRP 路由设备组成的虚拟路由设备中的VRRP路由设备状态之前,还需要检测该VRRP路由设备到终端设备的链路状态是否正常,如果检测结果为故障,则不允许成为主控路由设备。 Before VRRP VRRP itself determines the routing device in the virtual device state routing multiple VRRP routing device consisting of a routing device, but also the need to detect whether the link VRRP routing device to the terminal device normally, if the test result is a failure, is not allowed to become the master routing equipment.

[0044] 在VRRP路由设备判断自身在多个VRRP路由设备组成的虚拟路由设备中的VRRP 路由设备状态的步骤之前,所述VRRP路由设备还要配置自身VRRP接口所在网络的IP地址和子网掩码,并指定接收通告信息报文的汇聚设备的IP地址,并且,在通告信息报文中进一步包括VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码以及接收通告信息报文的汇聚设备的IP地址。 [0044] Prior to the step of determining the routing device itself VRRP VRRP state routing device in multiple VRRP virtual routing device consisting of a routing device, the routing device also configure the VRRP IP address and subnet mask of the network where the interface itself VRRP and specify the IP address information received advertisement packet aggregation device, and further including the IP address and subnet mask of the network routing devices VRRP VRRP interface belongs and the aggregation device receives the advertisement information in the advertisement packet in the packets IP addresses.

[0045] 本发明的一个实施例提供了一种接收虚拟路由设备冗余协议VRRP状态信息的方法,汇聚设备保存有静态路由表,所述静态路由表中包含指向与汇聚设备相连的VRRP路由设备的VRRP接口所在网络的静态路由以及所述静态路由的属性信息,该方法包括以下步骤:[0046] 汇聚设备接收VRRP路由设备发送的含有该VRRP路由设备的VRRP接口的链路状态的通告信息报文,并确定该VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码; [0045] An embodiment of the present invention provides a method for receiving Virtual Route Redundancy Protocol VRRP state information apparatus, the convergence device stores a static routing table, the static routing table contains the routing VRRP pointing device connected to the convergence device static route attribute information VRRP network interface resides, and the static route, the method comprising the steps of: containing a link state of the VRRP VRRP interface routing device [0046] the aggregation device receives a VRRP advertisement message sent by routing packets text, and determine the IP address and subnet mask of the network device routing VRRP VRRP interface resides;

[0047] 如果确定所述通告信息报文中含有的VRRP路由设备的VRRP接口的链路状态可用,则将汇聚设备保存的静态路由表中对应的静态路由的属性信息置为可用,对应的静态路由为指向发送所述通告信息报文的VRRP路由设备的VRRP接口所在网络的、且下一跳为所述VRRP路由设备的静态路由,并将所述静态路由通告给汇聚设备所在网络中的其他设备,通告的具体实现方式可以为:将汇聚设备保存的静态路由表中指向发送所述通告信息报文的VRRP路由设备的VRRP接口所在网络的、且下一跳为所述VRRP路由设备的静态路由重分发到汇聚设备所在网络的动态路由表中,所述动态路由表用于提供给汇聚设备所在网络的设备学习; [0047] If it is determined the link state advertisement VRRP VRRP interface devices routing information contained in the packet is available, set the attribute information saved in the static routing table corresponding to the static routing convergence will be available, the corresponding static transmitting the advertisement to point routing network interface resides VRRP VRRP packet routing device information of the next hop of the static route VRRP routing device, and the static route advertisement to the sink device is located in a network other apparatus, advertisement specific implementation may be: a static convergence device to save the routing table points to the sending VRRP advertisement network interface resides VRRP packet routing device information of the next hop of the static routing device VRRP re-routing to the distribution network where aggregation device dynamic routing table, the routing table for providing a dynamic learning convergence device where the network equipment;

[0048] 如果确定所述通告信息报文中含有的VRRP路由设备的VRRP接口的链路状态不可用,则将汇聚设备保存的静态路由表中指向发送所述通告信息报文的VRRP路由设备的VRRP接口所在网络的、且下一跳为所述VRRP路由设备的静态路由的属性信息置为不可用。 [0048] If it is determined the link state advertisement VRRP VRRP interface devices routing information contained in the packet is unavailable, the device will save the convergence point of the static routing table to send the routing device VRRP advertisement packets of information attribute information of the VRRP network interfaces located opposite, and the VRRP of the next hop of the static route routing device is unavailable.

[0049] 在汇聚设备确定通告信息报文中含有的VRRP路由设备的VRRP接口的链路状态可用,将对应静态路由通告给汇聚设备所在网络中的其他设备时的具体方式为:汇聚设备在第一次收到VRRP路由设备发来的含有该VRRP路由设备的VRRP接口的链路状态可用的通告信息报文时,直接将汇聚设备保存的静态路由表中对应的静态路由通告给汇聚设备所在网络中的其他设备,之后,如果再次收到该VRRP路由设备发来的通告信息报文时,则仅在通告信息报文中含有的VRRP路由设备的VRRP接口的链路状态发生变化时,才将对应的静态路由进行通告。 [0049] In a VRRP interface link state advertisement VRRP convergence device determines the routing device information contained in the packet is available, corresponding to the specific static routing aggregation when other devices where the network equipment is advertised as follows: In the first aggregation device when a device receives a VRRP routing VRRP sent by the interface link state routing device comprising the VRRP advertisement message packets available, the aggregation device directly stored static routing table corresponding to the static route advertised network aggregation device located when the other device, then, if the routing device receives the VRRP advertisement message sent by the message again, only in the link state advertisement VRRP VRRP interface devices routing information contained in the packet is changed, it will the corresponding static route is advertised. 也就是说,如果汇聚设备连续收到两个该VRRP路由设备发来的含有该VRRP路由设备的VRRP接口的链路状态可用的通告信息报文时,会判断出这条对应的静态路由已经通告过,因此,不会再次进行通告,以避免重复通告。 That is, if the aggregation device receives the link state two successive routing device of the VRRP VRRP sent by the interface device comprising the VRRP routers available advertisement information packet, it is determined that this corresponds to the static route has been advertised too, therefore, will not be advertised again, to avoid duplication notice.

[0050] 还要考虑一种情况:如果所述通告信息报文中含有的VRRP路由设备的VRRP接口的链路状态不可用,并且汇聚设备在收到所述通告信息报文之前已经将汇聚设备保存的静态路由表中指向发送所述通告信息报文的VRRP路由设备的VRRP接口所在网络的、且下一跳为所述VRRP路由设备的静态路由通告给汇聚设备所在网络中的其他设备,则将汇聚设备保存的静态路由表中指向发送所述通告信息报文的VRRP路由设备的VRRP接口所在网络的、且下一跳为所述VRRP路由设备的静态路由的属性信息置为不可用的步骤之后还包括: 汇聚设备通知汇聚设备所在网络撤销指向发送所述通告信息报文的VRRP路由设备的VRRP 接口所在网络的、且下一跳为所述VRRP路由设备的、已经通告给汇聚设备所在网络中的所有设备的静态路由对应的路由信息。 [0050] Consider also a situation: if the link state advertisement VRRP VRRP interface devices routing information contained in the packet is unavailable, and the aggregation device prior to receiving the announce information packet aggregation device has saved static routing table points to the network interface resides VRRP routing device transmits the VRRP advertisement packet of information, and the next hop of the static route routing device VRRP advertisement to other network devices located in the convergence device, the step attribute information set stored in the static routing table convergence point apparatus transmits the VRRP network interface resides VRRP advertisement routing information message device, and the next hop of the static route VRRP routing device is unavailable after further comprising: aggregating notification device revocation aggregation point where the network equipment transmits the VRRP network interface resides VRRP advertisement routing information message device, and the next hop of the routing device VRRP has been notified to the network aggregation device located All routing information corresponding static routing device.

[0051] 汇聚设备确定该VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码的步骤的实现方式可以采用如下方案: [0051] The aggregation device determines the routing device VRRP implementation step the IP address and subnet mask of the network interface where the VRRP may be regarded as follows:

[0052] 汇聚设备上收到所述通告信息报文后,根据保存的各VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码,直接确定发送通告信息报文的VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码。 [0052] After receipt of the advertisement information on the packet aggregation device, a network based on the IP address and subnet mask of each routing device stored VRRP VRRP interface resides, a VRRP interface directly determines a routing device sending VRRP advertisement information message IP address and subnet mask on your network.

[0053] 汇聚设备确定该VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码的步骤的实现方式还可以采用如下方案: [0053] determines that the convergence device VRRP VRRP routing device connected network implementation of an IP address and subnet mask step may also be employed the following scheme:

[0054] 所述通告信息报文还进一步包括:发送通告信息报文的VRRP路由设备的IP地址、所述VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码; [0054] The advertisement information packet further comprising: sending a VRRP advertisement packet routing device information of the IP address, the network routing device VRRP VRRP interface resides IP address and subnet mask;

[0055] 则汇聚设备从所述通告信息报文中获取所述VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码。 [0055] the aggregation device obtain an IP address and subnet mask of the network device routing VRRP interface resides VRRP advertisement information from the packet.

[0056] 本发明的一个实施例给出了一种通知VRRP状态信息的方法,本方法适用于采用VRRP协议组网的网络中,具体组网方式参见图1。 An embodiment [0056] of the present invention gives a method of notification VRRP state information, the present method is applicable to a network using the VRRP networking, specifically networking see FIG. 其中,路由设备1和路由设备2采用VRRP 协议,组成一个虚拟路由设备。 Wherein the routing device 1 and 2 employs VRRP protocol routing device, composed of a virtual routing device. 采用VRRP协议的路由设备有三种状态:主控状态、备份状态和初始状态。 The routing device uses the VRRP have three states: a master status, the backup state and the initial state. 多台VRRP路由设备中有且只有一台作为主控路由设备在代表虚拟路由设备进行包的发送,其他的为备份路由设备,当VRRP协议接口出现物理层故障时,该VRRP路由设备将转为初始状态。 Multiple VRRP routing device and only one routing device as the master device sends the virtual route packets on behalf of other devices for the backup route, when the VRRP physical layer interface failure, the routing device will be turned VRRP initial state.

[0057] 该方法具体参见图2,包括以下步骤: [0057] Referring specifically to FIG. 2 the method comprising the steps of:

[0058] 步骤201 :汇聚设备1和汇聚设备2分别配置静态路由表,静态路由表中包含指向各自连接的VRRP路由设备的VRRP接口所在网络的静态路由以及静态路由的属性信息。 [0058] Step 201: the convergence device 1 and device 2 are arranged aggregation static routing table contains the routing table points to the static property information of the VRRP static routing network routing device are each connected to the interface where the VRRP and static routes. 静态路由的路由表项中包括目的网络的IP地址和子网掩码,以及路由下一跳的IP地址。 Static route routing table entry includes the destination network IP address and subnet mask, and IP address of the next hop routing. 静态路由的属性信息为:若收到指定VRRP路由设备发送的链路状态可用的通告信息报文后将该静态路由置为可用,否则,将该静态路由置为不可用。 Attribute information of static routes is: If after receipt of the specified link state routing device sends VRRP advertisement message available message set the static route is available, otherwise, the static route is set unavailable. 如汇聚设备1配置的静态路由表中指向VRRP路由设备1的VRRP接口所在网络的静态路由的路由表项中的目的网络为图1 中的局域网网络,该网络的IP地址为192. 168. 1.0,子网掩码为255. 255. 255. 0,路由下一跳为VRRP路由设备1的IP地址10. 1. 1. 2,该静态路由的属性信息为:若接收到指定VRRP 路由设备,即IP地址为10. 1. 1. 2的VRRP路由设备1发来的链路状态可用的通告信息报文后将该静态路由置为可用;若接收到指定VRRP路由设备,即IP地址为10. 1. 1. 2的VRRP路由设备1发来的链路状态不可用的通告信息报文后,则将该静态路由置为不可用。 The aggregation device 1 configured static routing table to the routing device VRRP VRRP network interface resides in a static route destination network routing table entry for the local area network of Figure 1, IP addresses of the network 192. 168. 1.0 , 255. 255. 255.0 subnet mask, next hop IP address of the VRRP routing device 1 10. 1. 1. 2 and attribute information of the static route is: when receiving the specified VRRP routing device, VRRP i.e. the IP address of the routing device 10. 1. 2 1. 1 sent the link state advertisement information available after packet is set to the static route is available; if the received VRRP specified routing device, i.e., the IP address is 10 VRRP routing device 1. 2 1. 1 sent the link state advertisement information after the packet is not available, then the static route is set unavailable. 汇聚设备2配置的静态路由表中指向VRRP路由设备2的VRRP接口所在网络的静态路由的路由表项中的目的网络也为图1中的局域网网络,该网络的IP地址为192. 168. 1.0,子网掩码为255. 255. 255. 0,路由下一跳为VRRP路由设备2的IP地址10. 2. 2. 2,该静态路由的属性信息为:若接收到指定VRRP路由设备,即IP地址为10. 2. 2. 2的VRRP路由设备2发来的链路状态可用的通告信息报文后将该静态路由置为可用;若接收到指定VRRP路由设备,即IP地址为10. 2. 2.2的VRRP路由设备2发来的链路状态不可用的通告信息报文后,则将该静态路由置为不可用。 Aggregation device 2 configured static routing table to the routing device VRRP VRRP network interface 2 where static route destination network routing table entry for the local area network is also in FIG. 1, IP addresses of the network 192. 168. 1.0 , 255. 255. 255.0 subnet mask, an IP address for the next hop routing device VRRP 2 10. 2. 2. 2, the attribute information of the static route is: when receiving the specified VRRP routing device, VRRP i.e. the IP address of the routing device 10. 2. 2 2. 2 sent the link state advertisement information available after packet is set to the static route is available; if the received VRRP specified routing device, i.e., the IP address is 10 2. 2.2 VRRP 2 link state routing device sent to the notification information packet is not available, then the static route is set unavailable.

[0059] 步骤202 =VRRP路由设备1和VRRP路由设备2分别配置各自的VRRP接口信息。 [0059] Step 202 = VRRP VRRP routers the routing device 1 and device 2 are arranged each VRRP interface information. VRRP路由设备1的VRRP接口为图1中的VRRP接口1,该接口所在网络的IP地址为192. 168. 1. 0,子网掩码为255. 255. 255. 0。 VRRP VRRP interfaces routing device 1 in FIG. 1 is a VRRP interface 1, the IP address of the network interface 192. 168. 1.0 is located, is the subnet mask 255. 255. 255.0. VRRP路由设备2的VRRP接口为图1中的VRRP 接口2,该接口所在网络的IP地址为192. 168. 1. 0,子网掩码为255. 255. 255.0。 VRRP VRRP routing device 2 interfaces for the interface in FIG. 1 VRRP 2, the IP address of the network interface 192. 168. 1.0 is located, is the subnet mask 255. 255. 255.0. 同时,VRRP 路由设备还要指定接收通告信息报文的上游设备。 Meanwhile, VRRP routing device also specify an upstream device receives advertisement information message. 接收VRRP路由设备1发送的通告信息报文的上游设备为汇聚设备1,IP地址为10. 1. 1. 1 ;接收VRRP路由设备2发送的通告信息报文的上游设备为汇聚设备2,IP地址为10. 2. 2. 1。 Receiving VRRP router notification message sent by a device upstream packet aggregation device 1, IP address 10. 1. 1. 1; upstream device receiving VRRP advertisement transmitting apparatus 2 routing information for the packet aggregation device 2, IP address is 10. 2.2.1.

[0060] 步骤203 :两台VRRP路由设备运行VRRP协议,确定是否升级为主控路由设备,从而选举出一台主控路由设备,其余为备份路由设备。 [0060] Step 203: the two devices running the VRRP VRRP routers to determine whether to upgrade the master routing device, so that the election of a master routing device, the routing device to rest as a backup. 成为主控路由设备的VRRP路由设备执行步骤204,成为备份路由设备的路由设备执行步骤206。 Routing device becomes a master VRRP performs step 204 the routing device, the routing device to become the backup routing device performs step 206. 这里假定VRRP路由设备1为主控路由设备,VRRP路由设备2为备份路由设备。 1 is assumed here that the routing device is a master VRRP routing device, routing device 2 is a VRRP backup routing device. [0061] 这里,VRRP路由设备确定是否升级为主控路由设备之前,需要检测VRRP路由设备配置的VRRP接口的链路状态是否正常,即需要检测VRRP路由设备与一个或多个终端设备之间的链路是否正常,如果检测结果为故障,则不允许升级成为主控路由设备。 Whether before [0061] Here, VRRP routers upgraded to the master device determines whether the routing device, the routing device needs to detect VRRP configured VRRP interface link status is normal, i.e. between VRRP routing device needs to detect one or more terminal devices the link is normal, if the test result is a failure, you can not upgrade to become the master routing equipment.

[0062] 步骤204 :主控路由设备,即VRRP路由设备1向指定的上游设备,即汇聚设备1 发送VRRP路由设备1的VRRP接口的链路状态可用的通告信息报文。 [0062] Step 204: the master routing device, the routing device 1 i.e. VRRP advertisement information available upstream packet to the specified device, i.e., a VRRP interface convergence device 1 transmits the routing device 1 VRRP link state. 该通告信息报文在具体实现时可以采用对现有的BFD协议报文进行扩展的方式等。 The notification information packet can be used during specific implementation modes on existing BFD protocol message extension. 通告信息报文的具体内容可以包括:发送通告信息报文的VRRP路由设备的IP地址,即VRRP路由设备1的IP地址10. 1. 1. 2 ;VRRP路由设备1的VRRP接口所在网络的IP地址192. 168. 1. 0和子网掩码255. 255. 255. 0 ;VRRP路由设备1的VRRP接口的链路状态可用。 Specific content announcement packet may include information: IP address of the device sending VRRP advertisement routing information packets, i.e., IP address of the VRRP routing device 1 10. 1. 1. 2; IP network routing device 1 VRRP VRRP interface resides address and subnet mask 192. 1.0 168. 255. 255. 255. 0; VRRP VRRP state of link routing device 1 can be used. 在通告信息报文中还可以包括接收通告信息报文的汇聚设备1的IP地址10. 1.1. I0 [0063] 步骤205 :汇聚设备1收到VRRP路由设备1发来的通告信息报文,确定通告信息报文中含有的该VRRP路由设备的VRRP接口的的链路状态可用,则将在步骤201中汇聚设备1配置的静态路由表中指向发送所述通告信息报文的VRRP路由设备的VRRP接口所在网络的、且下一跳为所述VRRP路由设备的静态路由的属性信息置为可用,具体实现时,汇聚设备1先从通告信息报文中获取发送通告信息报文的VRRP路由设备的IP地址10. 1. 1.2以及VRRP路由设备的VRRP接口所在网络的IP地址192. 168. 1.0和子网掩码255. 255. 255. 0,再查找汇聚设备1配置的静态路由表,将静态路由属性信息中的指定VRRP 路由设备与发送通告信息报文的VRRP路由设备相一致、且静态路由的目的网络的IP地址和子网掩码与通告信息报文中的VRRP路 In the notification information packet may further comprise receiving an IP address notification information packet aggregation device 1 10. 1.1 I0 [0063] Step 205: the convergence device routing device 1 receives a VRRP advertisement message sent by a packet, determined VRRP Interface link state routing device of the VRRP advertisement information contained in the packet is available, then in step 201 the aggregation device 1 configured static routing table points to the sending VRRP advertisement message packet routing device VRRP network interface resides, and the next hop of the static route VRRP routing device is set to the attribute information is available, the specific implementation, the convergence device 1 start notification information acquired packet routing device sends VRRP advertisement packets of information 1.2, and 1. 10. the IP address of the network interface resides VRRP VRRP routing device IP address and subnet mask 255. 1.0 192. 168. 255. 255.0, then find a convergence device configured static route table, the static route Specifies VRRP advertisement message routing device transmitting packet attribute information coincides VRRP routing device, and the IP address and subnet mask of the notification information packet to the destination network path VRRP static routing 设备的VRRP接口所在网络的IP地址和子网掩码相一致的静态路由的属性信息置为可用。 Set the attribute information of the IP address and subnet network device interface resides VRRP consistent static routes is available. 这里,汇聚设备1配置的静态路由表中与此通告信息报文对应的静态路由为步骤201中配置的目的网络的IP地址为192. 168. 1.0,子网掩码为255. 255. 255. 0,静态路由的属性信息为:若接收到指定VRRP路由设备,即IP地址为10. 1. 1. 2的VRRP路由设备1发来的链路状态可用的通告信息报文后将该静态路由置为可用,若接收到指定VRRP路由设备,即IP地址为10. 1. 1. 2的VRRP路由设备1发来的链路状态不可用的通告信息报文后将该静态路由置为不可用的静态路由,因此,将该静态路由置为可用。 Here the IP address of the destination network, the static convergence device 1 configured with this routing table static advertisement information corresponding to the packet routing is configured in step 168. 1.0 192. 201, 255. subnet mask of 255.255. 0, the attribute information of static routes is: when receiving the specified VRRP routing device, i.e. the IP address of the routing device 10. the VRRP 1. 2 1. 1 sent the link state advertisement information available after the static route packets VRRP routing device into available, upon receiving the specified VRRP routing device, i.e., IP address 2 10. 1. 1. 1 sent the link state advertisement information packet after the non-use of the static route is set unavailable static route, therefore, the static route is set as available. 同时,将汇聚设备1配置的静态路由表中指向发送所述通告信息报文的VRRP路由设备的VRRP接口所在网络的、且下一跳为所述VRRP路由设备的静态路由通告给汇聚设备1所在网络中的所有设备,具体实现方式可以为,将汇聚设备1配置的静态路由表中指向发送所述通告信息报文的VRRP路由设备的VRRP接口所在网络的、且下一跳为所述VRRP路由设备的静态路由重分发到汇聚设备1所在网络的动态路由协议的路由表中,使汇聚设备1所在网络的所有设备,包括汇聚设备2,都学习到这个静态路由对应的路由信息。 Meanwhile, the static convergence device 1 is arranged to send the routing table to the VRRP network interface resides VRRP advertisement routing information message device, and the next hop of the static route VRRP advertisement routing device 1 to the sink device is located All devices in the network, may be a specific implementation, the static convergence device 1 is arranged to send the routing table to the VRRP network interface resides VRRP advertisement routing information message device, and the next hop of the routing VRRP static routing device redistributed into dynamic routing protocol where a network device routing table convergence, the convergence device is located so that all network devices 1, 2 comprises a convergence device, you can learn the routing information corresponding to the static route. 在这里, 汇聚设备1在第一次收到VRRP路由设备1发来的含有该VRRP路由设备的VRRP接口的链路状态可用的通告信息报文时,直接将汇聚设备保存的静态路由表中对应的静态路由通告给汇聚设备1所在网络中的其他设备,之后,如果再次收到VRRP路由设备1发来的通告信息报文时,则仅在通告信息报文中含有的VRRP路由设备1的VRRP接口1的链路状态发生变化时,才将对应的静态路由进行通告。 Here the link state, the first aggregation device receives a VRRP routing device 1 comprising a VRRP interface sent by the routing device 1 VRRP available advertisement information packets directly to the aggregation device stored in the routing table corresponding to the static static routes are advertised to other devices on the network where a convergence device, and then, when you receive the VRRP routing device 1 to issue a notice of information packets again, only in the announcement VRRP VRRP routing device information packet contains 1 1 when the interface link state changes, only the corresponding static route is advertised. 也就是说,如果汇聚设备1连续收到两个VRRP路由设备1发来的含有VRRP路由设备1的VRRP接口1的链路状态可用的通告信息报文时, 会判断出这条对应的静态路由已经通告过,因此,不会再次进行通告,以避免重复通告。 That is, if the aggregation device 1 continuously receives the routing device 1 two VRRP advertisement message sent by the packet routing device comprising VRRP VRRP state 1 1 interface link available, will determine the static route corresponding to this notice has been, therefore, will not be advertised again, to avoid duplication notice.

[0064] 步骤206 :备份路由设备,即VRRP路由设备2向指定的上游设备,即汇聚设备2发送VRRP路由设备2的VRRP接口的链路状态不可用的通告信息报文。 [0064] Step 206: the backup routing device, routing device 2 VRRP i.e. upstream to the specified device, i.e. convergence device sends VRRP VRRP link state routing device 2 interface unavailable notification information packet 2. 该通告信息报文在具体实现时可以采用对现有的BFD协议报文进行扩展的方式等。 The notification information packet can be used during specific implementation modes on existing BFD protocol message extension. 通告信息报文的具体内容可以包括:发送通告信息报文的VRRP路由设备的IP地址,即VRRP路由设备2的IP地址10. 2. 2. 2 ;VRRP路由设备2的VRRP接口所在网络的IP地址192. 168. 1. 0和子网掩码255. 255. 255. 0 ;VRRP路由设备2的VRRP接口的链路状态不可用。 Specific content announcement packet may include information: IP address of the device sending VRRP advertisement routing information packets, i.e., IP address of the VRRP routing device 2 10. 2. 2. 2; IP network routing device 2 VRRP VRRP interface resides address and subnet mask 192. 1.0 168. 255. 255. 255. 0; VRRP VRRP state of link routing device 2 is unavailable. 在通告信息报文中还可以包括接收通告信息报文的汇聚设备2的IP地址10. 2. 2. I0 Aggregation device announcement information packet may further include receiving advertisement information packet IP address 2 10. 2. 2. I0

[0065] 步骤207 :汇聚设备2收到VRRP路由设备2发来的通告信息报文,确定通告信息报文中含有的该VRRP路由设备的VRRP接口的的链路状态不可用,则将在步骤201中汇聚设备2配置的静态路由表中指向发送所述通告信息报文的VRRP路由设备的VRRP接口所在网络的、且下一跳为所述VRRP路由设备的静态路由的属性信息置为不可用,具体实现时,汇聚设备2先从通告信息报文中获取发送通告信息报文的VRRP路由设备的IP地址10. 2. 2.2以及VRRP路由设备的VRRP接口所在网络的IP地址192. 168. 1.0和子网掩码255. 255. 255. 0,再查找汇聚设备2配置的静态路由表,将静态路由属性信息中的指定VRRP 路由设备与发送通告信息报文的VRRP路由设备相一致、且静态路由的目的网络的IP地址和子网掩码与通告信息报文中的VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码相一致的静态路由的属性信 [0065] Step 207: the convergence device 2 receives the routing device 2 VRRP advertisement message sent by the packet, determining the link status of a VRRP interface device of the VRRP advertisement routing information contained in the packet is not available, then at step 201 in static convergence device 2 configured to send the routing table to the VRRP network interface resides VRRP advertisement routing device information message, and the attribute information of the next hop of the static route set VRRP routing device as unavailable 2.2.2 IP address and a network 10. the interface resides VRRP VRRP VRRP routing the IP address of the routing device, specific implementation, the convergence device 2 start notification information packet acquiring announcement information transmitted packets 192. 168. 1.0 255. 255. 255.0 and subnet mask, and then find the aggregation device 2 configured static route table, would be consistent with the specified device transmits the routing VRRP advertisement message packet routing static attribute information VRRP routing device, and the static route attribute information of the destination IP address and subnet mask of the network consistent with the IP address and subnet mask of the network device VRRP advertisement routing information packets VRRP interface resides static route 置为不可用。 It is set as unavailable. 这里,汇聚设备2配置的静态路由表中与此通告信息报文对应的静态路由为步骤201中配置的目的网络的IP地址为192. 168. 1.0,子网掩码为255. 255. 255.0,静态路由的属性信息为:若接收到指定VRRP路由设备,即IP地址为10. 2. 2. 2的VRRP路由设备2发来的链路状态可用的通告信息报文后将该静态路由置为可用,若接收到指定VRRP路由设备,即IP地址为10. 2. 2. 2的VRRP路由设备2发来的链路状态不可用的通告信息报文后将该静态路由置为不可用的静态路由。 Here, the aggregation device 2 configured with a static routing table that this notice static routing packets to the IP address corresponding to the destination network 201 is configured in step 192. 168. 1.0 255. 255. 255.0 subnet mask, attribute information of static routes is: when receiving the specified VRRP routing device, i.e. the IP address of the routing device 10. the VRRP 2.2.2 2 sent link state advertisement information available after packet is set to the static route available, upon receiving the specified VRRP routing device, i.e., the static IP address is set to the route information of the VRRP advertisement routing device 10. 2. 2 2. 2 link state sent unavailable unavailable static routing. 因此,将该静态路由置为不可用。 Thus, the static route is set unavailable. 这时,汇聚设备2不会将汇聚设备2配置的静态路由表中指向发送所述通告信息报文的VRRP路由设备的VRRP接口所在网络的、且下一跳为所述VRRP路由设备的静态路由通告给汇聚设备2所在网络中的所有设备,但是,如果汇聚设备2在收到该通告信息报文之前,已经将汇聚设备2配置的静态路由表中指向发送所述通告信息报文的VRRP路由设备的VRRP接口所在网络的、且下一跳为所述VRRP路由设备的静态路由通告给汇聚设备2所在网络中的所有设备,例如,VRRP路由设备2之前为主控路由设备,后来变为备份路由设备的情况,这时,汇聚设备2要将汇聚设备2配置的静态路由表中指向发送所述通告信息报文的VRRP路由设备的VRRP接口所在网络的、且下一跳为所述VRRP路由设备的静态路由不可用的信息通告给汇聚设备2所在网络中的所有设备,具体实现方式可以为,确定该静态路 In this case, the device 2 will not converge convergence device 2 configured static routing table points to the sending VRRP advertisement network interface resides VRRP packet routing device information of the next hop of the static route routing device VRRP aggregation advertised to all devices in the network device 2 is located, however, if the convergence device 2 prior to receiving the notification information packet aggregation device 2 has been configured static route table to the routing information transmitted to the VRRP advertisement packets VRRP network device interface belongs, and the next hop of the static route VRRP advertisement routing device 2 is located to all devices in the network aggregation device, e.g., prior to routing device 2 as the master VRRP routing device, then the backup becomes the routing device, this time, the convergence device 2 to static convergence device 2 configured to send the routing table to the VRRP network interface resides VRRP advertisement routing information message device, and the next hop of the routing VRRP static route advertisement information is unavailable to all network devices 2 is located in the aggregation device, it may be a specific implementation, the static path determination 不可用后,就直接通告汇聚设备2所在网络的动态路由协议撤销该静态路由对应的路由信息即可。 After unavailable, a dynamic routing protocol directly advertised aggregation network device 2 where the static route withdraw corresponding to the routing information.

[0066] 在该步骤中,还要考虑一种情况:若汇聚设备既没有收到指定的VRRP路由设备发来的由汇聚设备指向VRRP路由设备的VRRP接口所在网络的、下一跳为VRRP路由设备的静态路由为可用的通告信息报文,也没有收到为不可用的通告信息报文,则将该静态路由的属性信息置为不可用,这种情况在实际应用中出现的概率很小,主要考虑为路由表错误或者其他网络错误情况。 [0066] In this step, consider a situation: If the aggregation device receives neither aggregation network of the routing device of VRRP pointing device interface resides VRRP VRRP specified routing device sent to the next hop route for the VRRP static routing device is available notification information packet is not received notification information packet is not available, then the attribute information is set static routes is not available, the probability of this happening is very small in the practical application The main consideration for the routing table errors or other network error conditions.

[0067] 在本实施例中VRRP路由设备除了在初始运行VRRP协议,选举出主控VRRP路由设备之后,各VRRP路由设备需要根据自身的VRRP路由设备状态发送相应的通告信息报文,即主控路由设备状态的VRRP路由设备发送链路状态可用的通告信息报文,非主控路由设备状态的VRRP路由设备发送链路状态不可用的通告信息报文之外,在VRRP路由设备的VRRP 路由设备状态发生改变时,发生状态改变的VRRP路由设备也需要向指定上游设备发送相应的通告信息报文。 [0067] In addition to the routing device VRRP after the initial running VRRP protocol, the election of the master VRRP routing devices, each device needs to send a corresponding route VRRP advertisement packet according to the information VRRP state routing apparatus itself in the present embodiment, i.e., the master VRRP outside the routing device transmits a link state routing device status notification information packet is available, the non-master VRRP state routing device sending link-state routing device unavailable notification information packet, the routing device in the VRRP VRRP routing device when the state changes, the routing device VRRP state change occurs it is also need to send notification information packet corresponding to the designated upstream device. 例如,如果VRRP路由设备2由非主控路由设备状态变为主控路由设备状态,则需要向汇聚设备2发送链路状态可用的通告信息报文,相应的,VRRP路由设备1则由主控路由设备状态变为备份路由设备状态,即非主控路由设备状态,则需要向汇聚设备1 发送链路状态不可用的通告信息报文。 For example, if the routing device VRRP master device 2 by the non-state routing device becomes the master routing state, it is necessary to send link status aggregation apparatus 2 notification information packet is available, the appropriate, the routing device 1 by the master VRRP the routing device state to the backup state routing device, routing device, i.e., non-master state, the notification information packet need not be used to send a link status aggregation device. 也就是说,各VRRP路由设备仅在初始确定出VRRP 路由设备状态时以及VRRP路由设备状态发生改变时,需要向指定汇聚设备发送通告信息报文,相应的,指定汇聚设备在收到通告信息报文后,根据通告信息报文中的链路状态是否可用做出相应的处理:如果汇聚设备收到链路状态可用的通告信息报文,则将对应的静态路由的属性信息置为可用,并将对应的静态路由通告给所在网络中的其他设备;如果汇聚设备收到链路状态不可用的通告信息报文,则将对应的静态路由的属性信息置为不可用。 That is, each VRRP routing device only when it is determined that the initial state of the routing device and VRRP VRRP routing device state changes, the need to specify the aggregation device transmits advertisement information messages, and correspondingly, the aggregation device receives advertisement information specified in the message hereinafter, according to the link state advertisement information is available in the packet accordingly: If the aggregation device receives the link state advertisement information packets available, then the corresponding static attribute information set route is available, and the corresponding static route advertised to other devices located in the network; if the aggregation device receives the attribute information is set the link state advertisement information packet is unavailable, then the corresponding static routes is not available.

[0068] 上面的实施步骤描述的是在局域网网络链路正常时的情况,下面结合网络中可能出现的各种网络故障进行如下分析: [0069] 故障1 :VRRP路由设备1和接入交换机之间连接线101物理层故障。 [0068] The procedure described above is the case when the local area network link is normal, below in connection with a variety of network failure in the network may occur are analyzed as follows: [0069] Fault 1: 1 and the VRRP routing device of the access switch connection line 101 between the physical layer fault.

[0070] 由于VRRP路由设备1和接入交换机之间连接线101物理层故障,因此VRRP路由设备2升级成为主控路由设备,VRRP路由设备1变为处于初始状态的非主控路由设备。 [0070] Since the connecting line between the physical layer failure VRRP routing device 1 and the access switch 101, the routing device 2 VRRP upgrade becomes a master routing device, the routing device 1 becomes non VRRP master routing device in an initial state. VRRP 路由设备2向汇聚设备2发送链路状态可用的通告信息报文,因此汇聚设备2确定静态路由表中指向发送所述通告信息报文的VRRP路由设备的VRRP接口所在网络的、且下一跳为所述VRRP路由设备的静态路由变为可用,将该静态路由的属性信息置为可用,并将该静态路由通告给汇聚设备2所在网络的所有设备,使汇聚设备2所在网络的所有设备学习到这条静态路由对应的路由信息。 VRRP routing device 2 sends link state advertisement aggregation apparatus 2 Available information packets, determining a static convergence device 2 transmits the routing table to the VRRP network interface resides VRRP advertisement routing information message device, and the next jumps to the static route is available VRRP routing device, to be available, and the attribute information of the advertisement counter of the static route static routes to all devices on the distribution network where the device 2, device 2 is located so that the convergence of all network devices learn routing information corresponding to this static route. VRRP路由设备1则向汇聚设备1发送链路状态不可用的通告信息报文,因此汇聚设备1确定静态路由表中指向发送所述通告信息报文的VRRP路由设备的VRRP接口所在网络的、且下一跳为所述VRRP路由设备的静态路由变为不可用,于是撤销之前重分发到所在网络的动态路由中的静态路由,其撤销过程是在确定该静态路由不可用后,就不会将该静态路由重分发到所在网络的动态路由协议中,所述动态路由协议可以为OSPF协议,也可以为其他协议。 VRRP routing device 1 transmits a link-state convergence device unavailable notification information packets, the convergence device 1 determines the static routing table points to the sending VRRP advertisement network interface resides VRRP routing device information message, and the next hop is a static route VRRP routing device becomes unavailable, then redistributed into dynamic routing in the network where the static route before cancellation, which is determined after the revocation process the static route is not available, would not the static route redistributed into dynamic routing protocol in the network is located, the dynamic routing protocol OSPF protocol may be, as other protocols may be. 然后由动态路由协议自行通告其他网络设备取消这个静态路由对应的路由信息。 Then the dynamic routing protocol other network devices advertise their own routing information to cancel the corresponding static routes. 这样一来,外部网络访问局域网的业务转发路径就可以正确切换到汇聚设备2到VRRP路由设备2的链路上来。 Thus, external access to the LAN network traffic transfer path can switch to the correct device link aggregation up to 2 VRRP routing device 2.

[0071] 故障2 =VRRP路由设备1和接入交换机之间连接线101故障,但物理层没有故障。 [0071] 2 = VRRP fault routing device 1 is connected between line 101 and the access switch failure, but the physical layer is no fault.

[0072] 由于VRRP路由设备1和接入交换机之间连接线101故障,所以VRRP路由设备2 成为主控路由设备,VRRP路由设备1由于与终端设备之间的链路检测故障,因此变为备份路由设备,各汇聚设备和VRRP路由设备的执行操作步骤与故障1相同。 [0072] Since the connecting line 101 between the VRRP fault routing device 1 and the access switch, the routing device 2 becomes a master VRRP routing device, the routing device 1 VRRP detecting a fault due to a link between the terminal device, and therefore become a backup the procedure is performed in the same fault routing device, each of the convergence device 1 and VRRP routing device.

[0073] 故障3 =VRRP路由设备2和接入交换机之间连接线102物理层故障。 [0073] 3 = VRRP fault cable routing device 102 and the physical layer 2 access switch between failures.

[0074] 此时,VRRP路由设备1仍为主控路由设备,VRRP路由设备2变为处于初始状态的非主控路由设备,各汇聚设备和VRRP路由设备的执行操作步骤同局域网网络链路正常的情况一样。 [0074] In this case, the routing device 1 remains the master VRRP routing device, routing device 2 becomes non VRRP master routing device in an initial state, operation steps of each VRRP aggregation device and the routing device with local area network link is normal the same situation.

[0075] 故障4 =VRRP路由设备2和接入交换机之间连接线102故障,但物理层没有故障。 [0075] 4 = VRRP fault routing device connected between the fault line 102 and the access switch 2, but the physical layer is no fault.

[0076] VRRP路由设备1仍为主控路由设备,VRRP路由设备2由于与终端设备之间的链路检测故障,因此还是为非主控路由设备,各汇聚设备和VRRP路由设备的执行操作步骤同局域网网络链路正常的情况一样。 [0076] Routing device 2 VRRP fault detecting a link between the terminal device 1 remains due master routing device VRRP routing device, or perform steps so non-master routing device, each of the convergence device and VRRP routing device the same local area network link as a normal situation.

[0077] 故障5 =VRRP路由设备1整机故障。 [0077] 5 = VRRP fault routing device 1 machine failure.

[0078] VRRP路由设备1整机故障时,汇聚设备1上基于外部网络到局域网网络接入链路的BFD协议可检测出链路故障,汇聚设备1的静态路由表中对应的静态路由由于下一跳不可达直接确定变为不可用,因此汇聚设备1撤销之前重分发到所在网络的动态路由协议的路由表中的静态路由。 [0078] When the routing device 1 VRRP machine failure, the convergence device 1 to the external network based local area network access link BFD protocols may detect link failure static routing, static routing table convergence device 1, since the corresponding determining hop is reachable directly becomes unavailable, thus re-distributed to the network where the dynamic routing protocol in the routing table before the routing static convergence device 1 revoked. VRRP路由设备2变为主控路由设备,向汇聚设备2发送链路状态可用的通告信息报文,汇聚设备2确定静态路由表中对应的静态路由变为可用,并将该静态路由重分发到所在网络的动态路由协议的路由表中,使所在网络的其他设备学习到这个静态路由对应的路由信息,并使用该路由信息对应的路径转发报文。 The routing device 2 becomes the master VRRP routing device to the aggregation device 2 transmits link state advertisement information packets available, static routing convergence device 2 determines the corresponding static routing table becomes available, and to distribute the static re-routing dynamic routing protocols on your network routing table, the other devices on your network to learn the routing information corresponding static routing, and use the path to the routing information corresponding to forward packets. 这样一来,外部网络访问局域网的业务转发路径就可以正确切换到汇聚设备2到VRRP路由设备2的链路上来。 Thus, external access to the LAN network traffic transfer path can switch to the correct device link aggregation up to 2 VRRP routing device 2.

[0079] 故障6 =VRRP路由设备2整机故障。 [0079] 6 = VRRP fault routing device 2 machine failure.

[0080] VRRP路由设备1仍为主控路由设备,VRRP路由设备2整机故障,因此汇聚设备2 上基于外部网络到局域网网络接入链路的BFD协议可检测出链路故障,汇聚设备2的静态路由表中对应的静态路由由于下一跳不可达直接确定变为不可用,。 [0080] The routing device 1 is still the master VRRP routing device, routing device 2 VRRP fault machine, thus convergence device 2 based on the external network to the LAN network access link BFD protocols may detect link failure, convergence device 2 static routing table corresponding to the static route since the next hop is determined directly unreachable becomes unavailable. 因此,外部网络访问局域网的业务转发路径仍然采用汇聚设备1到VRRP路由设备1的链路。 Therefore, the external access to the LAN network traffic forwarding path still uses link aggregation device 1 to VRRP routing device 1.

[0081] 故障7 :终端设备连接线103或104故障或终端设备故障。 [0081] Fault 7: terminal device 104 connected to line 103 or the terminal device failure or malfunction.

[0082] 由于局域网网络中存在其他终端设备,因此,VRRP路由设备1仍为主控路由设备, VRRP路由设备2仍为备份路由设备,各汇聚设备和VRRP路由设备的执行操作步骤同局域网网络链路正常的情况一样。 [0082] due to other LAN terminal devices in the network, thus performing the steps VRRP master routing device 1 is still a routing device, routing device 2 remains VRRP backup routing device, and each VRRP convergence device with local area network routing devices chain the same way normal.

[0083] 在本发明实施例中,还可以在通告信息报文不包括发送VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码,而由汇聚设备事先为其连接的各个VRRP路由设备配置好各VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码。 [0083] In an embodiment of the present invention may also be in the announcement information message does not include an IP address and subnet mask of the network routing device for sending VRRP VRRP interface resides, and each VRRP routing device is configured by aggregation device prior to its connection good IP address and subnet mask for each network device VRRP VRRP routing interface resides.

[0084] 由此可见,采用本发明实施例提供的方法,可以在VRRP状态发生切换时,及时通知上游设备,使上游设备可以选择正确的路由,在本实施例中只有主控路由设备向汇聚设备通告链路状态可用,这样汇聚设备所在网络中有且只有一条静态路由,因此在汇聚设备上无需再为重分发的静态路由配置路由权重值,就可以保证汇聚设备所在网络的所有设备都可以实现正确的路由,而且面对各种网络故障,都可以实现正确的路由,从而减轻了手工配置工作量,提高了效率,也简化了网络拓扑。 [0084] Thus, the method according to an embodiment of the present invention, the VRRP state switching occurs, notify the upstream device, the upstream device may select the correct route, only the master routing device to the sink in the present embodiment, device advertises link state available so that aggregation network equipment is located in one and only one static routing, and therefore no longer need to configure weight values ​​routing metric static route redistribution on a convergence device, you can ensure that all devices on the distribution network equipment is located can be achieve the correct route, but also face a variety of network failure, it can achieve the correct routing, thereby reducing the manual configuration workload, improve efficiency, but also simplifies the network topology.

[0085] 本发明实施例还提供了一种发送虚拟路由设备冗余协议VRRP状态信息的装置, 如图3所示,包括: [0085] Embodiments of the invention also provides an apparatus for transmitting Virtual Router Redundancy Protocol VRRP device status information, shown in Figure 3, comprising:

[0086] VRRP状态判断单元31,与通告信息报文发送单元32相连,用于判断自身在多个VRRP路由设备组成的虚拟路由设备中的VRRP路由设备状态; [0086] VRRP state determining means 31, and the notification information packet sending unit 32 is connected, for determining the state of the device itself VRRP routers in multiple VRRP virtual routing device consisting of a routing device;

[0087] 通告信息报文发送单元32,与VRRP状态判断单元31相连,用于在VRRP路由设备状态发生改变时发送通告信息报文,若由非主控路由设备状态变为主控路由设备状态,则向指定汇聚设备发送链路状态可用的通告信息报文;若由主控路由设备状态变为非主控路由设备状态,则向指定汇聚设备发送链路状态不可用的通告信息报文。 [0087] The announcement information packet sending unit 32, and the VRRP state determining unit 31 is connected, for transmitting the announcement information packet routing device when the VRRP state changes, when a non-master state routing state becomes the master routing device , the convergence devices available to a designated sending link-state advertisement information messages; if the master device is rendered non-master state routing state routing device, the advertisement information can not be used to specify packet aggregation device transmits the link status.

[0088] 进一步的,VRRP状态判断单元还用于检测VRRP路由设备到终端设备的链路状态是否正常,如果检测结果为故障,则不允许成为主控路由设备。 [0088] Further, the status determination unit is further configured VRRP VRRP detecting the link state routing device to the terminal device is normal, if the detection result is failure, the routing device is not allowed to become a master. [0089] 进一步的,所述VRRP路由设备还可以包括配置单元33,与通告信息报文发送单元32相连,用于配置自身VRRP接口所在网络的IP地址和子网掩码,并指定接收通告信息报文的汇聚设备的IP地址,并且通告信息报文中进一步包括接收通告信息报文的汇聚设备的IP地址。 [0089] Further, the routing device may further comprise VRRP configuration unit 33 connected with the notification information packet sending unit 32, configured for IP address and subnet mask of the network where the interface itself VRRP, and packets designated to receive announcement information IP address of the packet aggregation device, and announcing the IP address of the information packet further comprises receiving the device information announcement message aggregation of.

[0090] 本发明实施例还提供了一种VRRP路由设备,包括上述任一发送虚拟路由设备冗余协议VRRP状态信息的装置。 [0090] Embodiments of the present invention further provides a VRRP routing apparatus comprising transmitting means any preceding Virtual Router Redundancy Protocol VRRP state information.

[0091] 本发明实施例提供了一种接收虚拟路由设备冗余协议VRRP状态信息的装置,如图4所示,包括: [0091] Example embodiments provide an apparatus for receiving Virtual Route Redundancy Protocol VRRP state information, the present invention is shown in FIG. 4, comprising:

[0092] 存储单元41,与路由处理单元42相连,用于保存静态路由表,所述静态路由表中包含指向与通告信息报文接收单元43相连的VRRP路由设备的VRRP接口所在网络的静态路由以及所述静态路由的属性信息; [0092] The storage unit 41, the routing processing unit 42 is connected, for storing static routing table, the static routing table contains static routing network routing device of VRRP advertisement information pointing to the packet receiving unit 43 is connected to the interface where the VRRP and attribute information of the static route;

[0093] 通告信息报文接收单元43,与路由处理单元42相连,用于接收VRRP路由设备发送的通告信息报文,并确定该VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码; [0093] The announcement information packet receiving unit 43, the routing processing unit 42 is connected, a routing device for receiving a VRRP advertisement message sent packets and determines the IP address and subnet mask of the network device routing VRRP VRRP interface resides;

[0094] 路由处理单元42,与存储单元41和通告信息报文接收单元43相连,用于确定所述通告信息报文中含有的VRRP路由设备的VRRP接口的链路状态是否可用,如果可用,则将存储单元41保存的静态路由表中指向发送所述通告信息报文的VRRP路由设备的VRRP接口所在网络的、且下一跳为所述VRRP路由设备的静态路由的属性信息置为可用,并将所述静态路由通告给当前所在网络中的所有设备;如果不可用,则将所述静态路由的属性信息置为不可用。 [0094] The routing processing unit 42, a storage unit 41 and the notification information packet receiving unit 43 is connected, for determining whether the link state advertisement VRRP VRRP interface devices routing information contained in the packet is available, if available, attribute information storage unit 41 will set the static routing table stored in the advertisement transmission point to the network interface resides VRRP VRRP packet routing device information of the next hop of the routing device VRRP static routes is available, and the static route advertisement is currently located to all devices in the network; if not available, set the attribute information of the static routes will be unavailable.

[0095] 进一步的,所述存储单元41,还用于保存各VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码;则所述通告信息报文接收单元43,用于收到通告信息报文后,直接确定发送通告信息报文的VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码。 [0095] Further, the storage unit 41 is further configured IP address and subnet mask of each VRRP routing network storage device where a VRRP interface; if the advertisement information packet receiving unit 43, to receive announcement information after the message, directly determine the IP address and subnet mask of VRRP network routing device sends notification information packet VRRP interface resides.

[0096] 进一步的,所述通告信息报文还可以包括:发送通告信息报文的VRRP路由设备的IP地址、所述VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码、所述VRRP接口的链路状态可用或不可用;则所述通告信息报文接收单元43,用于从通告信息报文中获取所述VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码。 [0096] Further, the notification information packet may further include: IP address of the device sending VRRP advertisement routing information message, the network routing device VRRP VRRP interface resides IP address and subnet mask, the VRRP the state of link available or unavailable; then the advertisement information packet receiving unit 43, configured to obtain an IP address and subnet mask of the network device routing VRRP VRRP advertisement from an interface where the information packet.

[0097] 进一步的,所述路由处理单元42,用于将存储单元保存的静态路由表中指向发送所述通告信息报文的VRRP路由设备的VRRP接口所在网络的、且下一跳为所述VRRP路由设备的静态路由重分发到当前所在网络的动态路由表中,所述动态路由表用于提供给当前所在网络的设备学习。 [0097] Further, the routing processing unit 42, stored in the storage unit for the static routing table points to the sending VRRP advertisement network interface resides VRRP routing device information message, and the next hop is VRRP static route is redistributed into the routing device is currently located in the dynamic routing table of the network, said dynamic routing table to the current device for providing a learning network is located.

[0098] 若所述通告信息报文中含有的VRRP路由设备的VRRP接口的链路状态不可用,并且路由处理单元42在收到所述通告信息报文之前已经将存储单元41保存的静态路由表中指向发送所述通告信息报文的VRRP路由设备的VRRP接口所在网络的、且下一跳为所述VRRP路由设备的静态路由通告给当前所在网络中的所有设备,则路由处理单元42在将汇聚设备保存的静态路由表中指向发送所述通告信息报文的VRRP路由设备的VRRP接口所在网络的、且下一跳为所述VRRP路由设备的静态路由的属性信息置为不可用时,进一步用于:通知当前所在网络撤销指向发送所述通告信息报文的VRRP路由设备的VRRP接口所在网络的、且下一跳为所述VRRP路由设备的、已经通告给当前所在网络中所有设备的静态路由对应的路由信息。 [0098] When the link state advertisement VRRP VRRP interface devices routing information contained in the packet is unavailable, the routing processing unit 42 and the storage unit 41 has stored the advertisement information before receiving the packet static route table to the transmitting network advertisement information to the packet routing device VRRP VRRP interface resides, and the next hop of the static route routing device VRRP advertisement is currently located to all devices in the network, the routing processing unit 42 attribute information of the device is set to save the convergence point static routing table to send the advertised network interface resides VRRP VRRP packet routing device information of the next hop of the static route VRRP routing device is unavailable, further configured to: notify the current location point to the network to send the revocation VRRP network interface resides VRRP advertisement routing information message device, and the next hop of the routing device VRRP has been advertised to the static current location of all devices on the network routing information corresponding to the route. [0099] 本发明实施例还提供了一种汇聚设备,包括上述任一接收虚拟路由设备冗余协议VRRP状态信息的装置。 [0099] Embodiments of the present invention further provides a convergence device comprising a status information means VRRP virtual router redundancy protocol preceding receiving device.

[0100] 本发明实施例还提供了一种通知VRRP状态信息的系统,包括VRRP路由设备和汇聚设备,其中,VRRP路由设备,包括上述任一发送虚拟路由设备冗余协议VRRP状态信息的装置;汇聚设备,包括上述任一接收虚拟路由设备冗余协议VRRP状态信息的装置。 [0100] Embodiments of the present invention further provides a system for notification VRRP state information, and the routing device comprising a VRRP convergence device, wherein, the routing device VRRP, a virtual routing apparatus comprising transmitting any preceding Redundancy Protocol VRRP state information means; convergence device comprising means any preceding redundancy protocol VRRP virtual router device status information received. [0101] 显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。 [0101] Obviously, those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. 这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。 Thus, if these modifications and variations of the present invention fall within the claims of the invention and the scope of equivalents thereof, the present invention intends to include these modifications and variations.

Claims (17)

  1. 一种发送虚拟路由设备冗余协议VRRP状态信息的方法,其特征在于,该方法包括以下步骤:VRRP路由设备判断自身在多个VRRP路由设备组成的虚拟路由设备中的VRRP路由设备状态,当该VRRP路由设备的VRRP路由设备状态发生改变时,则向指定汇聚设备发送通告信息报文:若该VRRP路由设备由非主控路由设备状态变为主控路由设备状态,则向指定汇聚设备发送含有该VRRP路由设备的VRRP接口的链路状态可用的通告信息报文;若该VRRP路由设备由主控路由设备状态变为非主控路由设备状态,则向指定汇聚设备发送含有该VRRP路由设备的VRRP接口的链路状态不可用的通告信息报文。 One kind Redundancy Protocol VRRP virtual routing state information transmission device, characterized in that the method comprises the steps of: routing device determines itself VRRP VRRP routers the routing device in the virtual device state multiple VRRP routing device consisting of, when the VRRP state of VRRP routers the routing device when the device is changed, the convergence device sends packets to the specified announcement information: if the routing device by a non-master VRRP state routing device becomes a master state routing device, the transmission to the designated aggregation device comprising the link state routing device VRRP interfaces available VRRP advertisement information messages; if the routing device by the master VRRP state routing state becomes non-master routing device, the device transmits to the designated aggregation routing device comprising the VRRP VRRP state of link unavailable notification information packet.
  2. 2.如权利要求1所述的方法,其特征在于,在VRRP路由设备判断自身在多个VRRP路由设备组成的虚拟路由设备中的VRRP路由设备状态之前,检测该VRRP路由设备到终端设备的链路状态是否正常,如果检测结果为故障,则不允许成为主控路由设备。 2. The method according to claim 1, characterized in that, prior to routing VRRP virtual device state routing device itself in the plurality of VRRP routing device consisting of a routing device determines the VRRP, VRRP detects the routing device to the terminal device chain whether the road is normal, if the test result is a failure, it can not become the master routing equipment.
  3. 3.如权利要求1所述的方法,其特征在于,在VRRP路由设备判断自身在多个VRRP路由设备组成的虚拟路由设备中的VRRP路由设备状态的步骤之前,进一步包括:所述VRRP路由设备配置自身的VRRP接口所在网络的IP地址和子网掩码,并指定接收通告信息报文的汇聚设备的IP地址,则发送的通告信息报文中进一步包括接收通告信息报文的汇聚设备的IP地址。 3. The method according to claim 1, characterized in that, prior to the step of routing VRRP virtual device state routing apparatus itself in the plurality of VRRP routing device consisting of a routing device determines the VRRP, further comprising: said routing device VRRP Configuring its own IP address and subnet mask of the network interface resides VRRP, and designated to receive advertisement information advertised IP address, the IP address information of the packet aggregation device, the transmitted information further comprises receiving advertisement packet aggregation device .
  4. 4. 一种接收虚拟路由设备冗余协议VRRP状态信息的方法,其特征在于,包括:汇聚设备接收VRRP路由设备发送的含有该VRRP路由设备的VRRP接口的链路状态的通告信息报文,并确定该VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码;如果确定所述通告信息报文中含有的VRRP路由设备的VRRP接口的链路状态可用, 则将汇聚设备保存的静态路由表中对应的静态路由的属性信息置为可用,并将所述静态路由通告给汇聚设备所在网络中的其他设备,所述静态路由表中包含指向与汇聚设备相连的VRRP路由设备的VRRP接口所在网络的静态路由以及所述静态路由的属性信息;如果确定所述通告信息报文中含有的VRRP路由设备的VRRP接口的链路状态不可用, 则将所述静态路由的属性信息置为不可用。 A state information received VRRP virtual router redundancy protocol, characterized by, comprising: a link state of the VRRP VRRP interface convergence device routing device receives the routing device sending VRRP advertisement information messages, and determining IP address and subnet mask of the network device routing VRRP VRRP interface resides; if determined that the link state advertisement VRRP VRRP interface devices routing information contained in the packet is available, the routing table stored in the device will be static convergence VRRP network location corresponding to attribute information set in the static route is available, and the static route advertisement to other network devices located in the convergence device, the static routing table contains the routing VRRP pointing device connected to the convergence device interface static routing, and the attribute information of the static route; if determined that the link state advertisement VRRP VRRP interface devices routing information contained in the packet is unavailable, the attribute information is set then the static route is unavailable.
  5. 5.如权利要求4所述的方法,其特征在于,确定该VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码的步骤的实现方式包括:汇聚设备上根据保存的各VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码, 确定发送通告信息报文的VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码。 5. The method according to claim 4, wherein the step of determining the implementation of an IP address and subnet mask of the network device routing VRRP VRRP interface resides comprising: a convergence apparatus according to the routing device stored in each of the VRRP IP address and subnet mask of the network where VRRP interfaces, send notices to determine the IP address and subnet mask of network equipment VRRP routing information packets VRRP interface resides.
  6. 6.如权利要求4所述的方法,其特征在于,所述通告信息报文还进一步包括:发送通告信息报文的VRRP路由设备的IP地址、所述VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码;则确定该VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码的步骤的实现方式包括:汇聚设备从所述通告信息报文中获取所述VRRP路由设备的VRRP接口所在网络的IP 地址和子网掩码。 6. The method according to claim 4, wherein said advertisement information packet further comprising: IP IP address of the VRRP routing device transmits the notification information packet, the VRRP network routing device interface resides VRRP address and subnet mask; implementations of IP address and subnet mask step of determining that the routing device VRRP VRRP network interface resides comprising: interface of the convergence device acquires VRRP VRRP routing device from the advertisement information message IP address and subnet mask on your network.
  7. 7.如权利要求4所述的方法,其特征在于,若所述通告信息报文中含有的VRRP路由设备的VRRP接口的链路状态不可用,并且汇聚设备在收到所述通告信息报文之前已经将汇聚设备保存的静态路由表中对应的静态路由通告给汇聚设备所在网络中的其他设备,则将所述静态路由的属性信息置为不可用的步骤之后还包括:汇聚设备通知汇聚设备所在网络撤销所述静态路由对应的路由信息。 7. The method according to claim 4, wherein, if the link state advertisement VRRP VRRP interface devices routing information contained in the packet is unavailable, and the aggregation device receives the advertisement information packets aggregation device has previously been stored in the static routing table corresponding to the static route advertisement to other network devices in the convergence device is located, then the attribute information of the static route set not after the step of further comprising: a convergence device aggregation device notifications where network routing information of the revocation of the corresponding static routes.
  8. 8. —种发送虚拟路由设备冗余协议VRRP状态信息的装置,其特征在于,包括:VRRP状态判断单元,用于判断自身在多个VRRP路由设备组成的虚拟路由设备中的VRRP路由设备状态; 通告信息报文发送单元,用于在VRRP路由设备状态发生改变时发送通告信息报文,若由非主控路由设备状态变为主控路由设备状态,则向指定汇聚设备发送链路状态可用的通告信息报文;若由主控路由设备状态变为非主控路由设备状态,则向指定汇聚设备发送链路状态不可用的通告信息报文。 8. - Redundancy Protocol VRRP virtual state of the device information transmits a routing device types, characterized by comprising: VRRP state determining means for determining the state of the routing device VRRP virtual routing apparatus itself in the plurality of VRRP routing device consisting of; notification information packet sending unit, configured to, when the device state is changed the routing VRRP advertisement message transmitted packets of a non-master state if the route is the route master device state, the device transmits to the specified link state aggregation available advertisement information messages; if the master device is rendered non-master state routing state routing device, the notification information packet to the specified unavailable device sends link state aggregation.
  9. 9.如权利要求8所述的装置,其特征在于,VRRP状态判断单元进一步用于检测到终端设备的链路状态是否正常,如果检测结果为故障,则不允许成为主控路由设备。 9. The apparatus according to claim 8, characterized in that, the VRRP state determining unit is further used to detect whether the link state of the terminal device normally, if the detection result is failure, the routing device is not allowed to become a master.
  10. 10.如权利要求8所述的装置,其特征在于,还包括:配置单元,用于配置自身VRRP接口所在网络的IP地址和子网掩码,并指定接收通告信息报文的汇聚设备的IP地址,则所述通告信息报文进一步包括接收通告信息报文的汇聚设备的IP地址。 10. The apparatus according to claim 8, characterized in that, further comprising: a configuration unit for configuring the IP address and subnet mask of the network where the interface itself VRRP, and specify the IP address of the aggregation device receives the route information packets , then the advertisement information packet further comprises an IP address information receiving apparatus advertisement aggregation of packets.
  11. 11. 一种接收虚拟路由设备冗余协议VRRP状态信息的装置,其特征在于,包括:存储单元,用于保存静态路由表,所述静态路由表中包含指向与通告信息报文接收单元相连的VRRP路由设备的VRRP接口所在网络的静态路由以及所述静态路由的属性信息;通告信息报文接收单元,用于接收VRRP路由设备发送的通告信息报文,并确定该VRRP 路由设备的VRRP接口所在网络的IP地址和子网掩码;路由处理单元,用于确定所述通告信息报文中含有的VRRP路由设备的VRRP接口的链路状态是否可用,如果可用,则将存储单元保存的静态路由表中对应的静态路由的属性信息置为可用,并将所述静态路由通告给当前所在网络中的其他设备;如果不可用,则将所述静态路由的属性信息置为不可用。 11. An apparatus Redundancy Protocol VRRP state information received virtual routing device, characterized by comprising: a storage unit for storing static routing table, the static routing table contains pointers to the announcement information receiving unit connected to packet attribute information of the VRRP static routing network routing device and VRRP interfaces where the static route; notification information packet receiving unit, for receiving a VRRP advertisement message routing device transmitting the packet, and determines a VRRP interface where the VRRP routing device IP address and subnet mask of the network; routing processing unit for determining whether the link state advertisement VRRP VRRP interface devices routing information contained in the packet is available, if available, will be stored in the storage unit static routing table attribute information set corresponding static routes is available, and the static route advertisement to other network devices currently located; if not available, set the attribute information of the static routes will be unavailable.
  12. 12.如权利要求11所述的装置,其特征在于,所述存储单元,用于进一步保存各VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码;则所述通告信息报文接收单元,用于根据所述存储单元保存的各VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码,确定发送通告信息报文的VRRP路由设备的VRRP 接口所在网络的IP地址和子网掩码。 12. The apparatus of claim 11, wherein said memory unit, for saving an IP address and subnet mask further network routing devices each VRRP VRRP interface resides; then the advertisement information message receiving unit , according to the IP address and subnet mask of each of the VRRP network routing device stored in the storage unit where a VRRP interface, determine the IP address and subnet mask of the network device sending VRRP advertisement message routing packets VRRP interface resides.
  13. 13.如权利要求11所述的装置,其特征在于,所述通告信息报文还进一步包括:发送通告信息报文的VRRP路由设备的IP地址、所述VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码;则所述通告信息报文接收单元,用于从通告信息报文中获取所述VRRP路由设备的VRRP接口所在网络的IP地址和子网掩码。 13. The apparatus of claim 11, wherein said advertisement information packet further comprising: IP IP address of the VRRP routing device transmits the notification information packet, the VRRP network routing device interface resides VRRP address and subnet mask; then the advertisement information message receiving unit, configured to obtain an IP address and subnet mask of the network device routing VRRP VRRP advertisement from an interface where the information packet.
  14. 14.如权利要求11所述的装置,其特征在于,所述路由处理单元,如果确定所述通告信息报文中含有的VRRP路由设备的VRRP接口的链路状态不可用,且在收到所述通告信息报文之前已经将存储单元保存的静态路由表中对应的静态路由通告给当前所在网络中的其他设备,则进一步用于通知当前所在网络撤销所述静态路由对应的路由信息。 14. The apparatus of claim 11, wherein said routing processing unit, if determined that the link state advertisement VRRP VRRP interface devices routing information contained in the packet is unavailable, and the receipt of said advertisement advertised been stored in the storage unit corresponding to the static routing table static routes to other network devices currently located before the information packets, the network is further configured to notify the current location of the withdrawn route information corresponding to the static route.
  15. 15. 一种VRRP路由设备,其特征在于,包括如权利要求8至权利要求10任一所述的装置。 A VRRP routing apparatus, wherein, as claimed in claim 8 including means to claim any one of claims 10.
  16. 16. 一种汇聚设备,其特征在于,包括如权利要求11至权利要求14任一所述的装置。 16. A convergence device, characterized by comprising 11 to apparatus as claimed in claim any one of claims 14.
  17. 17. 一种通知VRRP状态信息的系统,包括VRRP路由设备和汇聚设备,其特征在于, VRRP路由设备,包括如权利要求8至权利要求10任一所述的装置;汇聚设备,包括如权利要求11至权利要求14任一所述的装置。 17. A VRRP state information notification system, comprising a routing device and VRRP convergence device, characterized in that, VRRP routing apparatus comprising as claimed in claim 8 to a device according to any one of claims 10; convergence device as claimed in claim comprising 14 an apparatus according to any one of claims 11 to.
CN 201010117142 2010-03-02 2010-03-02 Method, device and system for informing VRRP state information CN101841462B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010117142 CN101841462B (en) 2010-03-02 2010-03-02 Method, device and system for informing VRRP state information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010117142 CN101841462B (en) 2010-03-02 2010-03-02 Method, device and system for informing VRRP state information

Publications (3)

Publication Number Publication Date
CN101841462A true true CN101841462A (en) 2010-09-22
CN101841462K1 CN101841462K1 (en) 2010-09-22
CN101841462B CN101841462B (en) 2012-09-05

Family

ID=42744596

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010117142 CN101841462B (en) 2010-03-02 2010-03-02 Method, device and system for informing VRRP state information

Country Status (1)

Country Link
CN (1) CN101841462B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752152A (en) * 2012-07-24 2012-10-24 杭州华三通信技术有限公司 Method and device used for configuring VRRP (Virtual Router Redundancy Protocol) backup group
WO2012155299A1 (en) * 2011-05-19 2012-11-22 Telefonaktiebolaget L M Ericsson (Publ) Triggering a redundant router master/backup status change based on switch connectivity
CN103200093A (en) * 2013-03-05 2013-07-10 杭州华三通信技术有限公司 Method and device for improving processing performance of multiple virtual router redundancy protocol (VRRP) back-up sets
CN104506429A (en) * 2014-12-31 2015-04-08 瑞斯康达科技发展股份有限公司 Router backup set managing method, router and system
CN104579953A (en) * 2013-10-09 2015-04-29 中国移动通信集团广东有限公司 A method for releasing routing, and a virtual router redundancy protocol backup group and network

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1941769A (en) * 2005-10-01 2007-04-04 华为技术有限公司 Method for agenting or duplicating mobile resident point in mobile IPv6 network
CN101562576A (en) * 2009-05-27 2009-10-21 杭州华三通信技术有限公司 Route distribution method and equipment thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1941769A (en) * 2005-10-01 2007-04-04 华为技术有限公司 Method for agenting or duplicating mobile resident point in mobile IPv6 network
CN101562576A (en) * 2009-05-27 2009-10-21 杭州华三通信技术有限公司 Route distribution method and equipment thereof

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012155299A1 (en) * 2011-05-19 2012-11-22 Telefonaktiebolaget L M Ericsson (Publ) Triggering a redundant router master/backup status change based on switch connectivity
EP2710768A1 (en) * 2011-05-19 2014-03-26 Telefonaktiebolaget LM Ericsson (PUBL) Triggering a redundant router master/backup status change based on switch connectivity
CN103843286A (en) * 2011-05-19 2014-06-04 爱立信(中国)通信有限公司 Triggering a redundant router master/backup status change based on switch connectivity
US8780700B2 (en) 2011-05-19 2014-07-15 Telefonaktiebolaget L M Ericsson (Publ) Triggering a redundant router master/backup status change based on switch connectivity
EP2710768A4 (en) * 2011-05-19 2015-03-25 Ericsson Telefon Ab L M Triggering a redundant router master/backup status change based on switch connectivity
CN102752152A (en) * 2012-07-24 2012-10-24 杭州华三通信技术有限公司 Method and device used for configuring VRRP (Virtual Router Redundancy Protocol) backup group
CN102752152B (en) * 2012-07-24 2015-03-11 杭州华三通信技术有限公司 Method and device used for configuring VRRP (Virtual Router Redundancy Protocol) backup group
CN103200093A (en) * 2013-03-05 2013-07-10 杭州华三通信技术有限公司 Method and device for improving processing performance of multiple virtual router redundancy protocol (VRRP) back-up sets
CN103200093B (en) * 2013-03-05 2016-04-13 杭州华三通信技术有限公司 A method and apparatus to improve the processing performance of the plurality of backup group vrrp
CN104579953A (en) * 2013-10-09 2015-04-29 中国移动通信集团广东有限公司 A method for releasing routing, and a virtual router redundancy protocol backup group and network
CN104506429A (en) * 2014-12-31 2015-04-08 瑞斯康达科技发展股份有限公司 Router backup set managing method, router and system
CN104506429B (en) * 2014-12-31 2018-01-09 瑞斯康达科技发展股份有限公司 A method for managing router backup group, routers and systems

Also Published As

Publication number Publication date Type
CN101841462B (en) 2012-09-05 grant
CN101841462K1 (en) 2010-09-22 grant

Similar Documents

Publication Publication Date Title
Sharma et al. OpenFlow: Meeting carrier-grade recovery requirements
US20110032945A1 (en) Signaling of attachment circuit status and automatic discovery of inter-chassis communication peers
US6983294B2 (en) Redundancy systems and methods in communications systems
US20050135233A1 (en) Redundant routing capabilities for a network node cluster
US20030193890A1 (en) Methods and apparatus for improved failure recovery of intermediate systems
US20070245034A1 (en) Dynamically configuring and verifying routing information of broadcast networks using link state protocols in a computer network
US20110286457A1 (en) Methods and apparatus to route control packets based on address partitioning
US20090092043A1 (en) Providing an abstraction layer in a cluster switch that includes plural switches
US20070207591A1 (en) Technique for efficiently and dynamically maintaining bidirectional forwarding detection on a bundle of links
US20080253295A1 (en) Network system and node apparatus
US20060291378A1 (en) Communication path redundancy protection systems and methods
US20140029419A1 (en) System, method and apparatus providing mvpn fast failover
US20140369186A1 (en) Methods and systems with enhanced robustness for multi-chassis link aggregation group
US20150372902A1 (en) Traffic Recovery in Openflow Networks
CN102404216A (en) Method for TRILL (transparent interconnection of lots of links) network protection, routing bridge and system
JP2006229967A (en) High-speed multicast path switching
US20080225699A1 (en) Router and method of supporting nonstop packet forwarding on system redundant network
US20120069745A1 (en) Method and apparatus to improve ldp convergence using hierarchical label stacking
CN101051951A (en) Method and device for securing server connection reliability
CN101035019A (en) Fast convergence method and device of the end-to-end service
US20130185416A1 (en) Controlling an Apparatus
US7710899B1 (en) System and method for speeding border gateway protocol graceful restart
CN101217448A (en) A method and system to realize gateway dynamic load sharing
CN1933448A (en) Business fast convergent method and network equipment
CN101075933A (en) Method for studying MAC address and network element apparatus

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model
CF01