Movatterモバイル変換


[0]ホーム

URL:


CN106487686A - SR forwarding entry generation method and device - Google Patents

SR forwarding entry generation method and device
Download PDF

Info

Publication number
CN106487686A
CN106487686ACN201510543585.6ACN201510543585ACN106487686ACN 106487686 ACN106487686 ACN 106487686ACN 201510543585 ACN201510543585 ACN 201510543585ACN 106487686 ACN106487686 ACN 106487686A
Authority
CN
China
Prior art keywords
node
path
forwarding entry
local terminal
information
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
CN201510543585.6A
Other languages
Chinese (zh)
Other versions
CN106487686B (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 CorpfiledCriticalZTE Corp
Priority to CN201510543585.6ApriorityCriticalpatent/CN106487686B/en
Priority to PCT/CN2016/086453prioritypatent/WO2017036233A1/en
Publication of CN106487686ApublicationCriticalpatent/CN106487686A/en
Application grantedgrantedCritical
Publication of CN106487686BpublicationCriticalpatent/CN106487686B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention discloses a kind of SR forwarding entry generation method, the SR forwarding entry generation method includes:First SR node obtains local terminal to the forward-path of the 2nd SR node;In the presence of the SR relevant information of all nodes in the forward-path is equal in the SR topological database of local terminal, a SR node generates local terminal to the SR forwarding entry of the 2nd SR node based on the forward-path.The present invention can solve the problem that under SR node and non-SR node mixed networking environment message is caused the problem of bandwidth waste by mistake forwarding.

Description

SR forwarding entry generation method and device
Technical field
The present invention relates to network communication technology field, more particularly to a kind of SR forwarding entry generation method andDevice.
Background technology
Section route (Segment Routing, SR) be a kind of route technology based on source address, byOne layer of nodal information for affecting existing shortest path to forward is superimposed outside data message, is carried outside data messagePortion, the SR node for receiving data message carry out shortest path according to these specified path nodal informations and turnSend out.
In mixed networking environment as shown in Figure 1, the node for enabling SR includes PE1, PE2 and P1,P2 is the node for being not enabled on SR.When each SR node notices SID (Segement ID, the segment mark of itselfKnow) with the map information of Prefix (prefix) when, as P2 does not support SR function, on P2Will not form the SID forwarding information of each SR node, and for enabling the node of SR function, theyMutually learn to arrive by the flooding information of IGP (Interior Gateway Protocol, Interior Gateway Protocol)The SID of other side, and Label Forwarding Information Base is issued according to the next hop information of Prefix;Therefore working as has from VPNThe message that (Virtual Private Network, VPN) comes needs to come in from PE2 from PE1When going out, PE1 carries out MPLS (Multi-Protocol Label Switching, multiprotocol label switching)Encapsulation is forwarded, next-hop be to P1, when message is forwarded to P1, the next-hop of Prefix be to P2,The next-hop of SID and outgoing interface are also to arrive the message that P2, P2 receive the MPLS encapsulation, due to P2SR is not enabled, and no the label correlation forwarding entry is present, then the message is in the feelings that no other mechanism are presentUnder condition, message can be abandoned by P2, worse, when the forwarding entry that P2 has other implications of label is depositedWhen, P2 can by the message be forwarded to mistake destination address.In prior art, exist SR node andUnder non-SR node mixed networking environment, message is caused the problem of bandwidth waste by mistake forwarding.
Content of the invention
Present invention is primarily targeted at providing a kind of SR forwarding entry generation method and device, it is intended to solveCertainly under SR node and non-SR node mixed networking environment, message is caused asking for bandwidth waste by mistake forwardingTopic.
For achieving the above object, the present invention provides a kind of SR forwarding entry generation method, and the SR is forwardedEntry generation method includes:
First SR node obtains local terminal to the forward-path of the 2nd SR node;
When the SR relevant information of all nodes in the forward-path is in the SR topological database of local terminalIn the presence of all, a SR node generates local terminal to the 2nd SR node based on the forward-pathSR forwarding entry.
Preferably, a SR node obtains local terminal to before the forward-path of the 2nd SR node, alsoIncluding:
In the SR ability information for receiving the notice of the 2nd SR node and during SR relevant information, described theDuring one SR node stores the SR relevant information of the 2nd SR node to the SR topological database.
Preferably, the SR relevant information of the 2nd SR node includes the identification information of the 2nd SR nodeWith the map information of SID, the forward-path of the SR node acquisition local terminal to the 2nd SR nodeIncluding:
The identification information that the first SR node is noticed based on the 2nd SR node and the mapping of SIDInformation calculates local terminal to the forward-path of the 2nd SR node.
Preferably, a SR node obtains local terminal and also includes to the forward-path of the 2nd SR node:
In the SR ability information for receiving the 2nd SR node notice and during default label, described theOne SR node calculates local terminal to the forward-path of the default label for the purpose of the 2nd SR node.
Preferably, a SR node obtains local terminal and also includes to the forward-path of the 2nd SR node:
When the Binding TLV information of the 2nd SR node notice is received, the SR sectionPoint calculates the SID's that local terminal is carried in the Binding TLV for the purpose of the 2nd SR nodeForward-path, or turning for the SID that local terminal is carried in the Binding TLV is calculated based on preset pathSend out path.
Preferably, the default label is referred to based on the configuration data of user input by the 2nd SR nodeDetermine or produced based on allocating default.
Preferably, the label value of the default label is the globally unique of label reserved value or user inputConfiguration Values.
Preferably, a SR node obtains local terminal and also includes to the forward-path of the 2nd SR node:
The first SR node obtains local terminal to the default forward-path of the 2nd SR node, and will obtainThe described default forward-path for taking is used as the forwarding road of a SR node to the 2nd SR nodeFootpath.
Further, for achieving the above object, present invention also offers a kind of SR forwarding entry generates dressPut, the SR forwarding entry generating means include:
Acquisition module, for obtaining the forward-path of a SR node to the 2nd SR node at its place;
Generation module, for working as the SR relevant information of all nodes in the forward-path described theIn the SR topological database of one SR node all in the presence of, generate described first based on the forward-pathSR node is to the SR forwarding entry of the 2nd SR node.
Preferably, the SR forwarding entry generating means also include memory module, for receivingWhen the SR ability information and SR relevant information of the notice of two SR nodes, by the 2nd SR nodeDuring SR relevant information is stored to the SR topological database.
Preferably, the SR relevant information of the 2nd SR node includes the identification information of the 2nd SR nodeWith the map information of SID, the acquisition module be additionally operable to based on the 2nd SR node notice markInformation calculates a SR node to the forwarding road of the 2nd SR node with the map information of SIDFootpath.
Preferably, the acquisition module is additionally operable in the SR ability for receiving the 2nd SR node noticeWhen information and default label, a SR node is calculated for the purpose of the 2nd SR node to instituteState the forward-path of default label.
Preferably, the acquisition module is additionally operable in the Binding for receiving the 2nd SR node noticeDuring TLV information, a SR node is calculated for the purpose of the 2nd SR node to the BindingThe forward-path of the SID carried in TLV, or a SR node is calculated to institute based on preset pathState the forward-path of the SID carried in Binding TLV.
Preferably, the default label is referred to based on the configuration data of user input by the 2nd SR nodeDetermine or produced based on allocating default.
Preferably, the label value of the default label is the globally unique of label reserved value or user inputConfiguration Values.
Preferably, the acquisition module is additionally operable to obtain a SR node to the 2nd SR nodeDefault forward-path, and using obtain described default forward-path as a SR node to instituteState the forward-path of the 2nd SR node.
The present invention creates SR topological database by advance SR node each in network, to set up SR netNetwork topology;SR node obtains this first in the SR forwarding entry of generation local terminal to other SR nodesHold the forward-path of other SR nodes, and all nodes only in the forward-path are equalWhen being present in the SR network topology, local terminal is generated to the SR forwarding entry of other SR nodes.Compared to prior art, the present invention avoids message on source and enters wrong forward-path, so as to thisBright can solve the problem that under SR node and non-SR node mixed networking environment, message by mistake forwarding cause bandThe wide problem for wasting.
Description of the drawings
Fig. 1 is a kind of network environment schematic diagram;
Fig. 2 is the schematic flow sheet of SR forwarding entry generation method first embodiment of the present invention;
Fig. 3 is the schematic flow sheet of SR forwarding entry generation method second embodiment of the present invention;
Fig. 4 is the high-level schematic functional block diagram of SR forwarding entry generating means first embodiment of the present invention;
Fig. 5 is the high-level schematic functional block diagram of SR forwarding entry generating means second embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will be done further in conjunction with the embodiments referring to the drawingsExplanation.
Specific embodiment
It should be appreciated that specific embodiment described herein is not used to limit only in order to explain the present inventionDetermine the present invention.
The present invention provides a kind of SR forwarding entry generation method, with reference to Fig. 2, forwards bar in SR of the present inventionIn the first embodiment of mesh generation method, the SR forwarding entry generation method includes:
S10, a SR node obtain local terminal to the forward-path of the 2nd SR node;
The SR forwarding entry generation method that the present embodiment is proposed, the SR that can apply to SR node are forwardedDuring entry is generated, for example, in the mixed networking environment of SR node and non-SR node, the SR sectionPoint obtains local terminal to the forward-path of the target SR node, if SR node turning to target SR nodeSending out path includes non-SR node, and the SR node will not be generated to the SR of the target SR nodeForwarding entry;If node of the SR node in the forward-path of the target SR node is SRNode, the SR node are generated to the SR forwarding entry of the target SR node, and issue forward table,So as to avoid message from entering the forward-path of mistake on source, solve to save in SR node and non-SRUnder the mixed networking environment of point, message is caused the problem of bandwidth waste by mistake forwarding.
The present embodiment is generated with the SR forwarding entry of a SR node to the 2nd SR node and is illustrated,Wherein, a SR node and the 2nd SR node can be any SR node in network.
Specifically, a SR node be generated to the 2nd SR node SR forwarding entry itBefore, local terminal is obtained first to the forward-path of the 2nd SR node.For example, a SR node(Prefix is the mark of the 2nd SR node to the Prefix that can be noticed based on the 2nd SR node hereinInformation) local terminal is calculated to the forward-path of the 2nd SR node with the map information of SID;AcceptableA SR node is obtained to the default forward-path of the 2nd SR node, and described in obtainingDefault forward-path is used as the forward-path of a SR node to the 2nd SR node;AcceptableIt is a SR node in the SR ability information for receiving the 2nd SR node notice and defaultDuring label, a SR node calculates local terminal to the default mark for the purpose of the 2nd SR nodeThe forward-path of label.
S20, when SR relevant information (the mark letter including node of all nodes in the forward-pathBreath such as Prefix or MAC Address etc. can unique mark node address information and SID map information)In the SR topological database of local terminal all in the presence of, a SR node is generated based on the forward-pathLocal terminal is to the SR forwarding entry of the 2nd SR node.
The first SR node is getting local terminal to after the forward-path of the 2nd SR node, sentencesWhether the node broken on the forward-path is SR node, if then generating local terminal to the 2nd SRThe SR forwarding entry of node.Specifically, a SR node recognizes all on the forward-pathWhether the SR relevant information of node is present in the SR topological database of local terminal, when the forward-pathIn all nodes SR relevant information in the SR topological database of local terminal all in the presence of, described firstSR node generates local terminal to the SR forwarding entry of the 2nd SR node based on the forward-path.
It should be noted that in the present embodiment, in network, each SR node notices this to other SR nodesThe SR ability information at end, possesses SR ability to notice which, and this is the information content that must be noticed, canChoosing, the SR node can typically notice the SR relevant information of local terminal.Preferably, the SR is relatedInformation includes the map information of the map information of SID and Prefix or SID and System ID.EachSR node has been pre-created SR topological database, for preserving the SR of each SR node notice in networkRelevant information, to set up SR network topology.
The SR forwarding entry generation method that the present embodiment is proposed, by each SR node wound in network in advanceSR topological database is built, to set up SR network topology;SR node is generating local terminal to other SR sectionsPoint SR forwarding entry when, first obtain local terminal to other SR nodes forward-path, and onlyWhen all nodes in the forward-path are present in the SR network topology, generate local terminal and arriveThe SR forwarding entry of other SR nodes.Compared to prior art, the present invention is avoided on sourceMessage enters wrong forward-path, can solve the problem that in SR node and non-SR node mixing group so as to the present inventionUnder net environment, message is caused the problem of bandwidth waste by mistake forwarding.
Further, based on first embodiment, the second of SR forwarding entry generation method of the present invention is proposedEmbodiment, with reference to Fig. 3, in the present embodiment, before above-mentioned steps S10, also includes:
S30, in the SR ability information for receiving the notice of the 2nd SR node and SR relevant information,The first SR node stores the SR relevant information of the 2nd SR node to the SR topological NumbersAccording in storehouse.
In the present embodiment, a SR node is receiving the SR of the 2nd SR node noticeRelevant information, and when receiving the SR ability information of the 2nd SR node notice, just by described secondThe SR relevant information of SR node notice is stored to this as the SR relevant information of the 2nd SR nodeIn the SR topological database at end.
Specifically, in network, each SR node notices the SR ability of local terminal by IGP protocol extension TLVInformation and SR relevant information.Wherein, the SR relevant information include the identification information of SR node withThe map information of SID.Preferably, SR node notices its SR ability information by the sub- TLV of SR ability.
It should be noted that the different IGP of SR node operation (Interior Gateway Protocol, internalGateway protocol) agreement when, the identification information which is chosen is different, for example, when SR node runs OSPFDuring agreement, which chooses the Router ID of itself as identification information, when SR node runs Intermediate System to Intermediate SystemWhen, which chooses the System ID of itself as identification information.
Further, based on second embodiment, the 3rd of SR forwarding entry generation method of the present invention the is proposedEmbodiment, in the present embodiment, the SR relevant information of the 2nd SR node includes the 2nd SR nodeIdentification information and SID map information, above-mentioned steps S10 include:
The identification information that the first SR node is noticed based on the 2nd SR node and the mapping of SIDInformation calculates local terminal to the forward-path of the 2nd SR node.
In the present embodiment, the SR relevant information of the 2nd SR node is preferably the 2nd SR nodeIdentification information and SID map information, wherein, the identification information of the 2nd SR node is depended onThe IGP agreement of its operation, when the 2nd SR node runs ospf protocol, which chooses itselfUsed as identification information, when the 2nd SR node runs Intermediate System to Intermediate System, which is selected from Router IDThe System ID of body is used as identification information.
Specifically, a SR node is receiving the SR ability letter of the 2nd SR node noticeWhen breath and SR relevant information, the identification information that a SR node is included based on the SR relevant informationLocal terminal is calculated to the forward-path of the 2nd SR node with the map information of SID, wherein, forward roadThe calculating in footpath can refer to existing section of route technology and implement, and here is omitted.
Further, based on first embodiment, the 4th of SR forwarding entry generation method of the present invention the is proposedEmbodiment, in the present embodiment, above-mentioned steps S10 also include:
In the SR ability information for receiving the 2nd SR node notice and during default label, described theOne SR node calculates local terminal to the forward-path of the default label for the purpose of the 2nd SR node.
It should be noted that section route technology takes full advantage of existing MPLS (Multi-ProtocolLabel Switching, multiprotocol label switching) encapsulation technology, by the report of existing MPLS networkSection route heading (Segment Routing Header) is carried in literary head or IPv6 heading.MPLSHeading is made up of 32bits (4 bytes), wherein the label field of 20bits, the CoS word of 3bitsSection, for the priority indication of message.The stack bottom mark of 1bit, for the nested operation of MPLS, 8bitsTtl field, in MPLS network TTL count.Section route technology is completely compatible and inheritsExisting MPLS forwards datum plane, it is not necessary to change MPLS heading can just realize forThe forwarding of section route.In the encapsulation of MPLS data, the segment list in SR Header passes through labelThe mode of stack is described, and wherein, segement list includes the SID of each SR node on forward-path.
In draft draft-filsfils-spring-segment-routing-ldp-interop-00, LDP is described(Label Distribution Protocol, tag distribution protocol) and the intercommunication of SR, the inside is specifically related toThe intercommunication of LDP and SR includes Segment Routing Mapping Server (SRMS) node and non-SRThe SR mapping notice of node.As the label mapping of LDP is automatically generated according to IP, and SIDAnd mapped according to IP address.Thus when PE (Provider Edge, network lateral edges sectionPoint) the SR label that maps and LDP label when the lookup into label and outgoing label is carried out, according to PEIP can directly form mapping, according to being to be SR neighbours or LDP neighbours according to next-hop being formedForward, as described in 4.2 chapters and sections:
P6's next-hop for the IGP route"PE3"is not SR capable(P7 does notadvertise the SR capability).However, P6 has an LDP label binding from thatnext-hop for the same FEC(e.g.LDP label 1037).103 for 1037 of Hence, P6 swapsand forwards to P7.
In the present embodiment, when the 2nd SR node is while supporting the SRMS node of SR and LDPWhen, the 2nd SR node is in order to distribute virtuality SID to the node for not supporting SR.Meanwhile, describedTwo SR nodes notice a default label to itself, and the notice of the default label is extended in TLV to be takenBand, is thus responsible for forwarding less than the message of label by the 2nd SR node to ensure to search.
Further, based on first embodiment, the 5th of SR forwarding entry generation method of the present invention the is proposedEmbodiment, in the present embodiment, above-mentioned steps S10 also include:
When the Binding TLV information of the 2nd SR node notice is received, the SR sectionPoint calculates the SID's that local terminal is carried in the Binding TLV for the purpose of the 2nd SR nodeForward-path, or turning for the SID that local terminal is carried in the Binding TLV is calculated based on preset pathSend out path.
In the present embodiment, when the 2nd SR node is while supporting the SRMS node of SR and LDPWhen, the 2nd SR node is in order to distribute virtuality SID to the node for not supporting SR.Specifically, described2nd SR node is by virtual SID that Binding TLV is that non-SR node notices the non-SR nodeMap information with identification information;The first SR node is receiving the 2nd SR node noticeDuring Binding TLV information, local terminal is calculated for the purpose of the Section Point in the Binding TLVThe forward-path of the SID of carrying, or local terminal is calculated in the Binding TLV based on preset pathThe forward-path of the SID of carrying.Wherein, the preset path is a SR node to described theThe most short forward-path of two SR nodes.Preferably, a SR node adopts SPF algorithm (ShortestPath First, shortest-path first algorithm, also referred to as dijkstra's algorithm) local terminal is calculated to the 2nd SRThe most short forward-path of node, and most short forward-path described in calculating is used as the preset path.BaseIn the description of technique scheme, it will be appreciated by persons skilled in the art that a SR nodeWhen the message that target SID is virtual SID is received, a SR node is based on the local terminal for generatingTo the forwarding entry of the 2nd SR forward the packet to the 2nd SR node, saved by the 2nd SRPoint is responsible for for the message being forwarded to the corresponding non-SR node of the virtuality SID.
Further, based on the 4th or the 5th embodiment, SR forwarding entry generation method of the present invention is proposedSixth embodiment, in the present embodiment, the default label by the 2nd SR node be based on userThe configuration data of input is specified or is produced based on allocating default.
Further, the label value of the default label is the globally unique of label reserved value or user inputConfiguration Values.
It should be noted that in prior art, using the label value between 0-15 as label reserved value, usingWith specific use.In the present embodiment, the default label is specified and turned by all MPLS by user's unificationSend out node identification, it is preferable that the label value of the default label is label reserved value or user inputGlobally unique Configuration Values.
Further, based on first embodiment, the 7th of SR forwarding entry generation method of the present invention the is proposedEmbodiment, in the present embodiment, above-mentioned steps S10 also include:
The first SR node obtains local terminal to the default forward-path of the 2nd SR node, and will obtainThe described default forward-path for taking is used as the forwarding road of a SR node to the 2nd SR nodeFootpath.
In the present embodiment, configuration number of the default forward-path by a SR node based on userAccording to generation, to guarantee all to obtain less than described in the technical scheme described using present inventionOne SR node to the 2nd SR node forward-path when, using the default forward-path as describedFirst SR node is to the forward-path of the 2nd SR node.
The present invention also provides a kind of SR forwarding entry generating means, with reference to Fig. 4, forwards in SR of the present inventionIn the first embodiment of entry generating means, the SR forwarding entry generating means include:
Acquisition module 10, for obtaining the forwarding road of a SR node to the 2nd SR node at its placeFootpath;
The SR forwarding entry generating means that the present embodiment is proposed, the SR that can apply to SR node are forwardedDuring entry is generated, for example, in the mixed networking environment of SR node and non-SR node, SR forwards barMesh generating means are built in the operation of SR node, and the SR node obtains local terminal to the target SR nodeForward-path, if SR node includes non-SR node to the forward-path of target SR node, describedSR node will not be generated to the SR forwarding entry of the target SR node;If the SR node is to instituteState the node in the forward-path of target SR node and SR node is, the SR node is generated to describedThe SR forwarding entry of target SR node, and issue forward table such that it is able on source, avoid message from enteringEnter the forward-path of mistake, solve under the mixed networking environment of SR node and non-SR node, message quiltMistake forwards the problem for causing bandwidth waste.
The present embodiment is built in SR node operation with SR forwarding entry generating means, and with firstSR node is generated to the SR forwarding entry of the 2nd SR node and is illustrated, wherein, a SRNode and the 2nd SR node can be any SR node in network.
Specifically, a SR node be generated to the 2nd SR node SR forwarding entry itBefore, local terminal is obtained first to the forward-path of the 2nd SR node.For example, a SR node(Prefix is the mark of the 2nd SR node to the Prefix that can be noticed based on the 2nd SR node hereinInformation) local terminal is calculated to the forward-path of the 2nd SR node with the map information of SID;AcceptableA SR node is obtained to the default forward-path of the 2nd SR node, and described in obtainingDefault forward-path is used as the forward-path of a SR node to the 2nd SR node;AcceptableIt is a SR node in the SR ability information for receiving the 2nd SR node notice and defaultDuring label, a SR node calculates local terminal to the default mark for the purpose of the 2nd SR nodeThe forward-path of label.
Generation module 20, the SR relevant information for working as all nodes in the forward-path (includeThe identification information of node such as Prefix or MAC Address etc. can unique mark node address information and SIDMap information) in the SR topological database of a SR node all in the presence of, based on the forwardingDescribed in coordinates measurement, a SR node is to the SR forwarding entry of the 2nd SR node.
The first SR node is getting local terminal to after the forward-path of the 2nd SR node, sentencesWhether the node broken on the forward-path is SR node, if then generating local terminal to the 2nd SRThe SR forwarding entry of node.Specifically, a SR node recognizes all on the forward-pathWhether the SR relevant information of node is present in the SR topological database of local terminal, when the forward-pathIn all nodes SR relevant information in the SR topological database of local terminal all in the presence of, described firstSR node generates local terminal to the SR forwarding entry of the 2nd SR node based on the forward-path.
It should be noted that in the present embodiment, in network, each SR node notices this to other SR nodesThe SR ability information at end, possesses SR ability to notice which, and this is the information content that must be noticed, canChoosing, the SR node can typically notice the SR relevant information of local terminal.Preferably, the SR is relatedInformation includes the map information of the map information of SID and Prefix or SID and System ID.EachSR node has been pre-created SR topological database, for preserving the SR of each SR node notice in networkRelevant information, to set up SR network topology.
The SR forwarding entry generating means that the present embodiment is proposed, by each SR node wound in network in advanceSR topological database is built, to set up SR network topology;SR node is generating local terminal to other SR sectionsPoint SR forwarding entry when, first obtain local terminal to other SR nodes forward-path, and onlyWhen all nodes in the forward-path are present in the SR network topology, generate local terminal and arriveThe SR forwarding entry of other SR nodes.Compared to prior art, the present invention is avoided on sourceMessage enters wrong forward-path, can solve the problem that in SR node and non-SR node mixing group so as to the present inventionUnder net environment, message is caused the problem of bandwidth waste by mistake forwarding.
Further, based on first embodiment, the second of SR forwarding entry generating means of the present invention is proposedEmbodiment, with reference to Fig. 5, in the present embodiment, the SR forwarding entry generating means also include to store mouldBlock 30, in the SR ability information for receiving the notice of the 2nd SR node and during SR relevant information,During the SR relevant information of the 2nd SR node is stored to the SR topological database.
In the present embodiment, a SR node is receiving the SR of the 2nd SR node noticeRelevant information, and when receiving the SR ability information of the 2nd SR node notice, just by described secondThe SR relevant information of SR node notice is stored to this as the SR relevant information of the 2nd SR nodeIn the SR topological database at end.
Specifically, in network, each SR node notices the SR ability of local terminal by IGP protocol extension TLVInformation and SR relevant information.Wherein, the SR relevant information include the identification information of SR node withThe map information of SID.Preferably, SR node notices its SR ability information by the sub- TLV of SR ability.
It should be noted that the different IGP of SR node operation (Interior Gateway Protocol, internalGateway protocol) agreement when, the identification information which is chosen is different, for example, when SR node runs OSPFDuring agreement, which chooses the Router ID of itself as identification information, when SR node runs Intermediate System to Intermediate SystemWhen, which chooses the System ID of itself as identification information.
Further, based on second embodiment, the 3rd of SR forwarding entry generating means of the present invention the is proposedEmbodiment, in the present embodiment, the SR relevant information of the 2nd SR node includes the 2nd SR nodeIdentification information and SID map information, the acquisition module 10 is additionally operable to save based on the 2nd SRThe identification information of point notice calculates a SR node to the 2nd SR with the map information of SIDThe forward-path of node.
In the present embodiment, the SR relevant information of the 2nd SR node is preferably the 2nd SR nodeIdentification information and SID map information, wherein, the identification information of the 2nd SR node is depended onThe IGP agreement of its operation, when the 2nd SR node runs ospf protocol, which chooses itselfUsed as identification information, when the 2nd SR node runs Intermediate System to Intermediate System, which is selected from Router IDThe System ID of body is used as identification information.
Specifically, a SR node is receiving the SR ability letter of the 2nd SR node noticeWhen breath and SR relevant information, the identification information that a SR node is included based on the SR relevant informationLocal terminal is calculated to the forward-path of the 2nd SR node with the map information of SID, wherein, forward roadThe calculating in footpath can refer to existing section of route technology and implement, and here is omitted.
Further, based on first embodiment, the 4th of SR forwarding entry generating means of the present invention the is proposedEmbodiment, in the present embodiment, the acquisition module 10 is additionally operable to receiving the 2nd SR nodeWhen the SR ability information of notice and default label, described is calculated for the purpose of the 2nd SR nodeOne SR node is to the forward-path of the default label.
It should be noted that section route technology takes full advantage of existing MPLS (Multi-ProtocolLabel Switching, multiprotocol label switching) encapsulation technology, by the report of existing MPLS networkSection route heading (Segment Routing Header) is carried in literary head or IPv6 heading.MPLSHeading is made up of 32bits (4 bytes), wherein the label field of 20bits, the CoS word of 3bitsSection, for the priority indication of message.The stack bottom mark of 1bit, for the nested operation of MPLS, 8bitsTtl field, in MPLS network TTL count.Section route technology is completely compatible and inheritsExisting MPLS forwards datum plane, it is not necessary to change MPLS heading can just realize forThe forwarding of section route.In the encapsulation of MPLS data, the segment list in SR Header passes through labelThe mode of stack is described, and wherein, segement list includes the SID of each SR node on forward-path.
In draft draft-filsfils-spring-segment-routing-ldp-interop-00, LDP is described(Label Distribution Protocol, tag distribution protocol) and the intercommunication of SR, the inside is specifically related toThe intercommunication of LDP and SR includes Segment Routing Mapping Server (SRMS) node and non-SRThe SR mapping notice of node.As the label mapping of LDP is automatically generated according to IP, and SIDAnd mapped according to IP address.Thus when PE (Provider Edge, network lateral edges sectionPoint) the SR label that maps and LDP label when the lookup into label and outgoing label is carried out, according to PEIP can directly form mapping, according to being to be SR neighbours or LDP neighbours according to next-hop being formedForward, as described in 4.2 chapters and sections:
P6's next-hop for the IGP route"PE3"is not SR capable(P7 does notadvertise the SR capability).However, P6 has an LDP label binding from thatnext-hop for the same FEC(e.g.LDP label 1037).103 for 1037 of Hence, P6 swapsand forwards to P7.
In the present embodiment, when the 2nd SR node is while supporting the SRMS node of SR and LDPWhen, the 2nd SR node is in order to distribute virtuality SID to the node for not supporting SR.Meanwhile, describedTwo SR nodes notice a default label to itself, and the notice of the default label is extended in TLV to be takenBand, is thus responsible for forwarding less than the message of label by the 2nd SR node to ensure to search.
Further, based on first embodiment, the 5th of SR forwarding entry generating means of the present invention the is proposedEmbodiment, in the present embodiment, the acquisition module 10 is additionally operable to receiving the 2nd SR nodeDuring the Binding TLV information of notice, SR section is calculated for the purpose of the 2nd SR nodeThe forward-path of the SID that point is carried in the Binding TLV, or calculated based on preset path describedThe forward-path of the SID that the first SR node is carried in the Binding TLV.
In the present embodiment, when the 2nd SR node is while supporting the SRMS node of SR and LDPWhen, the 2nd SR node is in order to distribute virtuality SID to the node for not supporting SR.Specifically, described2nd SR node is by virtual SID that Binding TLV is that non-SR node notices the non-SR nodeMap information with identification information;The first SR node is receiving the 2nd SR node noticeDuring Binding TLV information, local terminal is calculated for the purpose of the Section Point in the Binding TLVThe forward-path of the SID of carrying, or local terminal is calculated in the Binding TLV based on preset pathThe forward-path of the SID of carrying.Wherein, the preset path is a SR node to described theThe most short forward-path of two SR nodes.Preferably, a SR node adopts SPF algorithm (ShortestPath First, shortest-path first algorithm, also referred to as dijkstra's algorithm) local terminal is calculated to the 2nd SRThe most short forward-path of node, and most short forward-path described in calculating is used as the preset path.BaseIn the description of technique scheme, it will be appreciated by persons skilled in the art that a SR nodeWhen the message that target SID is virtual SID is received, a SR node is based on the local terminal for generatingTo the forwarding entry of the 2nd SR forward the packet to the 2nd SR node, saved by the 2nd SRPoint is responsible for for the message being forwarded to the corresponding non-SR node of the virtuality SID.
Further, based on the 4th or the 5th embodiment, SR forwarding entry generating means of the present invention are proposedSixth embodiment, in the present embodiment, the default label by the 2nd SR node be based on userThe configuration data of input is specified or is produced based on allocating default.
Further, the label value of the default label is the globally unique of label reserved value or user inputConfiguration Values.
It should be noted that in prior art, using the label value between 0-15 as label reserved value, usingWith specific use.In the present embodiment, the default label is specified and turned by all MPLS by user's unificationSend out node identification, it is preferable that the label value of the default label is label reserved value or user inputGlobally unique Configuration Values.
Further, based on first embodiment, the 7th of SR forwarding entry generating means of the present invention the is proposedEmbodiment, in the present embodiment, the acquisition module 10 is additionally operable to obtain a SR node to instituteState the default forward-path of the 2nd SR node, and using the described default forward-path for obtaining as described theOne SR node is to the forward-path of the 2nd SR node.
In the present embodiment, configuration number of the default forward-path by a SR node based on userAccording to generation, to guarantee all to obtain less than described in the technical scheme described using present inventionOne SR node to the 2nd SR node forward-path when, using the default forward-path as describedFirst SR node is to the forward-path of the 2nd SR node.
The preferred embodiments of the present invention are these are only, the scope of the claims of the present invention is not thereby limited, everyThe equivalent structure that is made using description of the invention and accompanying drawing content or equivalent flow conversion, or directly orConnect and other related technical fields are used in, be included within the scope of the present invention.

Claims (16)

CN201510543585.6A2015-08-282015-08-28SR forwarding entry generation method and deviceExpired - Fee RelatedCN106487686B (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN201510543585.6ACN106487686B (en)2015-08-282015-08-28SR forwarding entry generation method and device
PCT/CN2016/086453WO2017036233A1 (en)2015-08-282016-06-20Sr forwarding entry generation method and apparatus

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201510543585.6ACN106487686B (en)2015-08-282015-08-28SR forwarding entry generation method and device

Publications (2)

Publication NumberPublication Date
CN106487686Atrue CN106487686A (en)2017-03-08
CN106487686B CN106487686B (en)2021-01-22

Family

ID=58186613

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201510543585.6AExpired - Fee RelatedCN106487686B (en)2015-08-282015-08-28SR forwarding entry generation method and device

Country Status (2)

CountryLink
CN (1)CN106487686B (en)
WO (1)WO2017036233A1 (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109039903A (en)*2018-10-182018-12-18新华三技术有限公司Route determining methods, device and machine readable storage medium
CN109067657A (en)*2018-08-242018-12-21新华三技术有限公司A kind of message processing method and device
CN109347740A (en)*2018-11-192019-02-15新华三技术有限公司Message forwarding method and device
CN110300061A (en)*2018-03-232019-10-01中兴通讯股份有限公司A kind of method, equipment and storage medium for noticing binding information
WO2020042018A1 (en)*2018-08-292020-03-05华为技术有限公司Method for detecting bandwidth and detection device
CN110971433A (en)*2018-09-292020-04-07华为技术有限公司 Method, device and system for obtaining SRv6 tunnel information
CN111464440A (en)*2019-01-212020-07-28华为技术有限公司 A communication method and device
CN111464441A (en)*2019-01-212020-07-28华为技术有限公司 A communication method and device
CN112583711A (en)*2019-09-272021-03-30华为技术有限公司Message processing method and device
CN112672363A (en)*2019-10-152021-04-16华为技术有限公司Method and device for confirming telemetry capability of stream information
CN112671652A (en)*2020-11-262021-04-16新华三技术有限公司Message forwarding method and device
CN113765791A (en)*2020-06-022021-12-07华为技术有限公司Method, node and system for determining processing capacity
WO2023040783A1 (en)*2021-09-162023-03-23华为技术有限公司Method, apparatus and system for acquiring capability, method, apparatus and system for sending capability information, and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111130811B (en)*2019-12-242022-09-30广东省新一代通信与网络创新研究院Broadband access method based on segment routing, BRAS controller and data center system

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101369958A (en)*2007-08-152009-02-18华为技术有限公司 A fast rerouting method and label switching router
WO2014144216A1 (en)*2013-03-152014-09-18Cisco Technology, Inc.Label distribution protocol over segment routing
CN104378292A (en)*2013-08-152015-02-25华为技术有限公司 A method and device for forwarding MPLS data packets
US20150109904A1 (en)*2013-10-172015-04-23Cisco Technology, Inc.Scalable edge node protection using segment routing
CN104718730A (en)*2012-10-052015-06-17思科技术公司Segment routing techniques

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101369958A (en)*2007-08-152009-02-18华为技术有限公司 A fast rerouting method and label switching router
CN104718730A (en)*2012-10-052015-06-17思科技术公司Segment routing techniques
WO2014144216A1 (en)*2013-03-152014-09-18Cisco Technology, Inc.Label distribution protocol over segment routing
WO2014144344A1 (en)*2013-03-152014-09-18Cisco Technology, Inc.Seamless segment routing
CN104378292A (en)*2013-08-152015-02-25华为技术有限公司 A method and device for forwarding MPLS data packets
US20150109904A1 (en)*2013-10-172015-04-23Cisco Technology, Inc.Scalable edge node protection using segment routing

Cited By (25)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110300061A (en)*2018-03-232019-10-01中兴通讯股份有限公司A kind of method, equipment and storage medium for noticing binding information
CN109067657B (en)*2018-08-242021-03-26新华三技术有限公司Message processing method and device
CN109067657A (en)*2018-08-242018-12-21新华三技术有限公司A kind of message processing method and device
US11388090B2 (en)2018-08-292022-07-12Huawei Technologies Co., Ltd.Bandwidth measurement method and measurement device
WO2020042018A1 (en)*2018-08-292020-03-05华为技术有限公司Method for detecting bandwidth and detection device
CN112602294B (en)*2018-08-292021-10-15华为技术有限公司 Method and device for detecting bandwidth
CN112602294A (en)*2018-08-292021-04-02华为技术有限公司Method and device for detecting bandwidth
CN110971433B (en)*2018-09-292022-02-22华为技术有限公司 Method, device and system for obtaining SRv6 tunnel information
CN110971433A (en)*2018-09-292020-04-07华为技术有限公司 Method, device and system for obtaining SRv6 tunnel information
US11558341B2 (en)2018-09-292023-01-17Huawei Technologies Co., Ltd.Method, device, and system for obtaining SRv6 tunnel information
CN109039903B (en)*2018-10-182021-01-26新华三技术有限公司Route determining method, device and machine-readable storage medium
CN109039903A (en)*2018-10-182018-12-18新华三技术有限公司Route determining methods, device and machine readable storage medium
CN109347740A (en)*2018-11-192019-02-15新华三技术有限公司Message forwarding method and device
CN111464441A (en)*2019-01-212020-07-28华为技术有限公司 A communication method and device
CN111464440A (en)*2019-01-212020-07-28华为技术有限公司 A communication method and device
CN112583711A (en)*2019-09-272021-03-30华为技术有限公司Message processing method and device
WO2021057683A1 (en)*2019-09-272021-04-01华为技术有限公司Message processing method and apparatus
CN112672363A (en)*2019-10-152021-04-16华为技术有限公司Method and device for confirming telemetry capability of stream information
US12166653B2 (en)2019-10-152024-12-10Huawei Technologies Co., Ltd.Method for confirming in-situ flow information telemetry capability and device
CN113765791A (en)*2020-06-022021-12-07华为技术有限公司Method, node and system for determining processing capacity
WO2021244487A1 (en)*2020-06-022021-12-09华为技术有限公司Processing capability determination method, and node and system
US12363036B2 (en)2020-06-022025-07-15Huawei Technologies Co., Ltd.Method for determining processing capability, node, and system
CN112671652B (en)*2020-11-262022-08-30新华三技术有限公司Message forwarding method and device
CN112671652A (en)*2020-11-262021-04-16新华三技术有限公司Message forwarding method and device
WO2023040783A1 (en)*2021-09-162023-03-23华为技术有限公司Method, apparatus and system for acquiring capability, method, apparatus and system for sending capability information, and storage medium

Also Published As

Publication numberPublication date
WO2017036233A1 (en)2017-03-09
CN106487686B (en)2021-01-22

Similar Documents

PublicationPublication DateTitle
CN106487686A (en)SR forwarding entry generation method and device
US9444677B2 (en)Scalable edge node protection using IPv6 segment routing extension header
US10581732B2 (en)Target FEC (forwarding equivalence class) stack based FEC query in segment routing environments
CN106656781B (en) Method, device and system for message transmission
US9525619B2 (en)Scalable edge node protection using segment routing
US11689452B2 (en)Method for forwarding service data, network device, and network system
CN105871721B (en)Segment routing processing method, processing device and sending device
CN108111417B (en)Method and device for forwarding MPLS data packet
US10880203B2 (en)Centralized segment routing dataplane based backup path validation
CN105594167B (en) Method, controller, forwarding device and network system for forwarding message
EP3148131B1 (en)Address information publishing method and apparatus
CN110912795A (en) A transmission control method, node, network system and storage medium
WO2017016254A1 (en)Ipv6 message encapsulation processing method and apparatus
US20180205636A1 (en)Bier packet transmission method and device
CN105991437B (en)Message forwarding processing method and device, controller and route forwarding equipment
CN101651630A (en)Switching method and switching device based on link fault
CN107592262A (en)File transmitting method and the network architecture of the cross-domain forwarding of device, message
CN106603413B (en)Method and device for transmitting flow through designated path
WO2017211164A1 (en)Method, apparatus, and system for determining inter-as label switched path tunnel
CN103326915A (en)Method, device and system for achieving three-layer VPN
CN102469010B (en)A kind of method and network equipment distributing MPLS label
CN103001872B (en)A kind of label distribution method and polymerization unit
US20140185614A1 (en)Multiple domain addressing in message routing
CN111565149B (en)Method and device for keeping remote session alive under LDP RLFA FRR scene
CN105577544A (en) Method, device and system for processing IPv4 routing information and IPv4 data packets

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20210122

CF01Termination of patent right due to non-payment of annual fee

[8]ページ先頭

©2009-2025 Movatter.jp