CN1852239A - Method for actualizing route strategy through boundary gateway - Google Patents

Method for actualizing route strategy through boundary gateway Download PDF

Info

Publication number
CN1852239A
CN1852239A CNA2005101127782A CN200510112778A CN1852239A CN 1852239 A CN1852239 A CN 1852239A CN A2005101127782 A CNA2005101127782 A CN A2005101127782A CN 200510112778 A CN200510112778 A CN 200510112778A CN 1852239 A CN1852239 A CN 1852239A
Authority
CN
China
Prior art keywords
routing iinformation
value
attribute
message
service strategy
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
CNA2005101127782A
Other languages
Chinese (zh)
Other versions
CN100421422C (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 CNB2005101127782A priority Critical patent/CN100421422C/en
Publication of CN1852239A publication Critical patent/CN1852239A/en
Application granted granted Critical
Publication of CN100421422C publication Critical patent/CN100421422C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

When sending route information is needed, router of issuing route information carries route information together with attribute value of class in use for classifying route information, and value of mapping service strategy, sending the route information to BGP opposite entity in peer-to-peer of self. Based on the said values carried in route information directly, BGP opposite entity carried out relevant process for IP message accorded with the route information carried. The invention simplifies operation of detailed establishment on router so as to raise work efficiency as well as avoids unreasonable process for IP message caused by error on the said operation of detailed establishment on router.

Description

A kind of method of implementing routing policy by Border Gateway Protocol
Technical field
The present invention relates to Border Gateway Protocol, refer to a kind of method of implementing routing policy by Border Gateway Protocol (BGP) especially.
Background technology
Border Gateway Protocol (BGP) is an ietf standard of definition in RFC 1163,1267,1654,1655 and 1771.BGP is that autonomous system (AS) provides an acyclic routed environment, and different AS adopt different system numbers to distinguish.Autonomous system is commonly defined as under the monotechnics management, adopts with a kind of Interior Gateway Protocol and unified metric and transmit packet in AS, and adopt a kind of Exterior Gateway Protocol packet to be forwarded to the set of router of other AS.Each AS can use a plurality of Interior Gateway Protocols (IGP) in AS inner exchanging routing table potentially, and uses an Exterior Gateway Protocol (EGP) that message is sent to outside the AS.Realize that BGP has two types BGP to meet (BGPSession) mode, promptly external BGP is met (EBGP Session) and internal bgp meeting (IBGPSession).
Fig. 1 is that prior art EBGP meets and IBGP meets the topological structure schematic diagram, and EBGP Session sets up between two unique AS networks; And that set up between the router in same AS is IBGP Session.Among Fig. 1, router RTA among the AS100 and the RTB among the AS200 set up EBGPSession; RTD and the RTC among the AS200 among the AS300 set up EBGP Session; RTB among the AS200 and RTC set up IBGP Session.For each router, have only by the definition neighbours, bgp process just can know which bgp router will with the local router equity, will be called the bgp peer (BGP Peer) of local router with the router of local router equity.In case defined neighbours, bgp process will set up with defined neighbours between BGP equity be connected, after the TCP equity of setting up a success connects, could between the bgp router of setting up good connection, send routing iinformation, and implement routing policy then by BGP.
Fig. 2 is the flow chart of prior art by BGP enforcement routing policy, and from Fig. 2 as seen, art methods may further comprise the steps:
Step 200: in the router of issue routing iinformation, set up the Access Control List (ACL) (access list) and the routing diagram (route-map) of coupling routing iinformation, and group (community) property value of the corresponding routing iinformation of different access list is set in route-map.
The community property value is used for route information is classified, and the routing iinformation of promptly corresponding identical community property value belongs to same class routing iinformation.The Community attribute takies promptly 32 of 4 byte lengths in bgp routing information, the form of community attribute is AA:NN at present, wherein AA generally represents the system number of AS, NN generally adopts the value of unified planning, such as network address etc., A and N respectively account for a byte, and specific definition can no longer repeat here referring to RFC1998.
Different access list represents to allow or refuse to arrive all routes of specified network.
In this step, the corresponding relation of having set up routing iinformation and different access list in RTA is an Access Control List (ACL), is provided with the corresponding relation of different access list and community property value simultaneously in the route-map that sets up.
Step 201: in the bgp peer of the router of issuing routing iinformation, set up group attribute tabulation (community list) and the route-map of the different community property values of coupling, and the service strategy of different community list correspondences is set in route-map.
In service quality (QoS) model, the value of the ToS byte of IP heading is used for representing the grade of service that this IP message is enjoyed in network transmission process.Value has two kinds of expression waies: the IP precedence (IP Preference) that meets RFC791; Differentiated Services code point (DSCP) value that perhaps meets RFC2474, RFC2475.
In RFC791, kept length in the IP heading and be 8 ToS word territory, wherein high 3 in the ToS word territory are used for identifying IP precedence, and the value of IP precedence is that IP Perference is 0,1,2,3,4,5,6 or 7, specific definition can no longer repeat here referring to RFC791.
In RFC2474, RFC2475, use high 6 of Differentiated Services (DS) field that is used to store the DSCP value in the IP heading to identify DSCP, wherein the DS field has substituted IP ToS byte in the Diffsev model, and details are seen RFC2474, RFC2475.At present to the service strategy of IP message, DSCP has defined 3 types promptly when DSCP value during for EF, and expression is to IP message acceleration forwarding; When the DSCP value was AF, expression was guaranteed to transmit to the IP message; When the DSCP value was BF, expression was transmitted as possible to the IP message.Wherein when the DSCP value is AF, be divided into 1,2,3 and 4 four rank again, the big more priority of numerical value is high more, and each AF rank is divided into 1,2,3 three group, each group is represented the priority that the IP message is dropped in the same levels, and the probability that the big more expression of numerical value IP message is dropped is preferential more.Specific definition about DSCP can no longer repeat here referring to RFC2474, RFC2475.
Here the service strategy of mentioning can comprise IP Perference, DSCP value etc.
In this step, having set up the community property value in RTB is the group attribute tabulation with the corresponding relation of different community list, is provided with the routing iinformation of the different community list of coupling and the corresponding relation of service strategy simultaneously in the route-map that sets up.The purpose of setting up route-map is exactly IP Perference or the DCSP value that value for ToS word territory in the IP heading that will meet a certain class routing iinformation changes to corresponding such routing iinformation among the route-map, to this IP message take with change after IP Perference or the corresponding processing of DCSP value.
Step 202: when needs send routing iinformation, the router of issue routing iinformation is provided with the community property value in routing iinformation, and this routing iinformation is distributed to the bgp peer of this router, bgp peer obtains service strategy according to the route-map and the community list of the community property value that receives and self setting, and the IP message that meets this routing iinformation is carried out respective handling.
The said respective handling of this step comprises IP precedence/DSCP value that the IP message meet described routing iinformation is set, next jumping that the IP message that meets described routing iinformation is set, the IP message that meets described routing iinformation is carried out speed limit or the IP message that meets described routing iinformation added up etc.
Suppose that below in conjunction with Fig. 1 RTB will transmit routing iinformation: 10.1.1.0 network, 20.1.1.0 network, 30.1.1.0 network be to RTC, and the DSCP value in ToS word territory of IP heading that arrives the route of above-mentioned three networks need be made as EF.
According to method shown in Figure 2, on the RTA of issue routing iinformation, need to finish following steps:
1) can use rtrv-map-network command that above-mentioned three routing iinformations are published among the BGP, as follows:
network?10.1.1.0?mask?255.255.255.0;
network?20.1.1.0?mask?255.255.255.0;
network?30.1.1.0?mask?255.255.255.0;
2) can use the access-list order in RTA, to set up the access-list of the above-mentioned routing iinformation of coupling, as follows:
access-list?1?permit?ip?10.1.1.0?0.0.0.255;
access-list?2?permit?ip?20.1.1.0?0.0.0.255;
access-list?3?permit?ip?30.1.1.0?0.0.0.255;
Wherein, access-list 1 expression coupling arrives all routes of 10.1.1.0 network; Access-list 2 expression couplings arrive all routes of 20.1.1.0 network; Access-list 3 expression couplings arrive all routes of 30.1.1.0 network.
3) can use the route-map order in RTA, to set up route-map, as follows:
route-map?name?permit?10
match?ip?access-list?1?2?3
set?community?100∶1
If the network address in the routing iinformation and access-list 1,2,3 couplings think that then the community value of routing iinformation of this coupling is 100: 1.
And on the peer-to-peer RTB of RTA, need to finish following steps:
1) can use community-list order to set up coupling community property value in RTB is 100: 1 community attribute list, as follows: ip community-list 1 permit 100: 1, expression is if the community property value that carries in the routing iinformation that receives of RTB is 100: 1 couplings with the community property value among the community-list1, and continuation is handled meeting from the IP message of three routing iinformations of RTA according to the route-map among the RTB.
2) can use the route-map order in RTB, to set up route-map, as follows:
route-map?name?permit?10
match?ip?community-list?1
set?DSCP?EF
This route-map order expression, to meeting the IP message from three routing iinformations of RTA, it is EF that the value in the ToS word territory of this IP heading is set to the DCSP value.
Implement the method for routing policy by BGP from prior art, only carry the community property value in routing iinformation, relative IP precedence of community attribute or DSCP value are independently to be that ToS word territory in routing iinformation and the IP heading does not have correlation.Like this, must on each router, set up route-map in advance, could carry out respective handling the IP message that meets different routing iinformations.
The existing disadvantage of implementing the method for routing policy by BGP is: need carry out the loaded down with trivial details work of setting up on router, reduce operating efficiency; Under the many situations of the complicated routing iinformation of network, the work of setting up makes mistakes easily, thereby causes the respective handling of IP message unreasonable.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method of implementing routing policy by Border Gateway Protocol (BGP), simplified and on router, carried out the loaded down with trivial details work of setting up, improved operating efficiency, avoided simultaneously owing to setting up the corresponding unreasonable processing that miswork causes to the IP message.
For achieving the above object, technical scheme of the present invention specifically is achieved in that
A kind of method by Border Gateway Protocol (BGP) enforcement routing policy, this method comprises:
When needs send routing iinformation, the router of issue routing iinformation carries in routing iinformation and is used for the routing iinformation categorical attribute value that route information is classified and the service strategy mapping value of IP message, and this routing iinformation is distributed to self bgp peer, described bgp peer carries out respective handling according to described routing iinformation categorical attribute value and service policy mappings value to the IP message that meets described routing iinformation.
The described method that the IP message that meets described routing iinformation is carried out respective handling is:
Described bgp peer carries the service strategy mapping value of carrying in the corresponding routing iinformation with the ToS word territory in the heading of described IP message.
Described routing iinformation categorical attribute value and service policy mappings value are carried in the group attribute or extended community attribute of described routing iinformation.
When described routing iinformation categorical attribute value and service policy mappings value were carried in the extended community attribute of described routing iinformation, described extended community attribute comprised: type field, be used to carry the service strategy mapping territory and the route aggregation class identification field of service strategy mapping value;
Described type field is used for reserving internet address and assigns the log-on message of the IANA of mechanism, determines that described extended community attribute is used to the value form of storing the management subdomain of routing iinformation categorical attribute value and assigning subdomain, the inferior high byte of determining described extended community attribute is the service strategy mapping territory of stores service policy mappings value;
Described route aggregation class identification field comprises the management subdomain and assigns subdomain.
Described type field also is used for determining the autonomous system AS scope of described group attribute transmission.
Described service strategy mapping value is: IP precedence IP Perference or differentiated Services code point DSCP value.
Described service strategy mapping territory comprises the Differentiated Services DS field that is used for storing IP Perference or DSCP value, and reserves the CU field.
When described routing iinformation categorical attribute value and service policy mappings value were carried at the group attribute of described routing iinformation, described group attribute comprised: type field, be used to carry the service strategy mapping territory and the route aggregation class identification field of service strategy mapping value.
The described method that the IP message that meets described routing iinformation is carried out respective handling also comprises: according to the routing iinformation categorical attribute value of carrying in the routing iinformation, the data flow that meets the inhomogeneity routing iinformation is carried out speed limit or traffic statistics are handled.
As seen from the above technical solution, the present invention is the newly-increased service strategy mapping territory that is used to carry service strategy in the ExtCommunity attribute, when needs send routing iinformation, the router of issue routing iinformation is carried at the ExtCommunity attribute in the routing iinformation, the ExtCommunity attribute has comprised and has been used for the routing iinformation categorical attribute value that route information is classified and the service strategy mapping value of IP message, and this routing iinformation sent to self bgp peer, described bgp peer then directly according to the service strategy mapping value of routing iinformation categorical attribute value in the ExtCommunity attribute that carries in the routing iinformation and IP message, carries out respective handling to the IP message that meets this routing iinformation.
The ExtCommunity attribute adopts route-distinguisher (RD) form, the ExtCommunity attribute accounts for eight bytes altogether, the highest byte that the ExtCommunity attribute is set is a type field, the effect that type field comprises is as follows: reserve internet address and assign (the IANA of mechanism, Internet Assigned NumbersAuthority) log-on message, determine that time high byte is the service strategy mapping territory of stores service strategy, determine the value form that is used to store the management subdomain of routing iinformation categorical attribute value in back six bytes of ExtCommunity attribute and assigns subdomain, can also determine AS scope that this group attribute transmits etc.; The inferior high byte that the ExtCommunity attribute is set is the service strategy mapping territory that is used for stores service policy mappings value; Back six bytes that the ExtCommunity attribute is set are route aggregation class identification field, and wherein route aggregation class identification field comprises the management subdomain and assigns subdomain two parts.
The inventive method is by resetting the ExtCommunity attribute, the newly-increased service strategy mapping territory that is used to carry the service strategy mapping value, and carry routing iinformation categorical attribute value in the ExtCommunity attribute that in the routing iinformation of needs issue, carries and serve the policy mappings value, the service strategy mapping value that makes router directly adopt to carry in the routing iinformation is carried out respective handling as taking corresponding service strategy to the IP message that meets different routing iinformations, simplified and on router, carried out the loaded down with trivial details work of setting up, improved operating efficiency, avoided simultaneously owing to setting up the corresponding unreasonable processing that miswork causes to the IP message.Simultaneously, also can carry out processing such as speed limit or traffic statistics to the data flow that meets the inhomogeneity routing iinformation according to the property value that is used for the routing iinformation classification that carries in the routing iinformation.
In addition, whether carrying the ExtCommunity attribute in the routing iinformation is optionally, when not carrying the ExtCommunity attribute in the routing iinformation, adopts existing method to implement routing policy.
In addition, the present invention can also be by the newly-increased service strategy mapping territory that is used to carry service strategy in the community attribute, and in the routing iinformation of issue, carry the community attribute, so just can realize the object of the invention by the service strategy mapping value that in the community attribute, comprises routing iinformation categorical attribute value and IP message.
Description of drawings
Fig. 1 is that prior art EBGP meets and IBGP meets the topological structure schematic diagram;
Fig. 2 is prior art is implemented routing policy by BGP a flow chart;
Fig. 3 is the present invention implements routing policy by BGP a flow chart;
Fig. 4 is an ExtCommunity attribute format schematic diagram;
Fig. 5 is the present invention to one of set-up mode of type field in the ExtCommunity attribute.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, below with reference to the accompanying drawing preferred embodiment that develops simultaneously, the present invention is described in more detail.
The core concept of the inventive method is: when needs send routing iinformation, the router of issue routing iinformation carries in routing iinformation and is used for the routing iinformation categorical attribute value that route information is classified and the service strategy mapping value of IP message, and this routing iinformation sent to self bgp peer, described bgp peer then directly according to routing iinformation categorical attribute value of carrying in the routing iinformation and service policy mappings value, carries out respective handling to the IP message that meets this routing iinformation.Wherein, routing iinformation categorical attribute value and service policy mappings value can be carried at group attribute or the extended community attribute that the service strategy mapping territory of service strategy is carried in newly-increased being used for.Specify the inventive method below.
Fig. 3 is the flow chart of the present invention by BGP enforcement routing policy, supposes that use ExtCommunity attribute carries routing iinformation categorical attribute value and service strategy should be provided with, and from Fig. 3 as seen, the inventive method may further comprise the steps:
Step 300: the newly-increased service strategy mapping territory that is used to carry service strategy in the ExtCommunity attribute.
Fig. 4 is the schematic diagram that the ExtCommunity attribute adopts route-distinguisher (RD) form, account for eight bytes altogether from the visible ExtCommunity attribute of Fig. 4, in the prior art, the highest byte of ExtCommunity attribute and time high byte are set to type field, the effect of existing type field is as follows: reserve the log-on message of IANA, determine the value form that is used to store the management subdomain of the routing iinformation categorical attribute value that route information is classified in back six bytes of ExtCommunity attribute and assigns subdomain; Back six bytes of ExtCommunity attribute are set to route aggregation class identification field, and wherein route aggregation class identification field comprises the management subdomain and assigns subdomain two parts.Such as: when the type field value is hexadecimal value FF, management subdomain in the route aggregation class identification field is high two bytes of back six bytes of ExtCommunity attribute, appointment subdomain in the polymeric type identification field is back four bytes of back six bytes of ExtCommunity attribute, the form of back six bytes of this ExtCommunity attribute can be called 2: 4 forms; When the type field value is hexadecimal value FE, management subdomain in the route aggregation class identification field is high four bytes of back six bytes of ExtCommunity attribute, appointment subdomain in the polymeric type identification field is latter two byte of back six bytes of ExtCommunity attribute, the form of back six bytes of this ExtCommunity attribute can be called 4: 2 forms.
Among the present invention, the highest byte of ExtCommunity attribute is set to type field among Fig. 4, the effect of type field of the present invention is as follows: the log-on message of reserving IANA, determine the value form that is used to store the management subdomain of routing iinformation property value in back six bytes of ExtCommunity attribute and assigns subdomain, outside, type field of the present invention is used for also determining that the inferior high byte of ExtCommunity attribute is the service strategy mapping territory (referring to Fig. 5) of stores service policy mappings value; The inferior high byte of ExtCommunity attribute is set to be used for the service strategy mapping territory of stores service policy mappings value; Back six bytes of ExtCommunity attribute are set to route aggregation class identification field, and wherein route aggregation class identification field comprises the management subdomain and assigns subdomain two parts.
Wherein, the form of type field of the present invention as shown in Figure 5, Fig. 5 is the present invention to one of set-up mode of type field in the ExtCommunity attribute, from Fig. 5 as seen, the 0th of type field is used for the IANA registration and uses, default value is 0; The 1st inferior high byte that is used to represent whether to be provided with the ExtCommunity attribute is the service strategy sign in service strategy mapping territory, such as when this service strategy sign is set to 1, the inferior high byte of expression ExtCommunity attribute is service strategy mapping territory, and this service strategy is when being designated default value 0, and inferior high byte of expression ExtCommunity attribute is not set to service strategy and shines upon the territory; The 2nd to the 6th is reserved place, and the value of this reserved place can define the transitivity that is used for the ExtCommunity attribute flexibly such as determining AS scope that this group attribute transmits etc.; The 7th value form that is used for regulation route aggregation class field, such as when being 1 for the 7th, the form of back six bytes of ExtCommunity attribute is 2: 4 forms, when being 0 for the 7th, the form of back six bytes of ExtCommunity attribute is 4: 2 forms.
Among the present invention, such as when the type field value is hexadecimal value 0x41, in the ExtCommunity attribute, service strategy mapping territory storing IP Perference or DSCP value, wherein the Gao Liuwei of time high byte is the DS field that is used for storing IP Perference or DSCP value, and back two are reservation (CU) field; Management subdomain in the route aggregation class identification field is high two bytes of back six bytes of ExtCommunity attribute, and the appointment subdomain in the polymeric type identification field is that back four bytes of back six bytes of ExtCommunity attribute are 2: 4 forms;
When the type field value is hexadecimal value 0x40, in the ExtCommunity attribute, service strategy mapping territory storing IP Perference or DSCP value, wherein the Gao Liuwei of time high byte is used for the DS field of storing IP Perference or DSCP value, and back two is the CU field; Management subdomain in the route aggregation class identification field is high four bytes of back six bytes of ExtCommunity attribute, and the appointment subdomain in the polymeric type identification field is that latter two byte of back six bytes of ExtCommunity attribute is 4: 2 forms.
Wherein, the corresponding relation of service strategy mapping value can be referring to related protocol in IP Perference or DSCP value and the DS field, here repeat no more, what emphasize here is that the service strategy mapping value corresponding with routing iinformation categorical attribute value stored in newly-increased service strategy mapping territory in the ExtCommunity attribute.The CU field can be used to identify Congestion Avoidance indication etc. in addition.
Step 301: when needs send routing iinformation, the router of issue routing iinformation is provided with the ExtCommunity attribute in routing iinformation, and in the ExtCommunity attribute, carry routing iinformation categorical attribute value and serve the policy mappings value, and this routing iinformation is distributed to self bgp peer, described bgp peer then directly according to routing iinformation categorical attribute value of carrying in the routing iinformation and service policy mappings value, carries out respective handling to the IP message that meets this routing iinformation.
In this step, bgp peer only needs the IP message that meets from the routing iinformation of the router of issue routing iinformation is carried out respective handling, and carrying the service strategy mapping value of carrying in the corresponding routing iinformation with the ToS word territory in the heading of described IP message, to be about to the service strategy mapping value that the value in the ToS word territory in the described IP heading is set to carry in the corresponding routing iinformation be that IP Perference or DCSP value get final product.In addition, also can carry out processing such as speed limit or traffic statistics to the data flow that meets the inhomogeneity routing iinformation, specifically how handle and belong to prior art, no longer describe in detail here according to the property value that is used for routing iinformation classification that carries in the routing iinformation.
In addition, the present invention can also be by the newly-increased service strategy mapping territory that is used to carry service strategy in the community attribute, and the service strategy mapping value that comprises routing iinformation categorical attribute value and IP message in the routing iinformation of issue in the community attribute that carries realizes the object of the invention.The setting of community attribute format is similar to the ExtCommunity attribute, as long as mark off a byte as service strategy mapping territory, art technology is readily appreciated that, no longer describes in detail here.
Suppose that below in conjunction with Fig. 1 RTB will transmit routing iinformation: 10.1.1.0 network, 20.1.1.0 network, 30.1.1.0 network be to RTC, and the DSCP value in ToS word territory of IP heading that arrives the route of above-mentioned three networks need be made as EF.
According to method shown in Figure 3, on the RTA of issue routing iinformation, need to finish following steps:
Can use rtrv-map-network command that above-mentioned three routing iinformations are published among the BGP, and can when the issue routing iinformation, directly carry the ExtCommunity attribute, as follows:
network?10.1.1.0?ExtCommunity?ExtCom-EF:100∶1
network?20.1.1.0?ExtCommunity?ExtCom-EF:100∶1
network?30.1.1.0?ExtCommunity?ExtCom-EF:100∶1
Wherein the ExtCommunity attribute comprises two contents: adopt ExtCom-EF to represent the value of DSCP, the DSCP value promptly is set is EF; Be routing iinformation categorical attribute value at 100: 1, also can be described as the ExtCommunity property value.
In RTB, do not need to have set up route-map again, be exactly for a certain class routing iinformation is operated because in RTB, set up the purpose of route-map, thereby make the value in the ToS word territory of the IP heading that meets this route be set to the defined value of DCSP.And in the methods of the invention, the ToS word territory that has comprised in the ExtCommunity attribute that carries in above-mentioned routing iinformation IP is mapped as the information that DCSP defines the EF value.Therefore, RTB only needs the DCSP value that the value that meets from the ToS word territory in the heading of the IP message of three routing iinformations of RTA is set to carry in the corresponding routing iinformation is got final product.
Need to prove whether carrying the ExtCommunity attribute in the routing iinformation of issue is optionally, when not carrying the ExtCommunity attribute in the routing iinformation, still needs to set up route-map respectively in RTA and RTB as prior art.
From the foregoing description as seen, the service strategy mapping value that the inventive method makes router directly adopt and carries in the routing iinformation is carried out respective handling as taking corresponding service strategy to the IP message that meets this routing iinformation, simplified and on router, carried out the loaded down with trivial details work of setting up, improved operating efficiency, avoided simultaneously owing to setting up the corresponding unreasonable processing that miswork causes to the IP message.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (10)

1. implement the method for routing policy by Border Gateway Protocol (BGP) for one kind, it is characterized in that this method comprises:
When needs send routing iinformation, the router of issue routing iinformation carries in routing iinformation and is used for the routing iinformation categorical attribute value that route information is classified and the service strategy mapping value of IP message, and this routing iinformation is distributed to self bgp peer, described bgp peer carries out respective handling according to described routing iinformation categorical attribute value and service policy mappings value to the IP message that meets described routing iinformation.
2. according to the method shown in the claim 1, it is characterized in that the described method that the IP message that meets described routing iinformation is carried out respective handling is:
Described bgp peer carries the service strategy mapping value of carrying in the corresponding routing iinformation with the ToS word territory in the heading of described IP message.
3. method according to claim 1 is characterized in that, described routing iinformation categorical attribute value and service policy mappings value are carried in the group attribute or extended community attribute of described routing iinformation.
4. method according to claim 1, it is characterized in that, when described routing iinformation categorical attribute value and service policy mappings value were carried in the extended community attribute of described routing iinformation, described extended community attribute comprised: type field, be used to carry the service strategy mapping territory and the route aggregation class identification field of service strategy mapping value;
Described type field is used for reserving internet address and assigns the log-on message of the IANA of mechanism, determines that described extended community attribute is used to the value form of storing the management subdomain of routing iinformation categorical attribute value and assigning subdomain, the inferior high byte of determining described extended community attribute is the service strategy mapping territory of stores service policy mappings value;
Described route aggregation class identification field comprises the management subdomain and assigns subdomain.
5. method according to claim 4 is characterized in that, described type field also is used for determining the autonomous system AS scope of described group attribute transmission.
6. according to claim 2,4 or 5 described methods, it is characterized in that described service strategy mapping value is: IP precedence IP Perference or differentiated Services code point DSCP value.
7. method according to claim 4 is characterized in that,
Described service strategy mapping territory comprises the Differentiated Services DS field that is used for storing IP Perference or DSCP value, and reserves the CU field.
8. method according to claim 7 is characterized in that, described CU field is used to identify the Congestion Avoidance indication.
9. method according to claim 1, it is characterized in that, when described routing iinformation categorical attribute value and service policy mappings value were carried at the group attribute of described routing iinformation, described group attribute comprised: type field, be used to carry the service strategy mapping territory and the route aggregation class identification field of service strategy mapping value.
10. method according to claim 2, it is characterized in that, the described method that the IP message that meets described routing iinformation is carried out respective handling also comprises: according to the routing iinformation categorical attribute value of carrying in the routing iinformation, the data flow that meets the inhomogeneity routing iinformation is carried out speed limit or traffic statistics are handled.
CNB2005101127782A 2005-10-12 2005-10-12 Method for actualizing route strategy through boundary gateway Active CN100421422C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101127782A CN100421422C (en) 2005-10-12 2005-10-12 Method for actualizing route strategy through boundary gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101127782A CN100421422C (en) 2005-10-12 2005-10-12 Method for actualizing route strategy through boundary gateway

