CN101674231A - Method and network device for processing traffic engineering link information - Google Patents

Method and network device for processing traffic engineering link information Download PDF

Info

Publication number
CN101674231A
CN101674231A CN200810216203A CN200810216203A CN101674231A CN 101674231 A CN101674231 A CN 101674231A CN 200810216203 A CN200810216203 A CN 200810216203A CN 200810216203 A CN200810216203 A CN 200810216203A CN 101674231 A CN101674231 A CN 101674231A
Authority
CN
China
Prior art keywords
link
lag
information
attribute information
link 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
CN200810216203A
Other languages
Chinese (zh)
Other versions
CN101674231B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2008102162039A priority Critical patent/CN101674231B/en
Publication of CN101674231A publication Critical patent/CN101674231A/en
Application granted granted Critical
Publication of CN101674231B publication Critical patent/CN101674231B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the field of network communication technologies, more particularly discloses a method for processing traffic engineering link information, comprising the following steps: acquiring data link information in a link aggregation group and calculating the acquired LAG attribute information according to the data link information; loading the LAG attribute information into the traffic engineering TE link information; and issuing the TE link information that loads the LAG attribute information, wherein the TE link information that loads the LAG attribute information comprisesan LAG protection type of the TE link, available bandwidth of the LE link and bandwidth capable of carrying a maximum label switched path of the TE link. The invention also discloses a network devicefor processing the traffic engineering information. By utilizing the technical scheme, the invention effectively reflects the LAG attribute information by the traffic engineering link information andis good for acquiring accurate data link information of the network device and convenient to carry out path calculation, path establishment or providing maintenance service.

Description

