Based on Intermediate System-to-Intermediate System subnet topology flow forwarding method and equipment
Technical field
The application relates to communication technical field, and is particularly a kind of based on Intermediate System-to-Intermediate System subnet topology flow forwarding method and equipment.
Background technology
Intermediate System-to-Intermediate System (Intermediate System-to-Intermediate System, ISIS) how topological route (Multi-Topology Routing, MTR) just refer to a plurality of independently Internet Protocol (the Internet Protocol of operation in the autonomous territory of an ISIS, IP) topology, the 4th edition Internet Protocol (IPv4) topological sum sixth version Internet Protocol (IPv6) topology for example, rather than they are considered as an integrated single topology.For example, can be subdivided into different subnet topologys according to different business, realize the reasonable utilization of the network bandwidth.
Referring to Fig. 1, Fig. 1 is the subnet topologic network schematic diagram in the overall topology.Each groups of routers becomes overall situation topology among Fig. 1, and has disposed two sub-net topologies, is respectively subnet topology A and subnet topology B.Subnet topology A represents that by straight line subnet topology B represents by a dotted line.For Fig. 1 neutron net topology A, router B does not exist; And for subnet topology B, between router-A and the router D, and it is continuous not have available link between router B and the router C.Each independent topology all calculates the route of oneself according to Routing Protocol, belong to this topological flow and then transmit according to this topological routing table.
At present, among the ISIS MTR, whether flow walks the subnet topology is judged according to the flow RM, such as differentiated service code point (the differentiated services code point according to flow, dscp) priority is judged, be assumed to be the topological B of subnet topology A and subnet and mate dscp30 and dscp20 respectively, if the flow of coming on the router-A has dscp30, and destination network segment exists in the subnet topology, then this flow belongs to subnet topology A, then transmits from the topology of rectilinear direction; If the flow of coming on the router-A has dscp30, but destination network segment do not exist in the subnet topology, then abandons this flow; If the flow of coming on the router-A does not have dscp30 or 20, then walk normal ISIS topology, i.e. the public network topology that normally calculates of ISIS agreement.
ISIS MTR controls by order line for the forward-path of subnet topology at present, the routing direction of flow on the subnet topological path that issues back coupling subnet topology is immutable, cause bandwidth wretched insufficiency on the some subnets topology forward-path probably and bandwidth in other subnet topologys really very abundant situation take place, make network bandwidth resources can not get reasonable utilization.
Summary of the invention
In view of this, it is a kind of based on Intermediate System-to-Intermediate System subnet topology flow forwarding method and equipment that the application provides, and can make Internet resources obtain reasonable use.
For solving the problems of the technologies described above, technical scheme of the present invention is achieved in that
A kind of based on Intermediate System-to-Intermediate System subnet topology flow forwarding method, be applied on the edge device of the subnet topology in the ISIS MTR network, when formulating matched rule by access control list acl, increase the flow size and limit parameter and required movement parameter, comprising:
When this edge device receives the service traffics of user's side transmission, specify the subnet topology by the dscp value in the matched rule for these service traffics, with the size of current converting flow in the subnet topology of these service traffics and this appointment and, the value that limits parameter with the size of the flow in the matched rule compares, and handles this service traffics according to the required movement parameter in comparative result and the matched rule.
A kind of equipment is applicable as the edge device of the subnet topology in the ISIS MTR network, and this equipment comprises: dispensing unit, receiving element and processing unit;
Described dispensing unit when being used for by access control list acl formulation matched rule, increasing the flow size and limits parameter and required movement parameter;
Described receiving element is used for receiving the service traffics that user's side sends;
Described processing unit, be used for when described receiving element receives the service traffics of user's side transmission, specify the subnet topology by the dscp value in the matched rule of described dispensing unit configuration for these service traffics, with the size of current converting flow in the subnet topology of these service traffics and this appointment and, the value that limits parameter with the size of the flow in the matched rule compares, and handles this service traffics according to the required movement parameter in comparative result and the matched rule.
In sum, when the application formulates matched rule by access control list, increase the flow size and limit parameter and required movement parameter, when specifying the subnet topology by the dscp value in the matched rule for these service traffics, determine whether in the subnet topology of this appointment, to transmit these service traffics according to the flow size restriction parameter that increases in the rule and required movement parameter again, can make Internet resources obtain reasonable use.
Description of drawings
Fig. 1 is the subnet topologic network schematic diagram in the overall topology;
Fig. 2 is specific embodiment of the invention neutron net topology flow forwarding method schematic flow sheet;
Fig. 3 is the embodiment of the invention one neutron net topology flow forwarding process schematic diagram;
Fig. 4 is the embodiment of the invention two neutron net topology flow forwarding process schematic diagrames;
Fig. 5 is the specific embodiment of the invention five neutron net topology schematic diagrames;
Fig. 6 is for being applied to the structural representation of the equipment of above-mentioned technology in the specific embodiment of the invention.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, scheme of the present invention is described in further detail.
Propose a kind of based on Intermediate System-to-Intermediate System subnet topology flow forwarding method in the embodiment of the invention, be applied on the edge device of the subnet topology in the ISIS MTR network, this edge device is by access control list (access control list, when acl) formulating matched rule, increase the flow size and limit parameter and required movement parameter, when specifying the subnet topology by the dscp value in the matched rule for these service traffics, determine whether in the subnet topology of this appointment, to transmit these service traffics according to the flow size restriction parameter that increases in the rule and required movement parameter again, can make Internet resources obtain reasonable use.
In existing the realization, specify matched rule that flow is mated by acl, the parameter of configuration comprises the dscp value, realizes that the flow of specific dscp value is transmitted in the subnet topology of appointment.When to be each subnet topology by acl specify matched rule, increase by 2 parameters, flow size restriction parameter and required movement parameter in the specific embodiment of the invention.For the different sub-network topology, these two parameters can dispose equally also can be different.
When the edge device of subnet topology receives the service traffics of user's side transmission, determine earlier whether this flow carries the dscp value.The edge device of subnet topology is that this subnet topology is with the equipment of the outer devices communicating of this subnet topology.
If these service traffics are carried the dscp value, in the subnet topology, handle, determine whether the affiliated network segment in purpose IP address of these service traffics is the network segment at the subnet topology place of local configuration; If be this service traffics coupling subnet topology according to the dscp value of these service traffics by matched rule; Otherwise, abandon this service traffics.
If these service traffics are not carried the dscp value, in the public network topology, handle, determine whether the affiliated network segment in purpose IP address of these service traffics is the network segment at public network topology place; If then in the public network topology of correspondence, transmit; Otherwise, abandon this service traffics.
Edge device is determined still to manage business flow with existing realization in the public network topology in the subnet topology, gives unnecessary details no longer in detail here.
Referring to Fig. 2, Fig. 2 is specific embodiment of the invention neutron net topology flow forwarding method schematic flow sheet.Concrete steps are:
When step 201, edge device receive the service traffics of user's side transmission, be that these service traffics are specified the subnet topology by the dscp value in the matched rule.
Edge device is when receiving service traffics, these service traffics are carried the dscp value, in the matched rule for each subnet topology appointment, search corresponding dscp value according to this dscp value, determine that the corresponding subnet topology of the dscp value identical with the dscp value of these service traffics is the subnet topology of appointment.
Step 202, this edge device with the size of current converting flow in the subnet topology of these service traffics and this appointment and, the value that limits parameter with the size of the flow in the matched rule compares, and handles this service traffics according to the required movement parameter in comparative result and the matched rule.
Behind specific embodiments of the invention middle finger stator net topology, be not directly just in this subnet topology, to transmit these service traffics, but by after supposing that these service traffics flow into this subnet topology, the size of the total flow of this subnet topology relatively, the value that limits parameter with the flow in matched rule size compares, and does concrete concrete again according to the required movement parameter in comparative result and the matched rule.
The action parameter of appointment can be for adjusting parameter, forcing to limit parameter and ignore parameter automatically in specific implementation.Below by specific embodiment, describe when specifying different action parameters concrete processing procedure of the present invention in detail.
Embodiment one
Action parameter with appointment serves as that the adjustment parameter is example automatically.Illustrate as the edge device of the subnet topology of service traffics entrance, how to transmit service traffics.
Referring to Fig. 3, Fig. 3 is the embodiment of the invention one neutron net topology flow forwarding process schematic diagram.Concrete steps are:
When step 301, this edge device receive the service traffics of user's side transmission, be that these service traffics are specified the subnet topology by the dscp value in the matched rule.
Step 302, this edge device if determine these service traffics and the subnet topology of this appointment in current converting flow size and, limit the value of parameter, these service traffics of buffer memory greater than the size of the flow in the matched rule.
When this service traffics of hypothesis flow in the subnet topology of appointment in this step, when the total flow of subnet topology limits the value of parameter greater than the size of the flow in the matched rule, need to carry out and adjust action automatically, here earlier with this service traffics buffer memory, to reduce the generation of packet loss when adjusting these service traffics automatically.
If in the subnet topology of these service traffics and this appointment the size of current converting flow and, be not more than the value that flow size in the matched rule limits parameter, then directly in this subnet topology, transmit, do not enter self-adjusting pattern.
In this step, if determine current converting flow in the subnet topology of these service traffics and this appointment size and, limit the value of parameter greater than the size of the flow in the matched rule, record the information of these service traffics, this information comprises source IP address, purpose IP address, source port number, destination slogan and a dscp value; Wherein, the content of the dscp value dscp value of carrying for these service traffics.
The information that records these service traffics can be by a traffic table, also can be by realizations such as list items, and specific implementation is determined according to concrete applicable cases by the user.
Step 303, if there is the route table items of coupling in these service traffics in other subnet topologys, and when these other subnet topology remaining bandwidths satisfy the forwarding of these service traffics, this edge device is revised as the dscp value of described other subnet topologys with the dscp value of these service traffics, and transmits in these other subnet topologys; Otherwise, in the subnet topology of described appointment, transmit these service traffics.
Whether this edge device is searched and is existed other subnet topologys can transmit these service traffics to comprise: the route that whether has coupling according to other subnets of purpose IP address search of these service traffics, if there is no, then in the subnet topology of current appointment, transmit these service traffics; If exist, suppose to exist a plurality of subnet topologys to have the route of coupling, continue then to judge whether remaining bandwidth is rich in these subnet topologys, namely whether enough can transmit these service traffics, if the remaining bandwidth of these subnet topologys all meets the demands, then select one of them, obtain the dscp value of this subnet topology, the dscp value of the flow that this is professional is revised as the dscp value of the current subnet topology of selecting, and transmits in this subnet topology.
Though if in other subnet topologys, there is the route table items of coupling, when the remaining bandwidth of these other subnet topologys is not enough to transmit these service traffics, still in the subnet topology of dscp value coupling, transmit these service traffics.The information deletion of these service traffics that will record simultaneously.
The route table items that in other subnet topologys, has coupling in these service traffics, and when these other subnet topology remaining bandwidths satisfy the forwarding of these service traffics, with the dscp value of these other subnet topologys the 2nd dscp value as these service traffics, be recorded in the information of these service traffics, and the information of service traffics of record is worn out.In ageing time, when this edge device continues to receive these service traffics of user's side transmission, refresh the time to the obsolescence of information of these service traffics.
Service traffics in the specific embodiment of the invention are a section business, comprise a plurality of messages, as, transmit a video file, the process that this video file is transmitted is called the process that edge device continues to receive and send these service traffics.When this video end of transmission, be called these service traffics and stop.
When with the dscp value of these other subnet topologys the 2nd dscp value as these service traffics, when being recorded in the information of these service traffics, the information of these service traffics of record is carried in the ISIS hello packet sends to next hop neighbor equipment with triggering mode, make this neighbor device record the information of these service traffics and continue to trigger and send, to the last a learning equipment arrives till the information of these service traffics.
When the intermediate equipment in the subnet topology receives this ISIS hello packet, record the information of these service traffics that this message carries, and continue to send to next hop neighbor equipment with triggering mode, be the edge device of this subnet topology if receive the equipment of this ISIS hello packet, it self has been the final jump of this subnet topology that this edge device is found, then record the information of these service traffics in this ISIS hello packet, no longer send this ISIS hello packet.
When these service traffics stop, the obsolescence of information of these service traffics in the time, when receiving these service traffics again, is being mated the subnet topology by matched rule again.
After these service traffics stop, the information of these service traffics of deletion record immediately not, but in ageing time then, just deletion.If in ageing time, receive these service traffics again, refer to the corresponding on all four flow of content of source IP address, purpose IP address, source port number, destination slogan and a dscp value in the information of record.
If when certainly only needing the source IP address service traffics the same with purpose IP address just can be defined as same service traffics in some network, only record and determine whether to be same service traffics by these two parameters and dscp value.But for monitoring business etc., also need to determine whether to be same service traffics by port numbers, therefore, by these 5 parameters, namely the corresponding content of source IP address, purpose IP address, source port number, destination slogan and a dscp value determines whether to be same service traffics in the specific embodiment of the invention.
The process unanimity of this edge device when mating subnet topology for these service traffics again by matched rule, see the subnet topology that whether has dscp value coupling earlier, when if remaining bandwidth can not satisfy, see again whether other subnet topologys exist route table items of transmitting these service traffics etc.Concrete processing procedure is as follows:
When the dscp value of the subnet topology that matches is the dscp value of these service traffics, the information of these service traffics of deletion record, and in the current subnet topology that matches, transmit.
Here match the subnet topology that refers to the dscp value unanimity of these service traffics, and the remaining bandwidth of this subnet topology also satisfies the forwarding of these service traffics.The information deletion of these service traffics that will record does not at this time need to revise the dscp value of these service traffics, directly transmits these service traffics in this subnet topology.
When the dscp value of the subnet topology that matches during for the corresponding value of the 2nd dscp value of record, refresh the ageing time of these service traffics, and transmit after the dscp value of these service traffics being revised as the value of the 2nd dscp value correspondence of current record.
Here the subnet topology that matches is the same with the subnet topology that last time, these service traffics matched, because the surplus lines bandwidth of the subnet topology that the dscp value of these service traffics matches can not satisfy the forwarding of these service traffics, therefore do not need the information of these service traffics of amendment record, the information of these service traffics of only bettering a record gets final product.The same with the mode of transmitting these service traffics last time, revise the dscp value of these service traffics, in the corresponding subnet topology of amended dscp value, transmit.
When the dscp value of the subnet topology that matches neither the value of a dscp value of record correspondence, and when not being the value of the 2nd dscp value correspondence, the corresponding value of the 2nd dscp value of these service traffics that this edge device will record is revised as the dscp value of the current subnet topology that matches, and the information of these current service traffics is carried in the ISIS hello packet send in the current subnet topology that matches with triggering mode; And the dscp value of service traffics is revised as the corresponding value of the 2nd dscp value of current record, in the current subnet topology that matches, transmit these service traffics of revising the dscp value.
Here the subnet topology that matches is neither the corresponding subnet topology of the dscp value of these service traffics, subnet topology that neither last time, this flow matches arrived, but match a new subnet topology, at this moment the dscp value of service traffics is revised as the dscp value of this new subnet topology, and in this new subnet topology, transmits these service traffics.
Simultaneously, cover the value of the dscp value correspondence in the information of these service traffics of record with the dscp value of this new subnet topology, and the information of these current service traffics is carried in the ISIS hello packet sends in the current subnet topology that matches with triggering mode.
Embodiment two
Action parameter with appointment serves as that the adjustment parameter is example automatically.Illustrate as the edge device of the subnet topology of service traffics outlet, how to transmit service traffics.
Referring to Fig. 4, Fig. 4 is the embodiment of the invention two neutron net topology flow forwarding process schematic diagrames.Concrete steps are:
During the information of the service traffics that step 401, the edge device equipment in subnet topology under it that receives sends by the ISIS hello packet, upgrade the information of these service traffics at local record.
When this edge device receives the information of the service traffics that send by the ISIS hello packet, determine the local information that whether records these service traffics earlier, if record then upgrades the information of these service traffics, and the ageing time of the information of the service traffics of bettering a record; If record not then records the information of these service traffics, and the information of the service traffics of record worn out.
Step 402, this edge device receives the service traffics that the interior equipment of subnet topology under it sends, and the dscp value of these service traffics is during for the value of the correspondence of the 2nd dscp value in the information of these service traffics of record, if determine that according to the purpose IP address of these service traffics this edge device is the final jump of this subnet topology, the dscp value of these service traffics is revised as the corresponding also forwarding of value of a dscp value in the information of these service traffics of local record.
If the local information that does not record these service traffics is not then revised the dscp value of these service traffics and is directly handled these service traffics.
If this edge device receives the service traffics that the equipment in subnet topology under it sends, and the dscp value of these service traffics is during for the value of the correspondence of the dscp value in the information of these service traffics of record, the information of these service traffics of deletion record.
At this moment illustrating that these service traffics are moved back to again in the subnet topology with its dscp value coupling transmits.
Embodiment three
Serve as that force to limit parameter be example with the required movement parameter among this embodiment, illustrate as the edge device of the subnet topology of service traffics entrance how to transmit service traffics.
When edge device receives the service traffics of user's side transmission, be that these service traffics are specified the subnet topology by the dscp value in the matched rule.If in the subnet topology of these service traffics and this appointment the size of current converting flow and, limit the value of parameter greater than the size of the flow in the matched rule, abandon this service traffics; Otherwise, in this subnet topology, transmit this Business Stream.
This kind set-up mode does not surpass the value of the flow size restriction parameter in the matched rule for the user does not wish the flow on this subnet topology, and the flow that exceeds just acquiescence will abandon.This mode also can realize by Token Bucket Policing, for flexible control, can adopt twin-tub mechanism when configuration flow size parameter.
Token bucket can be regarded as a container of depositing some tokens, system places token according to the speed of setting in bucket, when token in the bucket is full, the token that has more overflows, token no longer increases in the bucket, with token bucket evaluates traffic specification the time, is that whether to satisfy message forwarding with the token quantity in the token bucket be foundation, if exist enough tokens can be used for transmitting in the bucket, claim flow to observe or meet this specification; The parameter of token bucket comprises Mean Speed and burst size during evaluates traffic; In order to assess more complicated situation, implement regulation and control strategy more flexibly, can dispose two token buckets, be called for short C bucket and E bucket, dispose 4 parameters, be respectively CIR (Committed Information Rate, CIR), the speed of token is thrown in expression in the C bucket, i.e. the C bucket Mean Speed that allows transmission or E-Packet; CBS, the capacity of expression C bucket, namely C bucket moment the committed burst flow that can pass through; Peak information rate (Peak Information Rate, PIR), the speed of token is thrown in expression in the E bucket, i.e. the E bucket maximum rate that allows transmission or E-Packet; EBS represents the capacity of E bucket, and namely E bucket moment can pass through exceeds burst flow.
Embodiment four
Be example with the required movement parameter for ignoring among this embodiment, illustrate as the edge device of the subnet topology of service traffics entrance how to transmit service traffics.
When edge device receives the service traffics of user's side transmission, specify the subnet topology by the dscp value in the matched rule for these service traffics, with the size of current converting flow in the subnet topology of these service traffics and this appointment and, the value that limits parameter with the size of the flow in the matched rule compares, and by Token Bucket Policing according to comparative result to service traffics carry out painted after, in this subnet topology, transmit.
Among this embodiment, when formulating matched rule by acl, limit parameter though disposed the flow size, the flow that exceeds still can be transmitted in the subnet topology that matches, and does not namely carry out any action or carries out painted by Token Bucket Policing to service traffics.This embodiment is for better compatible existing realization.
Embodiment five
By reference to the accompanying drawings, lift specific embodiment and describe the edge device flow of how managing business in detail among this embodiment.
Referring to Fig. 5, Fig. 5 is the specific embodiment of the invention five neutron net topology schematic diagrames.
Have 2 sub-net topologies among Fig. 5, router-A, router B and router D form subnet topology 1; Router-A, router C and router D form subnet topology 2.Have 2 class business, wherein service traffics 1 are walked subnet topology 1, and service traffics 2 are walked subnet topology 2, walk the optimization utilization that bandwidth is realized in different paths by subnet topology realization 2 class service traffics.If there is the phenomenon of blowout in service traffics 1, may there be the remaining bandwidth deficiency on the subnet topology 1 and phenomenon that remaining bandwidth on the subnet topology 2 is really also had vacant position occurs, wishes rationally to utilize when service traffics 1 amount is big remaining bandwidth on the subnet topology 2 this moment.
Suppose that the link bandwidth between two routers in subnet topology 1 and the subnet topology 2 is 1000M.In fact in the pressure flow size of configuration subnet topology, be can not be arranged to 1000M, because except the subnet topology, also have the public network topology to exist, some is not walked the flow of subnet topology and walks according to the public network topology, suppose that here the pressure flow size parameter with subnet topology 1 and 2 all is set to 800M, wherein the action parameter of subnet topology 1 is set to automatic adjustment, the action parameter of subnet topology 2 is set to ignore, be that flow on the group net topology 2 has surpassed 800M, still can transmit the flow that newly arrives, use up up to the 1000M link bandwidth; But the 800M flow size parameter quilt net topology 1 of subnet topology 2 is used for calculating the foundation whether subnet topology 2 exists remaining bandwidth.
The P1 port of router-A connects professional 1 and professional 2 among Fig. 5, being a kind of general reference, may not be to have only 1 port, in general is can be that a plurality of ports connect two class business, also may be aggregated links, namely P1 port total bandwidth be greater than the bandwidth of P2 and the independent port of P3.
Suppose that subnet topology 1 has disposed automatic adjustment parameter, the dscp value of service traffics 1 is 30, and the dscp value of service traffics 2 is 20, and the dscp value of subnet topology 1 is 30, and the dscp value of subnet topology 2 is 20.And subnet topology 1 this moment dedicated bandwidth 780M, subnet topology 2 is dedicated bandwidth 500M, this moment the flow of newly arriving, carry dscp value 30, the flow size is 30M, according to the dscp value, should go into subnet topology 1, and purpose IP exists the route table items of coupling, the at first information of service traffics 1 in subnet topology 1.Referring to table 1, table 1 is the content that the information of service traffics 1 comprises.
Source IP address |
Purpose IP address |
Source port number |
The destination slogan |
The one dscp value |
The 2nd dscp value |
10.1.1.1 |
20.1.1.1 |
10000 |
20000 |
30 |
-- |
Table 1
In source IP address, purpose IP address, source port number and destination slogan, the numerical value of filling is default in the table 1.Source IP address, purpose IP address are source IP address and the purpose IP address of service traffics 1; The protocol port that source port number and destination slogan carry for these service traffics number is as udp protocol and Transmission Control Protocol etc.
Factor net topology 1 has disposed automatic adjustment function, so at first this new flow is gone into buffer memory, prevents packet loss, begins following processing procedure simultaneously:
Route A searches the route table items whether other subnet topologys exist coupling purpose IP address, have then to continue to calculate, if not then flow from buffer memory, takes out and still walks original topology, namely subnet topology 1 is transmitted, the information of the service traffics 1 of while deletion record.
If there is the route table items of coupling purpose IP in subnet topology 2, then continue to calculate whether have enough remaining bandwidths, still do not walk original topology and transmit the information of the service traffics 1 of while deletion record if then flow is taken out from buffer memory.At this moment, subnet topology 2 residual available bandwidth are 800M-500M=300M, greater than the speed 30M of flow, satisfy the condition of transmitting service traffics 1.
Route A is the information of the service traffics 1 of new record more.Referring to table 2, table 2 is the content that the information of the service traffics 1 after upgrading comprises.
Source IP address |
Purpose IP address |
Source port number |
The destination slogan |
The one dscp value |
The 2nd dscp value |
10.1.1.1 |
20.1.1.1 |
10000 |
20000 |
30 |
20 |
Table 2
Subnet topology 2 is carried the information triggering transmission of these service traffics 1 by the ISIS hello packet of expansion, be the neighbor router C that router-A sends to subnet topology 2, router C notes the information of service traffics 1, specifying information is the content that list item 2 comprises, and continue to send to router D, router D notes the information of these service traffics 1.
Router-A, wears out to the information that records during as the content in the table 2 in the information that has recorded these service traffics 1.When router C and router D received service traffics 1, the information of record traffic flow 1 also wore out.
Each router in the subnet topology 2 when continuing to receive the service traffics 1 of user's side transmission, refreshes the time to the obsolescence of information of these service traffics in ageing time.
When router C receives these service traffics 1, the dscp value that the service traffics 1 of discovery local record are carried is the corresponding value of the 2nd dscp value in the information of the service traffics 1 of local record, the information of the service traffics 1 of then bettering a record, and to next redirect sending service flow 1.
After router D receives service traffics 1, if determine that according to the purpose IP address of service traffics this router is the last-hop Router of subnet topology 2, according to the information of the business 1 of local record professional 1 dscp value replacement is replaced with 30 again by 20.
After service traffics 1 stopped, router-A, router C, router D were when ageing time is overtime, and the information of the service traffics 1 of deletion local record is deleted after 3 minutes such as maintenance.
Receive the flow that these service traffics 1 are sent again as if on the route A this moment in digestion period, then at first match subnet topology 1 according to the dscp value, carrying out bandwidth again judges, if the bandwidth of subnet topology 1 meets the demands, then not carrying out the dscp value replaces, directly transmit from subnet topology 1, and the information of the service traffics 1 of deletion record.
Router C still carries out burin-in process, and router D receives and finds that this flow is not to carry dscp value 20 behind the flow, but dscp value 30, then the also information of the service traffics 1 of direct deletion record.
If receiving this flow this moment in digestion period on the router-A again send and carries out bandwidth when judging, bandwidth is still not enough, router-A is revised as 20 with the dscp value 30 of service traffics 1, continues to transmit in subnet topology 2, and refreshes the information of the service traffics 1 of local record.When router C and router D receive these service traffics, refresh the information of the service traffics 1 of local record.
Based on same inventive concept, also propose a kind of equipment in the specific embodiment of the invention, be applicable as the edge device of the subnet topology in the ISIS MTR network.Referring to Fig. 6, Fig. 6 is for being applied to the structural representation of the equipment of above-mentioned technology in the specific embodiment of the invention.This equipment comprises: dispensing unit, receiving element and processing unit.
Dispensing unit 601 when being used for by access control list acl formulation matched rule, increasing the flow size and limits parameter and required movement parameter.
Receiving element 602 is used for receiving the service traffics that user's side sends.
Processing unit 603, be used for when receiving element 602 receives the service traffics of user's side transmission, specify the subnet topology by the dscp value in the matched rule of dispensing unit 601 configurations for these service traffics, with the size of current converting flow in the subnet topology of these service traffics and this appointment and, the value that limits parameter with the size of the flow in the matched rule compares, and handles this service traffics according to the required movement parameter in comparative result and the matched rule.
Preferably,
Processing unit 603, the required movement parameter that disposes when dispensing unit 601 is when adjusting parameter automatically, if determine current converting flow in the subnet topology of these service traffics and this appointment size and, limit the value of parameter greater than the size of the flow in the matched rule, these service traffics of buffer memory, if there is the route table items of coupling in these service traffics in other subnet topologys, and when these other subnet topology remaining bandwidths satisfy the forwarding of these service traffics, the dscp value of these service traffics is revised as the dscp value of described other subnet topologys, and in these other subnet topologys, transmits; Otherwise, in the subnet topology of described appointment, transmit these service traffics.
Preferably, this equipment further comprises: record cell 604.
Record cell 604, be used for when described determining unit if determine these service traffics and this appointment the current converting flow of subnet topology size and, limit the value of parameter greater than the size of the flow in the matched rule, record the information of these service traffics, this information comprises source IP address, purpose IP address, source port number, destination slogan and a dscp value; Wherein, the content of the dscp value dscp value of carrying for these service traffics; Determine service traffics when processing unit 603 and in other subnet topologys, have the route table items of coupling, and when these other subnet topology remaining bandwidths satisfy the forwarding of these service traffics, with the dscp value of these other subnet topologys the 2nd dscp value as these service traffics, be recorded in the information of these service traffics; And the information of these service traffics that will record is carried at and sends to next hop neighbor equipment in the ISIS hello packet, the information that makes this neighbor device record these service traffics also continues to trigger to send, and to the last a jumping learning equipment arrives till the information of these service traffics; When processing unit 603 is determined to transmit these service traffics in the subnet topology in described appointment, the information of these service traffics of deletion record.
Preferably, this equipment further comprises: aging unit 605.
Aging unit 605 is used for the information of the service traffics of record cell 604 records is worn out; In ageing time, when continuing to receive these service traffics of user's side transmission as if receiving element 602, refresh the time to the obsolescence of information of these service traffics;
Processing unit 603 is further used for when these service traffics stop, and in the time, when receiving element 602 receives these service traffics again, mates the subnet topology again by matched rule at the obsolescence of information of 605 pairs of these service traffics in aging unit; When the dscp value of the subnet topology that matches is the dscp value of these service traffics, the information of these service traffics of deletion record, and in the current subnet topology that matches, transmit; When the dscp value of the subnet topology that matches during for the corresponding value of the 2nd dscp value of record, refresh the ageing time of these service traffics, and transmit after the dscp value of these service traffics being revised as the value of the 2nd dscp value correspondence of current record; When the dscp value of the subnet topology that matches neither the value of a dscp value of record correspondence, and when not being the value of the 2nd dscp value correspondence, the value of the 2nd dscp value correspondence of this service traffics of record is revised as the dscp value of the current subnet topology that matches, the information of these current service traffics is carried in the ISIS hello packet sends in the current subnet topology that matches with triggering mode, and the dscp value of these service traffics is revised as the corresponding value of the 2nd dscp value of current record, in the current subnet topology that matches, transmit these service traffics of revising the dscp value.
Preferably,
Receiving element 602 is further used for receiving the information of the service traffics that the equipment in the subnet topology under this equipment sends; The service traffics that equipment in the subnet topology under this equipment of reception sends;
Record cell 604 when being further used for the information of service traffics of the equipment transmission in receiving element 602 receives subnet topology under this equipment, upgrades the information of these service traffics at local record; The service traffics that equipment in the subnet topology under receiving element 602 receives this equipment sends, and the dscp value of these service traffics is during for the value of the correspondence of the dscp value in the information of these service traffics of record, the information of these service traffics of deletion record.
Processing unit 603, be further used for the service traffics that the equipment in the subnet topology under receiving element 602 receives this equipment sends, and when the dscp value of these service traffics is the corresponding value of the 2nd dscp value in the information of these service traffics, if determine that according to the purpose IP address of these service traffics this edge device is the final jump of this subnet topology, the dscp value of these service traffics is revised as the corresponding also forwarding of value of a dscp value in the information of these service traffics of local record.
Preferably,
Processing unit 603, be further used for when the described required movement parameter of dispensing unit 601 configurations limits parameter for pressure, if in the subnet topology of these service traffics and this appointment the size of current converting flow and, value greater than the size of the flow in matched rule restriction parameter abandons this service traffics; Otherwise, in this subnet topology, transmit these service traffics; When the described required movement parameter of dispensing unit 601 configuration when ignoring, with the size of current converting flow in the subnet topology of these service traffics and this appointment and, the value that limits parameter with the size of the flow in the matched rule compares, and by Token Bucket Policing according to comparative result to service traffics carry out painted after, in this subnet topology, transmit.
The unit of above-described embodiment can be integrated in one, and also can separate deployment; A unit can be merged into, also a plurality of subelements can be further split into.
In sum, when formulating matched rule by access control list in the specific embodiment of the invention, increase the flow size and limit parameter and required movement parameter, when specifying the subnet topology by the dscp value in the matched rule for these service traffics, determine whether in the subnet topology of this appointment, to transmit these service traffics according to the flow size restriction parameter that increases in the rule and required movement parameter again, can make Internet resources obtain reasonable use.
When specifying matched rule in the application's specific embodiment, the user rationally adjusts the method for salary distribution of flow in each subnet topology as required, guarantees taking full advantage of of bandwidth.And the information of service traffics of record wear out and the recycling processing, also taken full advantage of the resource of equipment.
The above is preferred embodiment of the present invention only, is not for limiting protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.