CN101945046B - A kind of VPLS network service quality mapping configuration method and system - Google Patents

A kind of VPLS network service quality mapping configuration method and system Download PDF

Info

Publication number
CN101945046B
CN101945046B CN201010283603.9A CN201010283603A CN101945046B CN 101945046 B CN101945046 B CN 101945046B CN 201010283603 A CN201010283603 A CN 201010283603A CN 101945046 B CN101945046 B CN 101945046B
Authority
CN
China
Prior art keywords
mode
map bindings
port
priority
mapping
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201010283603.9A
Other languages
Chinese (zh)
Other versions
CN101945046A (en
Inventor
李伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201010283603.9A priority Critical patent/CN101945046B/en
Publication of CN101945046A publication Critical patent/CN101945046A/en
Priority to PCT/CN2011/077661 priority patent/WO2012034455A1/en
Application granted granted Critical
Publication of CN101945046B publication Critical patent/CN101945046B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a kind of VPLS network service quality mapping configuration method and system, can improve the success rate of transmission. Described method comprises: receiving after message, judgement receives the priority of map bindings mode associated on the physical port of message; Select a kind of map bindings mode according to pre-defined rule, using mapping policy corresponding this map bindings mode as the mapping policy to described message; When described message is forwarded by VPLS tunnel, described message is carried out to this mapping policy.

Description

A kind of VPLS network service quality mapping configuration method and system
Technical field
The present invention relates to (the two layers of Multiprotocol Label Switching Virtual Private Network of L2MPLSVPNDiffServ in the communications fieldDifferential service) technology, specifically, relate in particular to a kind of at VPLS (VirtualprivateLANService, VPLS) QoS (QualityofService, service quality) on networkCollocation method and the system of mapping.
Background technology
In VPLS (VirtualprivateLANservice, VPLS) network applicationIn, often need to be in the porch in tunnel, the TOS of 3 bit of IP head (TypeofService,COS) value or message VLANtag (label) head in 3 bit PRI (Priority,Priority) value, be mapped to MPLS (Multi-ProtocolLabelSwitching, multiprotocol labelExchange) EXP (Experimental, experiment position) of label, to determine (the LabelSwitched at LSPPath, label switched path) queuing policy and the drop policy of each jumping place. In the exit in tunnel,Again the value of the EXP of MPLS label is copied in the TOS of IP head or message VLANtag headPRI is upper, makes the message can be according to TOS in CE (CustomerEdge, customer edge) sideOr PRI carries out qos policy.
In order to realize this mapping, need to the entrance and exit PE in MPLS tunnel (ProviderEdge,Provider edge) binding locating to shine upon, with the message that determines to enter VPLS tunnel whetherShine upon and how to shine upon. More common binding method mainly contains the binding based on inbound port at presentWith the binding based on entering VLAN (VirtualLocalAreaNetwork, VLAN). Based on endIn the binding mode of mouth, all channel messages that enter from this port can be carried out mapping; Based on entering VLANIn the mode of binding, all channel messages that enter from this member of vlan's port can be carried out mapping.
Current based on General Physics port (port) and the map bindings mode based on VLAN, work as port, there will be conflict, thereby lead when inconsistent with the upper equal map bindings of vlan under port and mapping policyCausing message cannot shine upon, or mapping error, finally may cause bust this.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of VPLS network service quality mapping configuration methodAnd system, can improve the success rate of transmission.
For solving the problems of the technologies described above, the invention provides a kind of VPLS (VPLS)Network service quality mapping configuration method, comprising:
Receiving after message, judgement receives map bindings mode associated on the physical port of messagePriority;
Select a kind of map bindings mode according to pre-defined rule, by mapping plan corresponding this map bindings modeSlightly as the mapping policy to described message;
When described message is forwarded by VPLS tunnel, described message is carried out to this mapping policy.
Further, described physical port belongs to tunnel portal equipment, associated on described physical portMap bindings mode is: based on the map bindings mode of physical port (port); Based on trunking (trunk)The map bindings mode of group; Based on the map bindings mode of VLAN (vlan); Based on VPLSThe map bindings mode of forwarding instance (vfi); Based on the map bindings mode of port and trunk group; BaseIn the map bindings mode of port and vlan; Map bindings mode based on port and vfi; Based on trunkThe map bindings mode of group and vlan; Based on the map bindings mode of trunk group and vfi; Based on vlanMap bindings mode with vfi; Map bindings mode based on port, trunk group and vlan; Based on port,The map bindings mode of trunk group and vfi; Map bindings mode based on port, vlan and vfi; Based onThe map bindings mode of trunk group, vlan and vfi; Or, based on port, trunk group, vlan and vfiMap bindings mode.
Further, described physical port belongs to tunnel exit equipment, associated on described physical portMap bindings mode is: based on the map bindings mode of physical port (port); Based on trunking (trunk)The map bindings mode of group; Based on the map bindings mode of VLAN (vlan); Based on port andThe map bindings mode of trunk group; Map bindings mode based on port and vlan; Based on trunk group andThe map bindings mode of vlan; Or, the map bindings mode based on port, trunk group and vlan.
Further, the map bindings mode based on trunk group is: organize any member when having from TrunkWhen the message that port enters forwards by VPLS tunnel, this message is carried out to the mapping of the upper configuration of trunkStrategy, the described mapping policy based on Trunk group includes tunnel mapping strategy and goes out tunnel mapping strategy.
Further, the map bindings mode based on vfi is: on tunnel portal equipment, when have from belowWhen the message that any port enters forwards by VPLS tunnel, this message execution vfi is above configuredMapping policy: bound vfi physical port, bound the vlan of vfi member port, boundThe member port of the trunk group of vfi; The described mapping policy based on vfi includes tunnel mapping strategy.
Further, describedly select a kind of step of map bindings mode to comprise according to pre-defined rule: to selectThe associated the highest map bindings mode of map bindings mode medium priority on described physical port.
For solving the problems of the technologies described above, the present invention also provides a kind of VPLS (VPLS)Network service quality mapping configuration-system, comprises that map bindings mode confirms that subsystem, mapping policy determineSubsystem and mapping policy executive subsystem, wherein:
Described map bindings mode is confirmed subsystem, and for receiving after message, judgement receives messagePhysical port on the priority of associated map bindings mode;
Described mapping policy is determined subsystem, for select a kind of map bindings mode according to pre-defined rule,Using mapping policy corresponding this map bindings mode as the mapping policy to described message;
Described mapping policy executive subsystem, while forwarding for described message is passed through to VPLS tunnel, rightDescribed message is carried out this mapping policy.
Further, when described physical port belongs to tunnel portal equipment, associated on described physical portMap bindings mode comprise one or more in following mode: based on reflecting of physical port (port)Penetrate binding mode, based on the map bindings mode of trunking (trunk) group, based on VLAN (vlan)Map bindings mode, based on the map bindings mode of VPLS forwarding instance (vfi);
When described physical port belongs to tunnel exit equipment, associated map bindings on described physical portMode comprises one or more in following mode: based on the map bindings mode of physical port (port),Based on the map bindings mode of trunking (trunk) group, based on the mapping of VLAN (vlan)Binding mode.
For solving the problems of the technologies described above, the present invention also provides a kind of VPLS (VPLS)Network service quality mapping configuration method, comprising:
The mapping plan based on trunking (Trunk) group at tunnel portal equipment and the configuration of tunnel exit equipmentSlightly; When having when organizing message that any member port enters and forward by VPLS tunnel from Trunk, to thisMessage is carried out the mapping policy of the upper configuration of trunk, and the described mapping policy based on Trunk group includes tunnelRoad mapping policy and go out tunnel mapping strategy; And/or
Configure the mapping policy based on VPLS forwarding instance (vfi) at tunnel portal equipment; At described tunnelOn road access device, in the time having the message entering from following any port to forward by VPLS tunnel,This message is carried out to the mapping policy of the upper configuration of vfi: bound vfi physical port, bound vfi'sThe member port of vlan, bind the member port of the trunk group of vfi; The described mapping plan based on vfiSlightly include tunnel mapping strategy.
Further, described in, entering tunnel mapping strategy comprises: at tunnel portal place, by the clothes of message IP headPriority (PRI) in business type (TOS) or message VLAN tag head is mapped to MPLS markThe experiment position (EXP) of signing.
Further, the described mapping policy configuring on tunnel exit equipment comprises: described in go out tunnel and reflectPenetrating strategy comprises: at tunnel exit place, the experiment position of MPLS label is mapped to the TOS of message IP headOr on the PRI in message VLAN tag head.
The present invention program compared with existing binding scheme, on the one hand, the present invention use priority policy solutionDetermine and under port and port, on vlan, configuring mapping policy in traditional scheme simultaneously, and two mapping policysThe collision problem facing when different, avoids the bust this that may cause due to message mapping error. SeparatelyOn the one hand, the present invention also provides two kinds of new map bindings modes: based on trunk (trunking) groupMap bindings mode and on tunnel portal equipment based on vfi (VPLSForwardingInstance,VPLS forwarding instance) map bindings mode, solved use existing binding strategy can cause configuring numerousTrivial problem, makes the configuration of map bindings more flexible.
Brief description of the drawings
Fig. 1 is the schematic diagram based on Trunk map bindings mode;
Fig. 2 is the schematic diagram based on VFI map bindings mode;
Fig. 3 is tunnel portal equipment in the time that conflict appears in the mapping policy of different mappings binding mode configurationProcess flow figure;
Fig. 4 is tunnel exit equipment in the time that conflict appears in the mapping policy of different mappings binding mode configurationProcess flow figure.
Detailed description of the invention
Because existing map bindings mode is only based on General Physics port with based on two kinds of VLAN, when uncommonHope and bind or bind based on certain vfi based on certain trunk port, may need one by oneVlan or port basis ground are bound, and more loaded down with trivial details, flexibility is poor, convenient not. When binding certainWhen the vlan of vfi or physical port binding relationship many or physical port and place vlan is inconsistent,Use the more loaded down with trivial details conflict that even occurs binding relationship that will seem of existing binding strategy. Therefore thisBright two kinds of new map bindings modes are proposed: the map bindings mode based on trunk and based on vfi'sMap bindings mode:
The mapping policy of configuration based on Trunk group; Organize when having from Trunk the report that any member port entersWhen literary composition forwards by VPLS tunnel, this message is carried out to the mapping policy of configuration in trunk group, described inMapping policy based on Trunk group includes tunnel mapping strategy and goes out tunnel mapping strategy. Should be based onThe mapping policy of Trunk group is configured on tunnel portal equipment and tunnel exit equipment, wherein enters in tunnelThe mapping policy configuring on jaws equipment is for entering tunnel mapping strategy, the mapping configuring on tunnel exit equipmentStrategy is for going out tunnel mapping strategy.
The mapping policy of configuration based on vfi; On described tunnel portal equipment, when have from following anyWhen the message that port enters forwards by VPLS tunnel, this message is carried out to the mapping plan of the upper configuration of vfiSlightly: bound vfi physical port, bound the vlan of vfi member port, bound the trunk of vfiThe member port of group; The described mapping policy based on vfi includes tunnel mapping strategy. Should be based on vfi'sMapping policy is only configured on tunnel portal equipment.
Above-mentioned two kinds of map bindings modes can exist simultaneously, also can select a use.
Entering tunnel mapping strategy comprises: at tunnel portal place, by TOS or the message of message IP headThe PRI value of VLANtag (label) head is mapped to the EXP position of MPLS label;
Going out tunnel mapping strategy comprises: at tunnel exit place, the EXP value of MPLS label is mapped to reportOn the TOS of literary composition IP head or the PRI of message VLANtag head.
For convenience of description, hereinafter the PRI of the TOS of message IP head and VLANtag head is referred to asFor COS.
Preferably, carry out above-mentioned configuration and mapping policy executable operations by switch.
As shown in Figure 1, port p1, p2 and p3 form Trunk group to map bindings based on Trunk group1, this Trunk group 1 is carried out to the configuration of mapping policy, when switch is as tunnel portal equipment, and fromWhen the common message that in p1, p2, p3, any one or several port enter is walked VPLS tunnel and forwarded, hand overWhat the execution of changing planes configured trunk group 1 in advance enters tunnel mapping strategy, by the cosX mapping in messageFor the expY in MPLS label; When switch is as tunnel exit equipment, and from p1, p2, p3When the MPLS message that any one or several port enter is walked the forwarding of VPLS tunnel, switch is carried out pre-First to 1 configuration of trunk group go out tunnel mapping strategy, by the expY mapping in MPLS message labelFor the cosX in common message after label peeling.
As shown in Figure 2, port p1 is physical port independently to map bindings based on vfi, port p2With p3 composition Trunk group 1, port p4 belongs to vlan1, port p4, Trunk group 1, vlan1 all withVfiA binding, carries out the configuration of mapping policy to this vfiA, when the message that has a VPLS tunnel from p1,When in p2, p3, p4, any one or several port enter switch, switch is carried out in advance to vfiAThe mapping policy of configuration, is mapped as the expY in MPLS label by the cosX in message.
For tunnel portal equipment, the trunk group under physical port or port or port place vlanOn bound VFI, the message entering from this port need to forward by VPLS tunnel; For tunnelOutlet device, if the affiliated vlan of message inbound port has opened MPLS function and message is MPLS message,This message need to forward by VPLS tunnel.
For the physical port that belongs to tunnel portal equipment, on it, may only dispose the mapping based on portBinding, or only dispose the map bindings based on trunk group, or the mapping of only disposing based on vlan is tied upFixed, or only dispose the map bindings based on vfi, also possible configuration has two or more mappingBinding, for example:
Comprise following arbitrary map bindings: based on the map bindings of port and trunk group; Based on port andThe map bindings of vlan; Based on the map bindings of port and vfi; Based on the mapping of trunk group and vlanBinding; Based on the map bindings of trunk group and vfi; Based on the map bindings of vlan and vfi; Based on port,The map bindings of trunk group and vlan; Based on the map bindings of port, trunk group and vfi; Based on port,The map bindings of vlan and vfi; Based on the map bindings of trunk group, vlan and vfi; Based on port, trunkThe map bindings of group, vlan and vfi.
For the physical port that belongs to tunnel exit equipment, its associated map bindings mode comprises followingOne of arbitrary: the map bindings mode based on port; Based on the map bindings mode of trunk group; Based onThe map bindings mode of vlan; Based on the map bindings mode of port and trunk group; Based on port and vlanMap bindings mode; Based on the map bindings mode of trunk group and vlan; Based on port, trunk groupMap bindings mode with vlan.
Tunnel portal equipment and tunnel exit equipment can be same equipment.
For fear of the conflict of the mapping policy that may exist, distribute one for every kind of map bindings mode in advanceIndividual priority, is respectively the map bindings mode based on port, the map bindings side based on trunk groupFormula, the map bindings mode based on vlan and the map bindings mode based on vfi are distributed priority (ratioAs represented by numeral 1,2,3,4).
The qos mapping method avoiding conflict that the present invention proposes comprises: receiving after message judgementReceive the priority of all map bindings modes associated on the physical port of message, according to pre-set patternSelect a kind of map bindings mode, using mapping policy corresponding this map bindings mode as to described reportThe mapping policy of literary composition, when described message is forwarded by VPLS tunnel, carries out this mapping to described messageStrategy.
Preferably, above-mentionedly select a kind of step of map bindings mode to comprise according to pre-defined rule: selecting shouldThe associated the highest map bindings mode of map bindings mode medium priority on physical port. When on portWhen associated map bindings mode only has one, this map bindings mode is the highest that of priority.
For example, for tunnel portal equipment, when a port belongs to a trunk group, this trunk organizes againBelong to certain vlan, and on this vlan, bound vfi, if trunk group, port under port, portOn the vfi that place vlan, vlan bind, all configure mapping policy, and each map bindings mode correspondenceMapping policy not identical, now there will be conflict. The mapping priority of supposing port (is shone upon and is tied upDetermine priority corresponding to mode) be 2, the mapping priority of trunk group is 1, the mapping priority of vlanBe 4, the mapping priority of vfi is 3, wherein, 4 priority is the highest, 1 priority is minimum. Now,Can be this port and select the highest map bindings mode of mapping priority---the corresponding mapping policy of vlanThe mapping policy going out as decision-making. Like this, when the message entering from this port passes through vpls tunnel transmission,Carry out mapping according to the mapping policy that under this port, vlan configures. Idiographic flow is referring to Fig. 3. ForTunnel exit equipment, selects the idiographic flow of map bindings mode referring to Fig. 4.
Realize the system of above-mentioned qos mapping configuration, comprise that map bindings mode confirms subsystem, mapping planSlightly determine subsystem and mapping policy executive subsystem, wherein:
Described map bindings mode is confirmed subsystem, and for receiving after message, judgement receives messagePhysical port on the priority of associated map bindings mode;
Described mapping policy is determined subsystem, for select a kind of map bindings mode according to pre-defined rule,Using mapping policy corresponding this map bindings mode as the mapping policy to described message;
Described mapping policy executive subsystem, while forwarding for described message is passed through to VPLS tunnel, rightDescribed message is carried out this mapping policy.
Particularly, map bindings mode selection scheme when conflict appears in the mapping policy of tunnel portal equipmentAs shown in Figure 3, comprise the following steps:
Step 301, current port receives common message, reads the mapping priority conduct of current portCurrent priority;
Step 302, judges whether current port binds vfi, if so, and execution step 314, otherwise holdRow step 303;
Step 303, judges whether current port belongs to trunk group, if so, execution step 304, noPerform step 310;
Step 304, judges whether trunk group has bound vfi, if so, and execution step 308, otherwise holdRow step 305;
Step 305, judges that whether port or the affiliated vlan of trunk group have bound vfi, if so, carry outStep 306, otherwise, execution step 311;
Under port and trunk group, vlan must be same vlan.
Step 306, judges that whether the priority of vlan is higher than current priority, if so, and execution step307, otherwise execution step 308;
Step 307, using the mapping priority of this vlan as current priority, execution step 308;
Step 308, judges that whether the priority of trunk group is higher than current priority, if so, and execution stepRapid 309, otherwise, execution step 314;
Step 309, using the mapping priority of this trunk group as current priority, execution step 314;
Step 310, judges whether the affiliated vlan of current port has bound vfi, if so, and execution step312, otherwise, execution step 311;
Step 311, forwards according to prior art this message by non-VPLS tunnel, finish;
Step 312, judges that whether the priority of vlan is higher than current priority, if so, and execution step313, otherwise, execution step 314;
Step 313, using the mapping priority of this vlan as current priority, execution step 314;
Step 314, judges that whether the priority of vfi is higher than current priority, if so, and execution step315, otherwise, finish;
Step 315, using the mapping priority of this vfi as current priority, finishes.
The map bindings mode that current priority is corresponding is selected map bindings mode, with this mappingBinding mode enter tunnel mapping strategy, the message receiving is carried out into tunnel mapping.
Above flow process is only example, in actual application, can have multiple variation, for example, can not establish and work asFront priority. Or first determine all map bindings modes when front port shangguan connection, therefrom select preferentialThe highest map bindings mode of level, then using mapping policy corresponding this map bindings mode as to messageMapping policy.
The setting of the priority of different mappings binding mode can be more flexible, and recommended priority is port <Trunk group < vlan < vfi.
Map bindings mode selection scheme when conflict appears in the mapping policy of tunnel exit equipment is as Fig. 4 instituteShow, comprise the following steps:
Step 401, tunnel exit equipment is received MPLS message, reads the mapping priority of current portAs current priority;
Step 402, judges whether current port belongs to trunk group, if so, execution step 403, no, execution step 405;
Step 403, judges whether the priority of trunk group is greater than current priority, if so, carries out stepRapid 404, otherwise, execution step 405;
Step 404, using the mapping priority of this trunk group as current priority, execution step 405;
Step 405, judges whether the priority of port or the affiliated vlan of trunk group is greater than current priority,If so, execution step 406, otherwise, finish;
All port or trunk group all must belong to certain vlan, even if switch without any configuration,Port or trunk group also have an acquiescence vlan (being generally vlan1).
Step 406, using the mapping priority of this vlan as current priority, finishes.
The map bindings mode that current priority is corresponding is selected map bindings mode, with this mappingBinding mode go out tunnel mapping strategy, the message receiving is carried out out to tunnel mapping.
Such scheme is the processing scheme that when conflict appears in the mapping policy of different mappings binding mode, and phaseThere will not be conflict with the mapping policy between map bindings mode, be analyzed as follows:
Because a port can not belong to multiple trunk groups, therefore configure different reflecting between different trunk groupPenetrate strategy and can not cause conflict;
Belong to the situation of multiple vlan for same port or same trunk group, due to the vlan that enters of messageOnly there is one, also can not cause conflict therefore configure different mapping policys under different vlan in this case;
Because same port or same trunk group or same vlan can not bind multiple vfi, therefore differentBetween vfi, configure different mapping policys and also can not cause conflict.
One of ordinary skill in the art will appreciate that all or part of step in said method can pass through programCarry out instruction related hardware and complete, described program can be stored in computer-readable recording medium, as read-onlyMemory, disk or CD etc. Alternatively, all or part of step of above-described embodiment also can be usedOne or more integrated circuits are realized. Correspondingly, the each module in above-described embodiment can adopt hardwareForm realize, also can adopt software function module form realize. The present invention is not restricted to any spyThe combination of the hardware and software of definite form.
Certainly, the present invention also can have other various embodiments, is not deviating from spirit of the present invention and essence thereofIn situation, those of ordinary skill in the art work as can make according to the present invention various corresponding changes and distortion,But these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.

Claims (12)

1. a VPLS VPLS network service quality mapping configuration method, comprising:
Distribute a priority for every kind of map bindings mode in advance;
Receiving after message, judgement receives map bindings mode associated on the physical port of messagePriority;
Select a kind of map bindings mode according to pre-defined rule, by mapping plan corresponding this map bindings modeSlightly as the mapping policy to described message; Describedly select a kind of map bindings mode according to pre-defined ruleStep comprises: select the highest mapping of map bindings mode medium priority associated on described physical portBinding mode;
When described message is forwarded by VPLS tunnel, described message is carried out to this mapping policy.
2. the method for claim 1, is characterized in that:
Described physical port belongs to tunnel portal equipment, associated map bindings side on described physical portFormula is:
Map bindings mode based on physical port port; Based on the map bindings of trunking trunk groupMode; Map bindings mode based on VLAN vlan; Based on reflecting of VPLS forwarding instance vfiPenetrate binding mode; Based on the map bindings mode of port and trunk group; Based on the mapping of port and vlanBinding mode; Map bindings mode based on port and vfi; Mapping based on trunk group and vlan is tied upDetermine mode; Based on the map bindings mode of trunk group and vfi; Based on the map bindings side of vlan and vfiFormula; Map bindings mode based on port, trunk group and vlan; Based on port, trunk group and vfiMap bindings mode; Map bindings mode based on port, vlan and vfi; Based on trunk group, vlanMap bindings mode with vfi; Or, based on the map bindings side of port, trunk group, vlan and vfiFormula.
3. the method for claim 1, is characterized in that:
Described physical port belongs to tunnel exit equipment, associated map bindings side on described physical portFormula is:
Map bindings mode based on physical port port; Based on the map bindings of trunking trunk groupMode; Map bindings mode based on VLAN vlan; Mapping based on port and trunk group is tied upDetermine mode; Map bindings mode based on port and vlan; Based on the map bindings of trunk group and vlanMode; Or, the map bindings mode based on port, trunk group and vlan.
4. method as claimed in claim 2 or claim 3, is characterized in that:
Map bindings mode based on trunk group is: organize when having from trunk the report that any member port entersWhen literary composition forwards by VPLS tunnel, this message is carried out to the mapping policy of configuration in trunk group, based onThe mapping policy of trunk group includes tunnel mapping strategy and goes out tunnel mapping strategy.
5. method as claimed in claim 2, is characterized in that:
Map bindings mode based on vfi is: on tunnel portal equipment, when having from following any portWhen the message entering forwards by VPLS tunnel, this message is carried out to the mapping policy of the upper configuration of vfi:Bound vfi physical port, bound the vlan of vfi member port, bound the trunk of vfiThe member port of group; Mapping policy based on vfi includes tunnel mapping strategy.
6. the method for claim 1, is characterized in that:
For tunnel portal equipment, on the described physical port of described selection in associated map bindings modeThe step of the map bindings mode that priority is the highest comprises:
1) read the priority of the map bindings mode based on the current physical port port that receives message,As current priority;
2) judge whether current port has bound vfi, if so, execution step 14), otherwise carry out stepRapid 3);
3) judge whether current port belongs to trunk group, if so, execution step 4), otherwise carry outStep 10);
4) judge whether trunk group has bound vfi, if so, execution step 8), otherwise execution step5);
5) judge whether port or the affiliated vlan of trunk group have bound vfi, if so, execution step 6),Otherwise, execution step 11);
6) whether the priority that judges the map bindings mode based on vlan higher than current priority, ifBe execution step 7), otherwise execution step 8);
7) using the priority of this map bindings mode based on vlan as current priority, execution step8);
8) whether the priority that judges the map bindings mode based on trunk group higher than current priority, asFruit is to perform step 9), otherwise, execution step 14);
9) using the priority of this map bindings mode based on trunk group as current priority, carry out stepRapid 14);
10) judge whether the affiliated vlan of current port has bound vfi, if so, execution step 12),Otherwise, execution step 11);
11) described message is forwarded by non-VPLS tunnel, finish;
12) whether the priority that judges the map bindings mode based on vlan higher than current priority, ifBe execution step 13), otherwise, execution step 14);
13) using the priority of this map bindings mode based on vlan as current priority, execution step14);
14) whether the priority that judges the map bindings mode based on vfi higher than current priority, ifBe execution step 15), otherwise, finish;
15), using the priority of this map bindings mode based on vfi as current priority, finish.
7. the method for claim 1, is characterized in that:
For tunnel exit equipment, on the described physical port of described selection in associated map bindings modeThe step of the map bindings mode that priority is the highest comprises:
S1, reads the map bindings mode of the physical port port based on the current MPLS of receiving messagePriority, as current priority;
S2, judges whether current port belongs to trunk group, if so, and execution step s3, otherwise, holdRow step s5;
S3, judges whether the priority of the map bindings mode based on trunk group is greater than current priority, asBe really, execution step s4, otherwise, execution step s5;
S4, using the priority of the map bindings mode based on this trunk group as current priority, carries out stepRapid s5;
S5, determines port or the affiliated vlan of trunk group, judges the map bindings side based on described vlanWhether the priority of formula is greater than current priority, if so, and execution step s6, otherwise, finish;
S6, using the priority of the map bindings mode based on this vlan as current priority, finishes.
8. a VPLS VPLS network service quality mapping configuration-system, comprises and reflectingPenetrate binding mode and confirm that subsystem, mapping policy determine subsystem and mapping policy executive subsystem, and pre-First distribute a priority for every kind of map bindings mode, wherein:
Described map bindings mode is confirmed subsystem, and for receiving after message, judgement receives messagePhysical port on the priority of associated map bindings mode;
Described mapping policy is determined subsystem, for select a kind of map bindings mode according to pre-defined rule,Using mapping policy corresponding this map bindings mode as the mapping policy to described message; Described according in advanceThe step of determining a kind of map bindings mode of rules selection comprises: select associated reflecting on described physical portPenetrate the map bindings mode that binding mode medium priority is the highest;
Described mapping policy executive subsystem, while forwarding for described message is passed through to VPLS tunnel, rightDescribed message is carried out this mapping policy.
9. system as claimed in claim 8, is characterized in that:
When described physical port belongs to tunnel portal equipment, associated map bindings on described physical portMode comprises one or more in following mode:
Map bindings mode based on physical port port, based on the map bindings of trunking trunk groupMode, the map bindings mode based on VLAN vlan, based on reflecting of VPLS forwarding instance vfiPenetrate binding mode;
When described physical port belongs to tunnel exit equipment, associated map bindings on described physical portMode comprises one or more in following mode:
Map bindings mode based on physical port port, based on the map bindings of trunking trunk groupMode, the map bindings mode based on VLAN vlan.
10. a VPLS VPLS network service quality mapping configuration method, comprising:
Distribute a priority for every kind of map bindings mode in advance; Selective reception is to the physical port of messageThe upper associated the highest map bindings mode of map bindings mode medium priority;
The mapping policy based on trunking trunk group at tunnel portal equipment and the configuration of tunnel exit equipment,The mapping policy difference configuring between different trunk groups; Organize from trunk when having that any member port entersWhen message forwards by VPLS tunnel, this message is carried out to the mapping policy of configuration in trunk group, instituteThe mapping policy of stating based on trunk group includes tunnel mapping strategy and goes out tunnel mapping strategy; And/or
Configure the mapping policy based on VPLS forwarding instance vfi at tunnel portal equipment, between different vfiThe mapping policy difference of configuration; On described tunnel portal equipment, enter when having from following any portMessage while forwarding by VPLS tunnel, this message is carried out to the mapping policy of the upper configuration of vfi: bindingThe physical port of vfi, bound the member port of the vlan of vfi, the trunk group of having bound vfiMember port; Mapping policy based on vfi includes tunnel mapping strategy.
11. methods as claimed in claim 10, is characterized in that:
Described enter tunnel mapping strategy comprise: at tunnel portal place, by the COS TOS of message IP headOr the priority P RI in message VLAN tag head is mapped to the experiment position EXP of MPLS label.
12. methods as claimed in claim 10, is characterized in that: on tunnel exit equipment, configureDescribed mapping policy comprises:
Described go out tunnel mapping strategy comprise: at tunnel exit place, by the experiment position mapping of MPLS labelTo the PRI in TOS or the message VLAN tag head of message IP head.
CN201010283603.9A 2010-09-15 2010-09-15 A kind of VPLS network service quality mapping configuration method and system Active CN101945046B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201010283603.9A CN101945046B (en) 2010-09-15 2010-09-15 A kind of VPLS network service quality mapping configuration method and system
PCT/CN2011/077661 WO2012034455A1 (en) 2010-09-15 2011-07-27 Method and system for configuring quality of service mapping in vpls network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010283603.9A CN101945046B (en) 2010-09-15 2010-09-15 A kind of VPLS network service quality mapping configuration method and system

