WO2008119277A1 - A method and device for implementing mpls te on vlan interface - Google Patents

A method and device for implementing mpls te on vlan interface Download PDF

Info

Publication number
WO2008119277A1
WO2008119277A1 PCT/CN2008/070378 CN2008070378W WO2008119277A1 WO 2008119277 A1 WO2008119277 A1 WO 2008119277A1 CN 2008070378 W CN2008070378 W CN 2008070378W WO 2008119277 A1 WO2008119277 A1 WO 2008119277A1
Authority
WO
WIPO (PCT)
Prior art keywords
tunnel
mpls
bandwidth value
physical interface
interface
Prior art date
Application number
PCT/CN2008/070378
Other languages
French (fr)
Chinese (zh)
Inventor
Yu Fan
Jun Liu
Original Assignee
Huawei 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 Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2008119277A1 publication Critical patent/WO2008119277A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]

Definitions

  • the present invention relates to the field of network communication technologies, and in particular, to a method and an apparatus for implementing MPLS TE on a VLAN interface.
  • Ethernet With the rapid development and widespread application of Ethernet technology, the cost of deploying Ethernet networks is becoming more and more rampant. At the same time, it faces IP-based services such as Triple-Play (three networks in one) and IPTV (Internet Protocol Television). New services such as Internet Protocol (Network Protocol) technology continue to emerge.
  • IP-based services such as Triple-Play (three networks in one) and IPTV (Internet Protocol Television).
  • New services such as Internet Protocol (Network Protocol) technology continue to emerge.
  • Traditional SDH/SONET Synchronous Digital Hierarchy/Synchronous Optical Network
  • SDH/SONET Synchronous Digital Hierarchy/Synchronous Optical Network
  • Carrier Ethernet needs to address the shortcomings and shortcomings of traditional Ethernet technology in Ethernet-based technologies, such as Ethernet broadcast storms, user-oriented connectivity, and end-to-end QoS (Quality of Service, Quality of service guarantees, slow business recovery after network failure, etc.
  • Ethernet broadcast storms such as Ethernet broadcast storms, user-oriented connectivity, and end-to-end QoS (Quality of Service, Quality of service guarantees, slow business recovery after network failure, etc.
  • QoS Quality of Service, Quality of service guarantees, slow business recovery after network failure, etc.
  • VLAN Virtual Local Area Network
  • MPLS Multi-protocol label switching over Ethernet
  • PBT Provider Backbone Transport
  • MPLS multi-protocol label switching over Ethernet
  • MPLS TE multi-protocol label switching traffic engineering
  • MPLS TE technology is an extension of MPLS technology.
  • MPLS technology cannot provide QoS guarantee, and MPLS TE technology overcomes this shortcoming.
  • RSVP Resource Reservation Protocol
  • the parameters are received.
  • the network devices must allocate bandwidth on their respective interfaces according to the bandwidth parameters requested by the user, that is, bandwidth reservation. Only when all the devices passing through the tunnel meet the bandwidth request of the user, a complete tunnel is successfully established. If RSVP discovers that a certain device that the tunnel will pass cannot meet the bandwidth requirement during the bandwidth reservation release process, it will automatically re-initiate the tunnel establishment request to the new device until all devices meet the bandwidth requirements. Therefore, tunnels set up by MPLS can provide end-to-end QoS guarantees.
  • MPLS TE technology also provides FRR (Fast Reroute) technology to ensure fast service switching, and it is clear that the time for fault protection switching is less than 50ms.
  • VLAN interface (a VLAN-based IP)
  • the logical interface of the attribute provides an interface form that can connect to the VLAN and MPLS TE.
  • the VLAN interface can not only complete the link layer forwarding inside the VLAN, but also participate in the network layer forwarding because it has IP attributes.
  • the MPLS TE tunnel is directly established on the VLAN interface.
  • the VLAN interface of the MPLS TE tunnel is used.
  • Bandwidth values can be allocated to allocate bandwidth.
  • a VLAN-based IP network layer logical interface a VLAN interface does not directly have many attributes of the actual physical interface, such as bandwidth parameters and interface status.
  • bandwidth parameters and interface status are the following drawbacks: due to the direct physical connection between the two devices An interface can carry multiple VLANs and VLAN interfaces at the same time. On the physical interface, multiple MPLS TE tunnels with different next hops can be built at the same time.
  • bandwidth requests between different VLANs cannot be distinguished. For example: Assume that two VLANs and corresponding VLAN interfaces are set on a physical interface of 1000M bandwidth, and two MPLS TE tunnels are set on the VLAN interface. One application has a bandwidth of 300M, and the other application bandwidth is 700M. If the bandwidth of the existing VLAN interface is used to allocate bandwidth, the 1000M bandwidth reserved on the physical interface is shared by the two tunnels; this causes the following problems: When the actual traffic on the tunnel applying for 300M bandwidth exceeds When the reserved 300M, it will preempt the bandwidth resources reserved by another tunnel. Therefore, QoS guarantee cannot be provided, that is, the MPLS TE tunnel cannot provide bandwidth guarantee.
  • the inventors of the present invention have found that the existing technical solutions can establish MPLS on a VLAN interface.
  • the MPLS TE on the VLAN interface cannot be implemented. That is, the bandwidth allocation of the MPLS TE tunnel cannot be guaranteed.
  • the embodiment of the invention provides a method and a device for implementing MPLS TE on a VLAN interface, and can establish an MPLS TE tunnel based on bandwidth guarantee.
  • the embodiment of the invention provides a method for implementing MPLS TE on a VLAN interface, where the method includes:
  • An embodiment of the present invention provides an apparatus for implementing MPLS TE on a VLAN interface, where the apparatus includes:
  • An available bandwidth allocation unit configured to determine, according to the currently assignable bandwidth value, the physical The MPLS TE tunnel corresponding to the VLAN interface on the interface allocates available bandwidth.
  • the method and device for implementing MPLS TE on a VLAN interface are adopted in the carrier-class Ethernet, and the VLAN-based interface is adopted.
  • the bandwidth of the MPLS TE tunnel is guaranteed to ensure the reasonable allocation of bandwidth resources on the MPLS TE tunnel.
  • FIG. 2 is a structural diagram of a system according to an embodiment of the present invention.
  • the technical solution of the embodiment of the present invention includes: determining a current assignable bandwidth value of the physical interface; and allocating an available bandwidth to the MPLS TE tunnel corresponding to the VLAN interface on the physical interface according to the determined current assignable bandwidth value.
  • the current assignable bandwidth value may be determined based on the allocated bandwidth value of the physical interface and the total assignable bandwidth value of the physical interface; the allocated bandwidth value of the physical interface may include: the allocated bandwidth value of the VLAN interface on the physical interface ; and/or, other bandwidth values that have been assigned on this physical interface.
  • the physical interface of the embodiment of the present invention is to establish a physical interface of the MPLS TE tunnel, and the MPLS TE tunnel can be directly established on the VLAN interface, which may include the following steps: First, according to a predetermined rule, the physical between the devices in the network An interface carries multiple VLANs at the same time and establishes a VLAN interface corresponding to the VLAN. After that, an MPLS TE tunnel is established from one device in the network to another. Devices in the network can include: Routers or Layer 3 switches.
  • the method for establishing the MPLS TE tunnel I, the MPLS TE tunnel II, and the FRR backup tunnel may include: First, simultaneously carrying two VLANs, such as VLAN 1 and VLAN 2, on the physical interface between the directly connected P1 and P2 devices; Configure the corresponding VLAN interface 1 and VLAN interface 2 based on VLAN 1 and VLAN 2, and configure their respective IP addresses. Assume that the bandwidth of the physical interface on P1 is 1000 M.
  • an MPLS TE tunnel is established. Including: establishing an MPLS TE tunnel I from the PE A device to the PE B device, the path is PE A - P1 - P2 - PE B, wherein the outbound interface of the IP network layer of the MPLS TE tunnel I on the P1 is the VLAN interface 1;
  • the MPLS TE tunnel II of the PE A device to the PE C device is the PE A-PI-P2-PE C.
  • the outgoing interface of the IP network layer on the MPLS TE tunnel II is VLAN interface 2.
  • the bandwidth allocation is performed on the physical interface of the MPLS TE tunnel, which includes the following steps:
  • the interface that is configured to construct the MPLS TE tunnel is a logical interface based on the VLAN, and obtains physical interface information of the VLAN, a current assignable bandwidth value of the physical interface, and a bearer on the physical interface.
  • the number of VLANs may be performed by an RSVP unit in the network; the current assignable bandwidth value of the physical interface may be determined according to the allocated bandwidth value of the physical interface and the total assignable bandwidth value; the allocated bandwidth of the physical interface The value may be determined based on the allocated bandwidth value of the VLAN interface on the physical interface and/or other bandwidth values allocated on the physical interface;
  • Step 12 Perform a constrained route calculation of the reserved bandwidth according to the current assignable bandwidth value obtained in step 11, and allocate a bandwidth according to the calculation result; for example, the current assignable bandwidth value obtained in step 11 may be specifically transmitted by the RSVP unit to the CSPF. (Constraint Shortest Path First) unit; the CSPF unit participates in the constrained route calculation of the current allocateable bandwidth value on the physical interface, and transmits the calculation result to the RSVP unit, according to the received RSVP unit. The calculation result allocates available bandwidth to the MPLS TE tunnel corresponding to the VLAN interface.
  • the RSVP unit Constraint Shortest Path First
  • the available bandwidth of tunnel I is 300M;
  • the maximum available bandwidth of the physical interface is still 1000M.
  • the tunnel II can only apply for bandwidth resources from the remaining 700M.
  • the data traffic forwarded between the tunnel I and the tunnel does not preempt each other's bandwidth resources. That is, the method according to the embodiment of the present invention can guarantee the bandwidth guarantee of the MPLS TE tunnel.
  • MPLS TE FRR MPLS Traffic Engineering Fast Reroute
  • the fault monitoring technology such as BFD (Bidirectional Forwarding Detection)
  • BFD Bidirectional Forwarding Detection
  • BFD Bidirectional Forwarding Detection
  • the steps to implement the MPLS TE FRR function include:
  • Step 22 If the BFD monitoring unit finds that the next hop IP address of the VLAN interface 2 cannot be reached, the information of the next hop IP address of the VLAN interface 2 cannot be directly notified to the tunnel forwarding engine by using the correspondence formed in the step 21;
  • the tunnel forwarding engine performs the FRR switch immediately after receiving this information. That is, the traffic transmitted on the original MPLS TE tunnel II is switched to the backup tunnel for a predetermined time to continue forwarding, thereby minimizing the loss caused by the failure of the next hop IP address of the VLAN interface 2, and improving the tunnel. reliability.
  • the predetermined time is generally less than 50 ms.
  • the tunnel forwarding engine is a functional entity with information forwarding function in the MPLS TE tunnel.
  • the MPLS TE FRR function of the VLAN interface can quickly switch the user data service to the backup tunnel when the MPLS TE tunnel fails.
  • An available bandwidth allocation unit configured to allocate an available bandwidth to the MPLS TE tunnel corresponding to the VLAN interface on the physical interface according to the determined current assignable bandwidth value
  • a bandwidth update unit configured to update and save the current assignable bandwidth value of the physical interface according to the allocated bandwidth value of the current allocation.
  • the allocatable bandwidth value determining unit specifically includes:
  • the current allocatable bandwidth value determining unit configured to determine a current allocatable bandwidth of the physical interface according to the allocated bandwidth value of the physical interface determined by the allocated bandwidth value determining unit, and a total allocatable bandwidth value of the physical interface
  • the current allocatable bandwidth value determining unit may be a CSPF unit and an RSVP unit.
  • An FRR backup tunnel establishing unit is configured to establish an FRR backup tunnel for the MPLS TE tunnel that needs to be protected by the link.
  • the status table modification unit if the next hop IP address of the VLAN interface on the MPLS TE tunnel is unreachable, the state table for recording the next hop IP address of the MPLS TE tunnel is modified;
  • the FRR switch execution unit is configured to perform FRR switching according to the modified state table, and switch the transmitted data traffic to the FRR backup tunnel for a predetermined time to continue forwarding.
  • the bandwidth of the MPLS TE tunnel based on the VLAN interface is provided by using the technical means of allocating the available bandwidth for the MPLS TE tunnel corresponding to the VLAN interface on the physical interface.
  • the effect of ensuring a reasonable allocation of bandwidth resources on the MPLS TE tunnel is achieved.
  • the state table of the next hop IP address is modified, and the technical solution of the FRR switching is implemented, and the MPLS TE FRR function based on the VLAN interface is provided, in the case that the MPLS TE tunnel fails.

Abstract

A method and device for implementing MPLS TE on VLAN interface, comprises: determining a current assignable bandwidth value of a physical interface; based on the current assignable bandwidth value distributing practicable bandwidth for MPLS TE tunnel which corresponding to VLAN interface on the physical interface. The current assignable bandwidth value is determined according to the assigned bandwidth value and the total assignable bandwidth value.

Description

一种在 VLAN接口上实现 MPLS TE的方法及装置  Method and device for implementing MPLS TE on VLAN interface
本申请要求于 2007 年 3 月 31 日提交中国专利局、 申请号为 200710096217.7、发明名称为"一种在 VLAN接口上实现 MPLS TE的方法及装 置"的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。  This application claims priority to Chinese Patent Application No. 200710096217.7, entitled "A Method and Apparatus for Implementing MPLS TE on a VLAN Interface", filed on March 31, 2007, the entire disclosure of which is incorporated by reference. The citations are incorporated herein by reference.
技术领域 Technical field
本发明涉及网络通信技术领域,尤其涉及一种在 VLAN接口上实现 MPLS TE的方法及装置。  The present invention relates to the field of network communication technologies, and in particular, to a method and an apparatus for implementing MPLS TE on a VLAN interface.
背景技术 Background technique
随着以太网技术的快速发展和广泛应用,以太网网络部署的成本也越来越 氐; 同时, 面对 Triple-Play (三网合一) 、 IPTV ( Internet Protocol Television, 网络视频 )等基于 IP ( Internet Protocol, 网络层协议 )技术的新业务不断涌现, 传统的基于 SDH/SONET ( synchronous digital hierarchy/ Synchronous Optical Network, 同步数字体系 /同步光传输网络)技术的网络不再是最适合和最经济 的网络平台。 由于以太网技术的高带宽和低成本特点, 因此电信运营商在组建 接入网、城域网甚至广域网时越来越多的考虑采用以太网技术, 出现了应用广 泛的 Carrier Ethernet (电信级以太网) 。  With the rapid development and widespread application of Ethernet technology, the cost of deploying Ethernet networks is becoming more and more rampant. At the same time, it faces IP-based services such as Triple-Play (three networks in one) and IPTV (Internet Protocol Television). New services such as Internet Protocol (Network Protocol) technology continue to emerge. Traditional SDH/SONET (Synchronous Digital Hierarchy/Synchronous Optical Network) networks are no longer the most suitable and economical. Network platform. Due to the high bandwidth and low cost of Ethernet technology, telecom operators are increasingly considering Ethernet technology when building access networks, metropolitan area networks, and even WANs. Carrier Ethernet (telecom-class Ethernet) has emerged. network) .
电信级以太网在基于以太技术的^ 5出上,还需要解决传统以太网技术的缺 点和不足, 比如: 以太网广播风暴、 面向用户的无连接、 无法提供端到端的 QoS ( Quality of Service, 服务质量)保证、 网络故障后业务恢复緩慢等问题。  Carrier Ethernet needs to address the shortcomings and shortcomings of traditional Ethernet technology in Ethernet-based technologies, such as Ethernet broadcast storms, user-oriented connectivity, and end-to-end QoS (Quality of Service, Quality of service guarantees, slow business recovery after network failure, etc.
VLAN ( Virtual Local Area Network, 虚拟局域网)技术作为一种成熟的链 路层网络技术能够有效的解决以太网广播风暴的问题。解决面向用户的无连接 的问题,即提供面向连接的技术包括: MPLS Over Ethernet ( multi-protocol label switching over Ethernet, 基于以太网的多协议标签交换) 、 PBT ( Provider Backbone Transport, 运营骨干网传送)等; 其中, MPLS ( multi-protocol label switching over Ethernet, 多协议标签交换 )技术作为一种成熟的标签隧道技术, 被广泛的用于传送客户流量。  As a mature link layer network technology, VLAN (Virtual Local Area Network) technology can effectively solve the problem of Ethernet broadcast storm. Addressing the connection-free problem for users, that is, providing connection-oriented technologies including: MPLS Over Ethernet (multi-protocol label switching over Ethernet), PBT (Provider Backbone Transport) Etc.; MPLS (multi-protocol label switching over Ethernet) technology is widely used to transmit customer traffic as a mature label tunneling technology.
MPLS TE ( multi-protocol label switching Traffic Engineering, 基于 MPLS 的流量工程)能够解决传统以太网技术的无法提供端到端的 QoS保证、 网络故 障后业务恢复緩慢的问题。解决网络故障后业务恢复緩慢的问题, 即需要保证 用户业务的快速恢复(即用户在使用运营商提供的各种基于 IP的服务过程中感 知不到运营商骨干网络发生故障), 则运营商必须保证运营在网络中任何一个 网络设备或者设备之间的联线发生故障的情况下,相邻节点的用户数据业务能 够尽可能快地切换到网络中其它设备上继续完成传送,并且业务切换时间必须 小于 50ms。 MPLS TE (multi-protocol label switching traffic engineering) can solve the problem that the traditional Ethernet technology cannot provide end-to-end QoS guarantee and slow service recovery after network faults. Solve the problem of slow business recovery after network failure, that is, it needs to be guaranteed Rapid recovery of user services (that is, if the user does not perceive the failure of the carrier backbone network in the process of using various IP-based services provided by the operator), the operator must ensure that the operation is between any network device or device in the network. In the event that the connection fails, the user data service of the adjacent node can be switched to other devices in the network as soon as possible to continue the transmission, and the service switching time must be less than 50 ms.
MPLS TE技术是对 MPLS技术的一个拓展, MPLS技术不能够提供 QoS保 证, 而 MPLS TE技术克服了这个缺点。 MPLS TE在用户请求建立隧道时, 除 了收集 IP路由信息以外 , 还通过 RSVP ( Resource Reservation Protocol , 资源预 留协议)将用户请求的带宽参数发布给隧道将要经过的每一个设备; 收到所述 参数的网络设备均必须按照用户请求的带宽参数在各自的接口上进行带宽分 配,即带宽预留;只有在隧道经过的所有设备都满足用户的带宽请求的情况下, 一条完整的隧道才建立成功。 若 RSVP在带宽预留发布过程中, 发现隧道将要 经过的某个设备无法满足带宽要求,则会自动重新向新的设备发起隧道建立请 求, 直到所有设备都满足带宽要求为止。 因此, MPLS ΤΕ设置的隧道可以提供 端到端的 QoS保证。  MPLS TE technology is an extension of MPLS technology. MPLS technology cannot provide QoS guarantee, and MPLS TE technology overcomes this shortcoming. When a user requests to establish a tunnel, the MPLS TE advertises the bandwidth parameters requested by the user to each device that the tunnel will pass through the RSVP (Resource Reservation Protocol). The parameters are received. The network devices must allocate bandwidth on their respective interfaces according to the bandwidth parameters requested by the user, that is, bandwidth reservation. Only when all the devices passing through the tunnel meet the bandwidth request of the user, a complete tunnel is successfully established. If RSVP discovers that a certain device that the tunnel will pass cannot meet the bandwidth requirement during the bandwidth reservation release process, it will automatically re-initiate the tunnel establishment request to the new device until all devices meet the bandwidth requirements. Therefore, tunnels set up by MPLS can provide end-to-end QoS guarantees.
同时, MPLS TE技术还提供了 FRR ( Fast Reroute, 快速重路由)技术, 以 保障业务的快速切换, 并明确提出故障保护倒换的时间要小于 50ms。  At the same time, MPLS TE technology also provides FRR (Fast Reroute) technology to ensure fast service switching, and it is clear that the time for fault protection switching is less than 50ms.
由于 VLAN作为一种链路层的网络技术 , 而 MPLS TE是一种依赖于 IP网络 层的技术, 因此两者在共同构建电信级以太网的情况下, VLAN接口 (一种基 于 VLAN的具有 IP属性的逻辑接口 )提供了一种能够衔接 VLAN和 MPLS TE的 接口形态。 VLAN接口作为一种基于 VLAN设置的具有 IP属性的逻辑接口, 既 能完成 VLAN内部的链路层转发, 同时由于其具备 IP属性, 因而又可以参与网 络层转发。  Since VLAN is a link layer network technology, and MPLS TE is a technology that relies on the IP network layer, the two are in the case of jointly constructing carrier-class Ethernet, VLAN interface (a VLAN-based IP) The logical interface of the attribute provides an interface form that can connect to the VLAN and MPLS TE. As a VLAN-based logical interface with IP attributes, the VLAN interface can not only complete the link layer forwarding inside the VLAN, but also participate in the network layer forwarding because it has IP attributes.
目前, 采用在 VLAN接口上直接建立 MPLS TE隧道的技术方案, 但是采用 该直接建立 MPLS TE隧道的技术方案, 在为 VLAN接口分配带宽的情况下, 是 采用该建立的 MPLS TE隧道的 VLAN接口的可分配带宽值来分配带宽的。 由于 VLAN接口作为一种基于 VLAN的 IP网络层逻辑接口, 并不直接具备实际物理 接口的诸多属性, 比如带宽参数、 接口状态等。 这样在采用 VLAN接口的可分 配带宽值来分配带宽的情况下,存在如下缺陷: 由于两个设备间的直连物理接 口可以同时承载多个不同的 VLAN及 VLAN接口, 则该物理接口上就可能同时 承建多个不同下一跳的 MPLS TE隧道。 并且, 若仅基于物理接口分配带宽, 无 法区分出不同 VLAN之间的带宽请求。 比如: 假定一个 1000M带宽的物理接口 上设置了两个 VLAN以及对应的 VLAN接口 , 并在 VLAN接口上分别设置两个 MPLS TE隧道, 其中一个申请的带宽为 300M, 另一个申请的带宽为 700M; 若 采用现有的 VLAN接口的可分配带宽值来分配带宽, 则物理接口上预留的 1000M带宽是被两条隧道共用的; 这样会造成如下问题: 当申请 300M带宽的 隧道上的实际流量超过预留的 300M时就会抢占另一条隧道预留的带宽资源。 因此不能提供 QoS保证, 即该 MPLS TE隧道是不能提供带宽保障的。 At present, the MPLS TE tunnel is directly established on the VLAN interface. However, if the MPLS TE tunnel is directly configured, the VLAN interface of the MPLS TE tunnel is used. Bandwidth values can be allocated to allocate bandwidth. As a VLAN-based IP network layer logical interface, a VLAN interface does not directly have many attributes of the actual physical interface, such as bandwidth parameters and interface status. Thus, in the case of using the assignable bandwidth value of the VLAN interface to allocate bandwidth, there are the following drawbacks: due to the direct physical connection between the two devices An interface can carry multiple VLANs and VLAN interfaces at the same time. On the physical interface, multiple MPLS TE tunnels with different next hops can be built at the same time. Also, if bandwidth is allocated based only on the physical interface, bandwidth requests between different VLANs cannot be distinguished. For example: Assume that two VLANs and corresponding VLAN interfaces are set on a physical interface of 1000M bandwidth, and two MPLS TE tunnels are set on the VLAN interface. One application has a bandwidth of 300M, and the other application bandwidth is 700M. If the bandwidth of the existing VLAN interface is used to allocate bandwidth, the 1000M bandwidth reserved on the physical interface is shared by the two tunnels; this causes the following problems: When the actual traffic on the tunnel applying for 300M bandwidth exceeds When the reserved 300M, it will preempt the bandwidth resources reserved by another tunnel. Therefore, QoS guarantee cannot be provided, that is, the MPLS TE tunnel cannot provide bandwidth guarantee.
本发明的发明人发现, 现有的技术方案能够在 VLAN接口上建立 MPLS The inventors of the present invention have found that the existing technical solutions can establish MPLS on a VLAN interface.
TE, 但是不能实现 VLAN接口上的 MPLS TE, 即不能保障该 MPLS TE隧道的 带宽分配。 TE, but the MPLS TE on the VLAN interface cannot be implemented. That is, the bandwidth allocation of the MPLS TE tunnel cannot be guaranteed.
因此,目前没有技术方案能够在 VLAN接口上建立基于带宽保障的 MPLS TE隧道。  Therefore, there is currently no technical solution to establish a bandwidth-based MPLS TE tunnel on a VLAN interface.
发明内容 Summary of the invention
本发明实施例提供一种在 VLAN接口上实现 MPLS TE的方法及装置, 能够 建立基于带宽保障的 MPLS TE隧道。  The embodiment of the invention provides a method and a device for implementing MPLS TE on a VLAN interface, and can establish an MPLS TE tunnel based on bandwidth guarantee.
本发明实施例是通过以下技术方案实现的:  The embodiments of the present invention are implemented by the following technical solutions:
本发明实施例提供一种在 VLAN接口上实现 MPLS TE的方法,所述方法包 括:  The embodiment of the invention provides a method for implementing MPLS TE on a VLAN interface, where the method includes:
确定物理接口的当前可分配带宽值;  Determining the current assignable bandwidth value of the physical interface;
根据所述的当前可分配带宽值, 为所述物理接口上的虚拟局域网 VLAN接 口对应的多协议标签交换的流量工程 MPLS TE隧道分配可用带宽。  The available bandwidth is allocated for the multi-protocol label switched traffic engineering MPLS TE tunnel corresponding to the virtual local area network VLAN interface on the physical interface according to the current assignable bandwidth value.
本发明实施例提供一种在 VLAN接口上实现 MPLS TE的装置,所述装置包 括:  An embodiment of the present invention provides an apparatus for implementing MPLS TE on a VLAN interface, where the apparatus includes:
可分配带宽值确定单元, 用于确定物理接口的当前可分配带宽值, 所述当 前可分配带宽值根据所述物理接口的已分配带宽值以及所述物理接口的总可 分配带宽值确定;  An assignable bandwidth value determining unit, configured to determine a current assignable bandwidth value of the physical interface, where the current assignable bandwidth value is determined according to an allocated bandwidth value of the physical interface and a total allocatable bandwidth value of the physical interface;
可用带宽分配单元, 用于根据所述确定的当前可分配带宽值, 为所述物理 接口上的 VLAN接口对应的 MPLS TE隧道分配可用带宽。 An available bandwidth allocation unit, configured to determine, according to the currently assignable bandwidth value, the physical The MPLS TE tunnel corresponding to the VLAN interface on the interface allocates available bandwidth.
由上述本发明实施例提供的技术方案可以看出 ,本发明实施例采用一种在 VLAN接口上实现 MPLS TE的方法及装置, 在电信级以太网中, 通过采用为所 供了基于 VLAN接口的 MPLS TE隧道带宽保障,达到保证 MPLS TE隧道上带宽 资源的合理分配的效果。  It can be seen from the technical solutions provided by the foregoing embodiments of the present invention that the method and device for implementing MPLS TE on a VLAN interface are adopted in the carrier-class Ethernet, and the VLAN-based interface is adopted. The bandwidth of the MPLS TE tunnel is guaranteed to ensure the reasonable allocation of bandwidth resources on the MPLS TE tunnel.
附图说明 DRAWINGS
图 1为本发明实施例的在 VLAN接口上直接的建立 MPLS TE隧道的结构 图;  1 is a structural diagram of directly establishing an MPLS TE tunnel on a VLAN interface according to an embodiment of the present invention;
图 2为本发明实施例的系统的结构图。  2 is a structural diagram of a system according to an embodiment of the present invention.
具体实施方式 detailed description
本发明实施例的技术方案包括: 确定物理接口的当前可分配带宽值;根据 确定的当前可分配带宽值,为该物理接口上的 VLAN接口对应的 MPLS TE隧道 分配可用带宽。  The technical solution of the embodiment of the present invention includes: determining a current assignable bandwidth value of the physical interface; and allocating an available bandwidth to the MPLS TE tunnel corresponding to the VLAN interface on the physical interface according to the determined current assignable bandwidth value.
当前可分配带宽值可以根据该物理接口的已分配带宽值以及该物理接口 的总可分配带宽值确定; 该物理接口的已分配带宽值可以包括: 该物理接口上 的 VLAN接口的已分配带宽值; 和 /或, 该物理接口上已分配的其他带宽值。  The current assignable bandwidth value may be determined based on the allocated bandwidth value of the physical interface and the total assignable bandwidth value of the physical interface; the allocated bandwidth value of the physical interface may include: the allocated bandwidth value of the VLAN interface on the physical interface ; and/or, other bandwidth values that have been assigned on this physical interface.
本发明实施例的物理接口是建立了 MPLS TE隧道的物理接口, 可以在 VLAN接口上直接建立 MPLS TE隧道, 可以包括如下步骤: 首先, 按照预定的 规则, 在网络中的各个设备之间的物理接口上, 同时承载多个 VLAN, 并建立 与所述 VLAN对应的 VLAN接口; 之后, 建立从网络中的一台设备连接到另一 台设备的 MPLS TE隧道。 网络中的设备可以包括: 路由器或三层交换机。  The physical interface of the embodiment of the present invention is to establish a physical interface of the MPLS TE tunnel, and the MPLS TE tunnel can be directly established on the VLAN interface, which may include the following steps: First, according to a predetermined rule, the physical between the devices in the network An interface carries multiple VLANs at the same time and establishes a VLAN interface corresponding to the VLAN. After that, an MPLS TE tunnel is established from one device in the network to another. Devices in the network can include: Routers or Layer 3 switches.
下面结合附图, 对本发明实施例的具体实现进行伴细描述。  The specific implementation of the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
本发明实施例 于图 1所示的网络结构图实现的,图 1为本发明实施例的 网络结构图, 包括: PI ( Provider, 中间路由器) 、 P2、 PE ( Provider Edge, 边缘路由器) A、 PE B, 以及建立的 MPLS TE隧道 I、 MPLS TE隧道 II和针对 MPLS TE隧道 II的 FRR备份隧道。 MPLS TE隧道 I的路径为 PE A— PI— P2— PE 道 II的路径为 PE A— PI— P2— PE C, 其中 MPLS TE隧道 II在 PI上的 IP网络层出 接口为 VLAN接口 2; FRR备份隧道的路径为 P1— P3— P2。 The embodiment of the present invention is implemented in the network structure diagram shown in FIG. 1. FIG. 1 is a network structure diagram of an embodiment of the present invention, including: PI (Provider, Intermediate Router), P2, PE (Provider Edge, Edge Router) A, PE B, and the established MPLS TE tunnel I, MPLS TE tunnel II, and FRR backup tunnel for MPLS TE tunnel II. The path of the MPLS TE tunnel I is PE A— PI—P2—the path of the PE channel II is PE A—PI—P2—PE C, where the MPLS TE tunnel II is on the IP network layer of the PI. The interface is VLAN interface 2; the path of the FRR backup tunnel is P1—P3—P2.
MPLS TE隧道 I、 MPLS TE隧道 II和 FRR备份隧道的建立方法可以包括: 首先, 在直接连接的 Pl、 P2两个设备之间的物理接口上同时承载两个 VLAN, 比如 VLAN1和 VLAN2; 在 P1分别基于 VLAN1、 VLAN2建立对应的 VLAN接口 1、 VLAN接口 2, 并分别配置各自的 IP地址; 假设 P1上该物理接口 的带宽为 1000M。  The method for establishing the MPLS TE tunnel I, the MPLS TE tunnel II, and the FRR backup tunnel may include: First, simultaneously carrying two VLANs, such as VLAN 1 and VLAN 2, on the physical interface between the directly connected P1 and P2 devices; Configure the corresponding VLAN interface 1 and VLAN interface 2 based on VLAN 1 and VLAN 2, and configure their respective IP addresses. Assume that the bandwidth of the physical interface on P1 is 1000 M.
之后,建立 MPLS TE隧道。 包括:建立从 PE A设备到 PE B设备的 MPLS TE 隧道 I,路径为 PE A— P1— P2— PE B,其中 MPLS TE隧道 I在 P1上的 IP网络层出 接口为 VLAN接口 1; 建立从 PE A设备到 PE C设备的 MPLS TE隧道 II, 路径为 PE A— PI— P2— PE C,其中 MPLS TE隧道 II在 PI上的 IP网络层出接口为 VLAN 接口 2。  Then, an MPLS TE tunnel is established. Including: establishing an MPLS TE tunnel I from the PE A device to the PE B device, the path is PE A - P1 - P2 - PE B, wherein the outbound interface of the IP network layer of the MPLS TE tunnel I on the P1 is the VLAN interface 1; The MPLS TE tunnel II of the PE A device to the PE C device is the PE A-PI-P2-PE C. The outgoing interface of the IP network layer on the MPLS TE tunnel II is VLAN interface 2.
本发明实施例即是在建立了 MPLS TE隧道的物理接口上进行带宽分配,具 体包括如下步骤:  In the embodiment of the present invention, the bandwidth allocation is performed on the physical interface of the MPLS TE tunnel, which includes the following steps:
步骤 11 : 本发明实施例能够感知到承建 MPLS TE隧道的接口是一个基于 VLAN设置的逻辑接口, 并获取所述 VLAN的物理接口信息、 物理接口的当前 可分配带宽值以及该物理接口上承载的 VLAN数量, 比如, 具体可以由网络中 的 RSVP单元完成该步骤; 物理接口的当前可分配带宽值可以根据该物理接口 的已分配带宽值以及总可分配带宽值确定;该物理接口的已分配带宽值可以根 据该物理接口上的 VLAN接口的已分配带宽值和 /或该物理接口上已分配的其 他带宽值确定;  Step 11: In the embodiment of the present invention, the interface that is configured to construct the MPLS TE tunnel is a logical interface based on the VLAN, and obtains physical interface information of the VLAN, a current assignable bandwidth value of the physical interface, and a bearer on the physical interface. The number of VLANs, for example, may be performed by an RSVP unit in the network; the current assignable bandwidth value of the physical interface may be determined according to the allocated bandwidth value of the physical interface and the total assignable bandwidth value; the allocated bandwidth of the physical interface The value may be determined based on the allocated bandwidth value of the VLAN interface on the physical interface and/or other bandwidth values allocated on the physical interface;
步骤 12:根据步骤 11获取的当前可分配带宽值进行预留带宽的约束路由计 算, 并根据该计算结果分配带宽; 比如: 具体可以由 RSVP单元将步骤 11获取 的当前可分配带宽值传输至 CSPF ( Constraint Shortest Path First, 约束最短路 径优先)单元; CSPF单元将该物理接口上的当前可分配带宽值参与预留带宽 的约束路由计算, 并将计算结果传输至 RSVP单元, RSVP单元根据接收到的计 算结果对 VLAN接口对应的 MPLS TE隧道分配可用带宽;  Step 12: Perform a constrained route calculation of the reserved bandwidth according to the current assignable bandwidth value obtained in step 11, and allocate a bandwidth according to the calculation result; for example, the current assignable bandwidth value obtained in step 11 may be specifically transmitted by the RSVP unit to the CSPF. (Constraint Shortest Path First) unit; the CSPF unit participates in the constrained route calculation of the current allocateable bandwidth value on the physical interface, and transmits the calculation result to the RSVP unit, according to the received RSVP unit. The calculation result allocates available bandwidth to the MPLS TE tunnel corresponding to the VLAN interface.
步骤 13:根据本次分配的可用带宽值更新该物理接口的当前可用带宽值并 保存。  Step 13: Update the current available bandwidth value of the physical interface according to the allocated bandwidth value of this time and save it.
比如: 按照图 1所示的网络结构, 隧道 I的可用带宽是 300M; 此时, 虽然 物理接口的最大可用带宽依然是 1000M,但是隧道 II只能从剩下的 700M中去申 请带宽资源; 而且, 隧道 I和隧道 Π之间转发的数据流量不会互相抢占对方的带 宽资源。 即, 基于本发明实施例的方法能够保障 MPLS TE隧道的带宽保障。 For example: According to the network structure shown in Figure 1, the available bandwidth of tunnel I is 300M; The maximum available bandwidth of the physical interface is still 1000M. However, the tunnel II can only apply for bandwidth resources from the remaining 700M. Moreover, the data traffic forwarded between the tunnel I and the tunnel does not preempt each other's bandwidth resources. That is, the method according to the embodiment of the present invention can guarantee the bandwidth guarantee of the MPLS TE tunnel.
现有的技术方案在提供 MPLS TE FRR ( MPLS Traffic Engineering Fast Reroute, 基于多协议标签交换的流量工程上的快速重路由) 的情况下, 存在 如下缺点: 在传统的网络环境中, 一个物理接口只能同时承载一对 IP地址的三 层接口, 因此在发现这对 IP地址间出现故障的情况下, 中断该物理接口上所有 的流量; 但是在 VLAN接口组网中, 一个物理接口可以承载多个 VLAN接口即 多对 IP地址的三层接口, 则会出现在某一个 VLAN接口不可用的情况下, 该物 理接口上其余 VLAN接口都不可用的情况。 比如: 假定一个物理接口上设置了 两个 VLAN以及对应的 VLAN接口, 并在 VLAN接口上分别设置两个 MPLS TE 隧道,同时在 VLAN接口上配置故障监测技术,如 BFD( Bidirectional Forwarding Detection, 双向转发监测)来监测故障。 若 BFD监测到物理接口上的其中一个 VLAN接口发生故障 (比如, 该 VLAN接口上的 IP地址被删除) , BFD会向转 发引擎告知该物理接口不可用, 这样导致该物理接口上的其他 VLAN接口上的 业务也不能被使用。 因此现有技术的技术方案不能提供 MPLS TE FRR功能。  The existing technical solutions have the following disadvantages in the case of providing MPLS TE FRR (MPLS Traffic Engineering Fast Reroute), which is based on multi-protocol label switching for traffic engineering: In a traditional network environment, one physical interface only A Layer 3 interface that can carry a pair of IP addresses at the same time. Therefore, when a fault occurs between the IP addresses, all traffic on the physical interface is interrupted. However, in a VLAN interface network, one physical interface can carry multiple interfaces. A VLAN interface is a Layer 3 interface with multiple pairs of IP addresses. When a VLAN interface is unavailable, the remaining VLAN interfaces on the physical interface are unavailable. For example, it is assumed that two VLANs and corresponding VLAN interfaces are configured on one physical interface, and two MPLS TE tunnels are set on the VLAN interface. The fault monitoring technology, such as BFD (Bidirectional Forwarding Detection), is configured on the VLAN interface. Monitoring) to monitor faults. If BFD detects that one of the VLAN interfaces on the physical interface is faulty (for example, the IP address of the VLAN interface is deleted), BFD will notify the forwarding engine that the physical interface is unavailable. This causes other VLAN interfaces on the physical interface. The business on it cannot be used. Therefore, the prior art solution cannot provide the MPLS TE FRR function.
在本发明的一个实施例中, 在需要对 MPLS TE隧道进行链路保护的情况 下, 对需要进行链路保护的 MPLS TE隧道建立 FRR备份隧道。 比如: 图 1所示 的 MPLS TE隧道 II的 FRR备份隧道, 路径为 P1— P3— P2, 该备份隧道用于对 MPLS TE隧道 II在 PI— P2设备间进行 MPLS TE FRR的链路保护。  In an embodiment of the present invention, an FRR backup tunnel is established for an MPLS TE tunnel that needs to perform link protection in the case of performing link protection on the MPLS TE tunnel. For example, the FRR backup tunnel of the MPLS TE tunnel II shown in Figure 1 is P1—P3—P2. The backup tunnel is used to protect the MPLS TE FRR from the MPLS TE tunnel II between the PI and P2 devices.
实现 MPLS TE FRR功能的步骤包括:  The steps to implement the MPLS TE FRR function include:
步骤 21 : 在 P1上的 VLAN接口 2上进行 BFD, 以对 VLAN接口 2进行故障监 测。 具体可以包括: 将图 1所示的 MPLS TE隧道 II和 FRR备份隧道在 PI设备上 形成对应关系之后 ,获知 MPLS TE隧道 II的出接口为 VLAN接口 2 , 并且基于隧 道 II的下一跳 IP地址设置相应的状态表, 同时将所述下一跳 IP地址和 VLAN接 口 2上配置的 BFD监测单元设置为对应关系。  Step 21: Perform BFD on VLAN interface 2 on P1 to perform fault monitoring on VLAN interface 2. The method may include: after the MPLS TE tunnel II and the FRR backup tunnel shown in FIG. 1 are formed on the PI device, the outbound interface of the MPLS TE tunnel II is the VLAN interface 2, and the next hop IP address based on the tunnel II is obtained. The corresponding state table is set, and the next hop IP address and the BFD monitoring unit configured on the VLAN interface 2 are set as the corresponding relationship.
步骤 22:若 BFD监测单元发现 VLAN接口 2的下一跳 IP地址不能够到达,则 通过步骤 21形成的对应关系将 VLAN接口 2的下一跳 IP地址不能够到达的信息 直接通知隧道转发引擎; 隧道转发引擎接收到这个信息后立刻执行 FRR切换, 即, 将原来 MPLS TE隧道 II上传送的流量在预定的时间内切换到备份隧道上继 续转发, 从而将 VLAN接口 2的下一跳 IP地址不能够到达造成的损失降到最低, 提高了隧道的可靠性。 预定的时间一般为小于 50ms的时间。 隧道转发引擎为 MPLS TE隧道中具有信息转发功能的功能实体。 Step 22: If the BFD monitoring unit finds that the next hop IP address of the VLAN interface 2 cannot be reached, the information of the next hop IP address of the VLAN interface 2 cannot be directly notified to the tunnel forwarding engine by using the correspondence formed in the step 21; The tunnel forwarding engine performs the FRR switch immediately after receiving this information. That is, the traffic transmitted on the original MPLS TE tunnel II is switched to the backup tunnel for a predetermined time to continue forwarding, thereby minimizing the loss caused by the failure of the next hop IP address of the VLAN interface 2, and improving the tunnel. reliability. The predetermined time is generally less than 50 ms. The tunnel forwarding engine is a functional entity with information forwarding function in the MPLS TE tunnel.
这样, 通过修改下一跳 IP地址的状态表, 执行 FRR切换, 可以提供基于 In this way, by modifying the state table of the next hop IP address, performing FRR switching can provide
VLAN接口的 MPLS TE FRR功能, 以实现在 MPLS TE隧道发生故障的情况下, 能够快速切换用户数据业务至备份隧道的效果。 The MPLS TE FRR function of the VLAN interface can quickly switch the user data service to the backup tunnel when the MPLS TE tunnel fails.
本发明的装置实施例的结构图如图 2所示, 包括:  The structural diagram of the device embodiment of the present invention is shown in FIG. 2, and includes:
可分配带宽值确定单元, 用于确定物理接口的当前可分配带宽值, 所述当 前可分配带宽值根据所述物理接口的已分配带宽值以及所述物理接口的总可 分配带宽值确定;  An assignable bandwidth value determining unit, configured to determine a current assignable bandwidth value of the physical interface, where the current assignable bandwidth value is determined according to an allocated bandwidth value of the physical interface and a total allocatable bandwidth value of the physical interface;
可用带宽分配单元, 用于根据所述确定的当前可分配带宽值, 为所述物理 接口上的 VLAN接口对应的 MPLS TE隧道分配可用带宽;  An available bandwidth allocation unit, configured to allocate an available bandwidth to the MPLS TE tunnel corresponding to the VLAN interface on the physical interface according to the determined current assignable bandwidth value;
带宽更新单元,用于根据本次分配的可用带宽值更新所述物理接口的当前 可分配带宽值并保存。  And a bandwidth update unit, configured to update and save the current assignable bandwidth value of the physical interface according to the allocated bandwidth value of the current allocation.
所述可分配带宽值确定单元具体包括:  The allocatable bandwidth value determining unit specifically includes:
已分配带宽值确定单元, 用于根据所述物理接口上的 VLAN接口的已分配 带宽值; 和 /或, 所述物理接口上已分配的其他带宽值, 确定所述物理接口的 已分配带宽值; 在本发明实施例中, 该已分配带宽值确定单元可以为 RSVP单 元;  An allocated bandwidth value determining unit, configured to determine an allocated bandwidth value of the physical interface according to an allocated bandwidth value of a VLAN interface on the physical interface; and/or other bandwidth values allocated on the physical interface In the embodiment of the present invention, the allocated bandwidth value determining unit may be an RSVP unit;
当前可分配带宽值确定单元,用于根据已分配带宽值确定单元确定的所述 物理接口的已分配带宽值,以及所述物理接口的总可分配带宽值确定所述物理 接口的当前可分配带宽值; 在本发明实施例中,该当前可分配带宽值确定单元 可以为 CSPF单元和 RSVP单元。  a current allocatable bandwidth value determining unit, configured to determine a current allocatable bandwidth of the physical interface according to the allocated bandwidth value of the physical interface determined by the allocated bandwidth value determining unit, and a total allocatable bandwidth value of the physical interface In the embodiment of the present invention, the current allocatable bandwidth value determining unit may be a CSPF unit and an RSVP unit.
若所述系统提供 MPLS TE FRR功能, 所述系统还包括:  If the system provides the MPLS TE FRR function, the system further includes:
FRR备份隧道建立单元, 用于对需要进行链路保护的 MPLS TE隧道建立 FRR备份隧道;  An FRR backup tunnel establishing unit is configured to establish an FRR backup tunnel for the MPLS TE tunnel that needs to be protected by the link.
状态表修改单元 , 若监测到 MPLS TE隧道上 VLAN接口的下一跳 IP地址不 可达, 则修改用于记录 MPLS TE隧道下一跳 IP地址的状态表; FRR切换执行单元, 用于根据修改的所述状态表, 执行 FRR切换, 将传送 的数据流量在预定的时间内切换到 FRR备份隧道上继续转发。 The status table modification unit, if the next hop IP address of the VLAN interface on the MPLS TE tunnel is unreachable, the state table for recording the next hop IP address of the MPLS TE tunnel is modified; The FRR switch execution unit is configured to perform FRR switching according to the modified state table, and switch the transmitted data traffic to the FRR backup tunnel for a predetermined time to continue forwarding.
综上所述,本发明实施例在电信级以太网中,通过采用为所述物理接口上 的 VLAN接口对应的 MPLS TE隧道分配可用带宽的技术手段, 提供了基于 VLAN接口的 MPLS TE隧道带宽保障,达到保证 MPLS TE隧道上带宽资源的合 理分配的效果。在本发明的实施例中,还可以采用修改下一跳 IP地址的状态表, 执行 FRR切换的技术方案, 提供了基于 VLAN接口的 MPLS TE FRR功能, 达到 在 MPLS TE隧道发生故障的情况下,能够快速切换用户数据业务至备份隧道的 效果。  In summary, in the carrier-grade Ethernet, the bandwidth of the MPLS TE tunnel based on the VLAN interface is provided by using the technical means of allocating the available bandwidth for the MPLS TE tunnel corresponding to the VLAN interface on the physical interface. The effect of ensuring a reasonable allocation of bandwidth resources on the MPLS TE tunnel is achieved. In the embodiment of the present invention, the state table of the next hop IP address is modified, and the technical solution of the FRR switching is implemented, and the MPLS TE FRR function based on the VLAN interface is provided, in the case that the MPLS TE tunnel fails. The ability to quickly switch user data services to backup tunnels.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局 限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易 想到的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护 范围应该以权利要求书的保护范围为准。  The above is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or within the technical scope disclosed by the present invention. Alternatives are intended to be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims

权 利 要 求 Rights request
1、 一种在 VLAN接口上实现 MPLS TE的方法, 其特征在于, 所述方法包 括:  A method for implementing MPLS TE on a VLAN interface, where the method includes:
确定物理接口的当前可分配带宽值;  Determining the current assignable bandwidth value of the physical interface;
根据所述的当前可分配带宽值, 为所述物理接口上的虚拟局域网 VLAN接 口对应的多协议标签交换的流量工程 MPLS TE隧道分配可用带宽。  The available bandwidth is allocated for the multi-protocol label switched traffic engineering MPLS TE tunnel corresponding to the virtual local area network VLAN interface on the physical interface according to the current assignable bandwidth value.
2、 如权利要求 1所述的方法, 其特征在于, 所述确定物理接口的当前可分 配带宽值包括:  2. The method according to claim 1, wherein the determining the current assignable bandwidth value of the physical interface comprises:
根据所述物理接口的已分配带宽值以及所述物理接口的总可分配带宽值 确定所述物理接口的当前可分配带宽值。  A current assignable bandwidth value for the physical interface is determined based on an allocated bandwidth value of the physical interface and a total assignable bandwidth value of the physical interface.
3、 如权利要求 2所述的方法, 其特征在于, 所述物理接口的已分配带宽值 包括所述物理接口上的 VLAN接口的已分配带宽值;和 /或,所述物理接口上已 分配的其他带宽值。  3. The method of claim 2, wherein the allocated bandwidth value of the physical interface comprises an allocated bandwidth value of a VLAN interface on the physical interface; and/or the physical interface is allocated Other bandwidth values.
4、 如权利要求 1所述的方法, 其特征在于, 还包括: 根据为所述 MPLS TE 隧道分配的可用带宽值更新所述物理接口的当前可分配带宽值并保存。  4. The method of claim 1, further comprising: updating a current assignable bandwidth value of the physical interface according to an available bandwidth value allocated for the MPLS TE tunnel and saving.
5、 如权利要求 1所述的方法, 其特征在于, 所述方法还包括:  5. The method of claim 1, wherein the method further comprises:
如果所述 MPLS TE隧道需要进行链路保护, 建立快速重路由 FRR备份隧 道; 并对所述 MPLS TE隧道进行故障监测;  If the MPLS TE tunnel needs to perform link protection, establish a fast reroute FRR backup tunnel; and perform fault monitoring on the MPLS TE tunnel;
若监测到所述 MPLS TE隧道上所述 VLAN接口的下一跳网络层协议 IP地 址不可达, 则修改用于记录所述 MPLS TE隧道下一跳 IP地址的状态表, 将需要 在所述 MPLS TE隧道上传送的数据流量在预定的时间内切换到所述 FRR备份 隧道上传送。  If the IP address of the next hop network layer protocol of the VLAN interface on the MPLS TE tunnel is unreachable, the state table for recording the next hop IP address of the MPLS TE tunnel is modified, and the MPLS needs to be The data traffic transmitted on the TE tunnel is switched to the FRR backup tunnel for transmission within a predetermined time.
6、 一种在 VLAN接口上实现 MPLS TE的装置, 其特征在于, 所述装置包 括:  A device for implementing MPLS TE on a VLAN interface, where the device includes:
可分配带宽值确定单元, 用于确定物理接口的当前可分配带宽值; 可用带宽分配单元, 用于根据所述确定的当前可分配带宽值, 为所述物理 接口上的 VLAN接口对应的 MPLS TE隧道分配可用带宽。  The assignable bandwidth value determining unit is configured to determine a current allocatable bandwidth value of the physical interface, and the available bandwidth allocating unit is configured to: MPLS TE corresponding to the VLAN interface on the physical interface according to the determined current assignable bandwidth value The tunnel allocates available bandwidth.
7、 如权利要求 6所述的装置, 其特征在于, 所述可分配带宽值确定单元具 体包括: 已分配带宽值确定单元, 用于根据所述物理接口上的 VLAN接口的已分配 带宽值; 和 /或, 所述物理接口上已分配的其他带宽值, 确定所述物理接口的 已分配带宽值; The apparatus according to claim 6, wherein the allocatable bandwidth value determining unit specifically includes: An allocated bandwidth value determining unit, configured to determine an allocated bandwidth value of the physical interface according to an allocated bandwidth value of a VLAN interface on the physical interface; and/or other bandwidth values allocated on the physical interface ;
当前可分配带宽值确定单元,用于根据已分配带宽值确定单元确定的所述 物理接口的已分配带宽值,以及所述物理接口的总可分配带宽值确定所述物理 接口的当前可分配带宽值。  a current allocatable bandwidth value determining unit, configured to determine a current allocatable bandwidth of the physical interface according to the allocated bandwidth value of the physical interface determined by the allocated bandwidth value determining unit, and a total allocatable bandwidth value of the physical interface value.
8、 如权利要求 6或 7所述的装置, 其特征在于, 所述装置还包括: 带宽更新单元,用于根据为所述 MPLS TE隧道分配的可用带宽值更新所述 物理接口的当前可分配带宽值并保存。  The device according to claim 6 or 7, wherein the device further comprises: a bandwidth update unit, configured to update a current assignable of the physical interface according to an available bandwidth value allocated for the MPLS TE tunnel Bandwidth value and save.
9、 如权利要求 6或 7所述的装置, 其特征在于, 所述装置还包括:  The device according to claim 6 or 7, wherein the device further comprises:
FRR备份隧道建立单元, 用于当所述 MPLS TE隧道需要进行链路保护时, 建立 FRR备份隧道;  An FRR backup tunnel establishing unit is configured to establish an FRR backup tunnel when the MPLS TE tunnel needs to perform link protection.
状态表修改单元 ,若监测到所述 MPLS TE隧道上所述 VLAN接口的下一跳 IP地址不可达, 则修改用于记录所述 MPLS TE隧道下一跳 IP地址的状态表; FRR切换执行单元,用于根据修改的所述状态表,将需要在所述 MPLS TE 隧道上传送的数据流量在预定的时间内切换到所述 FRR备份隧道上继续转 发。  a status table modification unit, if the next hop IP address of the VLAN interface on the MPLS TE tunnel is unreachable, the state table for recording the next hop IP address of the MPLS TE tunnel is modified; And, according to the modified state table, the data traffic that needs to be transmitted on the MPLS TE tunnel is switched to the FRR backup tunnel for a predetermined time to continue forwarding.
PCT/CN2008/070378 2007-03-31 2008-02-29 A method and device for implementing mpls te on vlan interface WO2008119277A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710096217.7 2007-03-31
CN2007100962177A CN101030917B (en) 2007-03-31 2007-03-31 Method and apparatus for realizing MPLS TE on VLAN interface

Publications (1)

Publication Number Publication Date
WO2008119277A1 true WO2008119277A1 (en) 2008-10-09

Family

ID=38716009

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/070378 WO2008119277A1 (en) 2007-03-31 2008-02-29 A method and device for implementing mpls te on vlan interface

Country Status (2)

Country Link
CN (1) CN101030917B (en)
WO (1) WO2008119277A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101640632B (en) * 2008-07-31 2014-03-12 华为技术有限公司 Method for protecting tunnel bandwidth and device
CN101562575B (en) * 2009-06-04 2012-01-04 杭州华三通信技术有限公司 MPLS TE FRR fast switching method and device thereof
CN102064995B (en) * 2009-11-18 2012-12-19 中兴通讯股份有限公司 Method and device for link protection in virtual private local area network
CN102355398B (en) * 2011-06-22 2017-10-27 南京中兴软件有限责任公司 MPLS L3VPN private virtual net fast rerouting methods and system
CN102263692A (en) * 2011-07-20 2011-11-30 中兴通讯股份有限公司 Three-layer switchboard and routing method used for same
US9860188B2 (en) * 2011-12-22 2018-01-02 International Business Machines Corporation Flexible and scalable enhanced transmission selection method for network fabrics

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050259586A1 (en) * 2004-05-19 2005-11-24 Abdelhakim Hafid Dynamic traffic rearrangement and restoration for MPLS networks with differentiated services capabilities
CN1953421A (en) * 2006-11-21 2007-04-25 华为技术有限公司 A bandwidth preservation method and device based on network equipment
CN101005405A (en) * 2006-12-21 2007-07-25 华为技术有限公司 Method and device for regulating broadband in broad band demand distribution service

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859430B (en) * 2005-08-09 2010-04-28 华为技术有限公司 IP Transmission system and its method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050259586A1 (en) * 2004-05-19 2005-11-24 Abdelhakim Hafid Dynamic traffic rearrangement and restoration for MPLS networks with differentiated services capabilities
CN1953421A (en) * 2006-11-21 2007-04-25 华为技术有限公司 A bandwidth preservation method and device based on network equipment
CN101005405A (en) * 2006-12-21 2007-07-25 华为技术有限公司 Method and device for regulating broadband in broad band demand distribution service

Also Published As

Publication number Publication date
CN101030917B (en) 2010-09-15
CN101030917A (en) 2007-09-05

Similar Documents

Publication Publication Date Title
US20210176178A1 (en) Pseudowire protection using a standby pseudowire
JP4802280B2 (en) Method and system for high-reliability processing in networking of a Metro Ethernet network providing multi-functional services
US8503293B2 (en) Health probing detection and enhancement for traffic engineering label switched paths
KR100693059B1 (en) Apparatus and method for serving the virtual private network based mpls
EP1748599B1 (en) A ring carrying network and the method for implementing the service carry
EP3691185B1 (en) Method for processing message, device, and system
RU2474969C2 (en) Transparent bypass and associated mechanisms
EP2319209B1 (en) Methods for establishing a traffic connection and an associated monitoring connection
JP2018519763A (en) Network service path calculation element centralized controller (PCECC)
EP3687113B1 (en) Method and apparatus for establishing hard pipe in a network
EP1276280A2 (en) L2/L3 network with LSP-enabled virtual routing
US20030090995A1 (en) Pre-provisioning a light path setup
WO2009056034A1 (en) Method, system and equipment to establish bfd detection for lsp tunnel
US20090077238A1 (en) Method, node apparatus and system for reserving network resources
EP1791300A1 (en) A method for forwarding route in the network
CN109327318B (en) SDN management network architecture and method for establishing SDN management network
CA2762924A1 (en) Method, apparatus and system for two-node cluster hot backup
WO2008119277A1 (en) A method and device for implementing mpls te on vlan interface
EP2239956B1 (en) Method, apparatus and system for ip/optical convergence
US20030043427A1 (en) Method of fast circuit recovery using local restoration
WO2012075914A1 (en) Method and system for implementing point-to-multipoint label switched path protection
WO2007140703A1 (en) Method and apparatus of rsvp node interactive
Harrison et al. Protection and restoration in MPLS networks
Petersson MPLS based recovery mechanisms
KR100429908B1 (en) Apparatus for controlling label Distibution in MPLS/GMPLS network

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

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

Country of ref document: EP

Kind code of ref document: A1