CN106161244A - Node device and the method setting up Label Forwarding Information Base thereof - Google Patents

Node device and the method setting up Label Forwarding Information Base thereof Download PDF

Info

Publication number
CN106161244A
CN106161244A CN201510180751.0A CN201510180751A CN106161244A CN 106161244 A CN106161244 A CN 106161244A CN 201510180751 A CN201510180751 A CN 201510180751A CN 106161244 A CN106161244 A CN 106161244A
Authority
CN
China
Prior art keywords
label
fec
configuration mode
node device
enter
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.)
Granted
Application number
CN201510180751.0A
Other languages
Chinese (zh)
Other versions
CN106161244B (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 CN201510180751.0A priority Critical patent/CN106161244B/en
Priority to PCT/CN2015/092225 priority patent/WO2016165299A1/en
Publication of CN106161244A publication Critical patent/CN106161244A/en
Application granted granted Critical
Publication of CN106161244B publication Critical patent/CN106161244B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method that node device sets up Label Forwarding Information Base, method is: node device binds corresponding forwarding equivalence class FEC according to network application scene residing for self;According to the network application scene residing for node device, determine to be configured to the configuration mode needed for the label of described FEC, be that described FEC configures corresponding label according to described configuration mode;Described configuration mode is: static configuration mode and/or dynamically configuration mode;Described label includes: enter label and outgoing label;The Label Forwarding Information Base of node device is set up according to the label being allocated to described FEC.The invention also discloses a kind of node device.Node device provided by the present invention and the method setting up Label Forwarding Information Base thereof, Label Forwarding Information Base can be set up for network application scene residing for the applicable node device statically and/or dynamically configuring, entering label, extend the network application scene residing for node device, improve the motility that Label Forwarding Information Base is disposed in a network.

Description

Node device and the method setting up Label Forwarding Information Base thereof
Technical field
The present invention relates to tag switching field, particularly relate to a kind of node device and set up label and turn The method delivered.
Background technology
MPLS (Multi-Protocol Label Switching, multiprotocol label switching) technology has become current The important deployment means of core network.The core of MPLS is to set up LSP (Label by label distribution Switch Path, label switched path).LSP is divided into static LSP and the big class of dynamic LSP two, Qi Zhongdong State LSP is passed through dynamic LDP (Label Distribution by downstream node equipment and upstream node equipment Protocol, tag distribution protocol) set up.Static LSP is by LSP LSR (Label Switch on the way Router, LSR) configure foundation accordingly, make LSP meet the spy that MPLS forwards Property.Static LSP and dynamic LSP has extensively in MPLS-L2VPN and MPLS-L3VPN network Application.
The whole tag transform path of each node device or set up by dynamic LDP in prior art, Set up by the way of static configuration.But for the mark of some network application scene interior joint equipment Signing in forward table to go out, enter label and be suitable for the mode of dynamic LDP and configure, another part goes out, enters label It is suitable for static configuration.The mode of setting up of the most existing Label Forwarding Information Base cannot realize in Label Forwarding Information Base Part goes out, enter label is suitable for dynamically configuration, and another part goes out, enter label is suitable for the node of static configuration and sets Standby residing network application scene sets up Label Forwarding Information Base.
Summary of the invention
Present invention is primarily targeted at solution prior art realizes for separating in the middle part of Label Forwarding Information Base, Entering label and be suitable for dynamically configuration, another part goes out, enter label is suitable for residing for the node device of static configuration Network application scene sets up the technical problem of Label Forwarding Information Base.
For achieving the above object, the present invention provides a kind of method that node device sets up Label Forwarding Information Base, institute State node device to set up the method for Label Forwarding Information Base and comprise the following steps:
Node device binds corresponding FEC (Forwarding according to network application scene residing for self Equivalence Class, forwarding equivalence class);
According to the network application scene residing for node device, needed for determining the label to described FEC to be configured Configuration mode, according to described configuration mode be described FEC configure corresponding label;Described configuration mode For: static configuration mode and/or dynamically configuration mode;Described label includes: enter label and outgoing label;
The Label Forwarding Information Base of node device is set up according to the label being allocated to described FEC.
Preferably, described according to the network application scene residing for node device, determine to be configured to described FEC Label needed for configuration mode, according to described configuration mode be described FEC configure corresponding label step Suddenly include:
Node device according to self residing network application scene, determines each to described FEC to be configured Configuration mode needed for tag types and each label;
Need first to enter label by what static configuration mode configured when existing, and exist and need by dynamic Second the going out of state configuration mode distribution, enter label, be then that described FEC configures phase by static configuration mode First answered enters label, and is that described FEC distribution corresponding second goes out, enters by dynamic configuration mode Label, and enter label and second using described first and go out, enter label as the label being allocated to described FEC.
Preferably, described node device, according to self residing network application scene, determines to be configured to institute Also include after configuration mode needed for stating each tag types of FEC and each label:
Need first to go out by what static configuration mode configured, enter label when existing, and exist need logical That crosses the distribution of dynamic configuration mode second enters label, then be that described FEC configures phase by static configuration mode First answered goes out, enters label, and is that described FEC distribution corresponding second enters by dynamic configuration mode Label, and go out described first, enter label and second and enter label as the label being allocated to described FEC.
Preferably, described node device, according to self residing network application scene, determines to be configured to institute Also include after configuration mode needed for stating each tag types of FEC and each label:
Need first to go out by what static configuration mode configured, enter label when only existing, then joined by static state The mode of putting is that described FEC configuration corresponding first goes out, enters label, and goes out described first, enters label work For being allocated to the label of described FEC.
Preferably, described node device, according to self residing network application scene, determines to be configured to institute Also include after configuration mode needed for stating each tag types of FEC and each label:
Need second to go out by what dynamic configuration mode distributed, enter label, then by dynamically joining when only existing The mode of putting is that described FEC distribution corresponding second goes out, enters label, and goes out described second, enters label work For being allocated to the label of described FEC.
Additionally, for achieving the above object, the present invention also provides for a kind of node device, its described node device Including:
Binding module, for binding corresponding forwarding equivalence class according to network application scene residing for node device FEC;
Configuration module, for according to the network application scene residing for node device, determines to be configured to described Configuration mode needed for the label of FEC, is that described FEC configures corresponding label according to described configuration mode; Described configuration mode is: static configuration mode and/or dynamically configuration mode;Described label includes: enter label And outgoing label;
Set up module, for setting up the Label Forwarding Information Base of node device according to the label being allocated to described FEC.
Preferably, described configuration module includes:
Determine unit, for according to the network application scene residing for node device, determine to be configured to described Configuration mode needed for each tag types of FEC and each label;
First dispensing unit, for needing first to enter label by what static configuration mode configured when existing, And exist and need second to go out by what dynamic configuration mode distributed, enter label, then by static configuration side Formula is that described FEC configuration corresponding first enters label, and is that described FEC divides by dynamic configuration mode Join corresponding second to go out, enter label, and enter label and second using described first and go out, enter label as configuration Label to described FEC.
Preferably, described configuration module also includes:
Second dispensing unit, for needing first to be gone out by what static configuration mode configured, entered mark when existing Sign, and exist and need second to enter label by what dynamic configuration mode distributed, then by static configuration side Formula is that described FEC configuration corresponding first goes out, enters label, and is described FEC by dynamic configuration mode Distribute corresponding second and enter label, and go out described first, enter label and second and enter label as being allocated to The label of described FEC.
Preferably, described configuration module also includes:
3rd dispensing unit, be additionally operable to when only exist need by static configuration mode configure first go out, Enter label, be then that described FEC configuration corresponding first goes out, enters label by static configuration mode, and will Described first go out, enter label as the label being allocated to described FEC.
Preferably, described configuration module also includes:
4th dispensing unit, for needing second to be gone out by what dynamic configuration mode distributed, entered when only existing Label, then be that described FEC distribution corresponding second goes out, enters label by dynamic configuration mode, and by institute State second to go out, enter label as the label being allocated to described FEC.
Node device provided by the present invention and the method setting up Label Forwarding Information Base thereof, by node device root Corresponding FEC is bound according to self residing network application scene;According to the network application residing for node device Scene, determine node device for configuration mode needed for the label that described FEC is to be configured, according to determining knot Fruit selects required configuration mode to be that node device configures corresponding label for described FEC;Described configuration side Formula is: static configuration mode and/or dynamically configuration mode;Described label includes: enter label and outgoing label; The mode of the Label Forwarding Information Base of node device is set up, it is possible to be suitable according to the label configured for described FEC Close and statically and/or dynamically configure, enter network application scene residing for the node device of label and set up label forwarding Table, extends the network application scene residing for node device, improves Label Forwarding Information Base and dispose in a network Motility.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet that the node device of the present invention sets up method one embodiment of Label Forwarding Information Base;
Fig. 2 is the refinement schematic flow sheet of step S20 in Fig. 1;
Fig. 3 is the high-level schematic functional block diagram of the node device of the present invention;
Fig. 4 be in Fig. 3 configure module specifically refine high-level schematic functional block diagram;
Fig. 5 is that another that configure module in Fig. 3 specifically refines high-level schematic functional block diagram;
Fig. 6 is that another that configure module in Fig. 3 specifically refines high-level schematic functional block diagram;
Fig. 7 is that another that configure module in Fig. 3 specifically refines high-level schematic functional block diagram;
Fig. 8 be the present invention node device residing for network application scene schematic diagram;
Fig. 9 is the node device of present invention network application scene schematic diagram residing for another;
Figure 10 is the node device of present invention network application scene schematic diagram residing for another;
Figure 11 is the node device of present invention network application scene schematic diagram residing for another.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, do referring to the drawings further Explanation.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit Determine the present invention.
The present invention provides a kind of method that node device sets up Label Forwarding Information Base.It is this with reference to Fig. 1, Fig. 1 Bright node device sets up the schematic flow sheet of method one embodiment of Label Forwarding Information Base.In this embodiment, Described node device is set up the method for Label Forwarding Information Base and is included:
Step S10, node device bind corresponding FEC according to network application scene residing for self (Forwarding Equivalence Class, forwarding equivalence class).
Step S20, according to the network application scene residing for node device, determine to be configured to the mark of FEC Configuration mode needed for label, is that FEC configures corresponding label according to configuration mode.
In the present embodiment, described configuration mode is: static configuration mode and/or dynamically configuration mode;Described Label includes: enter label and outgoing label.
See the refinement schematic flow sheet that Fig. 2, Fig. 2 are step S20 in Fig. 1.Described step S20 is concrete Including:
Step S21, node device, according to self residing network application scene, determine to be configured to FEC Each tag types and each label needed for configuration mode.
Step S22, need first to go out by what static configuration mode configured, enter label when only existing, then lead to Crossing static configuration mode is that FEC configuration corresponding first goes out, enters label, and goes out described first, enters mark Sign as the label being allocated to FEC.
In the present embodiment, when only existing the first label needing to be configured by static configuration mode, then by quiet The static LSP example of state configuration mode configuration, wherein, static LSP exemplary configuration command format is:
Mpls static-lsp < lsp-name >;
Bind ipv4 < prefix > < mask > [force-advertise];
Insegment inlabel{ < in-label > | explicit-null | implicit-null};
Outsegment{out-if < interface-name > [nexthop < A.B.C.D >] | nexthop < A.B.C.D > } outlabel{ < out-label > | explicit-null | implicit-null} [force-valid].
In above-mentioned static LSP exemplary configuration order, described " mpls static-lsp < lsp-name > " is static The configuration order of LSP instance name, wherein, " lsp-name " is static LSP instance name.
Described " bind ipv4 < prefix > < mask > [force-advertise] " is that static state LSP is real The configuration order that example is bound with corresponding FEC, wherein " prefix " represents address prefix, and " mask " represents ground Location mask, what " force-advertise " represented configuration in static LSP example enters label binding to after this FEC Pressure comes into force.
Described " insegment inlabel{ < in-label > | explicit-null | implicit
-null} " it is the configuration order entering label for static LSP exemplary configuration, wherein " in-label " is general category Type enters label, and " explicit-null " represents explicit-null label, and " implicit-null " is implicit-null label.
Described " outsegment{out-if < interface-name > [nexthop < A.B.C.D >] | Nexthop < A.B.C.D > } outlabel{ < out-label > | explicit-null | implicit-null} [force-valid] " it is going out to the configuration order configuring label for static LSP example.Wherein, " interface-name " represents outgoing interface title, and " A.B.C.D " represents next hop address, and " out-label " represents General type outgoing label, " explicit-null " represents explicit-null label, and " implicit-null " represents implicit-null mark Signing, " force-valid " represents the outgoing label of configuration and forces to come into force.
Step S23, need first to enter label by what static configuration mode configured when existing, and exist and need Second to go out by what dynamic configuration mode distributed, enter label, be then that FEC joins by static configuration mode Put corresponding first and enter label, and be that FEC distribution corresponding second goes out, enters by dynamic configuration mode Label, and enter label and second using first and go out, enter label as the label being allocated to FEC.
In the present embodiment, need first to enter label, Yi Jicun by what static configuration mode configured when existing Need by dynamic configuration mode distribute second go out, enter label time, be joint by static configuration mode Detailed process such as step S22 that point device enters label for described FEC configuration corresponding first is essentially identical, Difference is: do not have pressure to come into force order in the configuration order going out, entering label of configuration.Due to joint Point device for same FEC can configure multiple enter label, and same for same FEC of node device Go out to an outgoing label can only be configured, be therefore node device pin when the present embodiment by dynamic configuration mode To same FEC identical go out to being assigned with corresponding second outgoing label, static LSP example sets for node Standby for same FEC configure first to go out, enter label be optional coming into force, and described first enter label and Second when entering label difference, then abandon the first outgoing label, retains first and enters label and second and go out, enter label The label configured for described FEC as node device.
Step S24, need first to go out by what static configuration mode configured, enter label, Yi Jicun when existing Second enter label by what dynamic configuration mode distributed needing, be then that FEC joins by static configuration mode Put corresponding first to go out, enter label, and be described FEC distribution corresponding the by dynamic configuration mode Two enter label, and go out first, enter label and second and enter label as the label being allocated to FEC.
In the present embodiment, need first to go out by what static configuration mode configured, enter label when existing, with And exist need by dynamic configuration mode distribute second enter label time, by static configuration mode for joint Detailed process such as step S22 that point device goes out, enters label for described FEC configuration corresponding first is basic Identical, difference is: do not have pressure to come into force finger in the configuration order going out, entering label of static configuration Order.Although the going out of static configuration in this example, entering label and do not force to come into force, but due to not by dynamically joining The mode put distributes the second outgoing label, therefore can go out described first, enter label and second enter label make The label configured for described FEC for node device.
Step S25, need second to go out by what dynamic configuration mode distributed, enter label when only existing, then lead to Crossing dynamic configuration mode is that FEC distribution corresponding second goes out, enters label, and goes out second, enters label work For being allocated to the label of FEC.
The present embodiment is that node device divides for the FEC bound at node device by the way of dynamically configuration The mode allot, entered is prior art, the most reinflated description at this.
Step S30, set up the Label Forwarding Information Base of node device according to the label being allocated to FEC.
This step S30 specifically includes: will be that node device is for described FEC by the way of dynamically configuration The outgoing label of distribution and/or enter label, and the mode of logical static configuration is that node device is for described FEC The outgoing label of configuration and/or enter label, is integrally formed the Label Forwarding Information Base of FEC of node device binding, with Node device is made to realize the forwarding to described message according to described Label Forwarding Information Base after receiving message.
Additionally in the present embodiment, also include processing as follows after above-mentioned steps S20: will be for node device Enter, for what described FEC configured, the upstream node equipment that label reports, realize for upstream node equipment Dynamically distribute label.
Above-mentioned node device is set up in the embodiment of the method for Label Forwarding Information Base, by node device according to self Residing network application scene binds corresponding FEC;According to the network application scene residing for node device, Determine node device for configuration mode needed for the label that described FEC is to be configured, according to determining that result selects Required configuration mode is that node device configures corresponding label for described FEC;Described configuration mode is: Static configuration mode and/or dynamically configuration mode;Described label includes: enter label and outgoing label;According to pin The mode of the Label Forwarding Information Base of node device set up by the label configuring described FEC, it is possible to for applicable static state And/or dynamically configure, enter network application scene residing for the node device of label and set up Label Forwarding Information Base, expand Having opened up the network application scene residing for node device, improve that Label Forwarding Information Base disposes in a network is flexible Property.
The present invention further provides a kind of node device.With reference to the node device that Fig. 3, Fig. 3 are the present invention High-level schematic functional block diagram.In this embodiment, described node device 100 includes: binding module 110, join Put module 120, set up module 130.Wherein said binding module 110, for according to residing for node device Network application scene bind corresponding FEC.Described configuration module 120, for according to residing for node device Network application scene, determine to be configured to the configuration mode needed for the label of described FEC, according to described Configuration mode is that described FEC configures corresponding label;Described configuration mode is: static configuration mode and/ Or dynamic configuration mode;Described label includes: enter label and outgoing label.Described set up module 130, be used for The Label Forwarding Information Base of node device is set up according to the label being allocated to described FEC.
Setting up module 130 described in the present embodiment by node device is by the way of dynamically configuration specifically The outgoing label of FEC distribution and/or enter label, and be the bid of FEC configuration by the way of static configuration Sign and/or enter label, being integrally formed the Label Forwarding Information Base of the described FEC of node device binding, so that node Equipment realizes the forwarding to described message according to described Label Forwarding Information Base after receiving message.
Additionally in the present embodiment, also include processing as follows after above-mentioned steps S20: by node device be What FEC configured enters the upstream node equipment that label reports, and realizes dynamically distribution for upstream node equipment Outgoing label.
See Fig. 4, Fig. 4 be in Fig. 3 configure module specifically refine high-level schematic functional block diagram.The present embodiment In, described configuration module 120 comprises determining that unit the 121, first dispensing unit.Wherein said determine list Unit 121, for according to the network application scene residing for node device, determines to be configured to described FEC's Configuration mode needed for each tag types and each label.Described first dispensing unit 122, for when depositing First enter label by what static configuration mode configured needing, and exist and need by the dynamically side of configuration Second the going out of formula distribution, enter label, be then that FEC configuration corresponding first enters mark by static configuration mode Sign, and be that FEC distributes corresponding second to go out, enters label by dynamic configuration mode, and by described the One enters label and second goes out, enters label as the label being allocated to described FEC.
In the present embodiment, need first to enter label, Yi Jicun by what static configuration mode configured when existing Need by dynamic configuration mode distribute second go out, enter label time, by the first dispensing unit 121 Using static configuration mode is that FEC configuration corresponding first enters the detailed process of label with discussed below 3rd dispensing unit 124 configures first, and to go out, enter the mode of label essentially identical, and difference is: quiet The configuration order going out, entering label of state configuration does not have pressure to come into force order.Owing to corresponding same FEC can With configuration multiple enter label, and corresponding same FEC same go out to configuring an outgoing label, therefore When the present embodiment node device by dynamic configuration mode be same FEC identical go out corresponding to being assigned with Second outgoing label, first goes out for node device for what same FEC configured, enters mark in static LSP example Sign and come into force for optional, and described first enters label and second when entering label difference, then abandon the first bid Signing, reservation first enters label and second and goes out, enters the mark that label configures for described FEC as node device Sign.
Seeing Fig. 5, Fig. 5 is that another that configure module in Fig. 3 specifically refines high-level schematic functional block diagram.This reality Executing in example, described configuration module 120 also includes the second dispensing unit 123.Described second dispensing unit 123, For needing first to go out by what static configuration mode configured, enter label when existing, and exist need logical That crosses the distribution of dynamic configuration mode second enters label, then be that described FEC configures phase by static configuration mode First answered goes out, enters label, and is that described FEC distribution corresponding second enters by dynamic configuration mode Label, and go out described first, enter label and second and enter label as the label being allocated to FEC.
In the present embodiment, need first to go out by what static configuration mode configured, enter label when existing, with And exist need by dynamic configuration mode distribute second enter label time, node device pass through described second Dispensing unit 12 uses static configuration mode to be the detailed process that FEC configuration corresponding first goes out, enters label Configuring first with the 3rd dispensing unit 124 discussed below, to go out, enter the mode of label essentially identical, no It is with part: the configuration order going out, entering label of static configuration does not force validation instructions.This reality Although the going out of static configuration in example, entering label and do not force to come into force, but due to not by the way of dynamically configuration Distribute the second outgoing label, therefore can go out described first, enter label and second and enter label and set as node The standby label configured for described FEC.
Seeing Fig. 6, Fig. 6 is that another that configure module in Fig. 3 specifically refines high-level schematic functional block diagram.This reality Executing in example, described configuration module 120 also includes the 3rd dispensing unit 124.Described 3rd dispensing unit 124, For needing first to go out by what static configuration mode configured, enter label when only existing, then joined by static state The mode of putting is that FEC configuration corresponding first goes out, enters label, and goes out described first, enters label as joining Put to the label of FEC.
In the present embodiment, when only existing the first label needing to be configured by static configuration mode, then by the Three dispensing units 124 use static configuration mode to configure static LSP example, wherein, static LSP example Configuration order form is:
Mpls static-lsp < lsp-name >;
Bind ipv4 < prefix > < mask > [force-advertise];
Insegment inlabel{ < in-label > | explicit-null | implicit-null};
Outsegment{out-if < interface-name > [nexthop < A.B.C.D >] | nexthop < A.B.C.D > } outlabel{ < out-label > | explicit-null | implicit-null} [force-valid].
In above-mentioned static LSP exemplary configuration order, described " mpls static-lsp < lsp-name > " is static The configuration order of LSP instance name, wherein, " lsp-name " is static LSP instance name.
Described " bind ipv4 < prefix > < mask > [force-advertise] " is that static state LSP is real The configuration order that example is bound with corresponding FEC, wherein " prefix " represents address prefix, and " mask " represents ground Location mask, what " force-advertise " represented configuration in static LSP example enters label binding to after this FEC Pressure comes into force.
Described " insegment inlabel{ < in-label > | explicit-null | implicit
-null} " it is the configuration order entering label for static LSP exemplary configuration, wherein " in-label " is general category Type enters label, and " explicit-null " represents explicit-null label, and " implicit-null " is implicit-null label.
Described " outsegment{out-if < interface-name > [nexthop < A.B.C.D >] | Nexthop < A.B.C.D > } outlabel{ < out-label > | explicit-null | implicit-null} [force-valid] " it is going out to the configuration order configuring label for static LSP example.Wherein, " interface-name " represents outgoing interface title, and " A.B.C.D " represents next hop address, and " out-label " represents General type outgoing label, " explicit-null " represents explicit-null label, and " implicit-null " represents implicit-null mark Signing, " force-valid " represents the outgoing label of configuration and forces to come into force.
Seeing Fig. 7, Fig. 7 is that another that configure module in Fig. 3 specifically refines high-level schematic functional block diagram.This reality Executing in example, described configuration module 120 also includes the 4th dispensing unit 125.Described 4th dispensing unit 125, For needing second to go out by what dynamic configuration mode distributed, enter label, then by dynamically joining when only existing The mode of putting is that described FEC distribution corresponding second goes out, enters label, and goes out described second, enters label work For being allocated to the label of FEC.
Above example is that node device is for binding at node device by the way of dynamically configuration The mode that FEC distributes, enter is prior art, the most reinflated description at this.
Node device embodiment provided by the present invention, by according to the network application field residing for node device Scape binds corresponding FEC;According to the network application scene residing for node device, determine node device for Configuration mode needed for the label that described FEC is to be configured, according to determining that result selects required configuration mode for joint Point device configures corresponding label for described FEC;Described configuration mode is: static configuration mode and/ Or dynamic configuration mode;Described label includes: enter label and outgoing label;Configure according to for described FEC Label set up the mode of Label Forwarding Information Base of node device, it is possible to for being suitable for statically and/or dynamically configuring, Enter network application scene residing for the node device of label and set up Label Forwarding Information Base, extend residing for node device Network application scene, improve the motility that Label Forwarding Information Base is disposed in a network.
To the node device of the present invention and label forwarding is set up below by way of four network application Scene cases The method of table carries out further detailed description.
Example one: see network application scene schematic diagram residing for the node device that Fig. 8, Fig. 8 are the present invention. The downstream node equipment LSR3 of Fig. 8 interior joint equipment LSR2 is that FEC joins by the way of static configuration Put outgoing label 1, enter label 2;Node device LSR2 configures local static outgoing label 2 according to entering label 2. Node device LSR2 is that FEC configures into label 3 by the way of static configuration, and enables pressure and come into force, And label 3 will be entered report node device LSR1.Node device LSR1 is according on node device LSR2 That reports enters label 3, is that FEC matches label 3 by dynamical fashion.Node device LSR2 according to for The outgoing label 2 of FEC configuration, enter label 3 and set up the Label Forwarding Information Base of self.
Example two: see the network application scene signal residing for another of node device that Fig. 9, Fig. 9 are the present invention Figure.The downstream node equipment LSR3 of Fig. 9 interior joint equipment LSR2 is binding by the way of dynamically distribution FEC distribute label 1, enter label 2, and label 2 will be entered report upstream node equipment LSR2. Node device LSR2 enters label 2 according to what node device LSR3 reported, by the way of dynamically configuration is The FEC of binding distributes label 2, and is that the FEC bound configures into label by the way of static configuration 3.Node device LSR1 is that the FEC of binding configures label 3, enters label by the way of static configuration 4.Node device LSR2 according to the outgoing label 2 configured for FEC, enter label 3 and set up self label and turn Deliver.
Example three: see node device that Figure 10, Figure 10 are present invention network application scene residing for another and show It is intended to.Figure 10 interior joint equipment LSR3 by static configuration mode be binding FEC configure into label 1, Logical dynamic configuration mode is that FEC is dispensed into label 2, and will enter label 2 and report upstream node equipment LSR1, i.e. in node device LSR3 static configuration enter label 1 and dynamically distribution enter label 2 with Shi Shengxiao.The downstream node equipment LSR4 of node device LSR3 is binding by static configuration mode FEC configures into label 3;Or be dispensed into label 4 by the FEC that dynamic configuration mode is binding, and will Enter label 4 and report upstream equipment LSR3.For FEC identical of binding in node device LSR3 Go out to or configure local static outgoing label according to the label 3 that enters of downstream node equipment LSR4 static configuration 3, otherwise the label 4 that enters reported according to downstream node equipment LSR4 dynamically distributes label 4.Node sets The label 2 that enters that standby LSR1 reports according to downstream node equipment LSR3 dynamically distributes label 2.Node sets Standby LSR2 configures local static outgoing label 1 according to the label 1 that enters of downstream node equipment LSR3 static configuration. Wherein node device LSR3 according to the FEC configuration for binding enter label 1,2, outgoing label 3 set up from The Label Forwarding Information Base of body;Or for binding FEC configuration enter label 1,2, outgoing label 4 set up self Label Forwarding Information Base.Present networks application scenarios interior joint equipment LSR3 upstream include node device LSR1 and LSR2 two, a downstream node equipment LSR4, therefore for binding on node device LSR3 FEC needs to configure two and enters label and an outgoing label.Compare include a upstream node equipment, one The network application scene of downstream node equipment, adds a upstream node deployed with devices and either statically or dynamically marks Sign forward table, the Label Forwarding Information Base corresponding for FEC bound in prolongation.Node device LSR3 is in Home Network Although network application scenarios extends Label Forwarding Information Base corresponding to bound FEC, but the most do not affect former The converting flow of some Label Forwarding Information Base.
Example four: see node device that Figure 11, Figure 11 are present invention network application scene residing for another and show It is intended to.In Figure 10, the downstream node equipment LSR3 of node device LSR2 is by the way of dynamically configuration FEC for binding configures into label 1, and will enter label 1 and report upstream node equipment LSR2.Node The downstream node equipment LSR4 of equipment LSR2 is that the FEC of binding configures into label 2 by the way of static. Node device LSR2 enters label 1 according to what upstream device LSR3 reported, for the joint of the FEC of self binding Point device LSR3 goes out to dynamically distributing label 1;And according to upstream device LSR4 static configuration enter mark Label 2 are that the node device LSR4 of the FEC of self binding goes out to static configuration outgoing label 2;Pass through simultaneously The mode of static configuration configures into label 3, or is dispensed into label 4, and root by the way of dynamically configuration According to described outgoing label 1,2, enter label 3,4 and set up the Label Forwarding Information Base of self.Additionally at node device The upper described outgoing label 1,2 of LSR2 forms load sharing or FRR relation.
The above-described node device of the present invention is LSR equipment.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every Utilize equivalent structure or equivalence flow process conversion that description of the invention and accompanying drawing content made, or directly or Connect and be used in other relevant technical fields, be the most in like manner included in the scope of patent protection of the present invention.