Publications (2)

Publication Number Publication Date
CN101945046A CN101945046A (en) 2011-01-12
CN101945046B true CN101945046B (en) 2016-05-25

Family

ID=43436828

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010283603.9A Active CN101945046B (en) 2010-09-15 2010-09-15 A kind of VPLS network service quality mapping configuration method and system

Country Status (2)

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

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945046B (en) * 2010-09-15 2016-05-25 中兴通讯股份有限公司 A kind of VPLS network service quality mapping configuration method and system
US8490107B2 (en) 2011-08-08 2013-07-16 Arm Limited Processing resource allocation within an integrated circuit supporting transaction requests of different priority levels
CN104040965B (en) * 2012-12-31 2017-02-01 华为技术有限公司 VC label distribution and MAC address learning method, device, and system in VPLS
CN104468394B (en) * 2014-12-04 2018-02-09 新华三技术有限公司 Message forwarding method and device in a kind of VXLAN networks
CN106357553B (en) * 2015-07-14 2021-01-26 中兴通讯股份有限公司 QoS service realization method and device for TRUNK port
CN105163206A (en) * 2015-08-06 2015-12-16 上海斐讯数据通信技术有限公司 ONU VLAN ID automatic configuration method and device under PON system
CN107395423A (en) * 2017-07-28 2017-11-24 郑州云海信息技术有限公司 The method and apparatus for binding the network port and network card interface
CN108923966B (en) * 2018-06-27 2021-06-29 新华三技术有限公司 VLAN enabling method and device of PVST protocol of 1BR network
CN109495370B (en) * 2018-12-29 2020-11-24 瑞斯康达科技发展股份有限公司 Message transmission method and device based on VPLS
CN112104408B (en) * 2020-09-23 2021-06-22 北京邮电大学 Mapping method and device of virtual network

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101304390A (en) * 2008-07-07 2008-11-12 杭州华三通信技术有限公司 Method for distributing MPLS label as well as method and apparatus for mapping VPLS messages
CN101710873A (en) * 2009-12-08 2010-05-19 中兴通讯股份有限公司 Method and device for managing configuration data

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7212536B2 (en) * 2001-12-27 2007-05-01 Alcatel-Lucent Canada Inc. User priority mapping in bridged VLANS
CN101945046B (en) * 2010-09-15 2016-05-25 中兴通讯股份有限公司 A kind of VPLS network service quality mapping configuration method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101304390A (en) * 2008-07-07 2008-11-12 杭州华三通信技术有限公司 Method for distributing MPLS label as well as method and apparatus for mapping VPLS messages
CN101710873A (en) * 2009-12-08 2010-05-19 中兴通讯股份有限公司 Method and device for managing configuration data

