CN101047651B - Method, system and equipment for setting IP priority level - Google Patents

Method, system and equipment for setting IP priority level Download PDF

Info

Publication number
CN101047651B
CN101047651B CN2007100978885A CN200710097888A CN101047651B CN 101047651 B CN101047651 B CN 101047651B CN 2007100978885 A CN2007100978885 A CN 2007100978885A CN 200710097888 A CN200710097888 A CN 200710097888A CN 101047651 B CN101047651 B CN 101047651B
Authority
CN
China
Prior art keywords
precedence
autonomous system
tag
routing iinformation
thresholding
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.)
Active
Application number
CN2007100978885A
Other languages
Chinese (zh)
Other versions
CN101047651A (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.)
Beijing Ziguang Communication Technology Group Co ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2007100978885A priority Critical patent/CN101047651B/en
Publication of CN101047651A publication Critical patent/CN101047651A/en
Application granted granted Critical
Publication of CN101047651B publication Critical patent/CN101047651B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

This invention discloses a method, a system and a device for setting IP priorities, which sets the PRI of IP messages by Tag region in the interior gateway protocol to increase the flexibility for setting IP PRI in the region to simplify configuration for it. This invention matches with the function of BGP utilizing group attribute to set IP PRI, in this way, the effectiveness of IP PRI can be prolonged in the region by IGP and the QoS solving plan of the entire network can be formed.

Description