Publications (2)

Publication Number Publication Date
CN1852239A true CN1852239A (en) 2006-10-25
CN100421422C CN100421422C (en) 2008-09-24

Family

ID=37133708

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101127782A Active CN100421422C (en) 2005-10-12 2005-10-12 Method for actualizing route strategy through boundary gateway

Country Status (1)

Country Link
CN (1) CN100421422C (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459630B (en) * 2008-12-08 2010-12-08 福建星网锐捷网络有限公司 IGP routing method and apparatus
CN101510829B (en) * 2008-12-04 2010-12-08 中国移动通信集团广东有限公司 Content accounting automark method based on BGP community property
CN101197784B (en) * 2007-12-28 2010-12-08 华为技术有限公司 Method, device and system for providing net stream BGP attribute
CN101047651B (en) * 2007-04-23 2011-01-05 杭州华三通信技术有限公司 Method, system and equipment for setting IP priority level
CN101136880B (en) * 2007-10-12 2011-08-24 中兴通讯股份有限公司 Method for boundary gateway to support register in the form of IP address
CN102546443A (en) * 2012-03-23 2012-07-04 徐州中矿大华洋通信设备有限公司 Distributed policy routing method
CN102546369A (en) * 2010-12-20 2012-07-04 华为技术有限公司 Method and system for updating border gateway protocol route
CN105429908A (en) * 2015-11-09 2016-03-23 福建星网锐捷网络有限公司 Message processing method and device
CN106713161A (en) * 2015-11-13 2017-05-24 中国移动通信集团公司 Method for transmitting network outlet congestion state, network outlet selection method, and router
WO2017107814A1 (en) * 2015-12-24 2017-06-29 华为技术有限公司 Method, apparatus and system for propagating qos policies
CN108011839A (en) * 2017-12-15 2018-05-08 盛科网络(苏州)有限公司 The implementation method of policy tag based on IPv4
CN110703817A (en) * 2016-03-29 2020-01-17 华为技术有限公司 Control method, device and system for statistical flow
WO2020156579A1 (en) * 2019-02-02 2020-08-06 中兴通讯股份有限公司 Protocol processing method and apparatus, and storage medium
CN111865898A (en) * 2016-03-21 2020-10-30 华为技术有限公司 Communication method, device and system based on flow rule protocol
CN114124802A (en) * 2021-11-10 2022-03-01 中盈优创资讯科技有限公司 Cross-domain black hole route centralized management and control method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6567380B1 (en) * 1999-06-30 2003-05-20 Cisco Technology, Inc. Technique for selective routing updates
US7233593B2 (en) * 2002-03-05 2007-06-19 Nortel Networks Limited System, device, and method for routing information in a communication network using policy extrapolation
KR100542341B1 (en) * 2003-02-19 2006-01-10 삼성전자주식회사 Apparatus for distributively processing BGP protocol and method thereof
CN1543129A (en) * 2003-11-07 2004-11-03 港湾网络有限公司 Fast convergence method for BGP routing

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047651B (en) * 2007-04-23 2011-01-05 杭州华三通信技术有限公司 Method, system and equipment for setting IP priority level
CN101136880B (en) * 2007-10-12 2011-08-24 中兴通讯股份有限公司 Method for boundary gateway to support register in the form of IP address
CN101197784B (en) * 2007-12-28 2010-12-08 华为技术有限公司 Method, device and system for providing net stream BGP attribute
CN101510829B (en) * 2008-12-04 2010-12-08 中国移动通信集团广东有限公司 Content accounting automark method based on BGP community property
CN101459630B (en) * 2008-12-08 2010-12-08 福建星网锐捷网络有限公司 IGP routing method and apparatus
CN102546369A (en) * 2010-12-20 2012-07-04 华为技术有限公司 Method and system for updating border gateway protocol route
CN102546369B (en) * 2010-12-20 2015-09-23 华为技术有限公司 A kind of Border Gateway Protocol route renewing method and system
CN102546443A (en) * 2012-03-23 2012-07-04 徐州中矿大华洋通信设备有限公司 Distributed policy routing method
CN102546443B (en) * 2012-03-23 2015-02-11 徐州中矿大华洋通信设备有限公司 Distributed policy routing method
CN105429908A (en) * 2015-11-09 2016-03-23 福建星网锐捷网络有限公司 Message processing method and device
CN106713161A (en) * 2015-11-13 2017-05-24 中国移动通信集团公司 Method for transmitting network outlet congestion state, network outlet selection method, and router
WO2017107814A1 (en) * 2015-12-24 2017-06-29 华为技术有限公司 Method, apparatus and system for propagating qos policies
CN111865898A (en) * 2016-03-21 2020-10-30 华为技术有限公司 Communication method, device and system based on flow rule protocol
CN111865898B (en) * 2016-03-21 2023-07-21 华为技术有限公司 Communication method, device and system based on flow rule protocol
CN110703817A (en) * 2016-03-29 2020-01-17 华为技术有限公司 Control method, device and system for statistical flow
CN110703817B (en) * 2016-03-29 2022-04-05 华为技术有限公司 Control method, device and system for statistical flow
US11381480B2 (en) 2016-03-29 2022-07-05 Huawei Technologies Co., Ltd. Control method, apparatus, and system for collecting traffic statistics
US11716262B2 (en) 2016-03-29 2023-08-01 Huawei Technologies Co., Ltd. Control method, apparatus, and system for collecting traffic statistics
CN108011839A (en) * 2017-12-15 2018-05-08 盛科网络(苏州)有限公司 The implementation method of policy tag based on IPv4
WO2020156579A1 (en) * 2019-02-02 2020-08-06 中兴通讯股份有限公司 Protocol processing method and apparatus, and storage medium
CN114124802A (en) * 2021-11-10 2022-03-01 中盈优创资讯科技有限公司 Cross-domain black hole route centralized management and control method and device
CN114124802B (en) * 2021-11-10 2023-08-25 中盈优创资讯科技有限公司 Cross-domain black hole route centralized management and control method and device

Also Published As

Publication number Publication date
CN100421422C (en) 2008-09-24

Similar Documents

Publication Publication Date Title
CN1852239A (en) Method for actualizing route strategy through boundary gateway
CN101641912B (en) Applying policies for managing a service flow
CN103262505B (en) The differentiation using the Network of network address translation processes
CN1266913C (en) Tunneling through access network
US20060171315A1 (en) Resource allocation device for providing a differentiated service and a method thereof
CN1822569A (en) Apparatus and method for processing multiple protocol label switching packet
CN1420665A (en) Packet sending device and packet sending processing method
CN105850102A (en) Control of a chain of services
CN104104742A (en) User plane traffic handling using network address translation and request redirection
CN1318241A (en) Communication device and method for reliable and low-delay packet transmission
CN1848792A (en) Method for realizing cross-mixed network multi-protocol tag exchange virtual special network
CN1838636A (en) Method and apparatus for packet traversal of a network address translation device
CN101047651A (en) Method, system and equipment for setting IP priority level
CN1839586A (en) Route based on a pattern of a received packet
CN1863142A (en) Method for providing different service quality tactics to data stream
CN1578310A (en) Method and system for providing a virtual protocol interlayer
CN101052022A (en) System and method for virtual special net user to access public net
CN1503539A (en) Routing table management method using interface ID in the IPV6
CN103227752A (en) Method and device for realizing policy routing in Ethernet switch chip
CN107580079A (en) A kind of message transmitting method and device
CN1801783A (en) Multi-domain multicast integration data distributing structure and method based on IP/MPLS/BGP
CN101064637A (en) Method for guaranteeing quality of service of operation maintenance data stream
CN1703890A (en) Method for protocol recognition and analysis in data networks
CN1426639A (en) Methods and apparatus for controlling internet protocol traffic in WAN and LAN
CN1691636A (en) Method of flow state establishment

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