Claims (10)

1. the method that a node device sets up Label Forwarding Information Base, it is characterised in that described node device is built The method of vertical Label Forwarding Information Base comprises the following steps:
Node device binds corresponding forwarding equivalence class FEC according to network application scene residing for self;
According to the network application scene residing for node device, needed for determining the label to described FEC to be configured Configuration mode, according to described configuration mode be described FEC configure corresponding label;Described configuration mode For: static configuration mode and/or dynamically configuration mode;Described label includes: enter label and outgoing label;
The Label Forwarding Information Base of node device is set up according to the label being allocated to described FEC.
2. the method that node device as claimed in claim 1 sets up Label Forwarding Information Base, it is characterised in that Described according to the network application scene residing for node device, needed for determining the label to described FEC to be configured Configuration mode, according to described configuration mode be described FEC configure corresponding label step include:
Node device according to self residing network application scene, determines each to described FEC to be configured Configuration mode needed for tag types and each label;
Need first to enter label by what static configuration mode configured when existing, and exist and need by dynamic Second the going out of state configuration mode distribution, enter label, be then that described FEC configures phase by static configuration mode First answered enters label, and is that described FEC distribution corresponding second goes out, enters by dynamic configuration mode Label, and enter label and second using described first and go out, enter label as the label being allocated to described FEC.
Node device the most according to claim 2 sets up the method for Label Forwarding Information Base, it is characterised in that Described node device according to self residing network application scene, determines each to described FEC to be configured Also include after configuration mode needed for tag types and each label:
Need first to go out by what static configuration mode configured, enter label when existing, and exist need logical That crosses the distribution of dynamic configuration mode second enters label, then be that described FEC configures phase by static configuration mode First answered goes out, enters label, and is that described FEC distribution corresponding second enters by dynamic configuration mode Label, and go out first, enter label and second and enter label as the label being allocated to described FEC.
4. the method that node device as claimed in claim 2 sets up Label Forwarding Information Base, it is characterised in that Described node device according to self residing network application scene, determines each to described FEC to be configured Also include after configuration mode needed for tag types and each label:
Need first to go out by what static configuration mode configured, enter label when only existing, then joined by static state The mode of putting is that described FEC configuration corresponding first goes out, enters label, and goes out described first, enters label work For being allocated to the label of described FEC.
5. the method that node device as claimed in claim 2 sets up Label Forwarding Information Base, it is characterised in that Described node device according to self residing network application scene, determines each to described FEC to be configured Also include after configuration mode needed for tag types and each label:
Need second to go out by what dynamic configuration mode distributed, enter label, then by dynamically joining when only existing The mode of putting is that described FEC distribution corresponding second goes out, enters label, and goes out described second, enters label work For being allocated to the label of described FEC.
6. a node device, it is characterised in that described node device includes:
Binding module, for binding corresponding forwarding equivalence class according to network application scene residing for node device FEC;
Configuration module, for according to the network application scene residing for node device, determines to be configured to described Configuration mode needed for the label of FEC, is the corresponding mark of described FEC configuration according to described configuration mode Sign;Described configuration mode is: static configuration mode and/or dynamically configuration mode;Described label includes: enter Label and outgoing label;
Set up module, for setting up the label forwarding of node device according to the label being allocated to described FEC Table.
7. node device as claimed in claim 6, it is characterised in that described configuration module includes:
Determine unit, for according to the network application scene residing for node device, determine to be configured to described Configuration mode needed for each tag types of FEC and each label;
First dispensing unit, for needing first to enter label by what static configuration mode configured when existing, And exist and need second to go out by what dynamic configuration mode distributed, enter label, then by static configuration side Formula is that described FEC configuration corresponding first enters label, and is described FEC by dynamic configuration mode Distribute corresponding second to go out, enter label, and enter label and second using described first and go out, enter label as joining Put to the label of described FEC.
8. node device as claimed in claim 7, it is characterised in that described configuration module also includes:
Second dispensing unit, for needing first to be gone out by what static configuration mode configured, entered mark when existing Sign, and exist and need second to enter label by what dynamic configuration mode distributed, then by static configuration side Formula is that described FEC configuration corresponding first goes out, enters label, and is described by dynamic configuration mode FEC distribution corresponding second enters label, and goes out described first, enters label and second and enter label as joining Put to the label of described FEC.
9. node device as claimed in claim 7, it is characterised in that described configuration module also includes:
3rd dispensing unit, be additionally operable to when only exist need by static configuration mode configure first go out, Enter label, be then that described FEC configuration corresponding first goes out, enters label by static configuration mode, and will Described first go out, enter label as the label being allocated to described FEC.
10. according to the node device described in any one of claim 6 to 9, it is characterised in that described in join Put module also to include:
4th dispensing unit, for needing second to be gone out by what dynamic configuration mode distributed, entered when only existing Label, then be that described FEC distribution corresponding second goes out, enters label by dynamic configuration mode, and by institute State second to go out, enter label as the label being allocated to described FEC.
CN201510180751.0A 2015-04-16 2015-04-16 Node equipment and method for establishing label forwarding table Active CN106161244B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510180751.0A CN106161244B (en) 2015-04-16 2015-04-16 Node equipment and method for establishing label forwarding table
PCT/CN2015/092225 WO2016165299A1 (en) 2015-04-16 2015-10-19 Node device and label forwarding table establishment method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510180751.0A CN106161244B (en) 2015-04-16 2015-04-16 Node equipment and method for establishing label forwarding table

