[go: up one dir, main page]

CN101692654B - Method, system and equipment for HUB-Spoken networking - Google Patents

Method, system and equipment for HUB-Spoken networking Download PDF

Info

Publication number
CN101692654B
CN101692654B CN200910180957A CN200910180957A CN101692654B CN 101692654 B CN101692654 B CN 101692654B CN 200910180957 A CN200910180957 A CN 200910180957A CN 200910180957 A CN200910180957 A CN 200910180957A CN 101692654 B CN101692654 B CN 101692654B
Authority
CN
China
Prior art keywords
hub
spoken
route
message
issue
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN200910180957A
Other languages
Chinese (zh)
Other versions
CN101692654A (en
Inventor
宋小恒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Ziguang Communication Technology Group Co ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN200910180957A priority Critical patent/CN101692654B/en
Publication of CN101692654A publication Critical patent/CN101692654A/en
Application granted granted Critical
Publication of CN101692654B publication Critical patent/CN101692654B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种HUB-Spoken组网的方法,应用于多个HUB PE连接同一Hub CE的HUB-Spoken组网中,包括:Spoken PE向每一HUB PE发布路由,并存储每一HUB PE发布的路由;当所述Spoken PE接收到CE侧发送的报文时,所述Spoken PE根据报文的目的地址匹配存储的路由信息,转发所述报文;当所述Spoken PE在预设时间内没有收到HUB PE发送的BFD报文时,所述Spoken PE判断该HUB PE故障,删除下一跳为该HUB PE的转发表项。本发明实现了对HUB-Spoken网络中的HUB PE的备份和保护。

Figure 200910180957

The invention discloses a HUB-Spoken networking method, which is applied to the HUB-Spoken networking in which multiple HUB PEs are connected to the same Hub CE, including: the Spoken PE publishes a route to each HUB PE, and stores each HUB PE Published route; when the Spoken PE receives the message sent by the CE side, the Spoken PE forwards the message according to the destination address of the message to match the stored routing information; when the Spoken PE is at the preset time When the BFD message sent by the HUB PE is not received, the Spoken PE judges that the HUB PE is faulty, and deletes the forwarding entry whose next hop is the HUB PE. The invention realizes the backup and protection of the HUB PE in the HUB-Spoken network.

Figure 200910180957

Description

一种HUB-Spoken组网的方法、系统及设备A method, system and equipment for HUB-Spoken networking

技术领域 technical field

本发明涉及通信领域,尤其涉及一种HUB-Spoken组网的方法、系统及设备。The present invention relates to the communication field, in particular to a HUB-Spoken networking method, system and equipment.

背景技术 Background technique

HUB-Spoken组网方式又称为中心服务器拓扑组网,如图1所示,包括中心Site(站点)HUB-Site和不处于中心的Site、即Spoken-Site。HUB-Site存储同一VPN内所有Spoken-Site的路由,Spoken-Site的流量通过HUB-Site到达目的地。The HUB-Spoken networking mode is also called the central server topology network, as shown in Figure 1, including the central Site (site) HUB-Site and the non-central Site, that is, the Spoken-Site. The HUB-Site stores the routes of all Spoken-Sites in the same VPN, and the traffic of the Spoken-Site reaches the destination through the HUB-Site.

现有的HUB-Spoken组网方式中只有一个HUB PE(Provider Edge Router,运营商边缘网络设备),其它均为Spoken PE。HUB PE上配置所有Spoken PE所在的VPN(Virtual Private Network,虚拟私有网),从而获知所有Spoken PE的路由信息,并将该路由信息发布到HUB CE(Customer Edge Router,用户侧边缘网络设备)。不同Spoken CE连接不同的Spoken PE,处于不同的VPN,彼此不知道对方的路由信息;因此,各个Spoken CE相互访问时,必须经过HUB CE,由HUB CE将访问报文由源Spoken CE转发到目的Spoken CE上,从而实现HUB CE对Spoken CE的集中控制。In the existing HUB-Spoken networking mode, there is only one HUB PE (Provider Edge Router, operator edge network equipment), and the others are all Spoken PEs. Configure the VPN (Virtual Private Network, virtual private network) where all Spoken PEs are located on HUB PE, so as to obtain the routing information of all Spoken PEs, and publish the routing information to HUB CE (Customer Edge Router, user-side edge network device). Different Spoken CEs are connected to different Spoken PEs, they are in different VPNs, and they do not know each other's routing information; therefore, when each Spoken CE accesses each other, it must go through the HUB CE, and the HUB CE forwards the access message from the source Spoken CE to the destination. Spoken CE, so as to realize the centralized control of HUB CE to Spoken CE.

结合图1所示的HUB-Spoken组网方式,HUB PE上配置两个VPN,即Spoken PE1所在的VPN1和Spoken PE2所在的VPN2,从而使HUB PE可以获得VPN1和VPN2内设备的路由信息,即Spoken PE1和Spoken PE2的路由信息。具体的,VPN1引入各个Spoken PE的路由,并将该路由信息发布给HUB CE,HUB CE通过EBGP(External Border Gateway Protocol,外部边界网关协议)将路由重新发布到HUB PE,由HUB PE通过VPN2将路由发布到VPN2的各个Spoken PE,Spoken PE将接收到的路由发布到本地的CE上。Combined with the HUB-Spoken networking shown in Figure 1, two VPNs are configured on the HUB PE, that is, VPN1 where the Spoken PE1 is located and VPN2 where the Spoken PE2 is located, so that the HUB PE can obtain the routing information of the devices in VPN1 and VPN2, namely Routing information of Spoken PE1 and Spoken PE2. Specifically, VPN1 imports the routes of each Spoken PE, and publishes the routing information to HUB CE, and HUB CE re-advertises the routes to HUB PE through EBGP (External Border Gateway Protocol, External Border Gateway Protocol), and HUB PE transmits the routes to HUB PE through VPN2. The routes are advertised to each spoke PE of VPN2, and the spoke PEs advertise the received routes to the local CE.

正常情况下,Spoken PE接收到CE的流量后,检查其下一跳,由于其IP下一跳总是HUB PE设备,流量将被转发到HUB PE,HUB PE将流量转发到HUB CE,而HUB CE的路由表中其IP下一跳仍然是HUB PE,流量从VPN_A的接口进入HUB PE后根据VPN_A中的路由表将报文转发到目的Spoken PE上,Spoken PE将报文弹掉标签后送到本地目的CE上。Under normal circumstances, after the Spoken PE receives the traffic of the CE, it checks its next hop. Since its IP next hop is always the HUB PE device, the traffic will be forwarded to the HUB PE, and the HUB PE forwards the traffic to the HUB CE, and the HUB In CE's routing table, its IP next hop is still HUB PE. After the traffic enters HUB PE from the VPN_A interface, it forwards the packet to the destination Spoken PE according to the routing table in VPN_A. Spoken PE strips off the label of the packet and sends it to the local destination CE.

现有的HUB-Spoke组网方式中,由于只有一个HUB PE,一旦HUB PE出现故障时,那么HUB PE与各个Spoken PE之间的IBGP(Inter Board GatewayProtocol,内部边界网关协议)连接就会断裂,VPN内的路由无法进行正常扩散,将导致整个HUB-Spoken网络陷入瘫痪,VPN内的用户之间无法访问。In the existing HUB-Spoke networking mode, since there is only one HUB PE, once the HUB PE fails, the IBGP (Inter Board Gateway Protocol, Internal Border Gateway Protocol) connection between the HUB PE and each Spoken PE will be broken. If the routes in the VPN cannot be properly diffused, the entire HUB-Spoken network will be paralyzed, and users in the VPN will not be able to access each other.

但是,现有技术中,对于HUB PE本身的故障没有进行备份,即没有提供一种HUB PE的备份和保护。However, in the prior art, there is no backup for the failure of the HUB PE itself, that is, no backup and protection for the HUB PE is provided.

发明内容 Contents of the invention

本发明提供了一种HUB-Spoken组网的方法、系统及设备,以对HUB-Spoken网络中的HUB PE进行备份和保护。The present invention provides a HUB-Spoken networking method, system and equipment to back up and protect HUB PEs in the HUB-Spoken network.

本发明提供了一种HUB-Spoken组网的方法,应用于多个HUB PE连接同一Hub CE的HUB-Spoken组网中,所述多个HUB PE之间彼此独立,每一HUB PE与该组网中所有Spoken PE连接,且HUB PE与Spoken PE通过BFD报文检测连接状态,所述方法包括:The present invention provides a method for HUB-Spoken networking, which is applied to the HUB-Spoken networking where multiple HUB PEs are connected to the same Hub CE. The multiple HUB PEs are independent of each other, and each HUB PE is connected to the All Spoken PEs in the network are connected, and the HUB PE and Spoken PE detect the connection status through BFD packets. The method includes:

Spoken PE向每一HUB PE发布路由,并存储每一HUB PE发布的路由;The Spoken PE publishes routes to each HUB PE and stores the routes published by each HUB PE;

当所述Spoken PE接收到CE侧发送的报文时,所述Spoken PE根据报文的目的地址匹配存储的路由信息,转发所述报文;When the Spoken PE receives the message sent by the CE side, the Spoken PE matches the stored routing information according to the destination address of the message, and forwards the message;

当所述Spoken PE在预设时间内没有收到HUB PE发送的BFD报文时,所述Spoken PE判断该HUB PE故障,删除下一跳为该HUB PE的转发表项。When the Spoken PE does not receive the BFD message sent by the HUB PE within the preset time, the Spoken PE judges that the HUB PE is faulty, and deletes the forwarding entry whose next hop is the HUB PE.

所述Spoken PE向每一HUB PE发布路由,并存储每一HUB PE发布的路由包括:The Spoken PE publishes routes to each HUB PE, and stores the routes issued by each HUB PE including:

所述Spoken PE向每一HUB PE发布路由,通过每一HUB PE将自身路由发布到其他Spoken PE,并接收每一HUB PE发布的其他Spoken PE的路由;The Spoken PE publishes a route to each HUB PE, publishes its own route to other Spoken PEs through each HUB PE, and receives the routes of other Spoken PEs issued by each HUB PE;

或者or

所述Spoken PE向每一HUB PE发布路由,每一HUB PE接收该路由信息并向所述Spoken PE发布默认路由,默认路由的下一跳为对应的发布该默认路由的HUB PE。The Spoken PE issues a route to each HUB PE, each HUB PE receives the routing information and issues a default route to the Spoken PE, and the next hop of the default route is the corresponding HUB PE that issues the default route.

每一HUB PE接收该路由信息并存储之后,还包括:After each HUB PE receives and stores the routing information, it also includes:

每一HUB PE根据预先配置的发布策略向HUB CE发布下一跳为本地的默认路由。Each HUB PE publishes the default route with the next hop as the local one to the HUB CE according to the pre-configured publishing policy.

所述Spoken PE根据报文的目的地址匹配存储的路由信息,转发所述报文包括:The Spoken PE matches the stored routing information according to the destination address of the message, and forwarding the message includes:

当所述报文的目的地址匹配所述Spoken PE存储的本地路由时,所述Spoken PE根据本地路由转发所述报文;When the destination address of the message matches the local route stored by the Spoken PE, the Spoken PE forwards the message according to the local route;

当所述报文的目的地址匹配所述Spoken PE存储的其他Spoken PE的路由时,所述Spoken PE向HUB PE发送所述报文,通过HUB PE向对应的其他Spoken PE转发所述报文;或者当所述报文的目的地址与所述Spoken PE存储的本地路由不匹配时,所述Spoken PE根据默认路由向HUB PE转发所述报文,由HUB PE根据所述报文的目的地址和存储的路由信息转发所述报文。When the destination address of the message matches the routes of other Spoken PEs stored by the Spoken PE, the Spoken PE sends the message to the HUB PE, and forwards the message to other corresponding Spoken PEs through the HUB PE; Or when the destination address of the message does not match the local route stored by the Spoken PE, the Spoken PE forwards the message to the HUB PE according to the default route, and the HUB PE forwards the message according to the destination address and The stored routing information forwards the packet.

本发明提供了一种HUB-Spoken组网的系统,包括一个HUB CE、多个HUB PE以及多个Spoken PE,所述多个HUB PE连接所述Hub CE,所述多个HUB PE之间彼此独立,每一HUB PE与该组网中所有Spoken PE连接,其中The present invention provides a HUB-Spoken networking system, including a HUB CE, multiple HUB PEs and multiple Spoken PEs, the multiple HUB PEs are connected to the Hub CE, and the multiple HUB PEs are connected to each other Independent, each HUB PE is connected to all Spoken PEs in the network, of which

所述Spoken PE,用于向每一HUB PE发布路由,并存储每一HUB PE发布的路由;当接收到CE侧发送的报文时,根据所述报文的目的地址匹配存储的路由信息,转发所述报文;通过BFD报文检测与HUB PE的连接状态,当在预设时间内没有收到HUB PE发送的BFD报文时,判断该HUB PE故障,删除下一跳为该HUB PE的转发表项;The Spoken PE is used to issue a route to each HUB PE, and store the route issued by each HUB PE; when receiving the message sent by the CE side, match the stored routing information according to the destination address of the message, Forward the message; check the connection status with the HUB PE through the BFD message, when the BFD message sent by the HUB PE is not received within the preset time, it is judged that the HUB PE is faulty, and the next hop is deleted as the HUB PE The forwarding entry of

所述HUB PE,用于接收所述Spoken PE发布的路由并存储,向所述HubCE发布路由,并将所述HUB CE返回的路由向所述Spoken PE发布;当接收到所述Spoken PE发送的报文时,匹配存储的路由信息并转发所述报文。The HUB PE is used to receive and store the route published by the Spoken PE, publish the route to the HubCE, and publish the route returned by the HUB CE to the Spoken PE; when receiving the route sent by the Spoken PE When receiving a packet, match the stored routing information and forward the packet.

所述HUB PE具体用于:The HUB PE is specifically used for:

向所述Hub CE发布接收到的所有Spoken PE发布的路由,并将所述HubCE返回的所有Spoken PE发布的路由向每一Spoken PE发布;Publish the received routes issued by all the Spoken PEs to the Hub CE, and publish the routes issued by all the Spoken PEs returned by the HubCE to each Spoken PE;

或者or

向所述Hub CE发布默认路由,并将所述Hub CE返回的默认路由向每一Spoken PE发布;所述默认路由的下一跳为所述HUB PE。Publish a default route to the Hub CE, and publish the default route returned by the Hub CE to each Spoken PE; the next hop of the default route is the HUB PE.

本发明提供了一种HUB-Spoken组网的设备,作为Spoken PE应用于多个HUB PE连接同一Hub CE的HUB-Spoken组网中,所述多个HUB PE之间彼此独立,每一HUB PE与该组网中所有Spoken PE连接,且HUB PE与SpokenPE通过BFD报文检测连接状态,所述设备包括:The present invention provides a HUB-Spoken networking device, which is used as a Spoken PE in a HUB-Spoken networking where multiple HUB PEs are connected to the same Hub CE. The multiple HUB PEs are independent of each other, and each HUB PE It is connected to all Spoken PEs in the network, and HUB PE and SpokenPE detect the connection status through BFD packets. The devices include:

收发单元,用于向每一HUB PE发布路由,并存储每一HUB PE发布的路由;当接收到CE侧发送的报文时,根据所述报文的目的地址匹配存储的路由信息,转发所述报文;The transceiver unit is used to issue a route to each HUB PE, and store the route issued by each HUB PE; when receiving a message sent by the CE side, match the stored routing information according to the destination address of the message, and forward the route report message;

表项维护单元,用于在预设时间内没有收到HUB PE发送的BFD报文时,判断该HUB PE故障,删除下一跳为该HUB PE的转发表项。The table entry maintenance unit is used to judge the failure of the HUB PE when the BFD message sent by the HUB PE is not received within the preset time, and delete the forwarding entry whose next hop is the HUB PE.

所述收发单元具体用于:The transceiver unit is specifically used for:

向每一HUB PE发布路由,通过每一HUB PE将自身路由发布到其他Spoken PE,并接收每一HUB PE发布的其他Spoken PE的路由;Publish routes to each HUB PE, publish its own routes to other Spoken PEs through each HUB PE, and receive the routes of other Spoken PEs published by each HUB PE;

或者or

向每一HUB PE发布路由,接收每一HUB PE发布的默认路由,所述默认路由的下一跳为对应的发布该默认路由的HUB PE。Publish routes to each HUB PE, receive the default route published by each HUB PE, and the next hop of the default route is the corresponding HUB PE that publishes the default route.

所述收发单元还用于:The transceiver unit is also used for:

当所述报文的目的地址匹配存储的本地路由时,根据本地路由转发所述报文;When the destination address of the message matches the stored local route, forward the message according to the local route;

当所述报文的目的地址匹配存储的其他Spoken PE的路由时,向HUB PE发送所述报文,通过HUB PE向对应的其他Spoken PE转发所述报文;When the destination address of the message matches the route of other Spoken PEs stored, the message is sent to the HUB PE, and the message is forwarded to other corresponding Spoken PEs by the HUB PE;

或者or

当所述报文的目的地址与存储的本地路由不匹配时,根据默认路由向HUB PE转发所述报文。When the destination address of the message does not match the stored local route, forward the message to the HUB PE according to the default route.

与现有技术相比,本发明至少具有以下优点:Compared with the prior art, the present invention has at least the following advantages:

本发明中,通过在HUB-Spoken组网中设置多个HUB PE,使多个HUB PE之间相互备份,在有HUB PE故障时,通过备份HUB PE保证HUB-Spoken组网的正常使用。In the present invention, by setting multiple HUB PEs in the HUB-Spoken network, the multiple HUB PEs are mutually backed up, and when a HUB PE fails, the normal use of the HUB-Spoken network is guaranteed by the backup HUB PE.

附图说明 Description of drawings

图1是现有技术中一种HUB-Spoken组网方式示意图;Fig. 1 is a schematic diagram of a HUB-Spoken networking mode in the prior art;

图2是本发明提供的HUB-Spoken组网的方法的流程示意图;Fig. 2 is the schematic flow chart of the method for HUB-Spoken networking provided by the present invention;

图3是本发明应用场景提供的HUB-Spoken组网示意图;Fig. 3 is a schematic diagram of HUB-Spoken networking provided by the application scenario of the present invention;

图4是本发明应用场景提供的另一HUB-Spoken组网示意图;FIG. 4 is a schematic diagram of another HUB-Spoken network provided by the application scenario of the present invention;

图5是本发明提供的HUB-Spoken组网的系统的结构示意图;Fig. 5 is the structural representation of the system of HUB-Spoken networking provided by the present invention;

图6是本发明提供的HUB-Spoken组网的设备的结构示意图。FIG. 6 is a schematic structural diagram of devices in a HUB-Spoken network provided by the present invention.

具体实施方式 Detailed ways

针对现有技术中对HUB-Spoke组网方式中的HUB-PE没有提供备份和保护的缺点,本发明提供一种HUB-Spoken组网的方法,其核心思想是:在HUB-Spoken组网中设置多个HUB-PE,使用多个HUB-PE相互备份;对于每一Spoken PE,分别与各HUB PE连接,并通过BFD检测方式在Spoken PE与HUB PE的连接出现故障时,灵活调整Spoken PE与HUB PE的连接;为了减少路由发布,在HUB PE上设置下一跳为HUB PE的默认路由,HUB PE向Spoken PE发布的路由仅包括Spoken PE的本地路由、HUB CE的本地路由以及默认路由。对于不能匹配本地路由的报文,Spoken PE通过默认路由向HUB PE发送。Aiming at the disadvantage of not providing backup and protection for the HUB-PE in the HUB-Spoke networking mode in the prior art, the present invention provides a HUB-Spoken networking method, the core idea of which is: in the HUB-Spoken networking Set up multiple HUB-PEs, use multiple HUB-PEs to back up each other; for each Spoken PE, connect to each HUB PE separately, and flexibly adjust the Spoken PE when the connection between the Spoken PE and the HUB PE fails through the BFD detection method Connection with HUB PE; in order to reduce route publishing, set the next hop on HUB PE as the default route of HUB PE, and the route advertised by HUB PE to Spoken PE only includes the local route of Spoken PE, the local route of HUB CE and the default route . For packets that cannot match the local route, the Spoken PE sends them to the HUB PE through the default route.

本发明提供了一种HUB-Spoken组网的方法,应用于多个HUB PE连接同一Hub CE的HUB-Spoken组网中,所述多个HUB PE之间彼此独立,每一HUB PE与该组网中所有Spoken PE连接,且HUB PE与Spoken PE通过BFD报文检测连接状态,如图2所示,包括以下步骤:The present invention provides a method for HUB-Spoken networking, which is applied to the HUB-Spoken networking where multiple HUB PEs are connected to the same Hub CE. The multiple HUB PEs are independent of each other, and each HUB PE is connected to the All Spoken PEs in the network are connected, and HUB PE and Spoken PE detect the connection status through BFD packets, as shown in Figure 2, including the following steps:

步骤201,Spoken PE向每一HUB PE发布路由,并存储每一HUB PE发布的路由;Step 201, the Spoken PE publishes a route to each HUB PE, and stores the route issued by each HUB PE;

步骤202,当所述Spoken PE接收到CE侧发送的报文时,所述Spoken PE根据报文的目的地址匹配存储的路由信息,转发所述报文;Step 202, when the Spoken PE receives the message sent by the CE side, the Spoken PE matches the stored routing information according to the destination address of the message, and forwards the message;

步骤203,当所述Spoken PE在预设时间内没有收到HUB PE发送的BFD报文时,所述Spoken PE判断该HUB PE故障,删除下一跳为该HUB PE的转发表项。Step 203, when the Spoken PE does not receive the BFD message sent by the HUB PE within the preset time, the Spoken PE judges that the HUB PE is faulty, and deletes the forwarding entry whose next hop is the HUB PE.

下面结合具体应用场景详细介绍本发明提供的HUB-Spoken组网的方法,如图3所示,以双HUB-PE为例进行介绍。其中,HUB PE1和HUB PE2分别与HUB CE、Spoken PE1和Spoken PE2连接,HUB PE1和HUB PE2之间没有连接。Spoken PE1和Spoken PE2向每一HUB PE、即HUB PE1和HUB PE2发布路由,并存储HUB PE1和HUB PE2发布的路由,根据存储的路由信息进行报文转发。HUB PE1和HUB PE2分别接收每一Spoken PE、即Spoken PE1和Spoken PE2发布的路由,将该路由信息向HUB CE发送,再将HUB CE环回的路由向Spoken PE1和Spoken PE2发布,使Spoken PE1和Spoken PE2获知对方的路由信息。由于Spoken PE1和Spoken PE2通过HUB PE1或者HUBPE2获得的路由信息相同,因此,在Spoken PE1和Spoken PE2上形成等价路由。当HUB PE1或者HUB PE2故障时,Spoken PE1和Spoken PE2可以通过另一HUB PE继续进行报文转发,从而保证HUB-Spoken组网的正常使用。The following describes in detail the HUB-Spoken networking method provided by the present invention in combination with specific application scenarios, as shown in FIG. 3 , taking dual HUB-PEs as an example. Among them, HUB PE1 and HUB PE2 are respectively connected to HUB CE, Spoken PE1 and Spoken PE2, and there is no connection between HUB PE1 and HUB PE2. Spoken PE1 and Spoken PE2 advertise routes to each HUB PE, that is, HUB PE1 and HUB PE2, store the routes advertised by HUB PE1 and HUB PE2, and forward packets according to the stored routing information. HUB PE1 and HUB PE2 respectively receive the routes announced by each Spoken PE, that is, Spoken PE1 and Spoken PE2, send the routing information to HUB CE, and then publish the loopback routes of HUB CE to Spoken PE1 and Spoken PE2, so that Spoken PE1 and Spoken PE2 learn the routing information of each other. Since the routing information obtained by Spoken PE1 and Spoken PE2 through HUB PE1 or HUBPE2 is the same, equal-cost routes are formed on Spoken PE1 and Spoken PE2. When HUB PE1 or HUB PE2 fails, Spoken PE1 and Spoken PE2 can continue to forward packets through another HUB PE, thus ensuring the normal use of HUB-Spoken networking.

具体的,HUB PE1和HUB PE2上分别配置两个VPN(VPN_A和VPN_B),VPN_A用于引入Spoken PE的路由,VPN_B用于发布从HUB CE接收的路由。HUB PE1和HUB PE2通过VPN_A接收Spoken PE发布的路由并经过HUB CE环回后发布给两个Spoken PE。由于HUB PE1和HUB PE2之间没有建立IBGP连接,因此HUB PE1与HUB PE2之间从HUB CE学习到的EBGP路由不会相互发布,避免了不必要的路由扩散。Specifically, two VPNs (VPN_A and VPN_B) are respectively configured on HUB PE1 and HUB PE2. VPN_A is used to import the route of the Spoken PE, and VPN_B is used to advertise the route received from the HUB CE. HUB PE1 and HUB PE2 receive the routes advertised by the Spoken PEs through VPN_A and advertise them to the two Spoken PEs after being looped back by HUB CE. Since no IBGP connection is established between HUB PE1 and HUB PE2, the EBGP routes learned from HUB CE between HUB PE1 and HUB PE2 will not be advertised to each other, avoiding unnecessary route diffusion.

HUB PE1与HUB PE2上配置的VPN_A可以为单个或者多个,即HUBPE1与HUB PE2上可以有多个VPN用于引入Spoken PE的路由。以HUB PE1为例,当图3中的Spoken PE1与Spoken PE2的引出路由属性相同时,HUB PE1上可以配置单个VPN_A,该VPN_A的引入路由属性与Spoken PE1和SpokenPE2的引出路由属性相同,HUB PE1通过该单个VPN_A引入Spoken PE1和Spoken PE2的路由信息;当图3中的Spoken PE1与Spoken PE2的引出路由属性不同时,HUB PE1上需要配置两个VPN_A,该两个VPN_A的引入路由属性分别对应于Spoken PE1的引出路由属性和Spoken PE2的引出路由属性,HUB PE1通过该两个VPN_A分别引入Spoken PE1和Spoken PE2的路由。The VPN_A configured on HUB PE1 and HUB PE2 can be single or multiple, that is, there can be multiple VPNs on HUBPE1 and HUB PE2 to import the routes of the Spoken PE. Taking HUB PE1 as an example, when the exported route attributes of Spoken PE1 and Spoken PE2 in Figure 3 are the same, a single VPN_A can be configured on HUB PE1, and the imported route attributes of VPN_A are the same as those of Spoken PE1 and SpokenPE2. The routing information of Spoken PE1 and Spoken PE2 is imported through this single VPN_A; when the exported routing attributes of Spoken PE1 and Spoken PE2 in Figure 3 are different, two VPN_As need to be configured on HUB PE1, and the imported routing attributes of the two VPN_A correspond to Based on the outgoing route attributes of Spoken PE1 and Spoken PE2, HUB PE1 imports the routes of Spoken PE1 and Spoken PE2 respectively through the two VPN_A.

HUB PE1、HUB PE2将引入的路由分别向HUB CE发送。HUB CE将接收到的路由发送到HUB PE1、HUB PE2的VPN_B;HUB PE1、HUB PE2的VPN_B可以相同或者不同:当两者相同时,Spoken PE1和Spoken PE2的引入路由属性与该VPN_B的引出路由属性相同,接收HUB PE1、HUB PE2通过各自的VPN_B发送的路由,其中包括本地路由以及本地外的Spoken PE的路由,即Spoken PE1和Spoken PE2的路由;当两者不同时,Spoken PE1和Spoken PE2设置分别与HUB PE1和HUB PE2的VPN_B相同的引入路由属性,接收HUB PE1、HUB PE2通过各自的VPN_B发送的路由。HUB PE1 and HUB PE2 send the imported routes to HUB CE respectively. HUB CE sends the received route to VPN_B of HUB PE1 and HUB PE2; VPN_B of HUB PE1 and HUB PE2 can be the same or different: when they are the same, the imported route attribute of Spoken PE1 and Spoken PE2 is the same as the exported route of VPN_B The attributes are the same, and the routes sent by HUB PE1 and HUB PE2 through their respective VPN_B are received, including local routes and routes of Spoken PEs outside the local area, that is, routes of Spoken PE1 and Spoken PE2; when the two are different, Spoken PE1 and Spoken PE2 Set the same imported route attributes as the VPN_B of HUB PE1 and HUB PE2 respectively, and receive the routes sent by HUB PE1 and HUB PE2 through their respective VPN_B.

在Spoken PE和HUB PE的IBGP连接上使能BFD(BidirectionalForwarding Detection,双向转发检测),用于对Spoken PE和HUB PE之间的IBGP连接状态进行检测,BFD检测时间根据链路质量要求配置,若质量要求高则检测时间短些,反之则可以配置长些。如果在检测时间内Spoken PE或者HUB PE没有收到BFD报文,则Spoken PE或者HUB PE认为该双向转发路径发生了故障,并进行相应的处理。例如,当Spoken PE在预设时间内没有接收到HUB PE发送的BFD报文时,Spoken PE判断与HUB PE之间的连接故障,删除下一跳为HUB PE的路由转发表项。Enable BFD (Bidirectional Forwarding Detection) on the IBGP connection between the Spoken PE and the HUB PE to detect the IBGP connection status between the Spoken PE and the HUB PE. The BFD detection time is configured according to the link quality requirements. If If the quality requirement is high, the detection time will be shorter, otherwise it can be configured to be longer. If the Spoken PE or HUB PE does not receive the BFD packet within the detection time, the Spoken PE or HUB PE considers that the bidirectional forwarding path is faulty and handles it accordingly. For example, when the Spoken PE does not receive the BFD packet sent by the HUB PE within the preset time, the Spoken PE determines that the connection with the HUB PE is faulty, and deletes the routing forwarding entry whose next hop is the HUB PE.

在图3中,Spoken PE1上的VPN中到HUB PE1和HUB PE2的路径存在两个等价路径,其下一跳分别是HUB PE1(1.1.1.1)和HUB PE2(4.1.1.1)。如下所示:In Figure 3, there are two equal-cost paths to HUB PE1 and HUB PE2 in the VPN on Spoken PE1, and the next hops are HUB PE1 (1.1.1.1) and HUB PE2 (4.1.1.1). As follows:

Routing Tables:vpn1Routing Tables: vpn1

          Destinations:5    Routes:5Destinations: 5 Routes: 5

Destination/Mask    Proto       Pre    Cost   NextHop    InterfaceDestination/Mask Proto Pre Pre Cost NextHop Interface

200.0.0.0/16        BGP         255    0      1.1.1.1    NULL0200.0.0.0/16 BGP 255 0 1.1.1.1 NULL0

200.0.0.0/16        BGP         255    0      4.1.1.1    NULL0200.0.0.0/16 BGP 255 0 4.1.1.1 NULL0

10.0.0.0/16         BGP         255    0      1.1.1.1    NULL010.0.0.0/16 BGP 255 0 1.1.1.1 NULL0

10.0.0.0/16         BGP         255    0      4.1.1.1    NULL010.0.0.0/16 BGP 255 0 4.1.1.1 NULL0

100.0.0.0/16        Direct 0      0           100.0.0.1  Vlan1001100.0.0.0/16 Direct 0 0 100.0.0.1 Vlan1001

100.0.0.1/32        Direct 0      0           127.0.0.1  InLoop0100.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0

127.0.0.0/8         Direct 0      0           127.0.0.1  InLoop0127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0

127.0.0.1/32        Direct 0      0           127.0.0.1  InLoop0127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0

在Spoken PE1上,从Spoken CE1侧进入的报文将分别从两个等价路径转发,具体选择哪一条路径取决于报文哈希运算的结果。On Spoken PE1, packets entering from Spoken CE1 will be forwarded through two equal-cost paths, and which path to choose depends on the result of the packet hash operation.

当Spoken PE1在预设时间内没有接收到HUB PE1发送的BFD报文时,Spoken PE1判断和HUB PE1之间的IBGP连接异常,将从HUB PE1学习的BGP路由设置成非激活状态,并删除对应的转发表项。此时,Spoken PE1上的路由只有经过HUB PE2一条路径,所有流量将沿着到达HUB PE2的路径转发。When Spoken PE1 does not receive the BFD packet sent by HUB PE1 within the preset time, Spoken PE1 determines that the IBGP connection with HUB PE1 is abnormal, sets the BGP route learned from HUB PE1 to the inactive state, and deletes the corresponding forwarding entries. At this point, the route on Spoken PE1 has only one path through HUB PE2, and all traffic will be forwarded along the path to HUB PE2.

在上述多HUB PE的情况下,当Spoken PE侧的路由数量比较大时,每个HUB PE上必须保留双倍的路由数量,且每一个HUB PE都会向每个SpokenPE发布这些路由。为了减少这种组网环境下HUB PE上的路由数量,也为了减少路由扩散,本发明中通过在HUB PE和HUB CE上配置默认路由解决该问题。In the case of multiple HUB PEs above, when the number of routes on the Spoken PE side is relatively large, double the number of routes must be reserved on each HUB PE, and each HUB PE will advertise these routes to each SpokenPE. In order to reduce the number of routes on the HUB PE in this networking environment, and also to reduce route diffusion, the present invention solves this problem by configuring default routes on the HUB PE and HUB CE.

如图4所示,以HUB PE1为例,在HUB PE1上配置路由策略控制HUBPE1上不向HUB CE发布从Spoken PE获得的路由,而是发布配置的默认路由,该默认路由的下一跳为HUB PE1。然后,HUB PE1接收HUB CE返回的默认路由以及HUB CE的本地路由,并向各Spoken PE发布。Spoken PE接收该路由信息,在本地存储本地路由和默认路由。从CE侧接收报文后,SpokenPE根据报文的目的地址匹配存储的本地路由,当匹配失败时,根据默认路由将报文向HUB PE1发送,由HUB PE1根据存储的路由信息转发该报文。As shown in Figure 4, taking HUB PE1 as an example, configure a routing policy on HUB PE1 to control HUBPE1 not to advertise the route obtained from the Spoken PE to HUB CE, but to advertise the configured default route. The next hop of the default route is HUB PE1. Then, HUB PE1 receives the default route returned by HUB CE and the local route of HUB CE, and publishes it to each spoke PE. The Spoken PE receives the routing information and stores the local route and default route locally. After receiving the packet from the CE side, SpokenPE matches the stored local route according to the destination address of the packet. When the match fails, it sends the packet to HUB PE1 according to the default route, and HUB PE1 forwards the packet according to the stored routing information.

HUB PE1上配置VPN_A引入各个Spoken PE发布过来的路由,并设置策略控制该VPN_A的路由不向HUB CE发布;配置VPN_B用于向各SpokenPE发布路由。由于HUB PE1没有将各个Spoken PE发布过来的路由发布给HUB CE,因此HUB CE只能将本地的路由发布给HUB PE1,本发明在VPN_B中配置一条默认路由,该默认路由为静态路由,其下一跳为HUB PE1。HUBPE1接收HUB CE发布的路由,包括HUB CE的本地路由以及配置的静态路由并向各Spoken PE转发。由于Spoken PE引入的路由中包括本地的私有路由、静态路由、以及HUB CE的本地路由,因此,Spoken PE可以根据本地私有路由以及静态路由进行报文发送。当报文中携带的目的地址与本地私有路由相匹配时,Spoken PE根据本地私有路由发送报文;当报文中携带的目的地址与本地私有路由不匹配时,Spoken PE根据默认路由发送报文,即将报文向HUBPE1发送,由HUB PE1进一步根据存储的路由信息进行报文转发。Configure VPN_A on HUB PE1 to import routes advertised by each spoken PE, and set a policy to control the routes of VPN_A not to be advertised to HUB CE; configure VPN_B to advertise routes to each spoken PE. Since HUB PE1 did not publish the routes released by each spoke PE to HUB CE, HUB CE can only publish local routes to HUB PE1. This invention configures a default route in VPN_B. The default route is a static route. One hop is HUB PE1. HUBPE1 receives the routes advertised by the HUB CE, including the local routes of the HUB CE and the configured static routes, and forwards them to each Spoken PE. Since the routes imported by Spoken PE include local private routes, static routes, and local routes of HUB CE, Spoken PE can send packets according to local private routes and static routes. When the destination address carried in the message matches the local private route, the Spoken PE sends the message according to the local private route; when the destination address carried in the message does not match the local private route, the Spoken PE sends the message according to the default route , that is to send the message to HUBPE1, and HUB PE1 further forwards the message according to the stored routing information.

对于HUB PE2配置默认路由以减少HUB-Spoken组网中路由扩散的过程同上述HUB PE1相同,可以参考上述对HUB PE1的描述。The process of configuring the default route on HUB PE2 to reduce route flooding in the HUB-Spoken network is the same as the above HUB PE1, and you can refer to the above description of HUB PE1.

本发明上述应用场景中以两个HUB-PE为例进行介绍,对于更多HUB-PE的情况与上述介绍相同或者相似,在此不再详细介绍。In the above application scenarios of the present invention, two HUB-PEs are taken as examples for introduction, and the situation of more HUB-PEs is the same or similar to the above introduction, and will not be described in detail here.

通过采用本发明提供的方法,在HUB-Spoke组网中设置多个HUB PE,使多个HUB PE之间相互备份,在有HUB PE故障时,通过备份HUB PE保证HUB-Spoke组网的正常使用。By adopting the method provided by the present invention, multiple HUB PEs are set in the HUB-Spoke networking, so that multiple HUB PEs can back up each other, and when there is a HUB PE failure, the HUB-Spoke networking is guaranteed to be normal through the backup HUB PE use.

本发明提供一种HUB-Spoken组网的系统,如图5所示,包括一个HUBCE10、多个HUB PE20以及多个Spoken PE30,所述多个HUB PE20连接所述Hub CE10,所述多个HUB PE20之间彼此独立,每一HUB PE20与该组网中所有Spoken PE30连接,其中The present invention provides a HUB-Spoken networking system, as shown in Figure 5, including a HUBCE10, a plurality of HUB PE20 and a plurality of Spoken PE30, the plurality of HUB PE20 connected to the Hub CE10, the plurality of HUB PE20s are independent of each other, and each HUB PE20 is connected to all Spoken PE30s in the network, among which

所述Spoken PE30,用于向每一HUB PE20发布路由,并存储每一HUBPE20发布的路由;当接收到CE侧发送的报文时,根据所述报文的目的地址匹配存储的路由信息,转发所述报文;通过BFD报文检测与HUB PE20的连接状态,当在预设时间内没有收到HUB PE20发送的BFD报文时,判断该HUB PE20故障,删除下一跳为该HUB PE20的转发表项;The Spoken PE30 is used to issue routes to each HUB PE20, and store the routes issued by each HUBPE20; when receiving the message sent by the CE side, match the stored routing information according to the destination address of the message, and forward The message; through the BFD message to detect the connection status with the HUB PE20, when the BFD message sent by the HUB PE20 is not received within the preset time, it is judged that the HUB PE20 is faulty, and the next hop is deleted. forwarding entries;

所述HUB PE20,用于接收所述Spoken PE30发布的路由并存储,向所述Hub CE10发布路由,并将所述HUB CE10返回的路由向所述Spoken PE20发布;当接收到所述Spoken PE20发送的报文时,匹配存储的路由信息并转发所述报文。The HUB PE20 is used to receive and store the route issued by the Spoken PE30, issue a route to the Hub CE10, and issue the route returned by the HUB CE10 to the Spoken PE20; when receiving the Spoken PE20 sent When the packet is received, it matches the stored routing information and forwards the packet.

具体的,当HUB PE20中没有配置默认路由时,HUB PE20将接收到所有Spoken PE30发布的路由向Hub CE10发布,经过Hub CE10环回后将所有Spoken PE30发布的路由向每一Spoken PE30发布,使所有Spoken PE30获知彼此的路由信息;当HUB PE20中配置了默认路由时,HUB PE20接收到所有Spoken PE30发布的路由后,不向Hub CE10发布该路由,而是发布默认路由,且默认路由的下一跳为HUB PE20本身;经过Hub CE10环回后的路由为默认路由和Hub CE10的本地路由,HUB PE20向每一Spoken PE30发布该HubCE10环回后的路由,使Spoken PE30仅获得本地路由以及默认路由,此时Spoken PE30进行报文转发时,对于不能匹配本地路由的报文则根据默认路由向HUB PE20发送。Specifically, when there is no default route configured on HUB PE20, HUB PE20 will receive all routes advertised by Spoken PE30 and advertise to Hub CE10, and after Hub CE10 loops back, it will advertise all routes advertised by Spoken PE30 to each Spoken PE30, so that All Spoken PE30s learn each other's routing information; when HUB PE20 is configured with a default route, after HUB PE20 receives the routes advertised by all Spoken PE30s, it does not advertise the route to Hub CE10, but advertises the default route. One hop is HUB PE20 itself; the route after the loopback of Hub CE10 is the default route and the local route of Hub CE10. Routing, at this time, when the Spoken PE30 forwards packets, it will send the packets that cannot match the local route to the HUB PE20 according to the default route.

本发明还提供一种HUB-Spoken组网的设备,作为Spoken PE应用于多个HUB PE连接同一Hub CE的HUB-Spoken组网中,所述多个HUB PE之间彼此独立,每一HUB PE与该组网中所有Spoken PE连接,且HUB PE与SpokenPE通过BFD报文检测连接状态,如图6所示,所述设备包括:The present invention also provides a HUB-Spoken networking device, which is used as a Spoken PE in a HUB-Spoken networking where multiple HUB PEs are connected to the same Hub CE. The multiple HUB PEs are independent of each other, and each HUB PE It is connected to all Spoken PEs in the network, and HUB PE and SpokenPE detect the connection status through BFD packets, as shown in Figure 6. The devices include:

收发单元11,用于向每一HUB PE发布路由,并存储每一HUB PE发布的路由;当接收到CE侧发送的报文时,根据所述报文的目的地址匹配存储的路由信息,转发所述报文。The transceiver unit 11 is configured to issue a route to each HUB PE, and store the route issued by each HUB PE; when receiving a message sent by the CE side, match the stored routing information according to the destination address of the message, and forward said message.

具体的,收发单元11向每一HUB PE发布路由,接收到该路由的HUB PE可以将Spoken PE的路由经过HUB CE环回后向其他Spoken PE发布,使其他Spoken PE获知该Spoken PE的路由信息;同时,收发单元11也可以接收其他Spoken PE通过HUB PE发布的路由,获知其他Spoken PE的路由信息。当接收到CE侧发送的报文时,收发单元11根据所述报文的目的地址匹配存储的路由信息,向相应的其他设备发送报文。Specifically, the transceiver unit 11 publishes a route to each HUB PE, and the HUB PE that receives the route can publish the route of the Spoken PE to other Spoken PEs after the HUB CE loopback, so that other Spoken PEs can learn the routing information of the Spoken PE ; At the same time, the transceiver unit 11 can also receive the routes issued by other Spoken PEs through the HUB PE, and learn the routing information of other Spoken PEs. When receiving a message sent by the CE side, the transceiver unit 11 matches the stored routing information according to the destination address of the message, and sends the message to other corresponding devices.

特殊的,当HUB PE配置默认路由时,收发单元11向每一HUB PE发布路由,接收到该路由的HUB PE存储该路由,但是不向其他设备发布该SpokenPE的路由信息,而是发布默认路由,该默认路由的下一跳为该HUB PE。其他Spoken PE无法获知该Spoken PE的路由信息,而是获知默认路由。同时,收发单元11也接收到HUB PE发布的默认路由,该默认路由的下一跳即为HUB PE。当接收到CE侧发送的报文时,收发单元11根据报文的目的地址匹配存储的本地路由,当匹配失败时,收发单元11根据默认路由向HUB PE发送报文。In particular, when the HUB PE is configured with a default route, the transceiver unit 11 publishes the route to each HUB PE, and the HUB PE that receives the route stores the route, but does not publish the routing information of the SpokenPE to other devices, but publishes the default route , the next hop of the default route is the HUB PE. Other spoke PEs cannot learn the routing information of the spoke PE, but learn the default route. At the same time, the transceiver unit 11 also receives the default route issued by the HUB PE, and the next hop of the default route is the HUB PE. When receiving the message sent by the CE side, the transceiver unit 11 matches the stored local route according to the destination address of the message, and when the matching fails, the transceiver unit 11 sends the message to the HUB PE according to the default route.

表项维护单元12,用于在预设时间内没有收到HUB PE发送的BFD报文时,判断该HUB PE故障,删除下一跳为该HUB PE的转发表项。The entry maintenance unit 12 is used to judge that the HUB PE is faulty when the BFD message sent by the HUB PE is not received within a preset time, and delete the forwarding entry whose next hop is the HUB PE.

预设时间根据链路质量要求配置,若质量要求高则配置时间短些,反之则可以配置长些。The preset time is configured according to the link quality requirement. If the quality requirement is high, the configuration time is shorter, otherwise, it can be configured longer.

通过采用本发明提供的系统和设备,在HUB-Spoke组网中设置多个HUBPE,使多个HUB PE之间相互备份,在有HUB PE故障时,通过备份HUB PE保证HUB-Spoke组网的正常使用。By adopting the system and equipment provided by the present invention, multiple HUBPEs are set in the HUB-Spoke networking, so that multiple HUB PEs can back up each other, and when there is a HUB PE failure, the HUB-Spoke networking can be guaranteed by backing up the HUB PE. Normal use.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is a better implementation Way. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions to make a A computer device (which may be a personal computer, a server, or a network device, etc.) executes the methods described in various embodiments of the present invention.

本领域技术人员可以理解附图只是一个优选实施例的示意图,附图中的模块或流程并不一定是实施本发明所必须的。Those skilled in the art can understand that the drawing is only a schematic diagram of a preferred embodiment, and the modules or processes in the drawing are not necessarily necessary for implementing the present invention.

本领域技术人员可以理解实施例中的装置中的模块可以按照实施例描述进行分布于实施例的装置中,也可以进行相应变化位于不同于本实施例的一个或多个装置中。上述实施例的模块可以合并为一个模块,也可以进一步拆分成多个子模块。Those skilled in the art can understand that the modules in the device in the embodiment can be distributed in the device in the embodiment according to the description in the embodiment, or can be located in one or more devices different from the embodiment according to corresponding changes. The modules in the above embodiments can be combined into one module, and can also be further split into multiple sub-modules.

上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.

以上公开的仅为本发明的几个具体实施例,但是,本发明并非局限于此,任何本领域的技术人员能思之的变化都应落入本发明的保护范围。The above disclosures are only a few specific embodiments of the present invention, however, the present invention is not limited thereto, and any changes conceivable by those skilled in the art shall fall within the protection scope of the present invention.

Claims (9)

1. the method for a HUB-Spoken networking; It is characterized in that; Be applied in the HUB-Spoken networking that a plurality of HUB PE connect same HUB CE, independently of one another between said a plurality of HUB PE, all Spoken PE are connected in each HUB PE and this networking; And HUB PE and Spoken PE detect connection status through the BFD message, and said method comprises:
Spoken PE issues route to each HUB PE, and stores the route of each HUB PE issue, on each Spoken PE, to form equal-cost route;
When said Spoken PE receives the message of CE side transmission; Said Spoken PE is according to the destination address of message; With the equal-cost route of this matching destination address in, select route according to the Hash operation result of message, and according to the said message of selecting of routing forwarding;
When said Spoken PE did not receive the BFD message of HUB PE transmission in Preset Time, said Spoken PE judged this HUB PE fault, deleted next jumping and was the forwarding-table item of this HUB PE.
2. the method for claim 1 is characterized in that, said Spoken PE is to each HUB PE issue route, and the route of storing each HUB PE issue comprises:
Said Spoken PE is to each HUB PE issue route, through each HUB PE self route is published to other Spoken PE, and receives the route of other Spoken PE of each HUB PE issue;
Perhaps
Said Spoken PE is to each HUB PE issue route, and each HUB PE receives this routing iinformation and to said Spoken PE issue default route, next of default route jumped the HUB PE for corresponding this default route of issue.
3. method as claimed in claim 2 is characterized in that, each HUB PE receives after this routing iinformation and the storage, also comprises:
Next jumps the default route for this locality to each HUB PE to HUB CE issue according to pre-configured publishing policy.
4. method as claimed in claim 2 is characterized in that, when said Spoken PE transmits said message:
When the local route of the said Spoken PE of the matching destination address of said message storage, said Spoken PE is according to the said message of local routing forwarding;
When the route of other Spoken PE of the said Spoken PE of the matching destination address of said message storage, said Spoken PE sends said message to HUB PE, transmits said message through HUB PE to other Spoken PE of correspondence; When the local route of perhaps storing as the destination address and the said Spoken PE of said message does not match; Said Spoken PE transmits said message according to default route to HUB PE, transmits said message by HUB PE according to the destination address of said message and the routing iinformation of storage.
5. the system of a HUB-Spoken networking; It is characterized in that; Comprise a HUB CE, a plurality of HUB PE and a plurality of Spoken PE, said a plurality of HUB PE connect said HUB CE, and are independently of one another between said a plurality of HUB PE; All Spoken PE are connected in each HUB PE and this networking, wherein
Said Spoken PE is used for to each HUB PE issue route, and stores the route of each HUB PE issue, on each Spoken PE, to form equal-cost route; When receiving the message that the CE side sends, according to the destination address of said message with the equal-cost route of this matching destination address in, select route according to the Hash operation result of message, and according to the said message of selecting of routing forwarding; Through the connection status of BFD message detection with HUB PE, when in Preset Time, not receiving the BFD message that HUB PE sends, judge this HUB PE fault, delete next jumping and be the forwarding-table item of this HUB PE;
Said HUB PE is used to receive the route and the storage of said Spoken PE issue, issues route to said HUB CE, and the route that said HUB CE returns is issued to said Spoken PE; When receiving the message of said Spoken PE transmission, the routing iinformation of coupling storage is also transmitted said message.
6. system as claimed in claim 5 is characterized in that, said HUB PE specifically is used for:
Issue the route of all Spoken PE issues that receive to said HUB CE, and the route that all Spoken PE that said HUB CE returns issue is issued to each Spoken PE;
Perhaps
Issue default route to said HUB CE, and the default route that said HUB CE returns is issued to each Spoken PE; Next of said default route jumped and is said HUB PE.
7. the equipment of a HUB-Spoken networking; It is characterized in that; Be applied in the HUB-Spoken networking that a plurality of HUB PE connect same HUB CE as Spoken PE, independently of one another between said a plurality of HUB PE, all Spoken PE are connected in each HUB PE and this networking; And HUB PE and Spoken PE detect connection status through the BFD message, and said equipment comprises:
Transmit-Receive Unit is used for to each HUB PE issue route, and stores the route of each HUB PE issue, on this equipment, to form equal-cost route; When receiving the message that the CE side sends, according to the destination address of said message with the equal-cost route of this matching destination address in, select route according to the Hash operation result of message, and according to the said message of selecting of routing forwarding;
The list item maintenance unit when being used in Preset Time, not receiving the BFD message of HUB PE transmission, is judged this HUB PE fault, deletes next jumping and is the forwarding-table item of this HUB PE.
8. equipment as claimed in claim 7 is characterized in that, said Transmit-Receive Unit specifically is used for:
To each HUB PE issue route, through each HUB PE self route is published to other Spoken PE, and receives the route of other Spoken PE of each HUB PE issue;
Perhaps
To each HUB PE issue route, receive the default route of each HUB PE issue, next of said default route jumped the HUB PE for corresponding this default route of issue.
9. equipment as claimed in claim 8 is characterized in that, said Transmit-Receive Unit also is used for:
When the local route of the matching destination address of said message storage, according to the said message of local routing forwarding;
When the route of other Spoken PE of the matching destination address of said message storage, send said message to HUB PE, transmit said message through HUB PE to other Spoken PE of correspondence;
Perhaps
When the local route of the destination address of said message and storage does not match, transmit said message to HUB PE according to default route.
CN200910180957A 2009-10-22 2009-10-22 Method, system and equipment for HUB-Spoken networking Active CN101692654B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910180957A CN101692654B (en) 2009-10-22 2009-10-22 Method, system and equipment for HUB-Spoken networking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910180957A CN101692654B (en) 2009-10-22 2009-10-22 Method, system and equipment for HUB-Spoken networking

Publications (2)

Publication Number Publication Date
CN101692654A CN101692654A (en) 2010-04-07
CN101692654B true CN101692654B (en) 2012-09-05

Family

ID=42081312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910180957A Active CN101692654B (en) 2009-10-22 2009-10-22 Method, system and equipment for HUB-Spoken networking

Country Status (1)

Country Link
CN (1) CN101692654B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101924699B (en) * 2010-08-05 2013-01-02 福建星网锐捷网络有限公司 Message forwarding method, system and provider edge equipment
CN102316041B (en) * 2011-09-09 2014-10-29 福建星网锐捷网络有限公司 Router switching method and device
CN102739497B (en) * 2012-06-07 2015-07-08 杭州华三通信技术有限公司 Automatic generation method for routes and device thereof
CN104009919B (en) * 2013-02-25 2017-06-09 新华三技术有限公司 Message forwarding method and device
CN112702773B (en) 2019-10-22 2023-03-03 华为技术有限公司 A communication method and device
CN113630276B (en) * 2021-08-16 2024-04-09 迈普通信技术股份有限公司 Main-standby switching control method and device and DVPN network system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1455560A (en) * 2003-05-22 2003-11-12 北京港湾网络有限公司 Method of intercommunication of multi-protocol label exchange virtual special network
US20050025069A1 (en) * 2003-08-01 2005-02-03 Nortel Networks Limited Method and apparatus for implementing hub-and-spoke topology virtual private networks
CN101321077A (en) * 2008-07-18 2008-12-10 华为技术有限公司 Reliable multicast method, operator edge upper layer equipment and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1455560A (en) * 2003-05-22 2003-11-12 北京港湾网络有限公司 Method of intercommunication of multi-protocol label exchange virtual special network
US20050025069A1 (en) * 2003-08-01 2005-02-03 Nortel Networks Limited Method and apparatus for implementing hub-and-spoke topology virtual private networks
CN101321077A (en) * 2008-07-18 2008-12-10 华为技术有限公司 Reliable multicast method, operator edge upper layer equipment and system

Also Published As

Publication number Publication date
CN101692654A (en) 2010-04-07

Similar Documents

Publication Publication Date Title
EP3841711B1 (en) Loop conflict avoidance in a network computing environment
US11804988B2 (en) Method and system of overlay flow control
CN107733793B (en) Forwarding table item maintenance method and device
US9019814B1 (en) Fast failover in multi-homed ethernet virtual private networks
US8724456B1 (en) Network path selection for multi-homed edges to ensure end-to-end resiliency
US9954769B2 (en) Inter-domain fast reroute methods and network devices
US8503329B2 (en) Signaling of attachment circuit status and automatic discovery of inter-chassis communication peers
EP3151485A1 (en) Egress node protection in evpn all-active topology
US10791053B2 (en) Service function chain SFC-based communication method, and apparatus
US9628409B1 (en) Designated forwarder election for multi-homed data center interconnect using multicast routing protocol state information
EP3641241A1 (en) Node protection for bum traffic for multi-homed node failure
WO2012028029A1 (en) Switching method and system
JPWO2009054032A1 (en) Communication device in label switching network
US10320653B2 (en) Route topology discovery in data networks
CN101692654B (en) Method, system and equipment for HUB-Spoken networking
CN101123531A (en) Convergence method and device for fully connected network based on VPLS dual-homing
US20200412640A1 (en) Network device, network control method, and program
US9571364B2 (en) Connectivity fault management in a communication network
CN106572012A (en) VPN FRR implementation method and PE equipment
CN103534985B (en) Service load allocating method, apparatus and communication system
CN102185712B (en) The reverse method of VPLS network and ethernet ring network and device
CN107154896B (en) Data transmission method and forwarding equipment
US8670299B1 (en) Enhanced service status detection and fault isolation within layer two networks
US8750166B2 (en) Route topology discovery in data networks
CN119172319A (en) A service flow rate limiting system, method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: NEW H3C TECHNOLOGIES Co.,Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: HANGZHOU H3C TECHNOLOGIES Co.,Ltd.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20250217

Address after: Room 801, 8th Floor, Tsinghua International Science and Technology Exchange Center, East Gate of Tsinghua University, Shuangqing Road, Haidian District, Beijing 100080

Patentee after: Beijing Ziguang Communication Technology Group Co.,Ltd.

Country or region after: China

Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right