WO2014082430A1 - 报文控制方法及装置 - Google Patents

报文控制方法及装置 Download PDF

Info

Publication number
WO2014082430A1
WO2014082430A1 PCT/CN2013/075733 CN2013075733W WO2014082430A1 WO 2014082430 A1 WO2014082430 A1 WO 2014082430A1 CN 2013075733 W CN2013075733 W CN 2013075733W WO 2014082430 A1 WO2014082430 A1 WO 2014082430A1
Authority
WO
WIPO (PCT)
Prior art keywords
lsp
label
operator
node
bgp
Prior art date
Application number
PCT/CN2013/075733
Other languages
English (en)
French (fr)
Inventor
周鹏
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2014082430A1 publication Critical patent/WO2014082430A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery

Definitions

  • the present invention relates to the field of communications, and in particular, to a message control method and apparatus. Background technique
  • the customer equipment (Customer Edge, CE) of the backbone operator and the provider edge device (Provider Edge, PE) of the backbone operator are shown. Use the Internal Gateway Protocol (IGP) + Label Distribution Protocol (LDP) between them.
  • the PE between the backbone operators uses the Border Gateway Protocol (BGP) to publish the routes and labels of the customer's operators.
  • BGP Border Gateway Protocol
  • the customer equipment provider's PE equipment, that is, the customer service provider edge provider (C-PE) C-PE equipment in Figure 1 provides virtual private network (VPN) services to its customers.
  • the label switch path (LSP) of the C-PE1 of the second customer carrier from the upstream second customer carrier to the first customer carrier of the downstream is required.
  • VRF Virtual Routing and Forwarding
  • the VRF instance on the PE1 device of the backbone operator is used to import the IGP route from the VRF instance to the BGP VPN.
  • the route of the customer carrier (the route from CE1 to C-PE1) is advertised to the PE2 of the remote backbone operator. device.
  • BGP advertises a private network route, it assigns a label to each route by using a per-route label.
  • the route is advertised to the PE2 device through the BGP.
  • PE1 labels the label of the route that CE1 assigns to PE1 through LDP and the label that PE1 locally assigns to the route.
  • the route is redistributed to the IGP.
  • the LDP is configured to assign labels to the CE2 devices of the upstream second carrier.
  • the present invention provides a packet control method, which can be used to solve the problem that the provider edge device of the downstream customer service provider in the prior art cannot detect the availability of the route of the upstream client operator, thereby failing to control unnecessary LSP establishment and reducing system pairing.
  • the problem of LSP overhead is a packet control method, which can be used to solve the problem that the provider edge device of the downstream customer service provider in the prior art cannot detect the availability of the route of the upstream client operator, thereby failing to control unnecessary LSP establishment and reducing system pairing.
  • the problem of LSP overhead is a packet control method, which can be used to solve the problem that the provider edge device of the downstream customer service provider in the prior art cannot detect the availability of the route of the upstream client operator, thereby failing to control unnecessary LSP establishment and reducing system pairing.
  • the problem of LSP overhead is a packet control method, which can be used to solve the problem that the provider edge device of the downstream customer service provider in the prior art cannot detect the availability of the route of the upstream client operator, thereby failing to control unnecessary
  • the embodiment of the present invention provides a packet control method, where the method includes: determining, by a first PE in a backbone carrier network, between a first node of the first client operator and the first PE Whether the first LSP is available, the first LSP is the end of the first node; when it is determined that the first LSP is unavailable, the first PE sends the second PE to the backbone operator to indicate the first The first notification message that the LSP is unavailable, so that the second PE stops the LSP establishment with the second client operator.
  • the first PE in the backbone carrier network determines a first LSP between the first node and the first PE in the first customer service provider Whether it is available includes:
  • the first PE does not receive the label for establishing the first LSP within a predetermined time, it is determined that the first LSP is unavailable.
  • the second possible implementation manner of the first aspect is further provided, where the first notification message is used to indicate that the first PE is not An identifier assigned to establish a label of the first LSP.
  • the first notification message is used to notify the second PE to avoid assigning a label for establishing a second LSP to a device in the second client carrier that is connected to the second PE, where the second LSP is An LSP that passes the second node of the second client operator as a starting point, ends with the first node, and passes the first LSP.
  • the first PE receives a label for establishing the first LSP by using a label distribution protocol LDP.
  • the first PE when determining When the first LSP is unavailable, the first PE sends the first notification message that the first LSP is unavailable to the second PE of the backbone operator, including:
  • the first PE introduces a route corresponding to the first LSP to the border gateway protocol BGP, and uses the BGP attribute to identify that the first client operator does not allocate the first PE to establish the first Labeling the LSP and publishing the first notification message to the second PE by using a multi-protocol gateway protocol MP-BGP.
  • the first PE in the backbone carrier network determines a first LSP between the first node and the first PE in the first customer service provider Whether it is available includes:
  • the first PE When the first PE receives the label for establishing the first LSP, and the first LSP has a connectivity fault, it is determined that the first LSP is unavailable.
  • the first notification message of the first aspect includes:
  • the first notification message is used to notify the second PE to revoke the second PE has been the second
  • the first PE sends the first notification message that the first LSP is unavailable to the second PE of the backbone operator, including:
  • the first PE introduces a route corresponding to the first LSP to the border gateway protocol BGP, and the first client operator that has the BGP attribute identifier has allocated the first PE to the first PE for allocation.
  • the label of the first LSP is established, but the first LSP has a connectivity fault, and the first notification packet is advertised to the second PE by using an MP-BGP protocol.
  • an embodiment of the present invention provides a message control apparatus, where the apparatus includes:
  • a determining unit configured to determine whether a first LSP between the first node and the first PE in the first customer service is available, where the first LSP ends with the first node;
  • a control unit configured to: when the determining unit determines that the first LSP is unavailable, send, to the second PE in the backbone operator, the first notification that the first LSP is unavailable.
  • the determining unit is:
  • the first PE does not receive the label for establishing the first LSP within a predetermined time, it is determined that the first LSP is unavailable.
  • the second possible implementation manner of the second aspect is further provided, where the first notification message is used to indicate that the first PE is not An identifier assigned to establish a label of the first LSP.
  • the first notification message is used to notify the second PE to avoid assigning a label for establishing a second LSP to a device in the second client carrier that is connected to the second PE, where the second LSP is An LSP that passes the second node of the second client operator as a starting point, ends with the first node, and passes the first LSP.
  • the method includes: a receiving unit, configured to receive, by using a label distribution protocol LDP, a label used to establish the first LSP.
  • control unit is specifically used to:
  • the route corresponding to the first LSP is imported to the border gateway protocol BGP, and the first client operator is not assigned the label for establishing the first LSP by using the attribute of the BGP, and The first notification message is advertised to the second PE by using a multi-protocol gateway protocol MP-BGP.
  • the determining unit is specifically configured to: when the first PE receives the label used to establish the first LSP, and the first LSP has a connectivity fault , determining that the first LSP is unavailable.
  • the first notification message includes:
  • An eighth possible implementation of the second aspect according to the second aspect or the sixth possible implementation of the second aspect or the seventh possible implementation of the second aspect The first notification message is used to notify the second PE to revoke the second PE has been the second
  • control unit is specifically used to:
  • the PE device of the backbone operator advertises the information of the corresponding label of the route received by the client operator in the VRF instance to the other PE device of the backbone operator by using the first notification message.
  • Other PE devices avoid assigning labels to upstream client operators when it is determined that the corresponding label of the downstream customer carrier's route is unavailable. Through this scheme, it is possible to control unnecessary LSP establishment and reduce the overhead of the system to LSP.
  • FIG. 1 is a structural diagram of an LSP establishment system
  • Figure 2 is a diagram of the operator's system architecture of the operator
  • FIG. 3 is a flowchart of a packet control method according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a method for establishing an LSP according to an embodiment of the present invention.
  • FIG. 5 is a structural diagram of a message control apparatus according to an embodiment of the present invention
  • FIG. 6 is a structural diagram of a message control apparatus according to another embodiment of the present invention. detailed description
  • Multi-Protocol Label Switch is located between the link layer and the network layer in the TCP/IP protocol stack to provide connection services to the IP layer and to obtain services from the link layer.
  • MPLS is not limited to any particular link layer protocol and can transport network packets using any Layer 2 media.
  • MPLS is not a service or application, it is actually a tunneling technology. This technology not only supports a variety of high-level protocols and services, but also guarantees the security of information transmission to a certain extent.
  • MPLS replaces IP forwarding with label switching, where the label is a short, fixed-length, locally meaningful connection identifier encapsulated between the link layer and the network layer.
  • LDP Label Distribution Protocol
  • FEC Equivalence Class
  • LSP Label Switched Path
  • MPLS supports multi-layer labels, and the forwarding plane is connection-oriented, so it has good scalability, making it possible to provide various services to customers on a unified MPLS/IP infrastructure network architecture.
  • LSR Label Switched Router
  • the Label Switched Router can directly map the routing information of the network layer to the switching path of the data link layer to establish an LSP at the network layer.
  • LDP is widely used in VPN services. It has the advantages of simple networking and configuration, support for routing topology to drive LSPs, and support for large-capacity LSPs.
  • a VPN is a virtual private communication network established in a public network by means of an Internet Service Provider (ISP) and a Network Service Provider (NSP).
  • ISP Internet Service Provider
  • NSP Network Service Provider
  • the basic principle of VPN is to use tunnel technology to encapsulate VPN packets in tunnels.
  • the VPN backbone network is used to establish a dedicated data transmission channel to implement transparent transmission of packets.
  • Tunneling technology uses one protocol to encapsulate another protocol packet, and the encapsulation protocol itself can be encapsulated or carried by other encapsulation protocols.
  • BGP/MPLS IP VPN is a Layer 3 Virtual Private Network (L3VPN). It uses the Border Gateway Protocol (BGP) to advertise VPN routes on the service provider backbone network and MPLS to forward VPN packets on the service provider backbone network.
  • BGP Border Gateway Protocol
  • the IP address here refers to the IP packet carried by the VPN.
  • the user of the BGP/MPLS IP VPN service provider may also be a service provider.
  • the former is called a provider carrier or a first carrier, and the latter is called a customer carrier or a second carrier.
  • This networking model is called the carrier's carrier (carrier's carrier) and the low-level service provider SP (Service Provider) is the higher-level SP's VPN client.
  • the Level 2 carrier uses the Level 1 carrier CE to advertise only the routes of the Level 2 carrier to the PE of the Level 1 carrier, and does not issue routes of its own customers.
  • the route inside the Level 2 carrier is called internal route, and the route of the Level 2 carrier customer is called external route.
  • the difference between the internal route and the external route is as follows:
  • the internal route refers to the route of the secondary carrier switching path SP site, which needs to be exchanged between the related primary carrier PEs through BGP;
  • the external route refers to the secondary carrier customer.
  • the route of the site that is, the VPN route of the secondary carrier.
  • the external routes are not advertised to the PEs of the Level 1 carrier. They are exchanged only through the BGP between the related Level 2 PEs.
  • the VPN-IPv4 route of the customer BGP/MPLS VPN service provider (that is, the second-level carrier) is regarded as an external route, and the backbone BGP/MPLS VPN service provider (that is, the first-level operator) does not introduce these routes to It has its own VPN routing forwarding table, which only imports internal routes from the customer BGP/MPLS VPN service provider. In this way, the number of routes that need to be maintained in the primary carrier network is reduced.
  • the secondary carrier needs to maintain internal routes and external routes.
  • the provider edge device C-PE2 of the customer service provider needs to iterate the VPN service to a certain tunnel.
  • the provider edge device C-PE2 on the upstream customer carrier side If the LDP of the downstream customer carrier is interrupted, the provider edge device C-PE2 on the upstream customer carrier side If the tunnel is unavailable, the route cannot be converged. The traffic cannot be switched to other normal tunnels. When the downstream customer carrier only needs to establish an LSP for a small number of prefixes, the label and LSP resources are wasted because the upstream customer carrier side cannot distinguish.
  • FIG. 3 is a flowchart of an embodiment of a message control method according to an embodiment of the present invention.
  • the execution subject is an upstream provider edge device among the backbone operators, that is, PE1 in FIG. 1 of the background art.
  • the method includes the following content.
  • Step 301 The first PE in the backbone carrier network determines whether a first LSP between the first node and the first PE in the first customer service provider is available, where the first LSP is the first node End point
  • the first PE of the backbone operator for example, PE1 in FIG. 1 creates a first VRF for the customer operator on the site 1 (sitel) side. That is, a route to the PE device C-PE1 of the customer carrier is generated, and the specific generation method may be dynamic learning through the IGP protocol, or static matching.
  • the PE 1 receives the first LSP from the first customer carrier provider edge device C-PE1 of the first customer service provider to the first PE through the first VRF instance, and the C-PE1 serves as the end point of the first LSP.
  • the PE1 receives the label used to establish the first LSP through the Label Distribution Protocol (LDP).
  • LDP Label Distribution Protocol
  • the method for the customer operator to issue the label to the backbone operator is usually LDP, and other methods are used. Exemplary conventional methods are not limited to the above methods.
  • PE1 may receive the label used to establish the first LSP, or may not receive the label.
  • the PE1 does not receive the label for establishing the first LSP within a predetermined time, or when the first label for establishing the first LSP is received, but the first LSP is connected. When the fault occurs, it is determined that the first LSP is unavailable.
  • Step 302 When it is determined that the first LSP is unavailable, the first PE sends a first notification that the first LSP is unavailable to the second PE of the backbone operator.
  • the PE device of the backbone operator sends the information about the existence of the corresponding label of the route of the downstream customer carrier received by the VRF to the other PE device of the backbone operator.
  • Other PE devices can determine whether it is necessary to assign labels to upstream customer carriers according to the situation, thereby saving labels and reducing system overhead to LSPs.
  • the first notification is sent to the PE2 when the first PE determines that the first LSP is unavailable because the first PE does not receive the label for establishing the first LSP within a predetermined time. And a packet, where the first notification message includes an identifier for indicating that the first PE is not allocated for establishing the label of the first LSP.
  • the first notification message is used to notify the PE2 to avoid assigning a label for establishing a second LSP to a device in the second client carrier connected to the PE2.
  • the second LSP is an LSP that starts from the second node of the second client operator, ends with the first node, and passes the first LSP.
  • the first node may be C-PE1 as shown in FIG.
  • the second node may be C-PE2 shown in FIG. 1, and the first node and the second node may also be other nodes.
  • the second LSP can be regarded as an extension of the first LSP, and the first LSP can be regarded as a part of the second LSP.
  • the first PE device of the backbone operator introduces the route to the first client operator in the first VRF to the BGP, and uses the attribute of the BGP to identify that the first client operator does not allocate the first PE.
  • the label used to establish the first LSP is advertised to other PE devices of the backbone operator, such as PE2, through the MP-BGP protocol.
  • the BGP attribute used in the foregoing is an extended community attribute of BGP in one embodiment, and may be other methods.
  • the embodiment of the present invention only exemplifies an exemplary common method, and is not limited to the above method.
  • the other PEs of the backbone operator for example, the PE2, according to the first notification packet, determine whether the second VRF instance needs to be triggered to allocate a label for establishing the second LSP to the second client operator.
  • the PE2 device can respond to the downstream customer carrier.
  • the customer service provider's route distribution label determines whether it is necessary to assign a label to the upstream customer operator, thereby saving the label and reducing the overhead of the system to the LSP.
  • PE1 that is, the first PE, determines that the first LSP is unavailable when receiving a label for establishing the first LSP, and the first LSP has a connectivity fault. And sending a first notification message to the PE2, that is, the second PE, where the first notification packet includes a label indicating that the first PE has been allocated for establishing the first LSP, but the first The LSP has an identifier for connectivity failure.
  • the first notification message is used to notify the PE2 to revoke the label used by the PE2 to be used by the device in the second client carrier that is connected to the second PE to establish the second LSP, where the second LSP is The second LSP is the LSP that passes the first LSP C-PE2 and ends with the first node C-PE1 and passes through the first LSP.
  • the first PE device of the backbone operator introduces the route to the first client operator in the first VRF to the BGP, identifies the BGP attribute, and identifies the first client by using the BGP attribute.
  • the operator has assigned the first PE to the first PE to allocate a label for the first LSP, but the first LSP has a connectivity fault, and is advertised to other PE devices of the backbone operator through the MP-BGP protocol. , for example PE2.
  • the foregoing BGP attribute is an extended community attribute of BGP in one embodiment, and may be other methods.
  • the embodiment of the present invention merely exemplifies an exemplary common method, and is not limited to the above method.
  • the other PEs of the backbone operator for example, PE2, revoke the label used to establish the second LSP according to the first notification message, so as to revoke the second LSP.
  • the foregoing implementation method is also applicable to the case where the LSP from the C-PE2 to the C-PE1 has been established. That is, the PE1 finds that the first LSP between the PE1 and the C-PE1 is faulty, and notifies the PE2 to revoke the PE2 to the C- The label between PE2.
  • the PEs of the backbone operator can obtain the LSP interruption information in time, so that other PEs can avoid establishing an interrupted LSP or other PEs to cancel the LSP that has been interrupted. , to avoid resource waste and business losses.
  • the device in the second client operator that is connected to the PE is configured to establish a label of the second LSP, where the second LSP is started with the second node of the second client operator, and the first node is End point and passing the LSP of the first LSP.
  • the second LSP includes the first LSP, and the first LSP can be regarded as part of the second LSP, and the second LSP can be regarded as the extension of the first LSP.
  • the first PE may allocate a label for establishing the second LSP to the second, regardless of whether the first LSP is available.
  • the first LSP is available to be used by the PE1 to receive the label for establishing the first LSP, and the first LSP does not have a connectivity fault.
  • PE1 can choose to send a second notification message to inform PE2 that the first LSP is available.
  • PE2 After receiving the second notification packet, PE2 can create a second virtual routing exchange VRF instance for the customer carrier. PE2 is similar to PE1, and a VRF is also created for the C-PE2 of the second customer carrier connected to PE2. We call it VRF2.
  • the resulting method can be dynamically learned through the IGP protocol, or statically configured. Only the most common methods are listed here, and the present invention is not limited to the above two methods.
  • the second VRF instance is triggered to allocate a label to the second client, and the third LSP, that is, the LSP from the C-PE2 to the PE2, is established. LSP of C-PE2 to C-PE1.
  • PE2 can be processed according to the flow described in FIG.
  • Step 401 Receive a route advertised by the MP-BGP, and import the route into the IGP corresponding to the second VRF.
  • Step 402 Parsing the attribute carried by the BGP, if there is a specified attribute added by the first PE, performing step 403, and vice versa;
  • the specified attribute added by the first PE indicates that the first LSP is available, if not At the same time, it proves that the first LSP is unavailable.
  • Step 403 Trigger the LDP in the second VRF instance to allocate a label to the second client operator for the route.
  • the PE device other than the PE1 can obtain the information of the LSP interruption in time, thereby stopping the establishment of an interrupted LSP or an LSP with a small interruption.
  • the starting point of this LSP can be found that the LSP cannot be established or the LSP is sold, so that there is an opportunity to take measures against the affected services to avoid resource waste and business loss.
  • the embodiment of the present invention further provides a packet control device, such as a PE device in a backbone operator in the foregoing embodiment, including:
  • a determining unit 501 configured to determine whether a first LSP between the first node in the first client operator and the first PE is available, where the first LSP ends with the first node;
  • the control unit 502 is configured to, when the determining unit 501 determines that the first LSP is unavailable, send a first notification message indicating that the first LSP is unavailable to the second PE in the backbone operator.
  • the determining unit 501 can be implemented by at least one control circuit, and the control unit 502 can be implemented by at least one control circuit.
  • the determining unit 501 when the first PE does not receive the label for establishing the first LSP within a predetermined time, or receives a label for establishing the first LSP, but the first LSP is faulty. In case, it is determined that the first LSP is unavailable.
  • the apparatus further includes a receiving unit 503, configured to receive a label for establishing the first LSP by using a label distribution protocol LDP.
  • the receiving unit 503 can be implemented by at least one receiving circuit.
  • the first notification message sent by the control unit 502 includes an identifier for indicating that the first PE is not allocated for establishing the label of the first LSP, and notifying the second PE to avoid the
  • the device of the second client that is connected to the second PE is configured to establish a label of the second LSP, where the second LSP is the second node of the second client operator, and the first node is used as the starting point.
  • control unit 502 introduces a route corresponding to the first LSP to the border gateway protocol BGP, and uses the attribute of the BGP to identify that the first client operator does not allocate the first port for establishing the first An LSP label, and the first notification message is advertised to the second ⁇ by a multi-protocol gateway protocol MP-BGP.
  • the determining unit 501 determines that the first LSP is unavailable when the first label for establishing the first LSP is received, and the first LSP has a connectivity fault.
  • the first notification message sent by the control unit 502 includes an identifier indicating that the first port has been allocated for establishing the label of the first LSP, but the first LSP has a connectivity fault, the first The notification message is used to notify the second ⁇ to revoke the label used by the second MME that has been allocated to the second client operator connected to the second eNB to establish a second LSP, where the second LSP is An LSP that passes the second node of the second client operator as a starting point, ends with the first node, and passes the first LSP.
  • control unit 502 introduces the route corresponding to the first LSP to the border gateway protocol BGP, and the first customer operator that has the BGP attribute identifier has assigned the first PE to the first PE. Allocating a label for establishing the first LSP, but the first LSP has a connectivity fault, and publishing the first notification message to the second PE by using an MP-BGP protocol.
  • control unit 502 is further configured to: when the determining unit determines that the first LSP is available, send the first LSP to a second PE of the backbone operator.
  • the second notification message is used, so that the second PE allocates a label for establishing the second LSP to the device in the second client carrier connected to the second PE according to the second notification message.
  • the second LSP is an LSP that starts with the second node of the second client operator, ends with the first node, and passes the first LSP.
  • each module in the foregoing embodiment is a functional module for implementing the method shown in FIG. 3, and in fact, the PE device is likely to have the function of implementing the method shown in FIG. 3 to FIG. 4 at the same time.
  • Each of the above two embodiments can be fully integrated into the same PE device. It should not be construed as limiting the embodiments of the invention.
  • FIG. 6 is a schematic diagram of a message control apparatus according to an embodiment of the present invention. As shown in the figure, the embodiment includes a network interface 61, a processor 62, and a memory 63.
  • the system bus 64 is used to connect the network interface 61, the processor 62, and the memory 63.
  • the network interface 61 is used to communicate with other devices.
  • the memory 63 may be a persistent storage such as a hard disk drive and a flash memory having a software module and a device driver.
  • the software modules are capable of executing the various functional modules of the above described method of the present invention; the device drivers can be network and interface drivers.
  • the first PE Determining, by the first PE in the backbone carrier network, whether the first LSP between the first node and the first PE is available, where the first LSP is the end point of the first node; When the first LSP is unavailable, the first PE sends a first notification message indicating that the first LSP is unavailable to the second PE of the backbone operator.
  • the message control device shown in FIG. 6 can be used to execute the message control method shown in FIG. 3 to FIG. 4, and only needs to be configured in the memory or the processor, and details are not described.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明实施例提供了一种报文控制方法,所述方法包括:骨干运营商网络中的第一PE确定第一客户运营商中的第一节点和所述第一PE之间的第一LSP是否可用,所述第一LSP以所述第一节点为终点;当确定所述第一LSP不可用时,所述第一PE向骨干运营商中的第二PE发送表明所述第一LSP不可用的第一通知报文,以便于所述第二PE停止与第二客户运营商之间的LSP建立。通过此方案,能够控制不必要的LSP建立,降低系统对LSP的开销。