Publications (2)

Publication Number Publication Date
CN106161244A true CN106161244A (en) 2016-11-23
CN106161244B CN106161244B (en) 2020-05-22

Family

ID=57127121

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510180751.0A Active CN106161244B (en) 2015-04-16 2015-04-16 Node equipment and method for establishing label forwarding table

Country Status (2)

Country Link
CN (1) CN106161244B (en)
WO (1) WO2016165299A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107888493A (en) * 2017-11-30 2018-04-06 迈普通信技术股份有限公司 The method for building up and device of a kind of label switched path
CN110932895A (en) * 2019-11-26 2020-03-27 中国联合网络通信集团有限公司 Message forwarding method and device for network slice

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1700671A (en) * 2004-05-18 2005-11-23 华为技术有限公司 A method for establishing static label transmitting route
US20060268934A1 (en) * 2005-05-18 2006-11-30 Fujitsu Limited Multicast control technique using MPLS
CN1921453A (en) * 2006-09-25 2007-02-28 杭州华为三康技术有限公司 Method and device for LSP intermediate node label distribution in MPLS ordered mode
CN101707566A (en) * 2009-11-30 2010-05-12 成都市华为赛门铁克科技有限公司 Label distributing method and processing device
US7885259B2 (en) * 2007-11-30 2011-02-08 Cisco Technology, Inc. Deterministic multiprotocol label switching (MPLS) labels
US20110142046A1 (en) * 2009-12-16 2011-06-16 Cisco Technology, Inc. Selective label retention in a label switching network
CN102594712A (en) * 2012-03-28 2012-07-18 北京星网锐捷网络技术有限公司 Method and device for determining label switch path
CN103986654A (en) * 2014-05-05 2014-08-13 杭州华三通信技术有限公司 LSP generating method and device
CN104144122A (en) * 2013-05-10 2014-11-12 华为技术有限公司 Method, device and system for establishing label switched path
US20150030026A1 (en) * 2013-07-26 2015-01-29 Cisco Technology, Inc. MPLS LSP Connectivity Test When the Initiator Address is Unknown

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2876525A1 (en) * 2004-10-08 2006-04-14 France Telecom METHOD AND DEVICE FOR CREATING A TUNNEL IN A LABEL SWITCHED TELECOMMUNICATION NETWORK
CN101692669A (en) * 2009-07-23 2010-04-07 中兴通讯股份有限公司 Method and device for virtual private network label distribution
US9178796B2 (en) * 2013-06-28 2015-11-03 Cisco Technology, Inc. Multi-layer stateful path computation element architecture
CN103916303B (en) * 2014-04-18 2018-01-09 新华三技术有限公司 A kind of MPLS traffic engineering tunnels configuration device and method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1700671A (en) * 2004-05-18 2005-11-23 华为技术有限公司 A method for establishing static label transmitting route
US20060268934A1 (en) * 2005-05-18 2006-11-30 Fujitsu Limited Multicast control technique using MPLS
CN1921453A (en) * 2006-09-25 2007-02-28 杭州华为三康技术有限公司 Method and device for LSP intermediate node label distribution in MPLS ordered mode
US7885259B2 (en) * 2007-11-30 2011-02-08 Cisco Technology, Inc. Deterministic multiprotocol label switching (MPLS) labels
CN101707566A (en) * 2009-11-30 2010-05-12 成都市华为赛门铁克科技有限公司 Label distributing method and processing device
US20110142046A1 (en) * 2009-12-16 2011-06-16 Cisco Technology, Inc. Selective label retention in a label switching network
CN102594712A (en) * 2012-03-28 2012-07-18 北京星网锐捷网络技术有限公司 Method and device for determining label switch path
CN104144122A (en) * 2013-05-10 2014-11-12 华为技术有限公司 Method, device and system for establishing label switched path
US20150030026A1 (en) * 2013-07-26 2015-01-29 Cisco Technology, Inc. MPLS LSP Connectivity Test When the Initiator Address is Unknown
CN103986654A (en) * 2014-05-05 2014-08-13 杭州华三通信技术有限公司 LSP generating method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
JAMES KEMPF ETAL;: "OpenFlow MPLS and the open source label switched router", 《ACM》 *
宋庆 等: "MPLS技术的研究", 《电子科技》 *
张鑫: "MPLS网络可靠性及解决方案研究", 《中国优秀硕士学位论文全文数据库 信息科技辑 (月刊 )》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107888493A (en) * 2017-11-30 2018-04-06 迈普通信技术股份有限公司 The method for building up and device of a kind of label switched path
CN107888493B (en) * 2017-11-30 2020-04-21 迈普通信技术股份有限公司 Method and device for establishing label switching path
CN110932895A (en) * 2019-11-26 2020-03-27 中国联合网络通信集团有限公司 Message forwarding method and device for network slice