Method, system and the equipment of IP precedence are set
Technical field
The present invention relates to network communications technology field, especially refer to a kind of method, system and equipment that IP precedence is set.
Background technology
QoS (Quality of Service, service quality) is a ubiquitous notion in the occasion of various existence service relation between supply and demand, and it is used for evaluation services side and satisfies the ability of customer service demand.Now, continuing to bring out of numerous new business, service ability to IP network is had higher requirement, the user no longer has been satisfied with can send to the destination to message simply, but also wish in repeating process, to obtain better service, as: support for the user dedicated bandwidth is provided, reduce message Loss Rate, manage and avoid the flow of network congestion, regulated and control network and priority of messages etc. is set.
In the prior art, in the territory, mainly utilize upper layer software (applications), and the IP priority of messages is provided with according to concrete needs; Or on the network equipment according to service needed, by ACL (Access ControlList, Access Control List (ACL)) features such as port numbers of the source address of matching message, destination address, MAC (Media AccessControl, medium access control) address, IP agreement or application program are provided with the IP priority of messages.Use this method that complicated, the complex steps of IP priority of messages configuration is set, and lack the flexible adjustment of networking QoS scheme.
In the prior art, group attribute by BGP is provided with the IP message priority that transmits between the territory, as shown in Figure 1, router B belongs to different AS (Autonomous System respectively with router D, autonomous system), AS100 and AS200, set up EBGP (EXteriorBorder Gateway Protocol between router B and the router D, External BGP) neighborhood, router D sends the BGP route to router B, carry group attribute in this BGP route, the group attribute value of carrying by identification BGP route on router B is for the IP message that uses this BGP route to transmit is provided with IP precedence.The group attribute that different routes is carried may be different, therefore by discerning the group attribute that route is carried, for the IP precedence that the IP message is provided with also may be different.Like this,, in own AS territory, the IP message is implemented different QoS and guarantee according to different IP precedences at the router D of AS 200.But, the function that the IP message priority is set by the group attribute of discerning BGP can only be finished between the territory, in the territory, use IGP to carry out to realize when route is transmitted the continuity of this IP message priority validity, be the IP message priority function that route can't continue inter-domain routing in the territory, also just can't make whole network realize unified QOS strategy.
Summary of the invention
The problem to be solved in the present invention provides a kind of method, system and equipment that IP precedence is set, to solve in the prior art, IP message priority configuration complexity in the territory is set, lacks the networking QoS scheme property adjusted flexibly, and the defective that the validity of IP precedence can't continue in the territory between the territory.
For reaching above-mentioned purpose, a kind of method that IP precedence is set of the present invention, when the network planning, the corresponding relation of the Tag thresholding of the group attribute value of Border Gateway Protocol (BGP) and Interior Gateway Protocol IGP is set in border networks equipment, and the corresponding relation of Tag thresholding and IP precedence is set in other network equipments, described Tag thresholding is the value of not representing the field domain of specific function in the routing iinformation, and this method may further comprise the steps:
Border networks equipment in the autonomous system receives the routing iinformation that the outer border networks equipment of autonomous system sends, and comprises property value in the described routing iinformation, and described property value is the group attribute value of BGP;
Border networks equipment in the described autonomous system is provided with and carries the routing iinformation of Tag thresholding according to the corresponding relation of property value and Tag thresholding, and the routing iinformation of the described Tag of carrying thresholding is sent to other interior network equipment of autonomous system;
Other network equipment in the described autonomous system receives the described routing iinformation that carries the Tag thresholding, and according to the corresponding relation of Tag thresholding and IP precedence, the IP precedence of the IP message that the border networks equipment outside described autonomous system that is provided with sends, according to set IP precedence described IP message is forwarded to border networks equipment in the described autonomous system, is forwarded to the outer border networks equipment of described autonomous system by the border networks equipment in the described autonomous system by bgp protocol again.
Other network equipment in the described autonomous system is according to the corresponding relation of Tag thresholding and IP precedence, and the IP precedence of the IP message that the border networks equipment outside described autonomous system that is provided with sends specifically comprises:
Network equipment inquiry and the corresponding route table items of described IP message destination address in the described autonomous system, and search with the corresponding routing iinformation of described route table items in the Tag thresholding;
The network equipment in the described autonomous system is provided with the IP precedence of described IP message according to the corresponding relation of described Tag thresholding and IP precedence.
Other network equipment in the described autonomous system is incorporated into the autonomous system at the outer border router place of autonomous system with IP precedence, specifically comprises:
Other network equipment in the described autonomous system is according to the Tag thresholding that is provided with when the network planning and the corresponding relation of IP precedence, and the border networks equipment in described autonomous system sends and carries the routing iinformation of Tag thresholding;
Border networks equipment in the described autonomous system is provided with the routing iinformation that carries property value according to the corresponding relation of property value and Tag thresholding, and the described routing iinformation that carries property value is sent to the outer border networks equipment of autonomous system;
After the outer border networks equipment of described autonomous system received the described routing iinformation that carries property value, according to the corresponding relation of property value and Tag thresholding, other network equipments in its place autonomous system sent and carry the routing iinformation of Tag thresholding.
Other network equipment in the described autonomous system receives after the described routing iinformation that carries the Tag thresholding, corresponding relation according to Tag thresholding and IP precedence, before the IP precedence of the IP message that the border networks equipment outside described autonomous system that is provided with sends, also comprise: other network equipments in the described autonomous system judge whether that according to described IP message needs change IP precedence, if need to change, other network equipments in the then described autonomous system are provided with IP precedence to described IP message.
The present invention also provides a kind of system that IP precedence is set, comprise: the border networks equipment that autonomous system is outer, border networks equipment in the autonomous system, other network equipment in the autonomous system, when the network planning, the corresponding relation of the Tag thresholding of the group attribute value of Border Gateway Protocol (BGP) and Interior Gateway Protocol IGP is set in border networks equipment, and the corresponding relation of Tag thresholding and IP precedence is set in other network equipments, described Tag thresholding is the value of not representing the field domain of specific function in the routing iinformation
The border networks equipment that described autonomous system is outer, the border networks equipment that is used in autonomous system sends routing iinformation, comprises property value in the described routing iinformation, and described property value is the group attribute value of BGP;
Border networks equipment in the described autonomous system, be used for corresponding relation according to property value and Tag thresholding, the routing iinformation of Tag thresholding is carried in setting, and the routing iinformation of the described Tag of carrying thresholding sent to other network equipment in the autonomous system, receive the IP message that autonomous intrasystem other network equipments send, be forwarded to the outer border networks equipment of described autonomous system by bgp protocol;
Other network equipment in the described autonomous system, be used to receive the routing iinformation of the described Tag of carrying thresholding, and according to the corresponding relation of Tag thresholding and IP precedence, the IP precedence of the IP message that the border networks equipment outside described autonomous system that is provided with sends is forwarded to border networks equipment in the described autonomous system according to set IP precedence with described IP message.
The outer border networks equipment of described autonomous system comprises: priority is provided with unit and routing iinformation transmitting element;
Described priority is provided with the unit, is used for being provided with at routing iinformation the group attribute value of BGP;
Described routing iinformation transmitting element connects described priority the unit is set, and is used to send described routing iinformation.
Other network equipment in the described autonomous system comprises: IP packet parsing unit, IP precedence are provided with unit, IP packet sending unit, IP message judging unit and correspondence relation storage,
Described IP packet parsing unit is used for the destination address according to the IP message, parse to transmit the route that described IP message uses, and search with the corresponding routing iinformation of described route in the Tag thresholding;
Described IP precedence is provided with the unit, connects described IP packet parsing unit, is used for according to described Tag thresholding the IP precedence of IP message being set;
Described IP packet sending unit connects described IP precedence the unit is set, and is used to send the IP message that is provided with IP precedence.
Described IP message judging unit connects described IP packet parsing unit, is used to judge whether described IP message needs to change priority, if need to change, then by IP packet parsing unit the routing iinformation of this IP message is carried out priority and resolves; If do not need to change, then by the IP packet sending unit according to route forwarding table, directly this IP message is transmitted;
Described correspondence relation storage connects described IP precedence the unit is set, and is used to store the corresponding relation of Tag thresholding and IP precedence.
Compared with prior art, the present invention has the following advantages:
A kind of method, system and equipment that IP precedence is set of the present invention has improved the flexibility that IP precedence is provided with in the territory, simplifies the setup the configuration of IP precedence greatly; The function that the present invention and BGP utilize group attribute that IP precedence is set is used, and makes the validity of IP precedence can obtain continuity by IGP in the territory, and forms the QoS solution of whole net.
Description of drawings
Fig. 1 is the schematic diagram that IP precedence is set by the BGP community attribute in the prior art;
Fig. 2 is a kind of flow chart that the IP precedence method is set of the present invention;
Fig. 3 is a kind of another flow chart that the IP precedence method is set of the present invention;
Fig. 4 is the flow chart that IP message of the present invention is transmitted;
Fig. 5 is the schematic diagram of the embodiment of the invention one;
Fig. 6 is the schematic diagram of the embodiment of the invention two;
Fig. 7 is a kind of schematic diagram that the IP precedence system is set of the present invention.
Embodiment
A kind of method that IP precedence is set of the present invention, by the corresponding relation of IP precedence and priority tag is set, initial network equipment sends the routing iinformation that carries priority tag to other network equipment, other network equipment is stored in this routing iinformation in the routing iinformation database of corresponding Routing Protocol, this Routing Protocol uses the routing iinformation database of oneself to calculate, and the route of calculating joined forms route in the routing table; After other network equipment receives the IP message, learn that according to the destination address of this IP message needs send to initial network equipment with this IP message, so this other network equipment is inquired about its routing table, and the anti-routing iinformation of storing in the routing iinformation database of the Routing Protocol that forms this route of looking into, comprise priority tag in this routing iinformation, according to the IP precedence that sets before and the corresponding relation of priority tag, the IP precedence of this IP message is set then.The idiographic flow of method may further comprise the steps as shown in Figure 2:
Step S201, the network equipment in the autonomous system receives the routing iinformation that initial network equipment sends, and comprises priority tag in this routing iinformation.The network equipment of initial network equipment in autonomous system sends routing iinformation, can inform the network equipment in the autonomous system, to sending the IP message of this initial network equipment, sends according to the information of this priority tag.This initial network equipment can be the network equipment in the autonomous system, also can be the outer network equipment of autonomous system; If the network equipment in the autonomous system, then this routing iinformation is the routing iinformation based on Interior Gateway Protocol; If the network equipment that autonomous system is outer, then this routing iinformation is the routing iinformation based on Exterior Gateway Protocol.
Step S202, the network equipment in the autonomous system are provided with the IP precedence of the IP message that sends to initial network equipment according to the priority tag in the routing iinformation.After the network equipment in the autonomous system receives the routing iinformation that initial network equipment sends among the step S201, this routing iinformation is stored in the routing iinformation database of corresponding Routing Protocol and calculates and form route, then this route is joined in the routing table; The network equipment in autonomous system receives the IP message, destination address according to this IP message, learning need be when this initial network equipment sends, can be according to corresponding route table items in the routing table, inquire about the priority tag of storage routing iinformation in the corresponding routing iinformation database, this IP message is carried out the setting of priority, and this routing iinformation is among the step S201, the routing iinformation that the network equipment sent of initial network equipment in autonomous system.
Before the step S201 of method shown in Figure 2, need set the corresponding relation between IP precedence and the priority tag, after step S202, also need the IP message of finishing IP precedence is sent.Its flow chart as shown in Figure 3, comprising:
Step S301 is provided with the corresponding relation between IP precedence and the priority tag; This corresponding relation is in the network planning, is stored in the network equipment in the autonomous system.
Step S302, the initial network equipment network equipment in autonomous system sends routing iinformation, comprises priority tag in this routing iinformation; Before sending routing iinformation, priority tag need be set in routing iinformation, this priority tag is provided with by automatic or manual.The network equipment of initial network equipment in autonomous system sends routing iinformation, can inform the network equipment in the autonomous system, to sending the IP message of this initial network equipment, sends according to the information of this priority tag.
Step S303, the network equipment in the autonomous system are provided with the IP precedence of the IP message that sends to initial network equipment according to the priority tag in the routing iinformation.The network equipment in the autonomous system receives among the step S302, behind the routing iinformation that initial network equipment sends, this routing iinformation is existed in the routing iinformation database of corresponding Routing Protocol and calculate to form route, and route is joined in the routing table; The network equipment in autonomous system receives the IP message, destination address according to this IP message, learning need be when this initial network equipment sends, can be according to the priority tag in the routing iinformation of storing in the corresponding routing iinformation database of corresponding route table items, this IP message is carried out the setting of priority, this routing iinformation is among the step S302, the routing iinformation that the network equipment of initial network equipment in autonomous system sends.This IP priority of messages is provided with, and is to be provided with according to IP precedence that is provided with before and the corresponding relation between the priority tag, is set to the IP priority of messages with the corresponding IP precedence of priority tag in the corresponding relation.
Step S304 after the network equipment in the autonomous system is provided with IP precedence, sends this IP message.The network equipment in the autonomous system is arranged on IP precedence on the IP message, and this IP message is sent to initial network equipment.
As shown in Figure 4, the flow chart for IP message of the present invention is transmitted may further comprise the steps:
Step S401, the network equipment receives the IP message, and judges whether this IP message needs to change priority; If do not need to change, then the network equipment is directly transmitted this IP message according to routing table information; If need to change, then forward step S402 to.The network equipment is by judging whether the function in this IP message enables, and promptly judges the whether set of function digit of this IP message routing information, judges whether this IP message needs to change priority.
Step S402, the network equipment be according to the destination address of this IP message, route in the table of query and routing, and inquiry generates the routing iinformation of this route, thus obtain the priority tag in the routing iinformation.The network equipment obtains the destination address of this IP message from the IP message, promptly this IP message need send to whom; Then, the network equipment is inquired about the routing iinformation of its route correspondence according to this destination address, and comprises priority tag information in this routing iinformation, and this priority tag is that this network equipment need obtain.
Step S403, the network equipment according to before the IP precedence that is provided with and the corresponding relation of priority tag, the corresponding IP precedence of this priority tag is set to priority that the IP message is transmitted.After the network equipment obtains priority tag,, therefore,, can obtain corresponding IP precedence according to this corresponding relation owing to when the network planning, be provided with the corresponding relation of IP precedence and priority tag.
Step S404, the network equipment is transmitted the IP message according to this IP precedence.The network equipment is transmitted to destination network device according to the setting of IP precedence with this IP message.
Can realize that Routing Protocol of the present invention comprises: OSPF (Open Shortest Path First, Open Shortest Path First), RIP (Routing Information Protocol, routing information protocol) and ISIS (intermediate system) etc.; Also comprise the Routing Protocol among the Ipv6, comprising: RIPng, OSPFv3 and ISISv6 etc.The common feature of summing up those Routing Protocols is exactly all to comprise the Tag territory in the routing iinformation of Routing Protocol.So-called Tag territory is the field domain of not representing specific function in the routing iinformation, and the value of this field domain can be passed through the automatic or manual mode in actual applications, is configured in the respective field territory in the corresponding routing iinformation message to be provided with.In addition, the network equipment of the present invention comprises router and switch etc., and they can support Routing Protocol and QoS to guarantee, therefore, the network equipment that every support Routing Protocol and QoS guarantee all should belong to the scope that the present invention will protect.
With the Tag value of router by ospf routing information the IP message priority being set is that example further specifies.As shown in Figure 5, autonomous system AS100 comprises router-A, router B and the network C of being made up of other router.At first, when the whole network is planned, plan the IP priority of messages of using route A to transmit, and determine the corresponding relation of Tag value in the routing iinformation of this priority and OSPF; This corresponding relation is stored in the router in the autonomous system AS100, comprising router B in the network planning.
Secondly, for route A sets Tag value in the route updating packet, this Tag value is the Tag value of planning when the network planning before on router-A; If route A carries out route by 5 classes of OSPF or 7 class routes to send, the good Tag value of planning before then the Tag value of 5 classes of OSPF or 7 class LSA (Link State Advertisement, Link State Advertisement) being arranged to.The LSA of other the router issue route A of router-A in AS100 has carried the Tag value that sets before the issue among this LSA.
Then, router B learns this route A by network C, the LSA of this route A is stored in the routing iinformation database of OSPF, and calculate to form in the routing table that route A joins router B and form route, be the Tag value of route A setting before comprising among this LSA.It is pointed out that the route that the 5 class LSA that transmit in OSPF calculate is the 5 class routes of OSPF, router B adds routing table entry with this 5 class route and forms route; The route that the 7 class LSA that transmit in OSPF calculate is the 7 class routes of OSPF, and router B adds routing table entry with this 7 class route and forms route.
Transmit through router B as the IP message, when needing to use route A, if router B is route A by the routing iinformation that OSPF calculates this IP message, then router B is according to the Tag value in the routing iinformation corresponding in this route A inquiry routing iinformation database, be 5 classes of this OSPF or the Tag value among the 7 class LSA, and, be this IP message setting definite IP precedence when the network planning before this according to the corresponding relation of Tag value in the protocol massages of IP precedence of determining before and OSPF.
At last, according to this IP precedence, router B is forwarded to router-A by network C with above-mentioned IP message.
Specifically, through the whole network planning, it is 1 that the whole network is arranged to IP precedence to the IP message of address A; Simultaneously, in the OSPF Routing Protocol, be used to calculate routing iinformation 5 classes of route A or the Tag value of 7 class LSA also is set to 1, so just set up IP precedence 1 and calculated corresponding relation between the Tag value 1 of routing iinformation of route A; Router-A is by OSPF Routing Protocol issue route A, and in the Tag field of 5 classes of issue OSPF or 7 class LSA the Tag value to be set be 1.The routing iinformation that router B learns OSPF route A by network C is LSA, and the routing iinformation LSA of this route A is stored in the LSD of OSPF, and calculating formation route A joins in the routing table of router B.When the IP message sent to router B forwarding use route A, in the router B inquiry OSPF LSD, with the Tag value among the corresponding LSA of route A, this Tag value was 1; Then, according to the IP precedence of determining before and the corresponding relation of Tag value, the IP precedence of this IP message is set to 1; At last, be 1 setting according to this IP precedence, this IP message is forwarded to router-A by network C.
With the Tag value of router by the RIP routing iinformation IP message priority being set again is that example further specifies.As shown in Figure 5, autonomous system AS100 comprises router-A, router B and the network C of being made up of other router.At first, when the whole network is planned, plan the IP priority of messages of using route A to transmit, and determine the corresponding relation of Tag value in this priority and the RIP routing iinformation; This corresponding relation is stored in the router in the autonomous system AS100, comprising router B in the network planning.
Secondly, for route A sets Tag value in the route updating packet, this Tag value is the Tag value of planning when the network planning before on router-A; , route A sends the good Tag value of planning before then the Tag value of RIP renewal message being arranged to if carrying out route by RIP.Other the router issue route A information of router-A in AS100 has been carried the Tag value that sets before the information issue in this routing iinformation.
Then, router B learns the routing iinformation of route A by network C, the routing iinformation of this route A is stored in the routing iinformation database of RIP, and calculate to form in the routing table that route A joins router B and form route, be the Tag value of route A setting before comprising in this routing iinformation.
Transmit through router B as the IP message, when needing to use route A, then router B is according to the Tag value of the corresponding routing iinformation of storing in the route A inquiry routing iinformation database, promptly inquire about the Tag value in this RIP renewal message, and, be this IP message setting definite IP precedence when the network planning before this according to the corresponding relation of Tag value in IP precedence of determining before and the RIP protocol massages.
At last, according to this IP precedence, router B is forwarded to router-A by network C with above-mentioned IP message.
Specifically, through the whole network planning, it is 2 that the whole network is arranged to IP precedence to the IP message of address A; Simultaneously, the Tag value that is used to calculate the routing iinformation of route A in rip routing protocol also is set to 2; So just set up IP precedence 2 and be used to calculate corresponding relation between the Tag value 2 of routing iinformation.Router-A is by rip routing protocol issue route A, and in the routing iinformation of issue the Tag value to be set be 2.Router B learns RIP route A by network C, the routing iinformation of this route A is stored in the routing iinformation database of rip routing protocol, and calculates and form route A and join in the routing table of router B.When the IP message sent to router B, router B calculated route A by the RIP agreement, and according to the Tag value in the corresponding routing iinformation in this route A inquiry routing iinformation database, this Tag value is 2; The IP precedence of determining when router B is according to the network planning before then and the corresponding relation of Tag value, the IP precedence of this IP message is set to 2.At last, router B is forwarded to router-A by network C with this IP message according to this IP precedence.
In addition,, make to have identical QoS inside and outside the autonomous system and guarantee, also the function that IP precedence is set between above-mentioned method that IP precedence is set and autonomous system can be used for the IP precedence that autonomous system is outer is incorporated in the autonomous system.As shown in Figure 6, the Routing Protocol between autonomous system is example with BGP, and the Routing Protocol in the autonomous system is an example with the 5 class routes of OSPF.Be that group attribute by BGP is provided with the IP priority of messages between autonomous system, when the network planning, set the corresponding relation of the Tag value of the group attribute of BGP and OSPF 5 class LSA.Have route D to be planned as in the AS200 territory using the IP message priority of this routing forwarding is 1, router D in the AS200 territory issues route D information by BGP coupled border router B in AS100, carrying group attribute in this routing iinformation is 100:1, and during the network planning before, in the corresponding relation that is provided with, with the Tag value of the corresponding OSPF 5 class LSA of this group attribute 100:1 be 10; Border router B among the AS100 receives this route D information, obtain the group attribute 100:1 in this routing iinformation, and according to the corresponding relation of the Tag value of BGP community attribute that sets before and OSPF 5 class LSA, find Tag value 10 with the corresponding OSPF 5 class LSA of this group attribute, then router B issues this route D information by the OSPF Routing Protocol to other router in the AS100 territory, and in the corresponding 5 class LSA of route D the Tag value to be set be 10.Because group attribute can only carry in bgp routing information, so router B no longer carries group attribute during by OSPF Routing Protocol issue route D information in this routing iinformation.So, the corresponding relation of the Tag value of BGP community attribute that is provided with during promptly by the network planning and OSPF 5 class LSA is incorporated into route D information among the AS100.5 class routing modes by OSPF on router C are learnt route D, and route D are joined in the routing table of router C.
As IP message process router C, when using route D to transmit, then router C is according to the route D that stores in its routing table, Tag value in the inquiry OSPF LSD among the 5 class LSA of correspondence, and, be this IP message setting definite IP precedence when the network planning before this according to the corresponding relation of Tag value 10 in the protocol massages of IP precedence of determining before 1 and OSPF.At last, according to this IP precedence, router C transmits border router B with above-mentioned IP message, is forwarded to the purpose router D of route D again by bgp protocol by border router B.
On the contrary, if have route A to be planned as in the AS100 territory using the IP message priority of this routing forwarding is 1, be provided with the corresponding relation of the Tag value 10 of IP message priority 1 and OSPF 5 class LSA when the network planning, then router-A sends to router B that among the OSPF 5 class LSA Tag value to be set be 10.Router B is the border router in the AS100 territory, and is connected with border router D in the AS200 territory.Router B need continue the information of this route A to send to the router D in the AS200 territory, and router B sends by BGP to router D transmission routing iinformation, the corresponding relation of BGP community attribute 100:1 that is provided with when therefore router B needs according to the network planning before and the Tag value 10 of OSPF 5 class LSA, it is 100:1 that group attribute is set in the routing iinformation of BGP, and the routing iinformation that will carry group attribute 100:1 sends to router D.After router D receives this routing iinformation, issue this route A information, and in the corresponding 5 class LSA of route A the Tag value to be set be 10 by OSPF Routing Protocol other router in AS200.
The present invention also provides a kind of system that IP precedence is set, and as shown in Figure 7, comprising: the initial network equipment 100 and the reception network equipment 200.Wherein, initial network equipment 100 is used for sending routing iinformation to receiving the network equipment 200, comprises priority tag in this routing iinformation; Receive the network equipment 200, connect initial network equipment 100, be used for, the IP precedence of the IP message that sends to initial network equipment 100 is set according to priority tag.
Initial network equipment 100 also comprises: priority is provided with unit 101 and routing iinformation transmitting element 102.
Priority is provided with unit 101, is used at routing iinformation priority tag being set, and before sending routing iinformation, the priority tag that planning is good is arranged in the corresponding routing iinformation.
Routing iinformation transmitting element 102, connection priority are provided with unit 101, are used for sending routing iinformation to receiving the network equipment 200, carried priority in this routing iinformation the priority tag information that unit 101 is provided with is set.
Receiving the network equipment 200 also comprises: IP packet parsing unit 201, IP precedence are provided with unit 202, IP packet sending unit 203, IP message judging unit 204 and correspondence relation storage 205.
IP packet parsing unit 201 parses IP message destination address, finds out to transmit the route of using, and the priority tag in the routing iinformation of this route of inquiry generation.
IP precedence is provided with unit 202, connect IP packet parsing unit 201, be used for according to priority tag, the IP precedence of IP message is set, after IP packet parsing unit 201 obtains the priority tag of routing iinformation in this IP message, the IP precedence that is provided with during according to the network planning before and the corresponding relation of priority tag will be arranged in this IP message with the corresponding IP precedence of this priority tag.
IP packet sending unit 203 connects IP precedence unit 202 is set, and is used for sending the IP message according to the IP precedence that is provided with; After IP precedence was provided with unit 202 and sets the IP priority of messages, IP packet sending unit 203 sent the IP message according to this IP precedence.
IP message judging unit 204 connects IP packet parsing unit 201, is used to judge whether the IP message that is received needs to change priority, if need to change, then the routing iinformation by 201 pairs of these IP messages in IP packet parsing unit carries out the priority parsing; If do not need to change, then by IP packet sending unit 203 according to route forwarding table, directly this IP message is transmitted.
Correspondence relation storage 205 connects IP precedence unit 202 is set, and is used for the corresponding relation of memory priority level sign and IP precedence.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (7)