A kind of processing method of traffic engineering link information and the network equipment
Technical field
The present invention relates to communication technical field, the processing method and the network equipment of particularly a kind of traffic engineering (TE, TrafficEngineering Link) link information.
Background technology
Along with development of Ethernet technology, Ethernet has the network that capability of packetised transmission can be provided to transmitting network evolution, becoming gradually.The network equipment that transmits in the network is made up of management plane, control plane and user plane usually.Management plane provides managerial ability to equipment for network manager; Control plane then is to finish control to user plane alternately by signaling; User plane is used for transmitting and transmitting user data.General multiple protocols label exchange (GMPLS, Generalized Multi-Protocol Label Switching) technology has been unified the control plane of each layer equipment, and promptly the switching equipment of each aspect all will use same signaling to finish its control to user plane.TE Link is a basic conception among the GMPLS, and TE Link can represent that this TE Link information is issued by the network equipment by Routing Protocol by one or many tied data link.The TE Link information of issue comprises at present: the bandwidth of the maximum label switched path that the available bandwidth of TE Link, TE Link can carry (LSP, Label Switched Path), the protection type of TE Link; Wherein protect type to comprise: extra traffic, unprotect, 1+1 protection, protection in 1: 1, enhancement mode protection.
Link aggregation (LA, Link Aggregation) is a kind of technology in the Ethernet.Use the link aggregation technology, can the data link that many types are identical with speed be polymerized to a logical links according to the strict difinition of communication standard, also can many data link that type is identical and speed is inequality be polymerized to a logical links not according to the strict difinition of communication standard.The logical links of this polymerization is called as link aggregation group (LAG; Link Aggregation Group); its available bandwidth is the bandwidth sum of data available link among the LAG; can provide protection mutually between each bar data link simultaneously; when a data link fault; business on the data link of this fault can be switched in the link aggregation group on other available data link, thereby improve professional reliability.
In carrying out the invention process, the inventor finds prior art, and there are the following problems at least: at present when handling TE Link information, do not express the LAG attribute information in this TE Link information, link information carries out path computing, maintenance service is set up or provided in the path to be unfavorable for obtaining accurately by the network equipment.
Summary of the invention
For solving the problem that above-mentioned prior art exists, the embodiment of the invention provides a kind of processing method and network equipment of traffic engineering link information, can realize effectively reflecting the LAG attribute information by TE Link information.
The embodiment of the invention provides a kind of processing method of traffic engineering link information, and this method comprises:
Obtain the data link information among the LAG, calculate the LAG attribute information according to described data link information;
Described LAG attribute information is written in the TE Link information;
The TE Link information of having carried described LAG attribute information is issued; Described TE Link information of having carried described LAG attribute information comprises that the protection type of TE Link is LAG protection, the available bandwidth of TE Link and the bandwidth of the maximum LSP that TE Link can carry.
The embodiment of the invention also provides a kind of network equipment, and this equipment comprises:
The data link information acquisition module is used for obtaining the data link information of LAG;
LAG attribute information computing module is used for calculating the LAG attribute information according to the data link information that described data link information acquisition module obtains;
The TE Link information issuing module is used for the LAG attribute information that described LAG attribute information computing module calculates is written into TE Link information, and the TE Link information that will carry described LAG attribute information is issued; Described TE Link information of having carried described LAG attribute information comprises: the protection type of TE Link is LAG protection, the available bandwidth of TE Link and the bandwidth of the maximum LSP that TE Link can carry.
In the technical scheme of the embodiment of the invention; calculate the LAG attribute information according to the data link information that obtains; and the TE Link information that will carry the LAG attribute information is issued in network; realized effectively reflecting the LAG attribute information by TE Link information; help the network equipment and obtain link information accurately; protection type comprising TE Link is LAG protection, the available bandwidth of TE Link and the bandwidth of the maximum LSP that TE Link can carry, so that the network equipment carries out path computing, maintenance service is set up or provided in the path.
Description of drawings
Fig. 1 is the method flow diagram of the embodiment of the invention one;
Fig. 2 is the network equipment connection diagram of the embodiment of the invention two;
The schematic diagram that Fig. 3 breaks down for the data link between the network equipment of the embodiment of the invention three;
Another schematic diagram that Fig. 4 breaks down for the data link between the network equipment of the embodiment of the invention three;
Fig. 5 is the network equipment structural representation of the embodiment of the invention four.
Embodiment
Below in conjunction with drawings and the specific embodiments technical scheme of the present invention is described in further detail.
Embodiment one
As shown in Figure 1, Fig. 1 is the method flow diagram of the embodiment of the invention one.
S102: obtain the data link information among the LAG, calculate the LAG attribute information according to this data link information;
S104: this LAG attribute information is written in the TE Link information;
S106: the TE Link information that will carry this LAG attribute information is issued; This TE Link information of having carried the LAG attribute information comprises: the protection type of TE Link is LAG protection, the available bandwidth of TE Link and the bandwidth of the maximum LSP that TE Link can carry.
Alternatively, this TE Link information of having carried the LAG attribute information also comprises the LAG protection bandwidth of TE Link.
Each bar data link information in LAG changes, and for example, increases in LAG or the minimizing data link, and perhaps the bandwidth of data link changes; Then trigger the step re-execute S102 to S106, with realize after dynamically issue is upgraded carrying the TE Link information of LAG attribute information.
In the present embodiment, the TE Link information of having carried the LAG attribute information by the Routing Protocol issue; This Routing Protocol is a kind of in following: ospf (OSPF, Open Shortest Path First) agreement, Intermediate System-to-Intermediate System (IS-IS, IntermediateSystem to Intermediate System) agreement, routing information protocol (RIP, RoutingInformation Protocol).
Embodiment two
As shown in Figure 2, Fig. 2 is the network equipment connection diagram of the embodiment of the invention two.In Fig. 2, connect 4 data link between network equipment A and the network equipment B, 4 data link are polymerized to a LAG.
S202: network equipment A obtains 4 data link information among the LAG, and wherein the bandwidth of every data link is 100M; Calculate the LAG attribute information according to 4 data link information, specifically comprise: the LAG available bandwidth is that 400M, LAG protection bandwidth is 200M.
Need to prove at this: (1) obtains by the bandwidth of data link available among the LAG being carried out addition, i.e. 100M*4=400M for the LAG available bandwidth; (2) because LAG has traffic sharing (Load Sharing) ability, and 4 data link bandwidth in the present embodiment identical (being 100M), generally, the algorithm that carries out the data distribution in LAG can guarantee that packet realizes evenly distributing in LAG; So the protection of the LAG in present embodiment bandwidth is the LAG available bandwidth half, i.e. 400M/2=200M.
S204: network equipment A is written into the LAG attribute information that calculates in the TE Link information; TE Link in the present embodiment is represented by 4 tied data link.
S206: the TE Link information that network equipment A will carry the LAG attribute information is issued; This TE Link information of having carried the LAG attribute information comprises: the protection type of TE Link is that the available bandwidth of LAG protection, TE Link is that the bandwidth of 400M and the TE Link maximum LSP that can carry is 400M.
Need to prove at this: (1) has obtained the LAG available bandwidth in step S202, then the available bandwidth of TE Link equals LAG available bandwidth, i.e. 400M; (2) because the protection type of TE Link is the LAG protection, so obtain the bandwidth of the maximum LSP that TE Link can carry, i.e. 100M*4=400M by the bandwidth of data link available among the LAG being carried out addition.
Alternatively, in the carrying of issue also comprise the LAG protection bandwidth of TE Link in the TE Link information of LAG attribute information; Owing to obtained LAG protection bandwidth in step S202, the LAG of TE Link protection bandwidth equals LAG protection bandwidth, i.e. 200M.
In like manner, network equipment B also can handle TE Link information with reference to the concrete grammar among step S202, S204 and the S206, realizes effectively reflecting the LAG attribute information by TE Link information, repeats no more herein.
The network equipment according to the carrying that receives after the TE Link information of LAG attribute information, can carry out path computing, maintenance service is set up or provided in the path.For example the network equipment if professional the needs then can be protected attribute-bit according to the LAG in the TE Link information through possessing the TE Link of LAG protective capability, is got rid of this TE Link when carrying out path computing from the path computing resource.
Obviously, the technical scheme of the embodiment of the invention can realize effectively reflecting the LAG attribute information by TE Link information.Particularly, in embodiments of the present invention, from the carrying of the network equipment issue LAG attribute information TE Link information as can be known, this TE Link possesses the LAG protective capability, and the bandwidth of the TE Link maximum LSP that can carry is 400M; Compare; adopt the technical scheme of prior art to make the TE Link information of network equipment issue not have correctly to reflect the attribute and the state of TE Link; do not represent that promptly TE Link possesses the LAG protective capability, and the bandwidth of the TE Link maximum LSP that can carry of expression is 100M.To sum up, the technical scheme of the employing embodiment of the invention helps the network equipment and obtains link information accurately, sets up or provide maintenance service so that carry out path computing, the path of realistic business demand.
Embodiment three
As shown in Figure 3, Fig. 3 is the schematic diagram that the data link between the network equipment of the embodiment of the invention three breaks down.In Fig. 3, connect 4 data link between network equipment A and the network equipment B, 4 data link are polymerized to a LAG, and data link 1-3 breaks down, and has only data link 4 to use.
S302: network equipment A obtains 4 data link information among the LAG, and wherein data link 1-3 breaks down and the bandwidth of data link 4 is 100M; Calculate the LAG attribute information according to 4 data link information, specifically comprise: the LAG available bandwidth is that 100M, LAG protection bandwidth is 0.
Need to prove at this: in the present embodiment, because the data link 1-3 among the LAG breaks down, a data left link 4 can be used, so the LAG available bandwidth is the bandwidth 100M of data link 4, and LAG can not provide protection again, and then LAG protection bandwidth is 0.
S304: network equipment A is written into the LAG attribute information that calculates in the TE Link information; TE Link in the present embodiment is represented by 4 tied data link.
S306: the TE Link information that network equipment A will carry the LAG attribute information is issued; This TE Link information of having carried the LAG attribute information comprises: the protection type of TE Link is that the available bandwidth of LAG protection, TE Link is that the bandwidth of 100M, the TE Link maximum LSP that can carry is that the LAG protection bandwidth of 100M and TE Link is 0.
In like manner, network equipment B also can handle TE Link information with reference to the concrete grammar among step S302, S304 and the S306, realizes effectively reflecting the LAG attribute information by TE Link information, repeats no more herein.
In embodiments of the present invention, if service needed is through possessing the TE Link of LAG protective capability, though the protection type of the TE Link in this moment TE Link information is the LAG protection, the LAG protection bandwidth of TE Link is 0.Therefore, the network equipment must be got rid of this TE Link when carrying out path computing from the path computing resource.
As shown in Figure 4, Fig. 4 is another schematic diagram that the data link between the network equipment of the embodiment of the invention three breaks down.In Fig. 4, data link information changes, and is embodied in the fault recovery of data link 3, and then LAG has recovered protective capability.The network equipment is triggered and regains data link information among the LAG, recomputates and obtains the LAG attribute information, specifically comprises: the LAG available bandwidth is that 200M, LAG protection bandwidth is 100M; The new LAG attribute information that will calculate then is written in the TE Link information and issue; This TE Link information of having carried new LAG attribute information comprises at least: the protection type of TE Link is that the available bandwidth of LAG protection, TE Link is that the bandwidth of 200M, the TE Link maximum LSP that can carry is that the LAG protection bandwidth of 200M and TE Link is 100M.
According to as can be known aforementioned, for many situations that the data link bandwidth is identical among the LAG, can guarantee that packet realizes evenly distribution in LAG owing in LAG, carry out the algorithm of data distributions, be half of available bandwidth of TE Link so the LAG of TE Link protects bandwidth; For many situations that the data link bandwidth is inequality among the LAG; owing to can not guaranteeing packet in some cases, the algorithm that carries out the data distribution in LAG in LAG, realizes evenly distribution; so when determining the LAG protection bandwidth of TE Link; no longer adopt half mode of TE Link available bandwidth to determine, but determine according to the concrete bandwidth of available data link.For example, the bandwidth of supposing data link 3 among Fig. 4 is 60M, and the bandwidth of data link 4 is 80M, and then the LAG of TE Link protection bandwidth is 60M, is not (60+80)/2=70M.
Obviously, the technical scheme of the embodiment of the invention can realize effectively reflecting the LAG attribute information by TE Link information, help the network equipment and obtain link information accurately, set up or provide maintenance service so that carry out path computing, the path of realistic business demand.
Embodiment four
The embodiment of the invention also provides a kind of network equipment, and this equipment comprises:
Data link information acquisition module 502 is used for obtaining the data link information of LAG;
LAG attribute information computing module 504 is used for calculating the LAG attribute information according to the data link information that data link information acquisition module 502 obtains;
TE Link information issuing module 506 is used for the LAG attribute information that LAG attribute information computing module 504 calculates is written into TE Link information, and the TE Link information that will carry this LAG attribute information is issued; This TE Link information of having carried the LAG attribute information comprises: the protection type of TE Link is LAG protection, the available bandwidth of TE Link and the bandwidth of the maximum LSP that TE Link can carry.
Wherein, the LAG attribute information that obtains at LAG attribute information computing module 204 specifically comprises LAG available bandwidth and LAG protection bandwidth; Alternatively, the carrying of TE Link information issuing module 506 issue the TE Link information of this LAG attribute information also comprise the LAG protection bandwidth of TE Link.
Because content such as the information interaction between each module in the network equipment, implementation and the inventive method embodiment are based on same design, particular content can repeat no more referring to the narration among the inventive method embodiment herein.
The technical scheme of the embodiment of the invention can be implemented in the TE Link information of network equipment issue effectively reflection LAG attribute information, help the network equipment and obtain link information accurately, set up or provide maintenance service so that carry out path computing, the path of realistic business demand.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential hardware platform, can certainly all implement, but the former is better execution mode under a lot of situation by hardware.Based on such understanding, all or part of can the embodying that the technical scheme of the embodiment of the invention contributes to background technology with the form of software product, this computer software product can be stored in the storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
The above only is the embodiment of technical solution of the present invention; but protection scope of the present invention is not limited thereto; anyly be familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (7)

