WO2012034455A1 - 一种vpls网络服务质量映射配置方法和系统 - Google Patents

一种vpls网络服务质量映射配置方法和系统 Download PDF

Info

Publication number
WO2012034455A1
WO2012034455A1 PCT/CN2011/077661 CN2011077661W WO2012034455A1 WO 2012034455 A1 WO2012034455 A1 WO 2012034455A1 CN 2011077661 W CN2011077661 W CN 2011077661W WO 2012034455 A1 WO2012034455 A1 WO 2012034455A1
Authority
WO
WIPO (PCT)
Prior art keywords
mapping
port
tunnel
vlan
binding mode
Prior art date
Application number
PCT/CN2011/077661
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 WO2012034455A1 publication Critical patent/WO2012034455A1/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
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2491Mapping quality of service [QoS] requirements between different networks

Definitions

  • the present invention relates to a Layer 2 multi-protocol label switching virtual private network differential service (L2 MPLS VPN DiffServ) technology, and in particular, to a virtual private LAN service (VPLS) network. Configuration method and system for Quality of Service (QoS) mapping.
  • L2 MPLS VPN DiffServ virtual private network differential service
  • VPLS virtual private LAN service
  • TOS Type of Service
  • EXP Experiment, EXP
  • MPLS Multi-Protocol Label Switching
  • the value of the EXP of the MPLS label is copied to the TOS of the IP header or the PRI of the packet VLAN tag header, so that the packet can be based on the TOS or PRI on the user edge (Customer Edge, CE) device side.
  • Implement a QoS policy In order to implement the mapping, the mapping between the ingress and egress Provider Edge ( Edge ) routers of the MPLS tunnel is required to determine whether the packets entering the VPLS tunnel are mapped and how to perform mapping.
  • Edge Provider Edge
  • the most common binding methods are based on inbound port binding and binding based on Virtual Local Area Network (VLAN). In the inbound-based binding mode, all tunnel packets entering the port are mapped.
  • VLAN Virtual Local Area Network
  • the purpose of the present invention is to provide a VPLS network quality of service mapping configuration method and system to solve the problem of how to improve the success rate of transmission.
  • the present invention provides a virtual private local area network service (VPLS) network quality of service mapping configuration method, the method comprising: determining, after receiving a message, the mapping associated with the physical port of the received message Priority of the binding mode; a mapping binding mode is selected according to a predetermined rule, and the mapping policy corresponding to the mapping binding mode is used as a mapping policy for the packet; and when the packet is forwarded through the VPLS tunnel, Performing the mapping policy on the message.
  • VPLS virtual private local area network service
  • the physical port belongs to the tunnel ingress device, and the mapping binding manner associated with the physical port is: a physical port (port)-based mapping binding mode; a port aggregation (trunk) group-based mapping binding Mode; mapping based on virtual local area network (VLAN) mapping; mapping binding based on VPLS forwarding instance (VFI); mapping binding based on port and trunk group; mapping binding method based on port and VLAN; based on port Mapping binding mode with VFI; mapping binding mode based on trunk group and VLAN; mapping binding mode based on trunk group and VFI; mapping binding mode based on VLAN and VFI; mapping binding mode based on VLAN and VFI; mapping based on port, trunk group and VLAN Mapping mode based on port, trunk group, and VFI; mapping binding method based on port, VLAN, and VFI; mapping binding mode based on trunk group, VLAN, and VFI; or based on port, trunk group, VLAN Mapping with VFI.
  • VLAN virtual local area network
  • VFI VPLS
  • the physical port belongs to the tunnel egress device, and the mapping binding manner associated with the physical port is: a physical port (port)-based mapping binding mode; and a port aggregation (trunk) group-based mapping binding Mode; mapping based on virtual local area network (VLAN) mapping; mapping binding based on port and trunk group; mapping binding method based on port and VLAN; mapping binding method based on trunk group and VLAN; or, based on port Mapping group of trunk group and VLAN Style.
  • VLAN virtual local area network
  • the mapping mode of the trunk group is as follows: When a packet that is entered from any member port of the ttmnk group is forwarded through the VPLS tunnel, the mapping policy configured on the trunk is performed on the packet; the mapping policy based on the trunk group includes Tunnel mapping policy and outbound tunnel mapping policy.
  • the VFI-based mapping binding mode is as follows: On the tunnel ingress device, when the stencils are forwarded through the VPLS tunnel, the mapping policy configured on the VFI is performed on the VFI. The physical port, the member port of the VLAN to which the VFI is bound, and the member port of the trunk group to which the VFI is bound; the VFI-based mapping policy includes an inbound tunnel mapping policy.
  • the step of selecting a mapping binding mode according to a predetermined rule includes: selecting a mapping binding mode with the highest priority among the mapping binding modes associated with the physical port.
  • the step of selecting the mapping binding mode with the highest priority among the mapping binding modes associated with the physical port is:
  • step 3 Determine whether the current port belongs to the port trunk group. If yes, go to step 4). If no, go to step 10); 4) Determine if the trunk group is bound to VFI. If yes, go to step 8). No, perform step 5);
  • Step 8) The priority of the VLAN-based mapping binding mode is taken as the current priority, and the step is executed.
  • step 12 determining whether the priority of the VLAN-based mapping binding mode is higher than the current priority, if yes, performing step 13), if not, performing step 14);
  • the step of selecting the mapping binding mode with the highest priority among the mapping binding modes associated with the physical port includes: si, reading the physical port based on the current received MPLS text (port The priority of the mapping binding mode, as the current priority; s2, determine whether the current port belongs to the trunk group, if yes, perform step s3, if no, perform step s5;
  • step s4 If yes, go to step s4; if no, go to step s5; s4, take the priority of the mapping binding mode of the trunk group as the current priority, and perform step s5; s5, determine the VLAN to which the port or trunk group belongs, and judge Binding based on the mapping of the VLAN If the priority of the fixed mode is greater than the current priority, if yes, go to step s6, if no, end; s6, the priority based on the mapping binding mode of the VLAN is taken as the current priority, and the process ends.
  • the present invention also provides a virtual private local area network service (VPLS) network quality of service mapping configuration system, the system comprising: a mapping binding mode confirmation subsystem, a mapping policy determination subsystem, and a mapping policy execution subsystem
  • VPLS virtual private local area network service
  • the mapping binding mode confirmation subsystem is configured to: after receiving the packet, determine the priority of the mapping binding mode associated with the physical port of the received packet; the mapping policy determines the subsystem setting To: Select a mapping binding method according to the predetermined rules.
  • the mapping policy execution subsystem is configured to: execute the mapping policy on the packet when the packet is forwarded through the VPLS tunnel.
  • the mapping binding manner associated with the physical port includes one or more of the following modes: a physical port (port)-based mapping binding mode, based on The mapping binding mode of the port aggregation group, based on the mapping mode of the virtual local area network (VLAN), and the mapping binding mode based on the VPLS forwarding instance (VFI);
  • the mapping binding mode associated with a physical port includes one or more of the following: a port-based mapping binding mode, a mapping binding mode based on a trunk group, and a VLAN-based mapping binding mode.
  • the present invention also provides a virtual private area network service (VPLS) network quality of service mapping configuration method, the method comprising: configuring a port aggregation group (trunk) group based mapping strategy on a tunnel ingress device and a tunnel egress device
  • VPLS virtual private area network service
  • the mapping policy configured on the trunk is performed on the packet, where the mapping policy based on the trunk group includes the inbound tunnel mapping policy and the outbound tunnel mapping.
  • Strategy and/or
  • a mapping policy based on the VPLS forwarding instance (VFI) is configured on the tunnel ingress device.
  • VFI virtual private area network service
  • the mapping policy is: a physical port to which the VFI is bound, a member port of the VLAN to which the VFI is bound, and a member port of the trunk group to which the VFI is bound; wherein the VFI-based mapping policy includes an inbound tunnel mapping policy.
  • the ingress tunnel mapping policy includes: mapping, at the tunnel entry, a service type (TOS) of a packet IP header or a priority (PRI) in a packet VLAN tag header to an MPLS label experiment (EXP) Bit.
  • TOS service type
  • PRI priority
  • EXP MPLS label experiment
  • the mapping policy configured on the tunnel egress device includes: the outbound tunnel mapping policy includes: mapping, at the tunnel egress, an experimental bit of the MPLS label to a service type (TOS) or a packet of the packet IP header The priority (PRI) in the VLAN tag header.
  • TOS service type
  • PRI priority
  • the priority policy used by the present invention solves the conflict problem that the mapping strategy is configured in the VLAN of the port and the port in the traditional solution, and the two mapping strategies are different when the mapping policy is different.
  • a text mapping error may result in a transmission failure.
  • the present invention also provides two new mapping binding modes: a mapping binding method based on a port aggregation group and a mapping based on a VPLS Forwarding Instance (VFI) on the tunnel ingress device.
  • VFI VPLS Forwarding Instance
  • FIG. 1 is a schematic diagram of a trunk mapping binding manner according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a VFI mapping binding manner according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a tunneling entry device binding on different mappings according to an embodiment of the present invention
  • the flowchart of the processing method when the mapping policy of the mode configuration conflicts occurs
  • FIG. 4 is a flowchart of a processing method when the mapping policy configured by the tunnel egress device in different mapping binding modes conflicts in the embodiment of the present invention
  • FIG. 5 is a flowchart of a QoS mapping method according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of a QoS mapping configuration system according to an embodiment of the present invention.
  • the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other. Because the existing mapping binding mode is based on only the common physical port and the VLAN-based one. If you want to bind based on a certain trunk port or bind based on a VFI, you may need to bind it by VLAN or port by port. The implementation is cumbersome, less flexible, and not convenient enough. When a VFI is bound to a VLAN or a physical port, or the physical port conflicts with the VLAN.
  • the embodiment of the present invention proposes two new mapping binding modes: a trunk-based mapping binding mode and a VFI-based mapping binding mode: configuring a mapping strategy based on a trunk group; when there is any member port entering from the trunk group When the packet is forwarded through the VPLS tunnel, the mapping policy configured on the trunk group is performed on the packet.
  • the mapping policy based on the trunk group includes the inbound tunnel mapping policy and the outbound tunnel mapping policy.
  • the mapping policy based on the trunk group is configured on the tunnel ingress device and the tunnel egress device.
  • the mapping policy configured on the tunnel ingress device is the inbound tunnel mapping policy
  • the mapping policy configured on the tunnel egress device is the outbound tunnel mapping policy. Configure a VFI-based mapping policy.
  • the mapping policy configured on the VFI is performed on the packet:
  • the VFI-based mapping policy includes an inbound tunnel mapping policy.
  • the VFI-based mapping policy is only configured on the tunnel entry device. The above two mapping binding methods can exist at the same time or alternatively.
  • the inbound tunnel mapping policy includes: mapping, at the tunnel entry, the PRI value of the TOS or the 4 VLAN tag header of the IP header to the EXP bit of the MPLS label;
  • the outbound tunnel mapping policy includes: mapping the EXP value of the MPLS label to the TOS of the packet IP header or the PRI of the packet VLAN tag header at the exit of the tunnel.
  • the TOS of the packet IP header and the PRI of the VLAN tag header are collectively referred to as cos.
  • the foregoing configuration and mapping policy execution operations are performed by the switch.
  • the mapping binding based on the trunk group is as shown in FIG. 1.
  • the ports pl, p2, and p3 form a trunk group 1, and the mapping policy is configured for the trunk group 1.
  • the switch functions as a tunnel entry device, and from pl, p2
  • the switch performs the inbound tunnel mapping policy configured for the trunk group 1 in the case of the VPLS tunnel.
  • the switch performs the mapping of the cosX in the packet to the expY in the MPLS label.
  • the switch performs the outbound tunnel mapping policy configured in the trunk group 1, that is, in the MPLS packet label.
  • the expY map is the cosX in the normal 4 ⁇ text after the label is stripped.
  • the mapping binding based on VFI in this embodiment is shown in Figure 2.
  • Port pi is an independent physical port
  • ports p2 and p3 form trunk group 1
  • port p4 belongs to VLAN 1
  • port p4 belongs to VLAN 1
  • trunk group 1 and VLAN 1 are both tied to VFI A.
  • the mapping policy of the VFI A is configured.
  • the switch performs a mapping policy for the VFIA configuration.
  • the cosX in the message is mapped to expY in the MPLS label.
  • the packets entering the port must be forwarded through the VPLS tunnel. If the MPLS function is enabled and the packet is an MPLS packet, the packet needs to be forwarded through the VPLS tunnel.
  • mapping binding based on port and trunk group there are VFI-based mapping bindings, and there may be two or more mapping bindings configured, for example: Includes any of the following mapping bindings: mapping binding based on port and trunk group; mapping binding based on port and VLAN; mapping binding based on port and VFI; mapping binding based on trunk group and VLAN; based on trunk group and Mapping binding of VFI; mapping binding based on VLAN and VFI; mapping binding based on port, trunk group and VLAN; mapping binding based on port, trunk group and VFI; mapping binding based on port, VLAN and VFI; Mapping binding based on trunk group, VLAN, and VFI; mapping binding based on port, trunk group, and VFI.
  • the mapping mode associated with the physical port includes one of the following: port-based mapping binding mode; trunk-based mapping binding mode; VLAN-based mapping binding mode Mapping binding method based on port and trunk group; mapping binding mode based on port and VLAN; mapping binding mode based on trunk group and VLAN; mapping binding mode based on port, trunk group and VLAN.
  • the tunnel entrance device and the tunnel exit device can be the same device. In order to avoid the conflicts of the mapping policies that may exist, assign a priority to each mapping binding mode, that is, the port-based mapping binding mode, the trunk group-based mapping binding mode, and the vlan-based mapping binding mode.
  • the QoS mapping method for avoiding conflicts in the embodiment of the present invention includes: determining the priority of all mapping binding modes associated with the physical port of the received packet after receiving the packet. And selecting a mapping binding mode according to the predetermined rule, and using the mapping policy corresponding to the mapping binding mode as a mapping policy for the packet, when the packet is forwarded through the VPLS tunnel, performing the packet on the packet Mapping strategy.
  • the step of selecting a mapping binding mode according to the predetermined rule includes: selecting a mapping binding mode with the highest priority among the mapping binding modes associated with the physical port.
  • the mapping binding mode is the one with the highest priority.
  • the mapping policy is configured on the VFI, and the mapping policy corresponding to each mapping binding mode is different. Then, a conflict occurs. Assume that the mapping of the port takes precedence The priority of the mapping is 2, the mapping priority of the trunk group is 1, the mapping priority of the VLAN is 4, and the mapping priority of the VFI is 3, where 4 has the highest priority, 1 The lowest priority.
  • mapping binding mode with the highest mapping priority is selected for the port.
  • the mapping policy corresponding to the VLAN is used as the mapping policy for decision. In this way, when a packet entering the port is transmitted through the VPLS tunnel, the mapping is performed according to the mapping policy configured by the VLAN to which the port belongs. See Figure 3 for the specific process. For the tunnel egress device, see Figure 4 for the specific process of selecting the mapping binding mode.
  • FIG. 6 is a schematic structural diagram of a system for implementing the foregoing QoS mapping configuration, where the system includes: a mapping binding mode confirmation subsystem, a mapping policy determining subsystem, and a mapping policy execution subsystem, where: the mapping binding The mode confirmation subsystem is configured to: determine the priority of the mapping binding mode associated with the physical port of the received packet after receiving the packet; the mapping policy determining subsystem is configured to: select one according to a predetermined rule Mapping binding method,
  • the mapping policy execution subsystem is configured to: execute the mapping policy on the packet when the packet is forwarded through the VPLS tunnel.
  • Step 301 The current port receives the normal packet, and reads the current port mapping priority.
  • the step is as follows: Step 302: Determine whether the current port is bound to the VFI. If yes, go to step 314. If no, go to step 303.
  • Step 303 Determine whether the current port belongs to the trunk group. If yes, go to step 304. If yes, go to step 310; Step 304, determine whether the trunk group is bound to the VFI, and if yes, go to step 308, if no, go to step 305; In step 305, it is determined whether the VLAN of the port or the trunk group is bound to the VFI.
  • Step 306 Determine whether the priority of the VLAN is higher than the current priority. If yes, go to step 307. If no, go to step 308; Step 307, take the mapping priority of the VLAN as the current priority, and go to step 308; Step 308; If the priority of the trunk group is higher than the current priority, if yes, go to step 309, if no, go to step 314; Step 309, take the mapping priority of the trunk group as the current priority, and go to step 314; And determining whether the VLAN to which the current port belongs is bound to the VFI. If yes, go to step 312.
  • Step 311 Forward the packet through the non-VPLS tunnel according to the existing technology, and end; Step 312, determine VLAN If the priority is higher than the current priority, if yes, go to step 313. If no, go to step 314; Step 313, take the mapping priority of the VLAN as the current priority, and go to step 314; Step 314, determine the priority of the VFI. Whether the level is higher than the current priority, if yes, step 315 is performed, if no, ending; step 315, the mapping priority of the VFI is taken as the current priority End.
  • the mapping binding mode corresponding to the current priority is the selected mapping binding mode.
  • the inbound tunnel mapping policy of the mapping binding mode performs inbound tunnel mapping on the received packet. The above process is only an example.
  • the current priority may not be set. Or, first, determine the mapping binding mode of the current port, and select the mapping binding mode with the highest priority. Then, the mapping policy corresponding to the mapping binding mode is used as the mapping policy for the packet.
  • the priority setting of different mapping binding modes can be flexible.
  • the recommended priority is port ⁇ trunk iL ⁇ VLAN ⁇ VFL.
  • step 402 determining whether the current port belongs to the trunk group, if yes, executing step 403, if no, performing step 405; step 403, determining whether the priority of the trunk group is greater than the current priority, and if so, performing steps 404, if no, go to step 405; Step 404, the mapping priority of the trunk group is taken as the current priority, step 405 is performed; Step 405, determining whether the priority of the VLAN to which the port or the trunk group belongs is greater than the current priority, if Go to step 406. If no, end; all ports or trunk groups must belong to a VLAN. Even if the switch has no configuration, the port or trunk group will have a default VLAN (usually VLAN1). Step 406: The mapping priority of the VLAN is taken as the current priority, and the process ends. The mapping binding mode corresponding to the current priority is the selected mapping binding mode. The outbound tunnel mapping policy of the mapping binding mode performs tunnel mapping on the received packet.
  • the above solution is a conflicting solution when the mapping policy of different mapping binding modes conflicts, and the mapping strategy between the same mapping binding modes does not conflict.
  • the analysis is as follows: Since a port cannot belong to multiple trunk groups, different trunks Configuring different mapping policies between groups does not cause conflicts. In the case where the same port or the same trunk group belongs to multiple VLANs, the mapping between different VLANs is different. The policy does not cause conflicts. Because the same port or the same trunk group or the same VLAN cannot bind multiple VFIs, Configuring different mapping strategies between different VFIs does not cause conflicts.
  • the priority policy used by the present invention solves the conflict problem that the mapping strategy is configured on the VLAN to which the port and the port belong in the traditional scheme, and the two mapping strategies are different. Avoid transmission failures that may result from packet mapping errors.
  • the present invention also provides two new mapping binding methods: based on the mapping binding mode of the trunk group and the VFI-based mapping binding mode on the tunnel entry device, which solves the problem that using the existing binding policy The configuration is cumbersome, making the configuration of the mapping binding more flexible.

Abstract

本发明公开了一种在VPLS网络上服务质量映射的配置方法和系统。其中,一种方法包括:在接收到报文后,判断接收到报文的物理端口上所关联的映射绑定方式的优先级;按照预定规则选择一种映射绑定方式,将该映射绑定方式对应的映射策略作为对所述报文的映射策略;以及将所述报文通过VPLS隧道转发时,对所述报文执行该映射策略。本发明能够避免由于报文映射错误而可能导致的传输失败,使得映射绑定的配置更加灵活。

Description

一种 VPLS网络服务质量映射配置方法和系统
技术领域 本发明涉及通信领域中二层多协议标签交换虚拟专用网差分服务(L2 MPLS VPN DiffServ )技术, 具体地说, 尤其涉及一种在虚拟专用局域网业 务( Virtual Private LAN Service, VPLS )网络上服务质量( Quality of Service, QoS ) 映射的配置方法和系统。
背景技术
在 VPLS网络应用中,经常需要在隧道的入口处,把 IP头的 3个比特(bit ) 的服务类型 (Type of Service, TOS ) 的值或者报文 VLAN标签(tag ) 头中 3个 bit的优先级( Priority, PRI )的值,映射到多协议标签交换( Multi-Protocol Label Switching, MPLS )标签的实验( Experimental, EXP )位, 以决定在标 签交换路径(Label Switched Path, LSP )的每一跳处的排队策略和丟弃策略。 在隧道的出口处, 再将 MPLS 标签的 EXP的值拷贝到 IP头的 TOS或者报 文 VLAN tag头中的 PRI上, 使得报文在用户边缘( Customer Edge , CE )设 备侧能够根据 TOS或者 PRI执行 QoS策略。 为了实现这种映射, 需要在 MPLS 隧道的入口和出口服务商边缘 ( Provider Edge , ΡΕ )路由器处进行映射的绑定, 以决定进入 VPLS隧道的 报文是否映射以及如何进行映射。 目前比较通用的绑定方法主要有基于入端 口的绑定和基于入虚拟局域网( Virtual Local Area Network, VLAN )的绑定。 基于入端口的绑定方式中, 所有从该端口进入的隧道报文会执行映射; 基于 入 VLAN绑定的方式中, 所有从该 VLAN成员端口进入的隧道报文会执行 映射。 目前的基于普通物理端口( port )和基于 VLAN的映射绑定方式, 当 port 和 port所属 VLAN上均映射绑定且映射策略不一致时, 则会出现冲突,从而 导致报文无法映射, 或者映射错误, 最终可能导致传输失败。 发明内容 本发的目的是提供一种 VPLS网络服务质量映射配置方法和系统, 以解 决如何能够提高传输的成功率的问题。 为解决上述技术问题, 本发明提供了一种虚拟专用局域网业务(VPLS ) 网络服务质量映射配置方法, 该方法包括: 在接收到报文后, 判断接收到报文的物理端口上所关联的映射绑定方式 的优先级; 按照预定规则选择一种映射绑定方式, 将该映射绑定方式对应的映射策 略作为对所述报文的映射策略; 以及 将所述报文通过 VPLS隧道转发时, 对所述报文执行该映射策略。 上述方法中, 所述物理端口属于隧道入口设备, 所述物理端口上所关联 的映射绑定方式为: 基于物理端口 (port ) 的映射绑定方式; 基于端口汇聚(trunk )组的映 射绑定方式; 基于虚拟局域网 (VLAN ) 的映射绑定方式; 基于 VPLS转发 实例 (VFI ) 的映射绑定方式; 基于 port和 trunk组的映射绑定方式; 基于 port和 VLAN的映射绑定方式;基于 port和 VFI的映射绑定方式;基于 trunk 组和 VLAN的映射绑定方式; 基于 trunk组和 VFI的映射绑定方式; 基于 VLAN和 VFI的映射绑定方式; 基于 port、 trunk组和 VLAN的映射绑定方 式; 基于 port、 trunk组和 VFI的映射绑定方式; 基于 port、 VLAN和 VFI 的映射绑定方式; 基于 trunk组、 VLAN和 VFI的映射绑定方式; 或者, 基 于 port、 trunk组、 VLAN和 VFI的映射绑定方式。 上述方法中, 所述物理端口属于隧道出口设备, 所述物理端口上所关联 的映射绑定方式为: 基于物理端口 (port ) 的映射绑定方式; 基于端口汇聚(trunk )组的映 射绑定方式; 基于虚拟局域网 (VLAN )的映射绑定方式; 基于 port和 trunk 组的映射绑定方式; 基于 port和 VLAN的映射绑定方式; 基于 trunk组和 VLAN的映射绑定方式; 或者, 基于 port、 trunk组和 VLAN的映射绑定方 式。 基于 trunk组的映射绑定方式为:当有从 ttmnk组任意成员端口进入的报 文通过 VPLS隧道转发时, 对该报文执行 trunk上配置的映射策略; 所述基于 trunk组的映射策略包括入隧道映射策略和出隧道映射策略。 上述方法中, 基于 VFI的映射绑定方式为: 隧道入口设备上, 当有从以 下任一种端口进入的 文通过 VPLS隧道转发时, 对该 文执行 VFI上配置 的映射策略: 绑定了 VFI的物理端口、绑定了 VFI的 VLAN的成员端口和绑 定了 VFI的 trunk组的成员端口; 所述基于 VFI的映射策略包括入隧道映射策略。 上述方法中, 按照预定规则选择一种映射绑定方式的步骤包括: 选择所 述物理端口上所关联的映射绑定方式中优先级最高的映射绑定方式。 上述方法中, 对于隧道入口设备, 选择所述物理端口上所关联的映射绑 定方式中优先级最高的映射绑定方式的步骤包括:
1 )读取基于当前接收到报文的物理端口 (port )的映射绑定方式的优先 级, 作为当前优先级;
2 )判断当前 port是否绑定了 VFI, 如果是, 执行步骤 14 ) , 如果否, 执行步骤 3 ) ;
3 )判断当前 port是否属于端口汇聚(trunk )组, 如果是, 执行步骤 4 ) , 如果否, 执行步骤 10 ) ; 4 )判断 trunk组是否绑定了 VFI, 如果是, 执行步骤 8 ) , 如果否, 执 行步骤 5 ) ;
5 )判断 port或 trunk组所属 VLAN是否绑定了 VFI, 如果是, 执行步骤 6 ) , 如果否, 执行步骤 11 ) ;
6 )判断基于 VLAN的映射绑定方式的优先级是否高于当前优先级, 如 果是, 执行步骤 7 ) , 如果否, 执行步骤 8 ) ;
7 )将该基于 VLAN的映射绑定方式的优先级作为当前优先级, 执行步 骤 8 ) ;
8 )判断基于 trunk组的映射绑定方式的优先级是否高于当前优先级, 如 果是, 执行步骤 9 ) , 如果否, 执行步骤 14 ) ;
9 )将该基于 trunk组的映射绑定方式的优先级作为当前优先级, 执行步 骤 14 ) ;
10 )判断当前 port所属 VLAN是否绑定了 VFI,如果是,执行步骤 12 ) , 如果否, 执行步骤 11 ) ;
11 )将所述报文通过非 VPLS隧道转发, 结束;
12 )判断基于 VLAN的映射绑定方式的优先级是否高于当前优先级, 如 果是, 执行步骤 13 ) , 如果否, 执行步骤 14 ) ;
13 )将该基于 VLAN的映射绑定方式的优先级作为当前优先级, 执行步 骤 14 ) ;
14 )判断基于 VFI的映射绑定方式的优先级是否高于当前优先级, 如果 是, 执行步骤 15 ) , 如果否, 结束; 15 )将该基于 VFI的映射绑定方式的优先级作为当前优先级, 结束。 上述方法中, 对于隧道出口设备, 选择所述物理端口上所关联的映射绑 定方式中优先级最高的映射绑定方式的步骤包括: si , 读取基于当前接收到 MPLS 文的物理端口 (port ) 的映射绑定方 式的优先级, 作为当前优先级; s2, 判断当前 port是否属于 trunk组, 如果是, 执行步骤 s3 , 如果否, 执行步骤 s5;
果是, 执行步骤 s4, 如果否, 执行步骤 s5; s4,将基于该 trunk组的映射绑定方式的优先级作为当前优先级,执行步 骤 s5; s5 , 确定 port或 trunk组所属的 VLAN, 判断基于所述 VLAN的映射绑 定方式的优先级是否大于当前优先级, 如果是, 执行步骤 s6, 如果否, 结束; s6, 将基于该 VLAN的映射绑定方式的优先级作为当前优先级, 结束。 为解决上述技术问题,本发明还提供了一种虚拟专用局域网业务( VPLS ) 网络服务质量映射配置系统, 该系统包括: 映射绑定方式确认子系统、 映射 策略确定子系统和映射策略执行子系统, 其中: 所述映射绑定方式确认子系统设置为: 在接收到报文后, 判断接收到报 文的物理端口上所关联的映射绑定方式的优先级; 所述映射策略确定子系统设置为:按照预定规则选择一种映射绑定方式,
所述映射策略执行子系统设置为: 将所述报文通过 VPLS隧道转发时, 对所述报文执行该映射策略。 上述系统中, 所述物理端口属于隧道入口设备时, 所述物理端口上所关 联的映射绑定方式包括以下方式中的一种或几种: 基于物理端口 (port ) 的映射绑定方式, 基于端口汇聚(trunk )组的映 射绑定方式, 基于虚拟局域网 (VLAN ) 的映射绑定方式, 以及基于 VPLS 转发实例 (VFI ) 的映射绑定方式; 所述物理端口属于隧道出口设备时, 所述物理端口上所关联的映射绑定 方式包括以下方式中的一种或几种: 基于 port 的映射绑定方式, 基于 trunk组的映射绑定方式, 以及基于 VLAN的映射绑定方式。 为解决上述技术问题,本发明还提供了一种虚拟专用局域网业务( VPLS ) 网络服务质量映射配置方法, 该方法包括: 在隧道入口设备和隧道出口设备配置基于端口汇聚(trunk )组的映射策 略; 当有从 trunk组任意成员端口进入的报文通过 VPLS隧道转发时, 对该 报文执行 trunk上配置的映射策略, 其中, 所述基于 trunk组的映射策略包括 入隧道映射策略和出隧道映射策略; 和 /或 在隧道入口设备配置基于 VPLS转发实例 (VFI ) 的映射策略; 在所述 隧道入口设备上,当有从以下任一种端口进入的报文通过 VPLS隧道转发时, 对该报文执行 VFI上配置的映射策略: 绑定了 VFI的物理端口、 绑定了 VFI 的 VLAN的成员端口、 以及绑定了 VFI的 trunk组的成员端口; 其中, 所述 基于 VFI的映射策略包括入隧道映射策略。 该方法中, 所述入隧道映射策略包括: 在隧道入口处, 将报文 IP头的服 务类型 ( TOS )或者报文 VLAN标签头中的优先级( PRI ) 映射到 MPLS标 签的实验(EXP )位。 该方法中, 在隧道出口设备上配置的所述映射策略包括: 所述出隧道映射策略包括: 在隧道出口处, 将 MPLS标签的实验位映射 到报文 IP头的服务类型 (TOS )或者报文 VLAN标签头中的优先级(PRI ) 上。 与现有绑定方案相比, 一方面, 本发明使用的优先级策略解决了传统方 案中同时在 port和 port所属 VLAN上配置映射策略,且两映射策略不同时面 临的冲突问题, 避免由于报文映射错误而可能导致的传输失败。 另一方面, 本发明还提供了两种新的映射绑定方式: 基于端口汇聚(trunk )组的映射绑 定方式和在隧道入口设备上基于 VPLS转发实例( VPLS Forwarding Instance, VFI ) 的映射绑定方式, 解决了使用现有绑定策略会导致配置繁瑣的问题, 使得映射绑定的配置更加灵活。
附图概述 图 1为本发明实施例基于 trunk映射绑定方式的示意图; 图 2为本发明实施例基于 VFI映射绑定方式的示意图; 图 3为本发明实施例隧道入口设备在不同映射绑定方式配置的映射策略 出现冲突时的处理方法流程图; 图 4为本发明实施例隧道出口设备在不同映射绑定方式配置的映射策略 出现冲突时的处理方法流程图; 图 5为本发明实施例 QoS映射方法的流程图; 以及 图 6为本发明实施例 QoS映射配置系统的结构示意图。
本发明的较佳实施方式 为使本发明的目的、 技术方案和优点更加清楚明白, 下文中将结合附图 对本发明的实施例进行详细说明。 需要说明的是, 在不冲突的情况下, 本申 请中的实施例及实施例中的特征可以相互任意组合。 由于现有映射绑定方式只有基于普通物理端口和基于 VLAN两种, 当希 望基于某个 trunk端口来绑定或基于某个 VFI来绑定的话, 则可能需要逐个 VLAN或逐个端口地来绑定, 其实现比较繁瑣, 灵活性较差, 并且不够方便。 当绑定某个 VFI的 VLAN或物理端口比较多或者物理端口和所在 VLAN的 系的冲突。 因此本发明实施例提出了两种新的映射绑定方式: 基于 trunk的 映射绑定方式以及基于 VFI的映射绑定方式: 配置基于 trunk组的映射策略; 当有从 trunk组任意成员端口进入的报文 通过 VPLS隧道转发时, 对该报文执行 trunk组上配置的映射策略, 所述基 于 trunk组的映射策略包括入隧道映射策略和出隧道映射策略。 该基于 trunk 组的映射策略配置在隧道入口设备和隧道出口设备上, 其中在隧道入口设备 上配置的映射策略为入隧道映射策略, 在隧道出口设备上配置的映射策略为 出隧道映射策略。 配置基于 VFI的映射策略; 在所述隧道入口设备上, 当有从以下任一种 端口进入的报文通过 VPLS隧道转发时, 对该报文执行 VFI上配置的映射策 略: 绑定了 VFI的物理端口、绑定了 VFI的 VLAN的成员端口、 以及绑定了 VFI的 trunk组的成员端口; 所述基于 VFI的映射策略包括入隧道映射策略。 该基于 VFI的映射策略仅配置在隧道入口设备上。 上述两种映射绑定方式可同时存在, 也可择一使用。 入隧道映射策略包括: 在隧道入口处, 将 IP 头的 TOS 或者 4艮文 VLAN tag头的 PRI值映射到 MPLS标签的 EXP位; 出隧道映射策略包括:在隧道出口处,将 MPLS标签的 EXP值映射到报 文 IP头的 TOS或者报文 VLAN tag头的 PRI上。 为描述方便, 下文中将报文 IP头的 TOS以及 VLAN tag头的 PRI统称 为 cos。 优选地, 由交换机进行上述配置与映射策略执行操作。 本实施例基于 trunk组的映射绑定如图 1所示, 端口 pl、 p2和 p3组成 trunk组 1 , 对该 trunk组 1进行映射策略的配置, 当交换机作为隧道入口设 备, 且从 pl、 p2和 p3中任意一个或几个端口进入的普通报文走 VPLS隧道 转发时, 交换机执行预先对 trunk组 1配置的入隧道映射策略, 即将报文中 的 cosX映射为 MPLS标签中的 expY;当交换机作为隧道出口设备,且从 pi、 p2和 p3中任意一个或几个端口进入的 MPLS报文走 VPLS隧道转发时, 交 换机执行预先对 trunk组 1配置的出隧道映射策略, 即将 MPLS报文标签中 的 expY映射为标签剥离后普通 4艮文中的 cosX。 本实施例基于 VFI的映射绑定如图 2所示, 端口 pi为独立的物理端口, 端口 p2和 p3组成 trunk组 1 , 端口 p4属于 VLAN1 , 端口 p4、 trunk组 1和 VLAN1均与 VFI A绑定, 对该 VFI A进行映射策略的配置, 当有走 VPLS 隧道的报文从 pl、 p2、 p3和 p4中任意一个或几个端口进入交换机时, 交换 机执行预先对 VFIA配置的映射策略,即将报文中的 cosX映射为 MPLS标签 中的 expY。 对于隧道入口设备,当物理端口或端口所属的 trunk组或端口所在 VLAN 上绑定了 VFI, 则从该端口进入的报文需要通过 VPLS隧道转发; 对于隧道 出口设备, 如果报文入端口所属 VLAN开启了 MPLS功能且报文为 MPLS 报文, 则该报文需要通过 VPLS隧道转发。
对于属于隧道入口设备的物理端口, 该物理端口上可能仅配置有基于 port的映射绑定,或仅配置有基于 trunk组的映射绑定,或仅配置有基于 VLAN 的映射绑定, 或仅配置有基于 VFI的映射绑定, 也可能配置有两种或两种以 上的映射绑定, 例如: 包括以下任一映射绑定: 基于 port和 trunk组的映射绑定; 基于 port和 VLAN的映射绑定; 基于 port和 VFI的映射绑定; 基于 trunk组和 VLAN的 映射绑定;基于 trunk组和 VFI的映射绑定;基于 VLAN和 VFI的映射绑定; 基于 port、 trunk组和 VLAN的映射绑定; 基于 port、 trunk组和 VFI的映射 绑定; 基于 port、 VLAN和 VFI的映射绑定; 基于 trunk组、 VLAN和 VFI 的映射绑定; 基于 port、 trunk组、 VLAN和 VFI的映射绑定。 对于属于隧道出口设备的物理端口, 该物理端口所关联的映射绑定方式 包括以下任一之一: 基于 port的映射绑定方式; 基于 trunk组的映射绑定方 式; 基于 VLAN的映射绑定方式; 基于 port和 trunk组的映射绑定方式; 基 于 port和 VLAN的映射绑定方式; 基于 trunk组和 VLAN的映射绑定方式; 基于 port、 trunk组和 VLAN的映射绑定方式。 隧道入口设备和隧道出口设备可以是同一个设备。 为了避免可能存在的映射策略的冲突, 预先为每种映射绑定方式分配一 个优先级, 即分别为基于 port的映射绑定方式、 基于 trunk组的映射绑定方 式、 基于 vlan的映射绑定方式以及基于 vfi的映射绑定方式分配优先级(比 如可以用数字 1、 2、 3、 4来表示) 。 本发明实施例提出的可避免冲突的 QoS映射方法如图 5所示,该方法包 括: 在接收到报文后, 判断接收到报文的物理端口上所关联的所有映射绑定 方式的优先级, 按照预定规则选择一种映射绑定方式, 将该映射绑定方式对 应的映射策略作为对所述报文的映射策略, 将所述报文通过 VPLS隧道转发 时, 对所述报文执行该映射策略。 优选地, 上述按照预定规则选择一种映射绑定方式的步骤包括: 选择该 物理端口上所关联的映射绑定方式中优先级最高的映射绑定方式。 当端口上 关联的映射绑定方式仅有一个时,则该映射绑定方式即为优先级最高的那个。 例如, 对于隧道入口设备, 当一个 port属于一个 trunk组, 该 trunk组又 属于某个 VLAN, 而该 VLAN上又绑定了 VFI, 如果 port、 port所属 trunk 组和 port所在 VLAN、 VLAN所绑定的 VFI上都配置了映射策略, 且各映射 绑定方式对应的映射策略不相同, 则此时会出现冲突。 假定 port的映射优先 级(即映射绑定方式对应的优先级)为 2、 trunk组的映射优先级为 1、 VLAN 的映射优先级为 4、 VFI的映射优先级为 3 , 其中, 4的优先级最高, 1的优 先级最低。此时,可为该 port选择映射优先级最高的映射绑定方式—— VLAN 所对应的映射策略作为决策出的映射策略。 这样, 从该 port进入的报文通过 VPLS隧道传输时, 按照该 port所属 VLAN所配置的映射策略执行映射。 具 体流程参见图 3。对于隧道出口设备,选择映射绑定方式的具体流程参见图 4。
本实施例实现上述 QoS映射配置的系统的结构示意图如图 6所示,该系 统包括: 映射绑定方式确认子系统、 映射策略确定子系统和映射策略执行子 系统, 其中: 所述映射绑定方式确认子系统设置为: 在接收到报文后, 判断接收到报 文的物理端口上所关联的映射绑定方式的优先级; 所述映射策略确定子系统设置为:按照预定规则选择一种映射绑定方式,
所述映射策略执行子系统设置为: 将所述报文通过 VPLS隧道转发时, 对所述报文执行该映射策略。
具体地, 本实施例隧道入口设备的映射策略出现冲突时的映射绑定方式 选择方案如图 3所示, 包括以下步骤: 步骤 301 , 当前 port接收到普通报文, 读取当前 port的映射优先级作为 当前优先级; 步骤 302,判断当前 port是否绑定 VFI,如果是,执行步骤 314,如果否, 执行步骤 303; 步骤 303 , 判断当前 port是否属于 trunk组, 如果是, 执行步骤 304, 如 果否, 执行步骤 310; 步骤 304, 判断 trunk组是否绑定了 VFI, 如果是, 执行步骤 308, 如果 否, 执行步骤 305; 步骤 305, 判断 port或 trunk组所属 VLAN是否绑定了 VFI, 如果是, 执行步骤 306, 如果否, 执行步骤 311 ; port和 trunk组所属 VLAN必定是同一个 VLAN。 步骤 306, 判断 VLAN的优先级是否高于当前优先级, 如果是, 执行步 骤 307, 如果否, 执行步骤 308; 步骤 307, 将该 VLAN的映射优先级作为当前优先级, 执行步骤 308; 步骤 308, 判断 trunk组的优先级是否高于当前优先级, 如果是, 执行步 骤 309, 如果否, 执行步骤 314; 步骤 309, 将该 trunk组的映射优先级作为当前优先级, 执行步骤 314; 步骤 310, 判断当前 port所属 VLAN是否绑定了 VFI, 如果是, 执行步 骤 312, 如果否, 执行步骤 311 ; 步骤 311 , 将该报文按照现有技术通过非 VPLS隧道转发, 结束; 步骤 312, 判断 VLAN的优先级是否高于当前优先级, 如果是, 执行步 骤 313 , 如果否, 执行步骤 314; 步骤 313 , 将该 VLAN的映射优先级作为当前优先级, 执行步骤 314; 步骤 314, 判断 VFI的优先级是否高于当前优先级, 如果是, 执行步骤 315, 如果否, 结束; 步骤 315, 将该 VFI的映射优先级作为当前优先级, 结束。 当前优先级对应的映射绑定方式即为所选择的映射绑定方式, 以该映射 绑定方式的入隧道映射策略, 对接收到的报文执行入隧道映射。 以上流程仅为示例, 在实际应用过程中, 可有多种变化, 例如可不设当 前优先级。 或者先确定当前端口上关联的所有映射绑定方式, 从中选择优先 级最高的映射绑定方式, 然后将该映射绑定方式对应的映射策略作为对报文 的映射策略。 不同映射绑定方式的优先级的设定可以比较灵活, 推荐优先级为 port < trunk iL<VLAN < VFL 本发明实施例隧道出口设备的映射策略出现冲突时的映射绑定方式选择 方案如图 4所示, 包括以下步骤: 步骤 401 , 隧道出口设备收到 MPLS报文, 读取当前 port的映射优先级 作为当前优先级; 步骤 402, 判断当前 port是否属于 trunk组, 如果是, 执行步骤 403 , 如 果否, 执行步骤 405; 步骤 403 , 判断 trunk组的优先级是否大于当前优先级, 如果是, 执行步 骤 404, 如果否, 执行步骤 405; 步骤 404, 将该 trunk组的映射优先级作为当前优先级, 执行步骤 405; 步骤 405 , 判断 port或 trunk组所属 VLAN的优先级是否大于当前优先 级, 如果是, 执行步骤 406, 如果否, 结束; 所有 port或 trunk组都必须属于某个 VLAN,就算交换机没有任何配置, port或 trunk组也会有一个默认 VLAN (一般是 VLAN1 ) 。 步骤 406, 将该 VLAN的映射优先级作为当前优先级, 结束。 当前优先级对应的映射绑定方式即为所选择的映射绑定方式, 以该映射 绑定方式的出隧道映射策略, 对接收到的报文执行出隧道映射。
上述方案为不同映射绑定方式的映射策略出现冲突时的处理方案, 而相 同映射绑定方式间的映射策略则不会出现冲突, 分析如下: 由于一个 port不能属于多个 trunk组,故不同 trunk组之间配置不同的映 射策略不会引起冲突; 对于同一 port或同一个 trunk组属于多个 VLAN的情况, 由于报文的入 VLAN仅有一个,故这种情况下不同 VLAN下配置不同的映射策略也不会引 起冲突; 由于同一 port或同一个 trunk组或同一个 VLAN不能绑定多个 VFI, 故 不同 VFI之间配置不同的映射策略也不会引起冲突。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块可以釆用硬件 的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任何特 定形式的硬件和软件的结合。 当然, 本发明还可有其他多种实施例, 在不背离本发明精神及其实质的 但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。
工业实用性 与现有绑定方案相比, 一方面, 本发明使用的优先级策略解决了传统方 案中同时在 port和 port所属 VLAN上配置映射策略,且两映射策略不同时面 临的冲突问题, 避免由于报文映射错误而可能导致的传输失败。 另一方面, 本发明还提供了两种新的映射绑定方式: 基于 trunk组的映射绑定方式和在 隧道入口设备上基于 VFI的映射绑定方式, 解决了使用现有绑定策略会导致 配置繁瑣的问题, 使得映射绑定的配置更加灵活。

