CN101674231B - 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
CN101674231B
CN101674231B CN2008102162039A CN200810216203A CN101674231B CN 101674231 B CN101674231 B CN 101674231B CN 2008102162039 A CN2008102162039 A CN 2008102162039A CN 200810216203 A CN200810216203 A CN 200810216203A CN 101674231 B CN101674231 B CN 101674231B
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.)
Expired - Fee Related
Application number
CN2008102162039A
Other languages
Chinese (zh)
Other versions
CN101674231A (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 comprises an 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 device for processing the traffic engineering information. By utilizing the technical scheme, the invention effectively reflects the LAG attribute information by the traffic engineering link information and is 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 is that network manager provides the managerial ability to equipment; Control plane then is that mutual completion through signaling is to the control of user plane; 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 accomplish 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 through Routing Protocol by one or many data link being bundled.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, 1:1 protection, enhancement mode protection.
Link aggregation (LA, Link Aggregation) is a kind of technology in the Ethernet.Use 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, between each bar data link protection can be provided mutually simultaneously, when a data link fault; Can the business on the data link of this fault 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 that there is following problem at least in prior art: 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 through 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 said data link information;
Said LAG attribute information is written in the TE Link information;
The TE Link information of having carried said LAG attribute information is issued; Said TE Link information of having carried said 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 said data link information acquisition module obtains;
The TE Link information issuing module is used for the LAG attribute information that said LAG attribute information computing module calculates is written into TE Link information, and the TE Link information that will carry said LAG attribute information is issued; Said TE Link information of having carried said 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; Data link information according to obtaining calculates the LAG attribute information; And the TE Link information that will carry the LAG attribute information is issued in network; Realized effectively reflecting the LAG attribute information through TE Link information; Helping the network equipment and obtain link information accurately, is LAG protection, the available bandwidth of TE Link and the bandwidth of the maximum LSP that TE Link can carry comprising the protection type of TE Link, 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 that the network equipment of the embodiment of the invention two connects sketch map;
The sketch map that Fig. 3 breaks down for the data link between the network equipment of the embodiment of the invention three;
Another sketch map 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 accompanying drawing and specific embodiment technical scheme of the present invention is done further detailed explanation.
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, in LAG, increases or the minimizing data link, and perhaps the bandwidth of data link changes; Then trigger the step carry out S102 to S106 again, with realize after dynamically issue is upgraded carrying the TE Link information of LAG attribute information.
The TE Link information of in the present embodiment, having carried the LAG attribute information through 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 that the network equipment of the embodiment of the invention two connects sketch map.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 are 200M.
Need to prove at this: (1) obtains through 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 in LAG, carries out the data distribution can guarantee that packet realizes evenly distributing in LAG; So the protection of the LAG in present embodiment bandwidth is the half the of LAG available bandwidth, 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 data link that bundled.
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 through 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 in step S202, obtained LAG protection bandwidth, 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 through TE Link information, repeats no more here.
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 business need not passed through the TE Link that possesses the LAG protective capability, then can be got rid of this TE Link according to the protection of the LAG in TE Link information attribute-bit 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 through TE Link information.Particularly, in embodiments of the present invention, from the carrying of the network equipment issue TE Link information of LAG attribute information can know that 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 meet path computing, the path of practical business demand.
Embodiment three
Sketch map as shown in Figure 3, that Fig. 3 breaks down for the data link between the network equipment of the embodiment of the invention three.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 are 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 data link that bundled.
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 through TE Link information, repeats no more here.
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.
Another sketch map as shown in Figure 4, that Fig. 4 breaks down for the data link between the network equipment of the embodiment of the invention three.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 the 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 are 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.
Know according to aforementioned,, can guarantee that packet realizes evenly distribution in LAG, so the LAG of TE Link protection bandwidth is half of available bandwidth of TE Link owing in LAG, carry out the algorithm of data distributions for many situation that the data link bandwidth is identical among the LAG; For many situation that the data link bandwidth is inequality among the LAG; Owing to can not guaranteeing packet in some cases, the algorithm that in LAG, carries out the data distribution in LAG, realizes evenly distribution; So when confirming the LAG protection bandwidth of TE Link; No longer adopt the half the mode of TE Link available bandwidth to confirm, but confirm 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 through TE Link information; Help the network equipment and obtain link information accurately, set up or provide maintenance service so that meet path computing, the path of practical 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 here.
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 meet path computing, the path of practical business demand.
Description through above execution mode; 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 through hardware.Based on such understanding; All or part of can the coming out that the technical scheme of the embodiment of the invention contributes to background technology with the embodied of software product; This computer software product can be stored in the storage medium, like ROM/RAM, magnetic disc, CD etc., comprises 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 is merely the embodiment of technical scheme of the present invention; But protection scope of the present invention is not limited thereto; Any technical staff who is familiar with the present technique field is 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. the processing method of a 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 said data link information;
Said LAG attribute information is written in the traffic engineering TE link information;
The TE Link information of having carried said LAG attribute information is issued; Said TE Link information of having carried said 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, said TE Link information of having carried said LAG attribute information also comprises the LAG protection bandwidth of TE Link.
3. according to claim 1 or claim 2 the processing method of flow engineering link is characterized in that this method also comprises: when the data link information among the said LAG changes, trigger regaining the data link information among the said 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 said LAG, then the LAG of said TE Link protection bandwidth is available bandwidth half the of said TE Link.
5. the processing method of flow engineering link as claimed in claim 1 is characterized in that, this method also comprises: through the said TE Link information of having carried said LAG attribute information of Routing Protocol issue; Said Routing Protocol is ospf ospf protocol, Intermediate System-to-Intermediate System Intermediate System to Intermediate System or routing information protocol RIP.
6. a 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 said data link information acquisition module obtains;
The traffic engineering TE link information release module is used for the LAG attribute information that said LAG attribute information computing module calculates is written into TE Link information, and the TE Link information that will carry said LAG attribute information is issued; Said TE Link information of having carried said 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 said 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 CN101674231A (en) 2010-03-17
CN101674231B true 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)

Families Citing this family (2)

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

Citations (2)

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

Patent Citations (2)

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

Also Published As

Publication number Publication date
CN101674231A (en) 2010-03-17

Similar Documents

Publication Publication Date Title
US9231849B2 (en) Apparatus and method for controlling virtual switches
CN106685903B (en) SDN-based data transmission method, SDN controller and SDN system
CN109981457A (en) A kind of method of Message processing, network node and system
CN102347867B (en) Processing method and equipment for stacking splitting detection
CN104995881A (en) Replacing an existing network communications path
CN101729385B (en) Path calculation and establishing method, device and system
CN103634224B (en) The method and system of data transmission in network
CN112653575B (en) Network configuration method, controller and flow guiding system
CN115065637B (en) Method and device for transmitting computing power resource information and electronic equipment
CN103688510A (en) Method and device for inter-network communication
CN104796336B (en) A kind of method and device for being configured, issuing flow table item
CN107294856B (en) Method, equipment and system for determining topology change
CN112511430A (en) Information interaction method, information interaction device, tunnel establishment method, tunnel establishment device, communication node and storage medium
CN103825819A (en) Methods and devices for sending and receiving messages
CN101674231B (en) Method and network device for processing traffic engineering link information
CN105763448B (en) A kind of message transmitting method and device
CN108494597B (en) Intelligent optical network simulation system and method
CN104618231A (en) Deep packet inspection method, device and system for cloud terminal Wi-fi system
CN109104369B (en) Path selection method and device
CN101714940B (en) Path-calculating and establishing methods and path-calculating element, nodes and network
CN103595649A (en) Method and system for achieving load balance
CN101924670A (en) Method and equipment for detecting label switched path (LSP)
CN104394075A (en) Message transmission method and equipment
CN101102231B (en) An automatic discovery method and device of PPP link routing device
CN104954249A (en) Packet forwarding method, system and device

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

Granted publication date: 20121121

Termination date: 20190911

CF01 Termination of patent right due to non-payment of annual fee