1, a kind of processing method of flow engineering link is characterized in that, this method comprises:
Obtain the data link information among the link aggregation group LAG, calculate the LAG attribute information according to described data link information;
Described LAG attribute information is written in the traffic engineering TE link information;
The TE Link information of having carried described LAG attribute information is issued; Described TE Link information of having carried described LAG attribute information comprises that the protection type of TE Link is LAG protection, the available bandwidth of TE Link and the bandwidth of the maximum label switching path LSP that TE Link can carry.
2, the processing method of flow engineering link as claimed in claim 1 is characterized in that, described TE Link information of having carried described LAG attribute information also comprises the LAG protection bandwidth of TE Link.
3, the processing method of flow engineering link as claimed in claim 1 or 2 is characterized in that, this method also comprises: when the data link information among the described LAG changes, trigger the data link information that regains among the described LAG.
4, the processing method of flow engineering link as claimed in claim 2 is characterized in that, this method also comprises: if the bandwidth of each bar data link is all identical among the described LAG, then the LAG of described TE Link protection bandwidth is half of available bandwidth of described TE Link.
5, the processing method of flow engineering link as claimed in claim 1 is characterized in that, this method also comprises: by the described TE Link information of having carried described LAG attribute information of Routing Protocol issue; Described Routing Protocol is ospf ospf protocol, Intermediate System-to-Intermediate System Intermediate System to Intermediate System or routing information protocol RIP.
6, a kind of network equipment is characterized in that, this equipment comprises:
The data link information acquisition module is used for obtaining the data link information of link aggregation group LAG;
LAG attribute information computing module is used for calculating the LAG attribute information according to the data link information that described data link information acquisition module obtains;
The traffic engineering TE link information release module is used for the LAG attribute information that described LAG attribute information computing module calculates is written into TE Link information, and the TE Link information that will carry described LAG attribute information is issued; Described TE Link information of having carried described LAG attribute information comprises: the protection type of TE Link is LAG protection, the available bandwidth of TE Link and the bandwidth of the maximum label switching path LSP that TE Link can carry.
7, the network equipment as claimed in claim 6 is characterized in that, the carrying of described TE Link information issuing module issue the TE Link information of LAG attribute information also comprise the LAG protection bandwidth of TE Link.
CN2008102162039A 2008-09-11 2008-09-11 Method and network device for processing traffic engineering link information Expired - Fee Related CN101674231B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102162039A CN101674231B (en) 2008-09-11 2008-09-11 Method and network device for processing traffic engineering link information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102162039A CN101674231B (en) 2008-09-11 2008-09-11 Method and network device for processing traffic engineering link information