Also Published As

Publication number Publication date
CN101945046A (en) 2011-01-12
WO2012034455A1 (en) 2012-03-22

Similar Documents

Publication Publication Date Title
CN101945046B (en) A kind of VPLS network service quality mapping configuration method and system
EP3402124B1 (en) Service issuing method and device
US8619788B1 (en) Performing scalable L2 wholesale services in computer networks
CN106549871B (en) Method, equipment and system for processing message
CN102035740B (en) Multi-protocol label switching three-layer private virtual net fast rerouting method and system
CN109863725A (en) Segment routing based on maximum segment identifier depth
CN103369027A (en) Location-aware virtual service provisioning in a hybrid cloud environment
CN107547333B (en) Method and apparatus for implementing a combined virtual private network VPN
US20150236950A1 (en) End-to-end multipathing through network having switching devices compatible with different protocols
CN106302206A (en) The method for processing forwarding of message, Apparatus and system
CN104426763A (en) Channel switching method and apparatus, and switch
CN109587059A (en) Configuration method, equipment and the communication system of SR-BE internal layer tunnel label
CN106936713A (en) A kind of label management method, data flow processing method and equipment
CN101471880B (en) Method, system and routing device for processing data
KR101318001B1 (en) Linking inner and outer mpls labels
CN110351135A (en) Method for configuring network equipment and device in more DC
CN100559772C (en) Mixed virtual private network system and backbone network edge apparatus and collocation method thereof
US10681126B2 (en) Mechanism for overlay virtual networking
CN102938734A (en) Tunnel selection method and PE (Provider Edge) in MPLS (Multiprotocol Label Switching) network
US8238265B2 (en) Auto-binding SDP RSVP LSP tunnel
CN102480403B (en) Method for providing virtual private network service, device and system
Hellberg et al. Broadband network architectures: designing and deploying triple-play services
US9426122B2 (en) Architecture for network management in a multi-service network
CN103428067B (en) A kind of message forwarding method and equipment based on two-layer virtual private network
CN102624601B (en) Data message transmission method, network device and network system

Legal Events

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