Claims

权 利 要 求 书
1、 一种虚拟专用局域网业务( VPLS ) 网络服务质量映射配置方法, 该 方法包括: 在接收到报文后, 判断接收到报文的物理端口上所关联的映射绑定方式 的优先级; 按照预定规则选择一种映射绑定方式, 将该映射绑定方式对应的映射策 略作为对所述报文的映射策略; 以及 将所述报文通过 VPLS隧道转发时, 对所述报文执行该映射策略。
2、 如权利要求 1所述的方法, 其中: 所述物理端口属于隧道入口设备, 所述物理端口上所关联的映射绑定方 式为:
基于物理端口 (port ) 的映射绑定方式; 基于端口汇聚(trunk )组的映 射绑定方式; 基于虚拟局域网 (VLAN ) 的映射绑定方式; 基于 VPLS转发 实例 (VFI ) 的映射绑定方式; 基于 port和 trunk组的映射绑定方式; 基于 port和 VLAN的映射绑定方式;基于 port和 VFI的映射绑定方式;基于 trunk 组和 VLAN的映射绑定方式; 基于 trunk组和 VFI的映射绑定方式; 基于 VLAN和 VFI的映射绑定方式; 基于 port、 trunk组和 VLAN的映射绑定方 式; 基于 port、 trunk组和 VFI的映射绑定方式; 基于 port、 VLAN和 VFI 的映射绑定方式; 基于 trunk组、 VLAN和 VFI的映射绑定方式; 或者, 基 于 port、 trunk组、 VLAN和 VFI的映射绑定方式。
3、 如权利要求 1所述的方法, 其中: 所述物理端口属于隧道出口设备, 所述物理端口上所关联的映射绑定方 式为:
基于物理端口 (port ) 的映射绑定方式; 基于端口汇聚(trunk )组的映 射绑定方式; 基于虚拟局域网 (VLAN )的映射绑定方式; 基于 port和 trunk 组的映射绑定方式; 基于 port和 VLAN的映射绑定方式; 基于 trunk组和 VLAN的映射绑定方式; 或者, 基于 port、 trunk组和 VLAN的映射绑定方 式。
4、 如权利要求 2或 3所述的方法, 其中: 基于 trunk组的映射绑定方式为:当有从 ttmnk组任意成员端口进入的报 文通过 VPLS隧道转发时, 对该报文执行 trunk上配置的映射策略; 所述基于 trunk组的映射策略包括入隧道映射策略和出隧道映射策略。
5、 如权利要求 2所述的方法, 其中: 基于 VFI的映射绑定方式为: 隧道入口设备上, 当有从以下任一种端口 进入的报文通过 VPLS隧道转发时, 对该报文执行 VFI上配置的映射策略: 绑定了 VFI的物理端口、 绑定了 VFI的 VLAN的成员端口和绑定了 VFI的 trunk组的成员端口; 所述基于 VFI的映射策略包括入隧道映射策略。
6、 如权利要求 1或 2或 3所述的方法, 其中: 按照预定规则选择一种映射绑定方式的步骤包括: 选择所述物理端口上 所关联的映射绑定方式中优先级最高的映射绑定方式。
7、 如权利要求 6所述的方法, 其中:
对于隧道入口设备, 选择所述物理端口上所关联的映射绑定方式中优先 级最高的映射绑定方式的步骤包括: 1 )读取基于当前接收到报文的物理端口 (port )的映射绑定方式的优先 级, 作为当前优先级;
2 )判断当前 port是否绑定了 VFI, 如果是, 执行步骤 14 ) , 如果否, 执行步骤 3 ) ;
3 )判断当前 port是否属于端口汇聚(trunk )组, 如果是, 执行步骤 4 ) , 如果否, 执行步骤 10) ;
4)判断 trunk组是否绑定了 VFI, 如果是, 执行步骤 8 ) , 如果否, 执 行步骤 5 ) ;
5 )判断 port或 trunk组所属 VLAN是否绑定了 VFI, 如果是, 执行步骤 6) , 如果否, 执行步骤 11 ) ;
6)判断基于 VLAN的映射绑定方式的优先级是否高于当前优先级, 如 果是, 执行步骤 7) , 如果否, 执行步骤 8) ;
7)将该基于 VLAN的映射绑定方式的优先级作为当前优先级, 执行步 骤 8 ) ; 8)判断基于 trunk组的映射绑定方式的优先级是否高于当前优先级, 如 果是, 执行步骤 9) , 如果否, 执行步骤 14) ;
9)将该基于 trunk组的映射绑定方式的优先级作为当前优先级, 执行步 骤 14 ) ;
10 )判断当前 port所属 VLAN是否绑定了 VFI,如果是,执行步骤 12 ) , 如果否, 执行步骤 11 ) ;
11 )将所述报文通过非 VPLS隧道转发, 结束;
12 )判断基于 VLAN的映射绑定方式的优先级是否高于当前优先级, 如 果是, 执行步骤 13) , 如果否, 执行步骤 14) ;
13 )将该基于 VLAN的映射绑定方式的优先级作为当前优先级, 执行步 骤 14 ) ;
14)判断基于 VFI的映射绑定方式的优先级是否高于当前优先级, 如果 是, 执行步骤 15) , 如果否, 结束;
15)将该基于 VFI的映射绑定方式的优先级作为当前优先级, 结束。
8、 如权利要求 6所述的方法, 其中: 对于隧道出口设备, 选择所述物理端口上所关联的映射绑定方式中优先 级最高的映射绑定方式的步骤包括: sl , 读取基于当前接收到 MPLS 文的物理端口 (port ) 的映射绑定方 式的优先级, 作为当前优先级; s2, 判断当前 port是否属于 trunk组, 如果是, 执行步骤 s3 , 如果否, 执行步骤 s5;
果是, 执行步骤 s4, 如果否, 执行步骤 s5;
s4,将基于该 trunk组的映射绑定方式的优先级作为当前优先级,执行步 骤 s5;
s5 , 确定 port或 trunk组所属的 VLAN, 判断基于所述 VLAN的映射绑 定方式的优先级是否大于当前优先级, 如果是, 执行步骤 s6, 如果否, 结束; s6, 将基于该 VLAN的映射绑定方式的优先级作为当前优先级, 结束。
9、 一种虚拟专用局域网业务( VPLS ) 网络服务质量映射配置系统, 该 系统包括: 映射绑定方式确认子系统、 映射策略确定子系统和映射策略执行 子系统, 其中: 所述映射绑定方式确认子系统设置为: 在接收到报文后, 判断接收到报 文的物理端口上所关联的映射绑定方式的优先级; 所述映射策略确定子系统设置为:按照预定规则选择一种映射绑定方式,
所述映射策略执行子系统设置为: 将所述报文通过 VPLS隧道转发时, 对所述报文执行该映射策略。
10、 如权利要求 9所述的系统, 其中: 所述物理端口属于隧道入口设备时, 所述物理端口上所关联的映射绑定 方式包括以下方式中的一种或几种: 基于物理端口 (port ) 的映射绑定方式, 基于端口汇聚(trunk )组的映 射绑定方式, 基于虚拟局域网 (VLAN ) 的映射绑定方式, 以及基于 VPLS 转发实例 (VFI ) 的映射绑定方式; 所述物理端口属于隧道出口设备时, 所述物理端口上所关联的映射绑定 方式包括以下方式中的一种或几种: 基于 port 的映射绑定方式, 基于 trunk组的映射绑定方式, 以及基于
VLAN的映射绑定方式。
11、 一种虚拟专用局域网业务( VPLS )网络服务质量映射配置方法, 该 方法包括: 在隧道入口设备和隧道出口设备配置基于端口汇聚(trunk )组的映射策 略; 当有从 trunk组任意成员端口进入的报文通过 VPLS隧道转发时, 对该 报文执行 trunk上配置的映射策略, 其中, 所述基于 trunk组的映射策略包括 入隧道映射策略和出隧道映射策略; 和 /或 在隧道入口设备配置基于 VPLS转发实例 (VFI ) 的映射策略; 在所述 隧道入口设备上,当有从以下任一种端口进入的报文通过 VPLS隧道转发时, 对该报文执行 VFI上配置的映射策略: 绑定了 VFI的物理端口、 绑定了 VFI 的 VLAN的成员端口、 以及绑定了 VFI的 trunk组的成员端口; 其中, 所述 基于 VFI的映射策略包括入隧道映射策略。
12、 如权利要求 11所述的方法, 其中: 所述入隧道映射策略包括: 在隧道入口处, 将报文 IP 头的服务类型 ( TOS )或者报文 VLAN标签头中的优先级( PRI ) 映射到 MPLS标签的实 验 ( EXP )位„
13、如权利要求 11所述的方法, 其中: 在隧道出口设备上配置的所述映 射策略包括: 所述出隧道映射策略包括: 在隧道出口处, 将 MPLS标签的实验位映射 到报文 IP头的服务类型 ( TOS )或者报文 VLAN标签头中的优先级( PRI ) 上。
PCT/CN2011/077661 2010-09-15 2011-07-27 一种vpls网络服务质量映射配置方法和系统 WO2012034455A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010283603.9 2010-09-15
CN201010283603.9A CN101945046B (zh) 2010-09-15 2010-09-15 一种vpls网络服务质量映射配置方法和系统