Publications (2)

Publication Number Publication Date
CN101674231A true CN101674231A (en) 2010-03-17
CN101674231B CN101674231B (en) 2012-11-21

Family

ID=42021228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102162039A Expired - Fee Related CN101674231B (en) 2008-09-11 2008-09-11 Method and network device for processing traffic engineering link information

Country Status (1)

Country Link
CN (1) CN101674231B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107347034A (en) * 2016-05-05 2017-11-14 中兴通讯股份有限公司 Processing method and processing device, the system of link information
CN113067736A (en) * 2021-03-31 2021-07-02 烽火通信科技股份有限公司 Method and device for controlling plane link display

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212455B (en) * 2006-12-27 2013-01-30 华为技术有限公司 Link aggregation control method
CN101013995A (en) * 2007-02-12 2007-08-08 华为技术有限公司 Network node equipment, network system and tunnel establishment method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107347034A (en) * 2016-05-05 2017-11-14 中兴通讯股份有限公司 Processing method and processing device, the system of link information
CN107347034B (en) * 2016-05-05 2021-11-19 中兴通讯股份有限公司 Link information processing method, device and system
CN113067736A (en) * 2021-03-31 2021-07-02 烽火通信科技股份有限公司 Method and device for controlling plane link display

Also Published As

Publication number Publication date
CN101674231B (en) 2012-11-21