Description

报文控制方法及装置 技术领域
本发明涉及通信领域, 具体涉及到一种报文控制方法及装置。 背景技术
如图 1所示, 在现有技术中的运营商的运营商( carrier's carrier )方案中, 骨干运营商的客户设备 ( Customer Edge, CE )和骨干运营商的提供者边缘设 备(Provider Edge, PE)之间利用内部网关协议( Internal Gateway Protocol , IGP ) +标签分发协议( Label Distribution Protocol , LDP ) 。 骨干运营商内 部的 PE间釆用边界网关协议(Border Gateway Protocol, BGP )发布客户运 营商的路由和标签。客户运营商的 PE设备,也就是图 1中的客户运营商提供 者边缘设备 ( customer provider edge, C-PE ) C-PE设备为了能给其客户提供 虚拟专网( Virtual Private Network, VPN )业务, 需要建立一条从上游的第二 客户运营商的 C-PE2 到下游的第一客户运营商的 C-PE1 的标签交换路径 ( Label Switch Path, LSP ) 。
骨干运营商的内部网络, 以及客户设备 CE1和骨干运营商 PE1设备之间 运行 IGP + LDP协议。 在 PE 1设备上, 这两个协议都属于一个虚拟路由交换 ( Virtual Routing and Forwarding, VRF ) 。 通过 LDP建立起从 PE1到 C-PE1 的 LSP。 PE1上通过 IGP学习到 C-PE1的路由。
骨干运营商 PE1设备上的 VRF实例里面将该 VRF实例中的 IGP路由引 入到 BGP VPN中, 利用 BGP把客户运营商的路由 ( CE1到 C-PE1的路由) 发布到远端骨干运营商的 PE2设备。 BGP发布私网路由时釆用每路由标签方 式给每个路由分配标签,把路由和给该路由分配的标签一起通过 BGP发布到 PE2设备。 PE1把 CE1通过 LDP给 PE1分配的该路由的标签和 PE1本地为 该路由分配的标签作标签交换。 在 PE2上, 收到 PE1的 VPN路由后, 会把路由引入到 IGP, 触发 LDP 向上游的第二客户运营商的 CE2设备分配标签, 同时把分配的标签和从 PE1 通过 BGP收到的该路由的标签做标签交换。 最终形成一个 C-PE2到 C-PE1 的端到端 LSP。 由于 C-PE2需要迭代 VPN业务到某隧道时, 如果下游的 LDP中断, 上 游侧的 C-PE2无法感知隧道不可用, 不能进行路由收敛, 无法把流量切换到 其他正常的隧道上, 会导致业务中断。 并且, 当下游仅需要对小部分前缀建 立 LSP时, 由于上游无法区分, 会浪费标签和 LSP资源。 发明内容
本发明提供一种报文控制方法, 以解决现有技术中在下游的客户运营商 的提供者边缘设备无法感知上游客户运营商的路由是否可用, 从而不能控制 不必要的 LSP建立, 降低系统对 LSP开销的问题。
第一方面, 本发明实施例提供了一种报文控制方法, 所述方法包括: 骨干运营商网络中的第一 PE确定第一客户运营商中的第一节点和所述 第一 PE之间的第一 LSP是否可用, 所述第一 LSP以所述第一节点为终点; 当确定所述第一 LSP不可用时, 所述第一 PE向骨干运营商中的第二 PE 发送表明所述第一 LSP不可用的第一通知报文, 以便于所述第二 PE停止与 第二客户运营商之间的 LSP建立。
在所述第一方面的第一种可能的实现方式中, 所述骨干运营商网络中的 第一 PE确定第一客户运营商中的第一节点和所述第一 PE之间的第一 LSP是 否可用包括:
当所述第一 PE在预定的时间内未接收到用于建立所述第一 LSP的标签 时, 确定所述第一 LSP不可用。
在所述第一方面的第二种可能的实现方式中, 还提供了所述第一方面的 第二种可能的实现方式,所述第一通知报文包括用于表示所述第一 PE未被分 配用于建立所述第一 LSP的标签的标识。 在根据所述第一方面或所述第一方面的第一种可能的实现方式或所述第 一方面的第二种可能的实现方式的所述第一方面的第三种可能的实现方式 中, 所述第一通知报文用于通知所述第二 PE避免向与所述第二 PE相连的第 二客户运营商中的设备分配用于建立第二 LSP的标签,所述第二 LSP为以所 述第二客户运营商中的第二节点为起点、 以所述第一节点为终点且经过所述 第一 LSP的 LSP。
在根据所述第一方面的第一种可能的实现方式至所述第一方面的第三种 可能的实现方式中的任意一个的所述第一方面的第四种可能的实现方式中, 所述第一 PE通过标签分发协议 LDP接收用于建立所述第一 LSP的标签。
在根据所述第一方面的第一种可能的实现方式至所述第一方面的第三种 可能的实现方式中任意一个的所述第一方面的第五种可能的实现方式中, 当 确定所述第一 LSP不可用时, 所述第一 PE向骨干运营商中的第二 PE发送 所述第一 LSP不可用的第一通知报文, 具体包括:
所述第一 PE将所述第一 LSP对应的路由引入到边界网关协议 BGP, 以 所述 BGP的属性标识所述第一客户运营商没有给所述第一 PE分配用于建立 所述第一 LSP的标签 ,并通过多协议网关协议 MP-BGP将所述第一通知 ^艮文 发布到所述第二 PE。
在所述第一方面的第六种可能的实现方式中, 所述骨干运营商网络中的 第一 PE确定第一客户运营商中的第一节点和所述第一 PE之间的第一 LSP是 否可用包括:
当第一 PE接收到用于建立所述第一 LSP的标签, 且所述第一 LSP存在 连通性故障时, 确定所述第一 LSP不可用。
在根据所述第一方面或所述第一方面的第六种可能的实现方式的所述第 一方面的第七种可能的实现方式中, 所述第一通知报文包括:
用于表示所述第一 PE已被分配用于建立所述第一 LSP的标签但所述第 一 LSP存在连通性故障的标识。 在根据所述第一方面或所述第一方面的第六种可能的实现方式或所述第 一方面的第七种可能的实现方式的所述第一方面的第八种可能的实现方式 中, 所述第一通知 文用于通知所述第二 PE撤销所述第二 PE已经为与第二
PE相连的第二客户运营商中的设备分配的用于建立第二 LSP的标签,所述第 二 LSP为以第二客户运营商中的第二节点为起点、 以所述第一节点为终点且 经过所述第一 LSP的 LSP。
在根据所述第一方面的第六种可能的实现方式至所述第一方面的第八种 可能的实现方式中的任意一个的所述第一方面的第九种可能的实现方式中, 当确定所述第一 LSP不可用时, 所述第一 PE向骨干运营商中的第二 PE发 送所述第一 LSP不可用的第一通知报文, 具体包括:
所述第一 PE将所述第一 LSP对应的路由引入到边界网关协议 BGP, 以 所述 BGP的属性标识所述的第一客户运营商已经给所述第一 PE分配第一 PE 分配用于建立所述第一 LSP的标签并且但所述第一 LSP存在连通性故障,并 通过 MP-BGP协议将所述第一通知报文发布到所述第二 PE。
第二方面, 本发明实施例提供了一种报文控制装置, 其特征在于, 所述 装置包括:
确定单元,用于确定第一客户运营商中的第一节点和所述第一 PE之间的 第一 LSP是否可用, 所述第一 LSP以所述第一节点为终点;
控制单元, 用于当所述确定单元确定所述第一 LSP不可用时, 向骨干运 营商中的第二 PE发送所述第一 LSP不可用的第一通知 文。
在所述第二方面的第一种可能的实现方式中, 所述确定单元:
当所述第一 PE在预定的时间内未接收到用于建立所述第一 LSP的标签 时, 确定所述第一 LSP不可用。
在所述第二方面的第二种可能的实现方式中, 还提供了所述第二方面的 第二种可能的实现方式,所述第一通知报文包括用于表示所述第一 PE未被分 配用于建立所述第一 LSP的标签的标识。 在根据所述第二方面或所述第二方面的第一种可能的实现方式或所述第 二方面的第二种可能的实现方式的所述第二方面的第三种可能的实现方式 中, 所述第一通知报文用于通知所述第二 PE避免向与所述第二 PE相连的第 二客户运营商中的设备分配用于建立第二 LSP的标签,所述第二 LSP为以所 述第二客户运营商中的第二节点为起点、 以所述第一节点为终点且经过所述 第一 LSP的 LSP。
在根据所述第二方面的第一种可能的实现方式至所述第二方面的第三种 可能的实现方式中的任意一个的所述第二方面的第四种可能的实现方式中, 还包括: 接收单元, 用于通过标签分发协议 LDP接收用于建立所述第一 LSP 的标签。
在根据所述第一方面的第一种可能的实现方式至所述第一方面的第三种 可能的实现方式中任意一个的所述第二方面的第五种可能的实现方式中,所 述控制单元具体用于:
将所述第一 LSP对应的路由引入到边界网关协议 BGP , 以所述 BGP的 属性标识所述第一客户运营商没有给所述第一 PE 分配用于建立所述第一 LSP的标签, 并通过多协议网关协议 MP-BGP将所述第一通知 4艮文发布到所 述第二 PE。
在所述第二方面的第六种可能的实现方式中, 确定单元具体用于: 当第一 PE接收到用于建立所述第一 LSP的标签, 且所述第一 LSP存在 连通性故障时, 确定所述第一 LSP不可用。
在根据所述第二方面或所述第二方面的第六种可能的实现方式的所述第 二方面的第七种可能的实现方式中, 所述第一通知报文包括:
用于表示所述第一 PE已被分配用于建立所述第一 LSP的标签但所述第 一 LSP存在连通性故障的标识。
在根据所述第二方面或所述第二方面的第六种可能的实现方式或所述第 二方面的第七种可能的实现方式的所述第二方面的第八种可能的实现方式 中, 所述第一通知 文用于通知所述第二 PE撤销所述第二 PE已经为与第二
PE相连的第二客户运营商中的设备分配的用于建立第二 LSP的标签,所述第 二 LSP为以第二客户运营商中的第二节点为起点、 以所述第一节点为终点且 经过所述第一 LSP的 LSP。
在根据所述第二方面的第六种可能的实现方式至所述第二方面的第八种 可能的实现方式中的任意一个的所述第二方面的第九种可能的实现方式中, 所述控制单元具体用于:
将所述第一 LSP对应的路由引入到边界网关协议 BGP , 以所述 BGP的 属性标识所述的第一客户运营商已经给所述第一 PE分配第一 PE分配用于建 立所述第一 LSP 的标签并且但所述第一 LSP 存在连通性故障, 并通过 MP-BGP协议将所述第一通知报文发布到所述第二 PE。
通过本发明实施例提供的方法, 骨干运营商的 PE设备将 VRF实例中收到的 客户运营商的路由的对应标签的信息, 通过第一通知报文发布到骨干运营商 的其他 PE设备, 使得其他的 PE设备在确定下游的客户运营商的路由的对应 标签不可用时, 避免向上游客户运营商分配标签。 通过此方案, 能够控制不 必要的 LSP建立, 降低系统对 LSP的开销。
附图说明
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例或现 有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中 的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不 付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1为 LSP建立系统架构图;
图 2为运营商的运营商系统架构图;
图 3为本发明实施例提供的报文控制方法的流程图;
图 4为本发明实施例中 LSP建立方法的流程图;
图 5为本发明实施例提供的报文控制装置的结构图; 图 6为本发明另一实施例提供的报文控制装置的结构图。 具体实施方式
下面通过附图和实施例, 对本发明的技术方案做进一步的详细描述。 多协议标签交换(Multiple Protocol Label Switch , MPLS )位于 TCP/IP 协议栈中的链路层和网络层之间, 用于向 IP层提供连接服务, 同时又从链路 层得到服务。 MPLS 不局限于任何特定的链路层协议, 能够使用任意二层介 质传输网络分组。 MPLS 并不是一种业务或者应用, 它实际上是一种隧道技 术。 这种技术不仅支持多种高层协议与业务, 而且在一定程度上可以保证信 息传输的安全性。 在此种技术中, MPLS以标签交换替代 IP转发, 其中标签 是封装在链路层和网络层之间的一个短而定长的、 只具有本地意义的连接标 识符。
标签分发协议(Label Distribution Protocol, LDP )是 MPLS的一种控制 协议, 相当于传统网络中的信令协议, 负责转发等价类 (Forwarding Equivalence Class , FEC ) 的分类、 标签的分配以及标签交换路径 (Label Switched Path, LSP )的建立和维护等操作。 LDP规定了标签分发过程中的各 种消息以及相关处理过程。
MPLS 支持多层标签, 并且转发平面面向连接, 故具有良好的扩展性, 使在统一的 MPLS/IP基础网络架构上为客户提供各类服务成为可能。 通过 LDP协议, 标签交换路由器(Label Switched Router, LSR )可以把网络层的 路由信息直接映射到数据链路层的交换路径上, 建立起网络层的 LSP。 目前, LDP广泛地应用于 VPN服务,具有组网和配置简单、支持路由拓朴驱动建立 LSP、 支持大容量 LSP等优点。
VPN是依靠 Internet服务提供商 ( Internet Service Provider, ISP )和网络 服务提供商 ( Network Service Provider , NSP )在公共网络中建立的虚拟专用 通信网络。 VPN的基本原理是利用隧道技术, 把 VPN报文封装在隧道中, 利用 VPN骨干网建立专用数据传输通道, 实现报文的透明传输。
隧道技术使用一种协议封装另外一种协议报文, 而封装协议本身也可以 被其他封装协议所封装或承载。
BGP/MPLS IP VPN 是一种三层虚拟专网 (Layer 3 Virtual Private Network, L3VPN ) 。 它使用边界网关协议( Border Gateway Protocol, BGP ) 在服务提供商骨干网上发布 VPN路由,使用 MPLS在服务提供商骨干网上转 发 VPN报文。 这里的 IP是指 VPN承载的是 IP报文。
BGP/MPLS IP VPN服务提供商的用户本身也可能是一个服务提供商。这 种情况下, 前者称为提供商运营商 (provider carrier ) 或一级运营商 (first carrier ) , 后者称为客户运营商 ( customer carrier ) 或二级运营商 ( second carrier ) ,如图 2所示。这种组网模型称为运营商的运营商( carriers' carrier ) , 低级别的服务提供商 SP ( Service Provider )作为更高级别 SP的 VPN客户。
为保持良好的可扩展性, 二级运营商釆用一级运营商 CE只把二级运营 商内部的路由发布给一级运营商的 PE, 不发布自己客户的路由。 在本文的描 述中, 二级运营商内部的路由称为内部路由, 二级运营商客户的路由称为外 部路由。
其中, 内部路由和外部路由的区别在于: 内部路由是指二级运营商交换 路径 SP站点的路由, 需要在相关的一级运营商 PE间通过 BGP进行交换; 外部路由是指二级运营商客户站点的路由, 即二级运营商的 VPN路由。 外部 路由不发布给一级运营商的 PE设备, 只在相关二级运营商 PE间通过 BGP 进行交换。
客户 BGP/MPLS VPN服务提供商 (也就是二级运营商)的 VPN-IPv4路 由被看作外部路由, 骨干 BGP/MPLS VPN服务提供商 (也就是一级运营商) 并不将这些路由引入到它自己的 VPN路由转发表,它只引入客户 BGP/MPLS VPN服务提供商的内部路由。 这样, 减少了一级运营商网络中需要维护的路 由数量。 二级运营商需要维护内部路由和外部路由。 由于,在 MPLS技术中存在客户运营商的提供者边缘设备 C-PE2需要迭 代 VPN业务到某隧道时, 如果下游客户运营商侧的 LDP中断, 上游客户运 营商侧的提供者边缘设备 C-PE2无法感知隧道已经不可用, 不能进行路由收 敛, 无法把流量切换到其他正常的隧道上, 会导致业务中断。 并且当下游客 户运营商仅需要对小部分前缀建立 LSP时,由于上游客户运营商侧无法区分, 会浪费 label和 LSP资源。
为此, 本发明实施例提供一种报文控制方法的方法。 图 3是本发明实施 例提供的报文控制方法一种实施例的流程图。 在该实施例中, 执行主体为骨 干运营商中的位于上游的提供者边缘设备, 也就是背景技术图 1 中的 PE1 , 由图可见, 所述方法包括以下内容。
步骤 301 , 骨干运营商网络中的第一 PE确定第一客户运营商中的第一节 点和所述第一 PE之间的第一 LSP是否可用, 所述第一 LSP以所述第一节点 为终点;
具体的, 骨干运营商的第一 PE,例如图 1中的 PE1为站点 1 ( sitel ) 侧 的客户运营商创建一个第一 VRF。 也就是产生一个到客户运营商的 PE设备 C-PE1的路由, 具体的产生方法可以是通过 IGP协议动态学习, 或者静态配
PE 1通过所述第一 VRF实例接收第一客户运营商中的第一客户运营商提 供者边缘设备 C-PE1到第一 PE的第一 LSP, C-PE1作为第一 LSP的终点。 优选的, PE1通过标签分发协议( LDP )接收用于建立所述第一 LSP的标签, 客户运营商发布标签给骨干运营商的方法通常是釆用 LDP, 还可以是其他方 法, 本发明只是列举了示例性的常用方法, 不限于上述方法。
PE1可能会接收到用于建立所述第一 LSP的标签, 也可能接收不到上述 的标签。
当所述 PE1在预定的时间内未接收到用于建立所述第一 LSP的标签时, 或者当第一接收到用于建立所述第一 LSP的标签,但所述第一 LSP存在连通 性故障时, 确定所述第一 LSP不可用。
步骤 302, 当确定所述第一 LSP不可用时,所述第一 PE向骨干运营商中 的第二 PE发送所述第一 LSP不可用的第一通知 文。
通过本发明实施例提供的方法, 骨干运营商的 PE设备将 VRF中收到的 下游客户运营商的路由的对应标签是否存在的信息, 通过信令消息发送到骨 干运营商的其他 PE设备, 使得其他 PE设备能够根据情况判断是否需要向上 游的客户运营商分配标签, 从而节省标签并且降低系统对 LSP的开销。
在一种实施方式中,ΡΕΙ在当所述第一 PE因在预定的时间内未接收到用 于建立所述第一 LSP的标签而确定所述第一 LSP不可用时,向 PE2发送第一 通知报文,所述第一通知报文中包括用于表示所述第一 PE未被分配用于建立 所述第一 LSP的标签的标识。 所述第一通知报文用于通知所述 PE2避免向与 所述 PE2相连的第二客户运营商中的设备分配用于建立第二 LSP的标签。 可 选地, 所述第二 LSP为以所述第二客户运营商中的第二节点为起点、 以所述 第一节点为终点且经过所述第一 LSP的 LSP。 所述第一节点可以是图 1所示 的 C-PE1 , 第二节点可以是图 1所示的 C-PE2, 第一节点和第二节点也可以 是其他节点。所述第二 LSP可以看作是对第一 LSP的延长,第一 LSP可以看 作是第二 LSP的一部分。
更具体的, 骨干运营商第一 PE设备把第一 VRF中的到第一客户运营商 的路由引入到 BGP,釆用 BGP的属性标识所述第一客户运营商没有给所述第 一 PE分配用于建立所述第一 LSP的标签, 并通过 MP-BGP协议发布到骨干 运营商的其他 PE设备, 例如 PE2。 上述釆用的 BGP属性, 在一个实施例中 是釆用 BGP的扩展团体属性, 还可以是其他方法, 本发明实施例只是列举了 示例性的常用的方法, 不限于上述方法。
骨干运营商的其他 PE设备, 例如 PE2依据第一通知报文判断是否需要 触发第二 VRF实例向第二客户运营商分配用于建立第二 LSP的标签。
通过上述实施例, PE2设备能够根据下游的客户运营商是否已经为对应 的客户运营商的路由分配标签,判断是否需要向上游的客户运营商分配标签, 从而节省标签并且降低系统对 LSP的开销。
在另一种实施方式中, PE1 ,即第一 PE,在接收到用于建立所述第一 LSP 的标签, 且所述第一 LSP存在连通性故障时, 确定所述第一 LSP不可用, 并 向 PE2, 即第二 PE, 发送第一通知报文, 该第一通知报文中包括用于表示所 述第一 PE已被分配用于建立所述第一 LSP的标签但所述第一 LSP存在连通 性故障的标识。 所述第一通知报文用于通知所述 PE2撤销所述 PE2已经为与 第二 PE相连的第二客户运营商中的设备分配的用于建立第二 LSP的标签, 所述第二 LSP为以第二客户运营商中的第二节点 C-PE2为起点、 以所述第一 节点 C-PE1为终点且经过所述第一 LSP的 LSP, 即第二 LSP。
更具体的, 骨干运营商第一 PE设备把第一 VRF中的到第一客户运营商 的路由引入到 BGP, 釆用 BGP的属性进行标识, 以所述 BGP的属性标识所 述的第一客户运营商已经给所述第一 PE分配第一 PE分配用于建立所述第一 LSP的标签但所述第一 LSP存在连通性故障, 并通过 MP-BGP协议发布到骨 干运营商的其他 PE设备, 例如 PE2。 上述釆用的 BGP属性, 在一个实施例 中是釆用 BGP的扩展团体属性, 还可以是其他方法, 本发明实施例只是列举 了示例性的常用的方法, 不限于上述方法。
骨干运营商的其他 PE设备, 例如 PE2依据第一通知报文撤销已经分配 的用于建立第二 LSP的标签, 以便撤销第二 LSP。
上述的实施方法,同样适用于已经建立从 C-PE2到 C-PE1的 LSP的情况, 即 PE1发现从 PE1到 C-PE1之间的第一 LSP存在故障, 则通知 PE2撤销从 PE2到 C-PE2之间的标签。
通过本实施例提供的方法, 能够使得骨干运营商的除 PE1 外的其他 PE 设备能够及时获知 LSP中断的信息, 从而使其他 PE避免继续建立一条中断 的 LSP的或者使其他 PE撤销已经中断的 LSP, 避免资源浪费和业务损失。
优选的, 在另外一种实施方式中, 当 PE1确定所述第一 LSP可用时, 所 述第一 PE向骨干运营商中的第二 PE发送所述第一 LSP可用的第二通知才艮 文, 以便于所述第二 PE根据所述第二通知报文, 向与所述第二 PE相连的第 二客户运营商中的设备分配用于建立第二 LSP的标签,所述第二 LSP为以所 述第二客户运营商中的第二节点为起点、 以所述第一节点为终点且经过所述 第一 LSP的 LSP。 实际上, 第二 LSP包括了第一 LSP, 第一 LSP可以看做是 第二 LSP的一部分, 而第二 LSP可以看作是第一 LSP的延长。
此外, 无论第一 LSP是否可用, 第一 PE均可以向第二分配一个用于建 立所述第二 LSP的标签。
具体而言,所述第一 LSP可用是指 PE1接收到用于建立所述第一 LSP的 标签, 且所述第一 LSP不存在连通性故障时。
在这种情况下, PE1可以选择发送第二通知报文, 告知 PE2第一 LSP可 用。
PE2 可以在接收到第二通知报文之后, 为客户运营商创建一个第二虚拟 路由交换 VRF实例; PE2与 PE1类似, 也为 PE2连接的第二客户运营商的 C-PE2也创建一个 VRF , 我们称为 VRF2。 产生的方法可以是通过 IGP协议 动态学习, 或者静态配置。 这里只列举了最常见的方法, 本发明不限于上述 两种方法。
PE2通过第二通知 文获知第一 LSP可用,则触发第二 VRF实例向所述 第二客户运营商分配标签,建立所述第三 LSP,也就是从 C-PE2到 PE2的 LSP, 进一步建立从 C-PE2到 C-PE1的 LSP。
例如, PE2可以根据图 4所述的流程进行处理。
步骤 401 ,接收 MP-BGP发布的路由,并将所述路由引入到所述第二 VRF 对应的 IGP中;
步骤 402, 解析所述 BGP携带的属性, 若存在所述第一 PE增加的指定 属性, 则执行步骤 403 , 反之, 结束;
具体而言, 存在第一 PE增加的指定属性说明第一 LSP可用, 如果不存 在, 则证明第一 LSP不可用。
步骤 403 ,触发所述第二 VRF实例中的 LDP为所述路由向所述第二客户 运营商分配标签。
通过上述实施例, 能够使得骨干运营商的除 PE1外的其他 PE设备能够 及时获知 LSP中断的信息,从而停止建立一条中断的 LSP或者侧小一条中断 的 LSP。这条 LSP的起点可以发现 LSP无法建立或者 LSP被 4敦销,这样就有 机会对受影响的业务釆取措施, 避免资源浪费和业务损失。
相应的, 请参考图 5 , 本发明实施例还提供一种报文控制装置, 例如前述 实施例中的骨干运营商中的 PE设备, 包括:
确定单元 501 ,用于确定第一客户运营商中的第一节点和所述第一 PE之 间的第一 LSP是否可用, 所述第一 LSP以所述第一节点为终点;
控制单元 502, 用于当所述确定单元 501确定所述第一 LSP不可用时, 向骨干运营商中的第二 PE发送表明所述第一 LSP不可用的第一通知 文。
所述确定单元 501可以由至少一个控制电路实现, 所述控制单元 502可 以由至少一个控制电路实现。
所述确定单元 501 : 当所述第一 PE在预定的时间内未接收到用于建立所 述第一 LSP的标签时, 或者收到用于建立第一 LSP的标签, 但是第一 LSP 存在故障的情况下, 确定所述第一 LSP不可用。
在一种较佳的实施方式中, 所述装置还包括接收单元 503 , 用于通过标 签分发协议 LDP接收用于建立所述第一 LSP的标签。所述接收单元 503可以 由至少一个接收电路实现。
控制单元 502发送的所述第一通知报文中包括用于表示所述第一 PE未被 分配用于建立所述第一 LSP的标签的标识, 通知所述第二 PE避免向与所述 第二 PE相连的第二客户运营商中的设备分配用于建立第二 LSP的标签, 所 述第二 LSP为以所述第二客户运营商中的第二节点为起点、 以所述第一节点 为终点且经过所述第一 LSP的 LSP。 优选的, 控制单元 502将所述第一 LSP对应的路由引入到边界网关协议 BGP,以所述 BGP的属性标识所述第一客户运营商没有给所述第一 ΡΕ分配 用于建立所述第一 LSP的标签, 并通过多协议网关协议 MP-BGP将所述第 一通知 文发布到所述第二 ΡΕ。
在另外一种实施例中,确定单元 501当第一接收到用于建立所述第一 LSP 的标签, 且所述第一 LSP存在连通性故障时, 确定所述第一 LSP不可用。
控制单元 502发送的所述第一通知报文中包括表示所述第一 ΡΕ已被分配 用于建立所述第一 LSP的标签但所述第一 LSP存在连通性故障的标识,所述 第一通知报文用于通知所述第二 ΡΕ撤销所述第二 ΡΕ已经为与第二 ΡΕ相连 的第二客户运营商中的设备分配的用于建立第二 LSP的标签, 所述第二 LSP 为以第二客户运营商中的第二节点为起点、 以所述第一节点为终点且经过所 述第一 LSP的 LSP。
优选的, 所述控制单元 502将所述第一 LSP对应的路由引入到边界网关 协议 BGP, 以所述 BGP的属性标识所述的第一客户运营商已经给所述第一 PE分配第一 PE分配用于建立所述第一 LSP的标签并且但所述第一 LSP存 在连通性故障, 并通过 MP-BGP协议将所述第一通知 文发布到所述第二 PE。
可选的, 在另外一种实施方式中, 所述控制单元 502还用于, 当所述确 定单元确定所述第一 LSP可用时, 向骨干运营商中的第二 PE发送所述第一 LSP可用的第二通知报文, 以便于所述第二 PE根据所述第二通知报文, 向 与所述第二 PE相连的第二客户运营商中的设备分配用于建立第二 LSP的标 签, 所述第二 LSP 为以所述第二客户运营商中的第二节点为起点、 以所述 第一节点为终点且经过所述第一 LSP的 LSP。
值得注意的是, 前述的实施例中的各个模块分别是为了实现图 3所示的 方法的功能模块, 实际上 PE设备很大可能同时具有实现图 3-图 4所示的方 法的功能,因此上述的两种实施例中的各个模块完全能够集成在同一 PE设备 中, 不应理解为对本发明实施例的限制。
图 6为本发明实施例报文控制装置的示意图, 如图所示, 本实施例包括 网络接口 61、 处理器 62和存储器 63。 系统总线 64用于连接网络接口 61、 处理器 62和存储器 63。
网络接口 61用于与其他设备进行通信。
存储器 63可以是永久存储器, 例如硬盘驱动器和闪存, 存储器 63中具 有软件模块和设备驱动程序。 软件模块能够执行本发明上述方法的各种功能 模块; 设备驱动程序可以是网络和接口驱动程序。
在启动时, 这些软件组件被加载到存储器 63中, 然后被处理器 62访问 并执行如下指令:
骨干运营商网络中的第一 PE确定第一客户运营商中的第一节点和所述 第一 PE之间的第一 LSP是否可用, 所述第一 LSP以所述第一节点为终点; 当确定所述第一 LSP不可用时, 所述第一 PE向骨干运营商中的第二 PE 发送表明所述第一 LSP不可用的第一通知报文。
图 6所示的报文控制装置,可以用于执行图 3-图 4所示的报文控制方法, 只需要在存储器或者处理器中作出相应的配置即可, 不多赘述。
专业人员应该还可以进一步意识到, 结合本文中所公开的实施例描述的 各示例的单元及算法步骤, 能够以电子硬件、 计算机软件或者二者的结合来 实现, 为了清楚地说明硬件和软件的可互换性, 在上述说明中已经按照功能 一般性地描述了各示例的组成及步骤。 这些功能究竟以硬件还是软件方式来 执行, 取决于技术方案的特定应用和设计约束条件。 专业技术人员可以对每 个特定的应用来使用不同方法来实现所描述的功能, 但是这种实现不应认为 超出本发明的范围。
结合本文中所公开的实施例描述的方法或算法的步骤可以用硬件、 处理 器执行的软件模块, 或者二者的结合来实施。 软件模块可以置于随机存储器 ( RAM ) 、 内存、 只读存储器 (ROM ) 、 电可编程 ROM、 电可擦除可编程 ROM, 寄存器、 硬盘、 可移动磁盘、 CD-ROM、 或技术领域内所公知的任意 其它形式的存储介质中。 以上所述的具体实施方式, 对本发明的目的、 技术方案和有益效果进行 了进一步详细说明, 所应理解的是, 以上所述仅为本发明的具体实施方式而 已, 并不用于限定本发明的保护范围, 凡在本发明的精神和原则之内, 所做 的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求 书
1、 一种报文控制方法, 其特征在于, 所述方法包括:
骨干运营商网络中的第一 PE确定第一客户运营商中的第一节点和所述 第一 PE之间的第一 LSP是否可用, 所述第一 LSP以所述第一节点为终点; 当确定所述第一 LSP不可用时, 所述第一 PE向骨干运营商中的第二 PE 发送表明所述第一 LSP不可用的第一通知报文。
2、 根据权利要求 1所述的方法, 其特征在于, 所述骨干运营商网络中的 第一 PE确定第一客户运营商中的第一节点和所述第一 PE之间的第一 LSP是 否可用包括:
当所述第一 PE在预定的时间内未接收到用于建立所述第一 LSP的标签 时, 确定所述第一 LSP不可用。
3、 如权利要求 2所述的方法, 其特征在于, 所述第一通知报文包括用于 表示所述第一 PE未被分配用于建立所述第一 LSP的标签的标识。
4、 根据权利要求 1、 2或 3所述的方法, 其特征在于,
所述第一通知报文用于通知所述第二 PE避免向与所述第二 PE相连的第 二客户运营商中的设备分配用于建立第二 LSP的标签,所述第二 LSP为以所 述第二客户运营商中的第二节点为起点、 以所述第一节点为终点且经过所述 第一 LSP的 LSP。
5、 如权利要求 2-4任一项所述的方法, 其特征在于, 所述第一 PE通过 标签分发协议 LDP接收用于建立所述第一 LSP的标签。
6、 如权利要求 2-4所述的方法, 其特征在于, 当确定所述第一 LSP不可 用时, 所述第一 PE向骨干运营商中的第二 PE发送表明所述第一 LSP不可 用的第一通知 文, 具体包括:
所述第一 PE将所述第一 LSP对应的路由引入到边界网关协议 BGP, 以 所述 BGP的属性标识所述第一客户运营商没有给所述第一 PE分配用于建立 所述第一 LSP的标签 ,并通过多协议网关协议 MP-BGP将所述第一通知 ^艮文 发布到所述第二 PE。
7、 根据权利要求 1所述的方法, 其特征在于, 所述骨干运营商网络中的 第一 PE确定第一客户运营商中的第一节点和所述第一 PE之间的第一 LSP是 否可用包括:
当第一 PE接收到用于建立所述第一 LSP的标签, 且所述第一 LSP存在 连通性故障时, 确定所述第一 LSP不可用。
8、 根据权利要求 1或 7所述的方法, 其特征在于, 所述第一通知报文包 括:
用于表示所述第一 PE已被分配用于建立所述第一 LSP的标签但所述第 — LSP存在连通性故障的标识。
9、 根据权利要求 1、 7或 8所述的方法, 其特征在于,
所述第一通知 文用于通知所述第二 PE撤销所述第二 PE已经为与第二 PE相连的第二客户运营商中的设备分配的用于建立第二 LSP的标签,所述第 二 LSP为以第二客户运营商中的第二节点为起点、 以所述第一节点为终点且 经过所述第一 LSP的 LSP。
10、 如权利要求 7-9任一项所述的方法, 其特征在于, 当确定所述第一 LSP不可用时, 所述第一 PE向骨干运营商中的第二 PE发送表明所述第一 LSP不可用的第一通知 4艮文, 具体包括:
所述第一 PE将所述第一 LSP对应的路由引入到边界网关协议 BGP, 以 所述 BGP的属性标识所述的第一客户运营商已经给所述第一 PE分配第一 PE 分配用于建立所述第一 LSP的标签并且但所述第一 LSP存在连通性故障,并 通过 MP-BGP协议将所述第一通知报文发布到所述第二 PE。
11、 一种报文控制装置, 其特征在于, 所述装置包括:
确定单元,用于确定第一客户运营商中的第一节点和所述第一 PE之间的 第一 LSP是否可用, 所述第一 LSP以所述第一节点为终点;
控制单元, 用于当所述确定单元确定所述第一 LSP不可用时, 向骨干运 营商中的第二 PE发送表明所述第一 LSP不可用的第一通知报文。
12、 根据权利要求 11所述的装置, 其特征在于, 所述确定单元: 当所述第一 PE在预定的时间内未接收到用于建立所述第一 LSP的标签 时, 确定所述第一 LSP不可用。
13、 如权利要求 12所述的装置, 其特征在于, 所述第一通知报文包括用 于表示所述第一 PE未被分配用于建立所述第一 LSP的标签的标识。
14、 根据权利要求 11、 12或 13所述的装置, 其特征在于,
所述第一通知报文用于通知所述第二 PE避免向与所述第二 PE相连的第 二客户运营商中的设备分配用于建立第二 LSP的标签,所述第二 LSP为以所 述第二客户运营商中的第二节点为起点、 以所述第一节点为终点且经过所述 第一 LSP的 LSP。
15、 如权利要求 12-14任一项所述的装置, 其特征在于, 还包括: 接收 单元, 用于通过标签分发协议 LDP接收用于建立所述第一 LSP的标签。
16、 如权利要求 12-14所述的方法, 其特征在于, 所述控制单元具体用 于:
将所述第一 LSP对应的路由引入到边界网关协议 BGP , 以所述 BGP的 属性标识所述第一客户运营商没有给所述第一 PE 分配用于建立所述第一 LSP的标签, 并通过多协议网关协议 MP-BGP将所述第一通知 4艮文发布到所 述第二 PE。
17、 根据权利要求 11所述的装置, 其特征在于, 确定单元具体用于: 当第一 PE接收到用于建立所述第一 LSP的标签, 且所述第一 LSP存在 连通性故障时, 确定所述第一 LSP不可用。
18、 根据权利要求 11或 17所述的方法, 其特征在于, 所述第一通知报 文包括:
用于表示所述第一 PE已被分配用于建立所述第一 LSP的标签但所述第 一 LSP存在连通性故障的标识。
19、 根据权利要求 11、 17或 18所述的装置, 其特征在于, 所述第一通知 文用于通知所述第二 PE撤销所述第二 PE已经为与第二 PE相连的第二客户运营商中的设备分配的用于建立第二 LSP的标签,所述第 二 LSP为以第二客户运营商中的第二节点为起点、 以所述第一节点为终点且 经过所述第一 LSP的 LSP。
20、 如权利要求 11-19任一项所述的装置, 其特征在于, 所述控制单元 具体用于: 将所述第一 LSP对应的路由引入到边界网关协议 BGP , 以所述 BGP的 属性标识所述的第一客户运营商已经给所述第一 PE分配第一 PE分配用于建 立所述第一 LSP的标签并且但所述第一 LSP存在连通性故障, 并通过 MP-BGP协议将所述第一通知报文发布到所述第二 PE。
PCT/CN2013/075733 2012-11-30 2013-05-16 报文控制方法及装置 WO2014082430A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210501782.8 2012-11-30
CN201210501782.8A CN103856403B (zh) 2012-11-30 2012-11-30 报文控制方法及装置

Publications (1)

Publication Number Publication Date
WO2014082430A1 true WO2014082430A1 (zh) 2014-06-05

Family

ID=50827136

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/075733 WO2014082430A1 (zh) 2012-11-30 2013-05-16 报文控制方法及装置

Country Status (2)

Country Link
CN (1) CN103856403B (zh)
WO (1) WO2014082430A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111385204B (zh) * 2018-12-27 2022-03-29 中国移动通信集团贵州有限公司 业务传输方法、装置、设备及介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070133406A1 (en) * 2005-12-14 2007-06-14 Jean-Philippe Vasseur Technique for enabling traffic engineering on CE-CE paths across a provider network
CN1984076A (zh) * 2006-06-08 2007-06-20 华为技术有限公司 在虚拟专用网的链路故障时传送报文的方法及系统
CN101330424A (zh) * 2007-06-18 2008-12-24 华为技术有限公司 一种虚拟专用网服务故障处理的方法、系统及装置
CN101931586A (zh) * 2009-06-26 2010-12-29 中国电信股份有限公司 Mpls vpn快速重路由的方法及其系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060133265A1 (en) * 2004-12-22 2006-06-22 Alcatel Virtual private networking methods and systems
CN100502400C (zh) * 2005-09-30 2009-06-17 华为技术有限公司 双归属/多归属逻辑组网方法和提供商设备
CN101753464A (zh) * 2010-01-22 2010-06-23 中兴通讯股份有限公司 路由收敛方法、运营商边缘设备及虚拟专用网系统
CN102394804A (zh) * 2011-11-02 2012-03-28 中兴通讯股份有限公司 虚拟私有网络系统的构建方法及虚拟私有网络系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070133406A1 (en) * 2005-12-14 2007-06-14 Jean-Philippe Vasseur Technique for enabling traffic engineering on CE-CE paths across a provider network
CN1984076A (zh) * 2006-06-08 2007-06-20 华为技术有限公司 在虚拟专用网的链路故障时传送报文的方法及系统
CN101330424A (zh) * 2007-06-18 2008-12-24 华为技术有限公司 一种虚拟专用网服务故障处理的方法、系统及装置
CN101931586A (zh) * 2009-06-26 2010-12-29 中国电信股份有限公司 Mpls vpn快速重路由的方法及其系统

Also Published As

Publication number Publication date
CN103856403B (zh) 2018-06-05
CN103856403A (zh) 2014-06-11

Similar Documents

Publication Publication Date Title
US11936552B2 (en) Method and device for implementing VPN cross-domain, and border node
WO2020134139A1 (zh) 一种业务数据的转发方法、网络设备及网络系统
EP2926507B1 (en) Methods and routers for connectivity setup between provider edge routers
WO2015184852A1 (zh) Sr信息获取方法及建立sr网络的方法
WO2018103099A1 (zh) 发送和接收消息的方法、设备和系统
WO2010135957A1 (zh) Vpn报文的转发方法及其路由标签的分配、删除方法
WO2013139270A1 (zh) 实现三层虚拟专用网络的方法、设备及系统
EP2961117A1 (en) Method, device and system for establishing label switched path
CN112511423A (zh) 报文处理方法、边界设备和计算机可读介质
WO2011103759A1 (zh) 关联的双向标签交换路径的创建方法及系统
US9521072B2 (en) Method and network device for distributing multi-protocol label switching labels
CN113273156B (zh) 路由发布的方法、设备和系统
US10469361B1 (en) Loop prevention for EVPN and PBB-EVPN
EP2832055B1 (en) Pseudowire groups in a packet switched network
EP2832061B1 (en) Pseudowire extended group messaging in a packet switched network
WO2018040614A1 (zh) 建立虚拟专用网标签交换路径方法、相关设备和系统
WO2015062285A1 (zh) 接口参数同步方法和装置
WO2014082430A1 (zh) 报文控制方法及装置
WO2022257773A1 (zh) 路由检测方法、设备、系统及存储介质
WO2012159351A1 (zh) 一种标签分配方法、装置和系统
WO2023284547A1 (zh) 一种故障检测的方法、装置和系统
WO2024001553A1 (zh) 路由发布方法、电子设备和计算机可读存储介质
WO2017041493A1 (zh) 一种实现mbb的方法和装置
EP2832056B1 (en) Pseudowire extended group actions in a packet switched network
CN114978975A (zh) 以太网虚拟私有网络中的bum业务的快速重路由

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13858817

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13858817

Country of ref document: EP

Kind code of ref document: A1