Publications (1)

Publication Number Publication Date
WO2012034455A1 true WO2012034455A1 (zh) 2012-03-22

Family

ID=43436828

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/077661 WO2012034455A1 (zh) 2010-09-15 2011-07-27 一种vpls网络服务质量映射配置方法和系统

Country Status (2)

Country Link
CN (1) CN101945046B (zh)
WO (1) WO2012034455A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8490107B2 (en) 2011-08-08 2013-07-16 Arm Limited Processing resource allocation within an integrated circuit supporting transaction requests of different priority levels
CN107395423A (zh) * 2017-07-28 2017-11-24 郑州云海信息技术有限公司 绑定网络端口与网卡接口的方法和装置
CN112104408A (zh) * 2020-09-23 2020-12-18 北京邮电大学 一种虚拟网络的映射方法及装置

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945046B (zh) * 2010-09-15 2016-05-25 中兴通讯股份有限公司 一种vpls网络服务质量映射配置方法和系统
WO2014101155A1 (zh) * 2012-12-31 2014-07-03 华为技术有限公司 Vpls中vc标签分配和mac地址学习的方法,设备和系统
CN104468394B (zh) * 2014-12-04 2018-02-09 新华三技术有限公司 一种vxlan网络中报文转发方法及装置
CN106357553B (zh) * 2015-07-14 2021-01-26 中兴通讯股份有限公司 用于TRUNK口的QoS业务实现方法及装置
CN105163206A (zh) * 2015-08-06 2015-12-16 上海斐讯数据通信技术有限公司 一种pon系统下onu vlan id自动配置方法及装置
CN108923966B (zh) * 2018-06-27 2021-06-29 新华三技术有限公司 1br网络pvst协议的vlan使能方法及装置
CN109495370B (zh) * 2018-12-29 2020-11-24 瑞斯康达科技发展股份有限公司 一种基于vpls的报文传输方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030123460A1 (en) * 2001-12-27 2003-07-03 Mackiewich Blair T. User priority mapping in bridged VLANS
CN101304390A (zh) * 2008-07-07 2008-11-12 杭州华三通信技术有限公司 Mpls标签分配方法和vpls报文映射方法及装置
CN101710873A (zh) * 2009-12-08 2010-05-19 中兴通讯股份有限公司 配置数据管理的方法和装置
CN101945046A (zh) * 2010-09-15 2011-01-12 中兴通讯股份有限公司 一种vpls网络服务质量映射配置方法和系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030123460A1 (en) * 2001-12-27 2003-07-03 Mackiewich Blair T. User priority mapping in bridged VLANS
CN101304390A (zh) * 2008-07-07 2008-11-12 杭州华三通信技术有限公司 Mpls标签分配方法和vpls报文映射方法及装置
CN101710873A (zh) * 2009-12-08 2010-05-19 中兴通讯股份有限公司 配置数据管理的方法和装置
CN101945046A (zh) * 2010-09-15 2011-01-12 中兴通讯股份有限公司 一种vpls网络服务质量映射配置方法和系统

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8490107B2 (en) 2011-08-08 2013-07-16 Arm Limited Processing resource allocation within an integrated circuit supporting transaction requests of different priority levels
CN107395423A (zh) * 2017-07-28 2017-11-24 郑州云海信息技术有限公司 绑定网络端口与网卡接口的方法和装置
CN112104408A (zh) * 2020-09-23 2020-12-18 北京邮电大学 一种虚拟网络的映射方法及装置
CN112104408B (zh) * 2020-09-23 2021-06-22 北京邮电大学 一种虚拟网络的映射方法及装置