1. method that IP precedence is set, it is characterized in that, when the network planning, the corresponding relation of the Tag thresholding of the group attribute value of Border Gateway Protocol (BGP) and Interior Gateway Protocol IGP is set in border networks equipment, and the corresponding relation of Tag thresholding and IP precedence is set in other network equipments, described Tag thresholding is the value of not representing the field domain of specific function in the routing iinformation, and this method may further comprise the steps:
Border networks equipment in the autonomous system receives the routing iinformation that the outer border networks equipment of autonomous system sends, and comprises property value in the described routing iinformation, and described property value is the group attribute value of BGP;
Border networks equipment in the described autonomous system is provided with and carries the routing iinformation of Tag thresholding according to the corresponding relation of property value and Tag thresholding, and the routing iinformation of the described Tag of carrying thresholding is sent to other interior network equipment of autonomous system;
Other network equipment in the described autonomous system receives the described routing iinformation that carries the Tag thresholding, and according to the corresponding relation of Tag thresholding and IP precedence, the IP precedence of the IP message that the border networks equipment outside described autonomous system that is provided with sends, according to set IP precedence described IP message is forwarded to border networks equipment in the described autonomous system, is forwarded to the outer border networks equipment of described autonomous system by the border networks equipment in the described autonomous system by bgp protocol again.
2. the method for IP precedence is set according to claim 1, it is characterized in that, other network equipment in the described autonomous system is according to the corresponding relation of Tag thresholding and IP precedence, and the IP precedence of the IP message that the border networks equipment outside described autonomous system that is provided with sends specifically comprises:
Network equipment inquiry and the corresponding route table items of described IP message destination address in the described autonomous system, and search with the corresponding routing iinformation of described route table items in the Tag thresholding;
The network equipment in the described autonomous system is provided with the IP precedence of described IP message according to the corresponding relation of described Tag thresholding and IP precedence.
3. the method for IP precedence is set according to claim 1, it is characterized in that, other network equipment in the described autonomous system is incorporated into the autonomous system at the outer border router place of autonomous system with IP precedence, specifically comprises:
Other network equipment in the described autonomous system is according to the Tag thresholding that is provided with when the network planning and the corresponding relation of IP precedence, and the border networks equipment in described autonomous system sends and carries the routing iinformation of Tag thresholding;
Border networks equipment in the described autonomous system is provided with the routing iinformation that carries property value according to the corresponding relation of property value and Tag thresholding, and the described routing iinformation that carries property value is sent to the outer border networks equipment of autonomous system;
After the outer border networks equipment of described autonomous system received the described routing iinformation that carries property value, according to the corresponding relation of property value and Tag thresholding, other network equipments in its place autonomous system sent and carry the routing iinformation of Tag thresholding.
4. the method for IP precedence is set according to claim 1, it is characterized in that, other network equipment in the described autonomous system receives after the described routing iinformation that carries the Tag thresholding, corresponding relation according to Tag thresholding and IP precedence, before the IP precedence of the IP message that the border networks equipment outside described autonomous system that is provided with sends, also comprise:
Other network equipments in the described autonomous system judge whether that according to described IP message needs change IP precedence, if need to change, other network equipments in the then described autonomous system are provided with IP precedence to described IP message.
5. system that IP precedence is set, it is characterized in that, comprise: the border networks equipment that autonomous system is outer, border networks equipment in the autonomous system, other network equipment in the autonomous system, when the network planning, the corresponding relation of the Tag thresholding of the group attribute value of Border Gateway Protocol (BGP) and Interior Gateway Protocol IGP is set in border networks equipment, and the corresponding relation of Tag thresholding and IP precedence is set in other network equipments, described Tag thresholding is the value of not representing the field domain of specific function in the routing iinformation
The border networks equipment that described autonomous system is outer, the border networks equipment that is used in autonomous system sends routing iinformation, comprises property value in the described routing iinformation, and described property value is the group attribute value of BGP;
Border networks equipment in the described autonomous system, be used for corresponding relation according to property value and Tag thresholding, the routing iinformation of Tag thresholding is carried in setting, and the routing iinformation of the described Tag of carrying thresholding sent to other network equipment in the autonomous system, receive the IP message that autonomous intrasystem other network equipments send, be forwarded to the outer border networks equipment of described autonomous system by bgp protocol;
Other network equipment in the described autonomous system, be used to receive the routing iinformation of the described Tag of carrying thresholding, and according to the corresponding relation of Tag thresholding and IP precedence, the IP precedence of the IP message that the border networks equipment outside described autonomous system that is provided with sends is forwarded to border networks equipment in the described autonomous system according to set IP precedence with described IP message.
6. as the system of IP precedence is set as described in the claim 5, it is characterized in that the outer border networks equipment of described autonomous system comprises: priority is provided with unit and routing iinformation transmitting element;
Described priority is provided with the unit, is used for being provided with at routing iinformation the group attribute value of BGP;
Described routing iinformation transmitting element connects described priority the unit is set, and is used to send described routing iinformation.
7. as the system of IP precedence is set as described in the claim 5, it is characterized in that, other network equipment in the described autonomous system comprises: IP packet parsing unit, IP precedence are provided with unit, IP packet sending unit, IP message judging unit and correspondence relation storage
Described IP packet parsing unit is used for the destination address according to the IP message, parse to transmit the route that described IP message uses, and search with the corresponding routing iinformation of described route in the Tag thresholding;
Described IP precedence is provided with the unit, connects described IP packet parsing unit, is used for according to described Tag thresholding the IP precedence of IP message being set;
Described IP packet sending unit connects described IP precedence the unit is set, and is used to send the IP message that is provided with IP precedence;
Described IP message judging unit connects described IP packet parsing unit, is used to judge whether described IP message needs to change priority, if need to change, then by IP packet parsing unit the routing iinformation of this IP message is carried out priority and resolves; If do not need to change, then by the IP packet sending unit according to route forwarding table, directly this IP message is transmitted;
Described correspondence relation storage connects described IP precedence the unit is set, and is used to store the corresponding relation of Tag thresholding and IP precedence.
CN2007100978885A 2007-04-23 2007-04-23 Method, system and equipment for setting IP priority level Active CN101047651B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007100978885A CN101047651B (en) 2007-04-23 2007-04-23 Method, system and equipment for setting IP priority level

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100978885A CN101047651B (en) 2007-04-23 2007-04-23 Method, system and equipment for setting IP priority level