Similar Documents

Publication Publication Date Title
US9231849B2 (en) Apparatus and method for controlling virtual switches
CN103634224B (en) The method and system of data transmission in network
CN102347867B (en) Processing method and equipment for stacking splitting detection
CN106685903B (en) SDN-based data transmission method, SDN controller and SDN system
US9900090B1 (en) Inter-packet interval prediction learning algorithm
CN103051557A (en) Data stream processing method and system, controller and switching equipment
CN104378308A (en) Method and device for detecting message sending rate
KR20090062080A (en) Protection switching method for ethernet link aggregation sublayer
CN101729385A (en) Path calculation and establishing method, device and system
CN112653575B (en) Network configuration method, controller and flow guiding system
CN108476175B (en) Transfer SDN traffic engineering method and system using dual variables
CN101686142B (en) Network protection method, system and apparatus
CN104796347A (en) Load balancing method, device and system
CN102594671A (en) Speed-limiting method and device for users
CN104796336B (en) A kind of method and device for being configured, issuing flow table item
CN110535697B (en) Method for balancing block chain cross-domain broadcast network load
CN103825819A (en) Methods and devices for sending and receiving messages
CN101674231B (en) Method and network device for processing traffic engineering link information
CN109104369B (en) Path selection method and device
GB2532732B (en) Integrating a communication bridge into a data procesing system
CN101515892B (en) Method for realizing multi-resource processing in peer-to-peer network, equipment and system thereof
CN108111630A (en) A kind of Zookeeper group systems and attaching method thereof and system
CN102857436A (en) Flow transmission method and flow transmission equipment based on IRF (intelligent resilient framework) network
CN103595649A (en) Method and system for achieving load balance
CN101714940A (en) Path-calculating and establishing methods and path-calculating element, nodes and network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121121

Termination date: 20190911