Also Published As

Publication number Publication date
CN101945046A (zh) 2011-01-12
CN101945046B (zh) 2016-05-25

Similar Documents

Publication Publication Date Title
WO2012034455A1 (zh) 一种vpls网络服务质量映射配置方法和系统
RU2636689C2 (ru) Автоматическое установление избыточных трактов с осторожным восстановлением в сети пакетной коммутации
US10033650B2 (en) Preserving quality of service across trill networks
US7697422B1 (en) Quality of service marking techniques
US7519056B2 (en) Managing traffic in a multiport network node using logical ports
JP4531063B2 (ja) 仮想私設網においてサービス品質を保証するためのシステムおよびその方法
EP2713567B1 (en) Maintaining load balancing after service application with a network device
US9525636B2 (en) QoS on a virtual interface over multi-path transport
WO2017037615A1 (en) A method and apparatus for modifying forwarding states in a network device of a software defined network
US10880121B1 (en) Provisioning QOS behavior on tunnel endpoints
US10027587B1 (en) Non-recirculating label switching packet processing
US20130155865A1 (en) Label switching or equivalent network multipath traffic control
JP2015529434A (ja) ブロックされたリンクに沿った特定のトラフィックの送信
US7742477B1 (en) Interconnectivity between autonomous systems
WO2007025457A1 (fr) Methode et systeme de fourniture de service differencie
WO2011160517A1 (zh) 一种多协议标签交换业务隧道切换的方法及系统
US20070110025A1 (en) Autonomous system interconnect using content identification and validation
JP5426024B2 (ja) 内側のmplsラベルと外側のmplsラベルとの連結
WO2011120381A1 (zh) 一种对虚拟专用网流量进行服务质量处理的方法及装置
US9137153B2 (en) Interworking between ethernet and MPLS
WO2007140703A1 (fr) Procédé et appareil de nœud rsvp interactif
WO2012103729A1 (zh) 隧道配置方法及装置
US8559432B2 (en) Pseudo-wire providing an in-band control channel using an offset
WO2009059470A1 (fr) Routeur de périphérie et procédé d&#39;accès permettant à un dispositif vrrp d&#39;accéder à un réseau privé virtuel
Hassani et al. Optimizing bandwidth by employing MPLS AToM with QoS support

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

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

Country of ref document: EP

Kind code of ref document: A1