Publications (2)

Publication Number Publication Date
CN101047651A CN101047651A (en) 2007-10-03
CN101047651B true CN101047651B (en) 2011-01-05

Family

ID=38771878

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100978885A Active CN101047651B (en) 2007-04-23 2007-04-23 Method, system and equipment for setting IP priority level

Country Status (1)

Country Link
CN (1) CN101047651B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101471880B (en) * 2007-12-27 2011-02-09 华为技术有限公司 Method, system and routing device for processing data
CN101459630B (en) * 2008-12-08 2010-12-08 福建星网锐捷网络有限公司 IGP routing method and apparatus
CN102281165A (en) * 2010-06-09 2011-12-14 杭州华三通信技术有限公司 Fault detection method based on QoS, system and apparatus thereof
CN102404133B (en) * 2010-09-09 2015-06-03 北京中星微电子有限公司 Method and device for internet protocol (IP) network data interaction
CN102118317B (en) * 2011-03-24 2012-11-21 北京星网锐捷网络技术有限公司 Method, device and network device for selecting virtual link addresses
CN102325100B (en) * 2011-10-31 2014-05-14 太仓市同维电子有限公司 Method for realizing network connection access management of gateway equipment based on Internet protocol (IP) address priorities
CN104754066B (en) * 2013-12-26 2018-10-09 华为技术有限公司 A kind of message processing method and message processor
US9313663B2 (en) * 2014-08-21 2016-04-12 Futurewei Technologies, Inc. Automatic division of internet protocol radio access networks to interior gateway protocol areas
CN105634940B (en) * 2014-10-27 2020-06-16 中兴通讯股份有限公司 SR information acquisition method and method for establishing segment routing network
CN106302351B (en) 2015-06-03 2019-10-15 华为技术有限公司 Collect the method, apparatus and system of accesses control list
CN106340176B (en) * 2015-07-09 2020-01-17 中国电力科学研究院 Information sharing method of intelligent electric meter, intelligent electric meter and acquisition router
CN106921572B (en) * 2015-12-24 2019-10-15 华为技术有限公司 A kind of method, apparatus and system for propagating qos policy

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020071542A1 (en) * 2000-12-08 2002-06-13 Hedden Ralph Coleman Digital signal route determination method
CN1531250A (en) * 2003-03-13 2004-09-22 ��Ϊ�������޹�˾ Repeating controlling method for customer message
CN1761234A (en) * 2004-10-11 2006-04-19 华为技术有限公司 Method for implementing allocation of traffic flow based on different service domains
CN1852239A (en) * 2005-10-12 2006-10-25 华为技术有限公司 Method for actualizing route strategy through boundary gateway

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020071542A1 (en) * 2000-12-08 2002-06-13 Hedden Ralph Coleman Digital signal route determination method
CN1531250A (en) * 2003-03-13 2004-09-22 ��Ϊ�������޹�˾ Repeating controlling method for customer message
CN1761234A (en) * 2004-10-11 2006-04-19 华为技术有限公司 Method for implementing allocation of traffic flow based on different service domains
CN1852239A (en) * 2005-10-12 2006-10-25 华为技术有限公司 Method for actualizing route strategy through boundary gateway