Also Published As

Publication number Publication date
WO2016165299A1 (en) 2016-10-20
CN106161244B (en) 2020-05-22

Similar Documents

Publication Publication Date Title
Sharafat et al. Mpls-te and mpls vpns with openflow
RU2541940C2 (en) Method of applying service instance to mpls network (versions) and mpls network
CN105991437B (en) Message forwarding processing method and device, controller and route forwarding equipment
CN105827529B (en) A kind of path establishment method and controller
CN108696434A (en) A kind of method, apparatus and system of forwarding data packets
CN101645790B (en) Switching-over method, device and system of multicast distribution tree
CN102130813B (en) Pseudo line establishing method, system and equipment
CN105637807B (en) Method, controller, forwarding device and the network system to E-Packet
CN102291307A (en) An inter-VPN multicast implementation method, apparatus and network device
US9614753B2 (en) Method and device for bidirectional forwarding detection under condition of parameter update
CN101674224B (en) Method, label switching router and system for generating forwarding-table item information
CN101719868B (en) Method and device for loading LSP in TE tunnel
CN106941437A (en) A kind of information transferring method and device
CN102457348B (en) A kind of method and system realizing pseudo-line traffic control word capability negotiation
CN105591859A (en) Method and device for dynamically adjusting blocked port for ERPS ring
CN106161244A (en) Node device and the method setting up Label Forwarding Information Base thereof
CN102130829B (en) Method and device for establishing label switch paths (LSP)
CN106330783A (en) Method and device for reporting OpenFlow switch capabilities
CN109005109A (en) Path establishing method and multicast networking
CN101557334B (en) MPLS VPN, VPN multiple-instance user edge device and implementation method thereof
CN103684956B (en) A kind of method and system of virtual network layout
CN106330701A (en) Fast rerouting method and device for ring network
CN111641561B (en) Message forwarding method and device, tunnel creation method and device and network equipment
CN103581027A (en) Method for establishing optimized PIM-SM multicast route
CN103491103B (en) The method for building up of multi-segment pseudo-wires and system and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant