CN1705311A - Method for determining metric value of link from intermediate system to intermediate system route protocol - Google Patents
Method for determining metric value of link from intermediate system to intermediate system route protocol Download PDFInfo
- Publication number
- CN1705311A CN1705311A CN 200410042832 CN200410042832A CN1705311A CN 1705311 A CN1705311 A CN 1705311A CN 200410042832 CN200410042832 CN 200410042832 CN 200410042832 A CN200410042832 A CN 200410042832A CN 1705311 A CN1705311 A CN 1705311A
- Authority
- CN
- China
- Prior art keywords
- link
- value
- bandwidth value
- scope
- link bandwidth
- 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
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A method for determining the link metric value from intermediate system to intermediate system route protocol, which contains 1, setting link band width value range according to adopted physical type and corresponded link band width value, setting link metric value for each link band width range according to the inversely proportional relation between link band width value and link metric value, 2, determining interface physical link type and band width value and range, then obtaining link metric value, said invention is adaptive to the automatic adjustment of interface metric value of IS-IS wide metric mode in limited range.
Description
Technical field
The invention belongs to the network transmission technology field, relate in particular to a kind of method of determining link metric (Cost) in Intermediate System-to-Intermediate System route (IS-IS) agreement automatically.
Background technology
Intermediate System to Intermediate System is one of most widely used IGRP in network at present, and this agreement has used shortest-path first algorithm (SPF) to come the calculating optimum route.Move IS-IS on router, need enable in relevant router interface configuration, each interface that has enabled IS-IS has a link metric value.Intermediate System to Intermediate System has two kinds of measurement patterns, be respectively narrow measurement pattern and width extent pattern, IS-IS can only work under the wherein a kind of pattern in these two kinds of measurement patterns, under narrow measurement pattern, the metric of IS-IS on interface the scope that can set be 1~63.
No matter IS-IS is operated under above-described which kind of measurement pattern, and though the way of current popular be router interface physical link why type, all the link metric value default settings with interface is 10.Though this kind set the setting that the method for link metric value has realized the link metric value,, this kind establishing method is not considered the bandwidth difference opposite sex of different physical type links.In such inside network management protocol (IGP) agreement of IS-IS, the bandwidth of link metric value and link is inversely proportional to, and that is to say, the physical link bandwidth is big more, and the link metric value is more little.In the prior art, do not consider interface physical link bandwidth difference and be 10 obviously can not satisfy the inverse relation between this kind link metric value and the link bandwidth with the link metric value default settings of interface.In actual applications, in order to satisfy the inverse relation between link metric value and the link bandwidth, in initial link metric value default settings with interface is after 10, once more every link that has enabled IS-IS is carried out the manual setting of metric, to satisfy the needs of respective link bandwidth.This kind manual setting has increased the complexity of link metric value layoutprocedure, and especially under the very big situation of network size, the workload of this kind manual setting is very big, thereby, cause the setting of link metric very loaded down with trivial details.
Summary of the invention
In view of this, main purpose of the present invention is to provide the method for link metric in a kind of definite Intermediate System to Intermediate System, and this method can meet the link metric value of these interface link bandwidth value needs automatically according to the physical link type of interface for this interface setting.
For achieving the above object, the invention provides the method for link metric in a kind of definite Intermediate System to Intermediate System, this method may further comprise the steps:
Steps A: according to each physical link type that adopts in the networking and each physical link type link corresponding bandwidth value, set link bandwidth value scope, and in narrow metric scope, according to the relation that link bandwidth value and link metric value are inversely proportional to, be that each link bandwidth value scope is set the link metric value;
Step B: determine the physical link type and the link bandwidth value of interface, determine the link bandwidth value scope that this link bandwidth value belongs to, then, determine to obtain the link metric value according to determined link bandwidth value scope.
Wherein, the link metric value of the described setting link bandwidth of steps A value scope and link bandwidth value scope comprises:
Set link bandwidth value scope 1: link bandwidth value<100M, the link metric value of this link bandwidth value scope is the first link metric value; Wherein, 100M is the link bandwidth value of 100 m ethernet;
Set link bandwidth value scope 2:100M<link bandwidth value<155M, the link metric value of this link bandwidth value scope is the second link metric value; Wherein, 155M is the link bandwidth value of ATM155;
Set link bandwidth value scope 3:155M<link bandwidth value<622M, the link metric value of this link bandwidth value scope is the 3rd link metric value; Wherein, 622M is the link bandwidth value of pos622;
Set link bandwidth value scope 4:622M<link bandwidth value<2.5G, the link metric value of this link bandwidth value scope is the 4th link metric value; Wherein, 2.5G is the link bandwidth value of pos2.5G;
Set link bandwidth value scope 5: link bandwidth value>2.5G, the link metric value of this link bandwidth value scope is the 5th link metric value;
Wherein, begin from the above-mentioned first link metric value, to the end of the 5th link metric value, the pass between the link metric value is to reduce successively.
Wherein, the first link metric value is 50.
Wherein, the second link metric value is 40.
Wherein, the 3rd link metric value is 30.
Wherein, the 4th link metric value is 20.
Wherein, the 5th link metric value is 10.
Wherein, setting link bandwidth value scope 1~link bandwidth value scope 5 further comprises the higher limit in each link bandwidth value scope and/or lower limit is set in separately the link bandwidth value scope.
Wherein, described physical link type comprises at least:
Serial ports, 100 m ethernet, ATM155, pos622, pos2.5G.
As seen, method provided by the present invention is simple and practical, especially is fit to the automatic adjustment of interface metric in limited range under the IS-IS width extent pattern.After adopting this programme, do not need the manual loaded down with trivial details interface tolerance adjustment work of carrying out, automatic adjusted metric can reflection network strictly according to the facts in the bandwidth difference of link of different physical type, thereby calculate the prerequisite that provides important and guarantee for IS-IS carries out route.
Description of drawings
Fig. 1 is for realizing flow chart of the present invention.
Embodiment
The present invention is the method for link metric in a kind of definite Intermediate System to Intermediate System, in the method, after determining the link physical type of an interface on the router, determine the link metric value of this interface according to the link bandwidth value of this interface and the maximum supported bandwidth of router.
Describe the present invention below in conjunction with accompanying drawing.
Referring to Fig. 1, realize that the present invention needs following steps:
Step 100: according to the physical link type of interface in the router, determine the link bandwidth value scope under the narrow measurement pattern respectively, and be inversely proportional to this with relation, for each link bandwidth value scope is set the link corresponding metric respectively according to link metric value and link bandwidth value; In embodiments of the present invention, comprise according to the typical physical Linktype that is widely used at present in the networking: peering protocol data (pos in transmission end on serial ports, 100 m ethernet, ATM(Asynchronous Transfer Mode) 155, the phototiming transmission mode, PPP overSDH) 622, pos2.5G etc., be set as follows link bandwidth value scope and link corresponding metric:
Scope 1: link bandwidth value<=100M, the link metric value is 50; Wherein, 100M is the link bandwidth value of 100 m ethernet;
Scope 2:100M<link bandwidth value<=155M, the link metric value is 40; Wherein, 155M is the link bandwidth value of ATM155;
Scope 3:155M<link bandwidth value<=622M, the link metric value is 30; Wherein, 622M is the link bandwidth value of pos622;
Scope 4:622M<link bandwidth value<=2.5G, the link metric value is 20; Wherein, 2.5G is the link bandwidth value of pos2.5G;
Scope 5: link bandwidth value>2.5G, the link metric value is 10;
In the present embodiment, the link bandwidth value scope that sets as mentioned above, wherein, each scope also can not comprise its higher limit and/or lower limit of scope separately, perhaps, each scope also can comprise its higher limit and/or lower limit of scope separately as required, does not all influence realization of the present invention;
In other embodiment of the present invention, also can be according to other the link bandwidth value of physical link type, other link bandwidth value scope is set, and be that corresponding link bandwidth value scope is set the corresponding link metric, the link metric value that sets is as long as satisfy and relation that the link bandwidth value is inversely proportional to and in 1~63 this scope, and the concrete numerical values recited of the link metric value that sets for each link bandwidth scope does not influence realization of the present invention;
Step 101: determine the physical link type of interface in the router, and determine to obtain the link bandwidth value of this interface according to determined physical link type;
Step 102: according to the link bandwidth value scope that sets in the step 100, the link bandwidth value scope that determined link bandwidth value belongs in the determining step 101 obtains the corresponding link metric according to this link bandwidth value scope of determining.
Below in conjunction with an instantiation specific implementation of the present invention is introduced:
For example, in this example, adopt 5 link bandwidth value scopes of above-mentioned setting, the physical link type of interface is a 100 m ethernet in the router, the physical link type of then at first having determined this interface is after the 100 m ethernet, and the link bandwidth value of determining to obtain this interface is 100M, then, determine that this link bandwidth value 100M belongs to above-mentioned scope 1, the size that the link corresponding metric that sets according to this scope 1 determines to obtain the link metric value is 50; In other example, also can adopting as above for serial ports, 100 m ethernet, ATM155, pos622, pos2.5G, method realizes calculating acquisition link metric value; And, in other example, also can adopt other link bandwidth value scope, and the size of each link bandwidth value scope link corresponding metric also can be different with this example, all do not influence realization of the present invention.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (9)
1, the method for link metric in a kind of definite Intermediate System to Intermediate System is characterized in that this method may further comprise the steps:
Steps A: according to each physical link type that adopts in the networking and each physical link type link corresponding bandwidth value, set link bandwidth value scope, and in narrow metric scope, according to the relation that link bandwidth value and link metric value are inversely proportional to, be that each link bandwidth value scope is set the link metric value;
Step B: determine the physical link type and the link bandwidth value of interface, determine the link bandwidth value scope that this link bandwidth value belongs to, then, determine to obtain the link metric value according to determined link bandwidth value scope.
2, method according to claim 1 is characterized in that, the link metric value of the described setting link bandwidth of steps A value scope and link bandwidth value scope comprises:
Set link bandwidth value scope 1: link bandwidth value<100M, the link metric value of this link bandwidth value scope is the first link metric value; Wherein, 100M is the link bandwidth value of 100 m ethernet;
Set link bandwidth value scope 2:100M<link bandwidth value<155M, the link metric value of this link bandwidth value scope is the second link metric value; Wherein, 155M is the link bandwidth value of ATM155;
Set link bandwidth value scope 3:155M<link bandwidth value<622M, the link metric value of this link bandwidth value scope is the 3rd link metric value; Wherein, 622M is the link bandwidth value of pos622;
Set link bandwidth value scope 4:622M<link bandwidth value<2.5G, the link metric value of this link bandwidth value scope is the 4th link metric value; Wherein, 2.5G is the link bandwidth value of pos2.5G;
Set link bandwidth value scope 5: link bandwidth value>2.5G, the link metric value of this link bandwidth value scope is the 5th link metric value;
Wherein, begin from the above-mentioned first link metric value, to the end of the 5th link metric value, the pass between the link metric value is to reduce successively.
3, method according to claim 2 is characterized in that, the first link metric value is 50.
4, method according to claim 2 is characterized in that, the second link metric value is 40.
5, method according to claim 2 is characterized in that, the 3rd link metric value is 30.
6, method according to claim 2 is characterized in that, the 4th link metric value is 20.
7, method according to claim 2 is characterized in that, the 5th link metric value is 10.
8, method according to claim 2 is characterized in that, sets link bandwidth value scope 1~link bandwidth value scope 5 and further comprises the higher limit in each link bandwidth value scope and/or lower limit are set in separately the link bandwidth value scope.
9, method according to claim 1 is characterized in that, described physical link type comprises at least:
Serial ports, 100 m ethernet, ATM155, pos622, pos2.5G.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100428326A CN100493098C (en) | 2004-05-26 | 2004-05-26 | Method for determining metric value of link from intermediate system to intermediate system route protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100428326A CN100493098C (en) | 2004-05-26 | 2004-05-26 | Method for determining metric value of link from intermediate system to intermediate system route protocol |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1705311A true CN1705311A (en) | 2005-12-07 |
CN100493098C CN100493098C (en) | 2009-05-27 |
Family
ID=35577800
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100428326A Expired - Fee Related CN100493098C (en) | 2004-05-26 | 2004-05-26 | Method for determining metric value of link from intermediate system to intermediate system route protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100493098C (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101771601B (en) * | 2008-12-31 | 2012-04-25 | 华为技术有限公司 | Intermediate system-intermediate system protocol message processing method, node and system |
CN101677286B (en) * | 2008-09-19 | 2012-09-05 | 中国电信股份有限公司 | Optimization method of carrier network |
CN101753413B (en) * | 2008-12-02 | 2013-06-26 | 华为技术有限公司 | Identification method, recognition method and equipment for link types |
CN109672621A (en) * | 2019-01-23 | 2019-04-23 | 中国联合网络通信集团有限公司 | A kind of method and apparatus selecting transmission path for vpn service |
-
2004
- 2004-05-26 CN CNB2004100428326A patent/CN100493098C/en not_active Expired - Fee Related
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101677286B (en) * | 2008-09-19 | 2012-09-05 | 中国电信股份有限公司 | Optimization method of carrier network |
CN101753413B (en) * | 2008-12-02 | 2013-06-26 | 华为技术有限公司 | Identification method, recognition method and equipment for link types |
CN101771601B (en) * | 2008-12-31 | 2012-04-25 | 华为技术有限公司 | Intermediate system-intermediate system protocol message processing method, node and system |
CN109672621A (en) * | 2019-01-23 | 2019-04-23 | 中国联合网络通信集团有限公司 | A kind of method and apparatus selecting transmission path for vpn service |
CN109672621B (en) * | 2019-01-23 | 2021-04-30 | 中国联合网络通信集团有限公司 | Method and equipment for selecting transmission path for VPN service |
Also Published As
Publication number | Publication date |
---|---|
CN100493098C (en) | 2009-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1300490A (en) | Apparatus and method for monitoring data flow at node on a network | |
US20040114518A1 (en) | Adaptive classification of network traffic | |
CN101039277A (en) | Load sharing method and its equipment | |
US20090185491A1 (en) | Shortest-path routing optimized for network utilization | |
WO2005029751A3 (en) | Systems and methods to support quality of service in communications networks | |
CN1710868A (en) | Cross-over end-to-end connection setting method for main apparatus protection in automatic exchange optical network | |
CN1794670A (en) | Test method for throughput capacity of IP equipment | |
CN1575581A (en) | Method and device for mapping network headers onto mpls headers in bearer architectures | |
CN1705311A (en) | Method for determining metric value of link from intermediate system to intermediate system route protocol | |
CN112350965A (en) | Adaptive least square channel estimation method and receiver in wireless optical communication system | |
JP5408811B2 (en) | Technology to regulate link traffic | |
US7623452B2 (en) | User configurable functions for adjusting service differentiation meters | |
CN100336328C (en) | Inspection and holding method for line to be connected to preset physical bit rate | |
CN107864017A (en) | A kind of method for correcting phase and device | |
CN1588881A (en) | Method and device for controlling close ring feedback in IP network service quality management system | |
CN1705312A (en) | Method for determining metric value of link from intermediate system to intermediate system route protocol | |
CN1870586A (en) | Optimization route selection method used for bearing network control server | |
CN1859339A (en) | Communication system and method for realizing IP cross-domain inter communication by edge media gateway | |
CN1284336C (en) | Rings based high capacity expandable packet switching network arrangement | |
KR101471576B1 (en) | Method and device for decoding convolution-encoded signals | |
CN1284337C (en) | A network load balancing method in multipoint communication | |
CN1292543C (en) | Method and apparatus for start-up procedure for digital and analog modems utilizing PCM | |
CN102035656A (en) | Method for realizing multicast system of overlay network based on agency | |
Varughese et al. | Joint optimization of DAC and ADC based on frequency dependent ENoB analysis for high speed optical systems | |
KR100513340B1 (en) | An adaptive bit rate allocation method using the estimation signal to noise ratio |
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: 20090527 Termination date: 20180526 |
|
CF01 | Termination of patent right due to non-payment of annual fee |