Also Published As

Publication number Publication date
CN101047651A (en) 2007-10-03

Similar Documents

Publication Publication Date Title
CN101047651B (en) Method, system and equipment for setting IP priority level
EP3103230B1 (en) Software defined networking (sdn) specific topology information discovery
CN102006676B (en) Network-based macro mobility in cellular networks using an extended routing protocol
CN101401083B (en) Technique for preventing routing loops by disseminating BGP attribute information in an ospf-configured network
CN101455030B (en) Dynamic shared risk node group (srng) membership discovery
US7630392B2 (en) Multi-homing using controlled route leakage at a backup service provider
CN105577502B (en) Service transmission method and device
US7274704B1 (en) Piggybacking VPN information in BGP for network based VPN architectures
US20010032272A1 (en) QoS-based shortest path routing for hierarchical communication network
CN105049350A (en) Segment routing - egress peer engineering (SP-EPE)
KR101457317B1 (en) Prioritization of routing information updates
CN104219147A (en) Implementation method and device of VPN (virtual private network) for edge equipment
CA2406051A1 (en) Satellite routing protocol with dynamic ip addressing
KR20140119775A (en) Ip forwarding across a link state protocol controlled ethernet network
CN107623630B (en) Bit index explicit copy information transfer method and device
CN102739501A (en) Message forwarding method in two or three layer virtual private network (VPN) and system thereof
CN101616093B (en) Method and device for realizing user access multi-homing network and network equipment
US20040233847A1 (en) Routing system for establishing optimal route in wireless personal area network (WPAN) and method thereof
CN106059916B (en) Route injection method and device
US20120166658A1 (en) Gmpls network-based inter-domain interface apparatus and method
KR100428310B1 (en) LSP Setting Apparatus And Method Using Link State Routing Information In MPLS System
CN102739519B (en) Rooted multipoint service implementation method, device and system, and provider edge equipment
CN104092610A (en) OSPF neighbor establishing method and device
CN112838985B (en) Heterogeneous network communication method, system and controller
CN113630324A (en) Novel cross-domain interconnection method based on MPLS-VPN

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: NEW H3C TECHNOLOGIES Co.,Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: HANGZHOU H3C TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230808

Address after: 24th Floor, Block B, Zhizhen Building, No. 7 Zhichun Road, Haidian District, Beijing, 100088

Patentee after: Beijing Ziguang Communication Technology Group Co.,Ltd.

Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.