CN102136957A - Label switched path monitoring realization method, device and system - Google Patents

Label switched path monitoring realization method, device and system Download PDF

Info

Publication number
CN102136957A
CN102136957A CN2010101006149A CN201010100614A CN102136957A CN 102136957 A CN102136957 A CN 102136957A CN 2010101006149 A CN2010101006149 A CN 2010101006149A CN 201010100614 A CN201010100614 A CN 201010100614A CN 102136957 A CN102136957 A CN 102136957A
Authority
CN
China
Prior art keywords
ldp
tunnel group
lsp
group
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010101006149A
Other languages
Chinese (zh)
Other versions
CN102136957B (en
Inventor
申飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201010100614.9A priority Critical patent/CN102136957B/en
Publication of CN102136957A publication Critical patent/CN102136957A/en
Application granted granted Critical
Publication of CN102136957B publication Critical patent/CN102136957B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a label switched path monitoring realization method, a label switched path monitoring realization device and a label switched path monitoring realization system. The method comprises the following steps of: creating a label distribution protocol (LDP) tunnel group for reflecting the state of at least one of LDP label switched paths (LSP) based on the same forwarding equivalence class (FEC) item, and transmitting a state change notice after the creation of a new LDP tunnel group is finished; when the LDP tunnel group comprises at least one LDP LSP, causing the LDP tunnel group to enter a working state; and when the LDP LSPs in the LDP tunnel group are all deleted, setting the LDP tunnel group to be in a non-working state, and transmitting the state change notice. By the technical scheme provided by the invention, the needs of LDP LSP state monitoring can be satisfied, and the impact of massive alarms on network management equipment and the like is essentially avoided.

Description

A kind of implementation method, device and system of label switched path monitoring
Technical field
The present invention relates to Virtual Private Network (VPN, the Virtual PrivateNetwork) technical field of internet communication, be meant implementation method, device and the system of a kind of label switched path (LSP, LabelSwitched Path) monitoring especially.
Background technology
Along with Internet development, the needs of information interchange extend gradually, and various unit organizations such as enterprise, cause have proposed more and more higher requirement for the construction of private network, mainly show aspects such as network more flexible, economy, autgmentability.Under such background, VPN has won the favor of more and more enterprises with its exclusive advantage.VPN is the privately owned dedicated network that utilizes public network to make up, and it can provide good fail safe and manageability for the user as common private network.
(Virtual PrivateLan Service, VPLS) use is very extensive in MAN for the VPLS that grows up on the VPN basis.Referring to shown in Figure 1, be a kind of classical group web frame of VPLS.Wherein, client router (CE) is the equipment of client, and (Provide Edge device is PE) with the equipment of operator's router (P) for operator's end for provider edge router.In Fig. 1, adhere to customer equipment CE1, the CE2 of two places separately and undertaken interconnected by equipment PE1, P, the PE2 of operator.On PE1 equipment and PE2 equipment, create the VPLS example and carry out intercommunication, the user's message that CE1 uploads is packed and be forwarded to PE2 equipment via the VPLS example at the GE1/0/0.1 of PE1 equipment interface, at the GE2/0/0.1 of PE2 equipment interface, user's message is given CE2 equipment by deblocking and transmission.
In all VPN technologies, multiprotocol label switching (MPLS, Multiprotocol Label Switching) VPN is with good expansibility and flexibility, is one of VPN technologies at present with the fastest developing speed.
Along with the continuous variation of customer demand, operator need make up the network of high forwarding and high reliability and meet customer need.Operator carries out VPN planning at metropolitan area network, as the carrying pipeline, can solve the user change day by day demand.The VPLS technology is to be applied in MAN VPN technologies the most widely at present.The VPLS technology can be carried on the MPLS, has both guaranteed forward efficiency, simultaneously as a kind of pipeline, and can the different types of message of carrying client.Referring to shown in Figure 2,, use MPLS to carry out pipeline at metropolitan area network and create, create VPLS simultaneously in order to satisfy the access of the multiple client's business of operator.User's message is encapsulated and is delivered to network terminal PE (NPE) equipment at user side PE (UPE) equipment, NPE equipment carries out decapsulation reduction user's message and continues to transmit.In this process, user's message does not participate in message as payload and transmits, and user's message can pass through MAN fast.Can solve personal user's high speed input channel (HSI), IP phone (VOIP) and radio and television (BTV) business at present, it is interconnected and can solve enterprise customer's internet, applications demand that the enterprise customer then can solve the branch in strange land.
In legacy network, carry out message transmissions based on routing forwarding.User's message enters after the router, and the query router route forwarding table also carries out searching of next jumping based on the optimum Match principle.Like this, just need the whole routing table of traversal, fairly obvious to effectiveness affects.The MPLSVPN technology is carried out the distribution of label for message earlier based on the thought of label exchange, is E-Packeted based on label by router again.Label forwarding then adopts matching principle at first, when matching suitable forwarding label path, will carry out message forwarding, does not need to have mated all label lists.And, since message packed forwarding label, then can play the effect of isolation.
In the MAN of using the MPLS VPN technologies, generally can adopt label distribution protocol/tag distribution protocol (LDP, Label Distribution Protocol) to carry out the foundation of label switched path (LSP, Label Switched Path).LDP LSP is a kind of auto-negotiation technology, sets up dynamic label forwarding path between equipment.Generally speaking, trigger the establishment of LDP LSP forward-path by routing iinformation.Based on the LSP of LDP is a kind ofly not have service quality (Quality of Service, QOS) the dynamic pipeline of Bao Zhenging is owing to its configuration simply is used widely.
As shown in Figure 3, for (Label SwitchingRouter, LSR) A sets up LDP LSP between the LSR C, need enable the LDP ability on above-mentioned router device LSR A, LSR B, LSR C and interface separately at LSR.
After the configuration Routing Protocol, meeting exchanging routing information between LSR A and the LSR C equipment after enabling the LDP ability, can be set up the label that session and negotiation packet are transmitted between the equipment.User's message imports into after the LSR A, and when purpose IP address was LSR C, LSR A equipment can encapsulate the MPLS label for user's message, when follow-up forwarding, directly just can arrive LSR C equipment via LSR B according to label.
In MAN, router can carry out the path according to current routing change situation and recomputate, and by strengthen some dynamic protection means in router, the LDP technology can also realize self-shield.Such as, routing device can be supported maximum 32 protection mechanism and support two-way forwarding to detect (BFD, Bidirectional Forwarding Detection) and detect the time of restraining with acceleration disturbance.
Simultaneously, in order to guarantee the normal operation of Operator Specific Service, webmaster can provide the real-time network monitoring function.The O﹠M personnel can watch professional operation conditions in real time by webmaster.In the ordinary course of things, the O﹠M personnel can monitor the operation conditions of VPN.When VPN breaks down, then can watch the operation conditions of MPLS, so that orient the fault point that influences the VPN operation.
But LDP LSP can often create dynamically along with the variation of route and delete in the actual motion.Enabled the LDP ability such as certain router, had a route table items that arrives 10.110.112.10 on this router, then this router will be set up a label switched path that arrives 10.110.112.10.This router can report a MPLS XCUP alarm then, and new LDP LSP of notice webmaster is created success.
When concussion takes place the equipment route, when the route table items that this router is found to 10.110.112.10 does not exist, then can delete this label forwarding path and notify webmaster.When the route table items to 10.110.112.10 occurred once more, then a new LDP LSP was created out.In this process, though successively the purpose IP address of two LDP LSP arrival is consistent, but definition must be redistributed index according to existing LDP agreement relevant criterion, and then for webmaster, the deletion that belongs to object creates again rather than the state of object upgrades.When routing iinformation 1,000,000 even during millions, the amount of the fault warning of client's side apparatus can be very huge.
Therefore, there is following difficult point during based on the LSP of LDP in prior art in monitoring:
1) the scale amount is bigger, the monitoring difficulty, such as: in the office point of disposing thousand routers, the actual LDP LSP quantity that produces can be more than 1,000,000.
2) change frequently, mass alarm can't be handled.When route oscillation, cause that thus ground variation meeting is more frequent.According to existing LDP agreement relevant criterion definition, all changes of LDP LSP all can be passed through the XC alarm report.Webmaster can be alarmed LDP LSP example and the state of upgrading based on this in theory.But the method is infeasible in practice, because alarm quantity is very huge.For example: dispose the office point of scales for thousand routers, even suppress to handle through alarm, to be equipped with 1/second be example to set up, and then webmaster continues to receive MPLS XC alarm more than 1000/second in a period of time, and this temporary impact for webmaster is very big.
Summary of the invention
In view of this, the objective of the invention is to propose a kind of implementation method, device and system of label switched path monitoring, solve the mass alarm problem that existing monitoring technique exists.
The implementation method of a kind of label switched path monitoring that the embodiment of the invention provides comprises:
Establishment be used for the reflection based on same forwarding equivalence class (Forwarding EquivalenceClass, the LDP tunnel group of at least one LDP LSP state FEC), new LDP tunnel form build finish after the transmit status Notification of Changes; When having at least one LDP LSP in the LDP tunnel group, this LDP tunnel group is in running order; When all LDP LSP are deleted in the LDP tunnel group, this LDP tunnel group are set are in non operating state, the transmit status Notification of Changes.
Based on above-mentioned purpose, the present invention also provides a kind of implement device of label switched path monitoring, comprising:
The modeling piece is formed in the tunnel, is used for when reaching the establishment condition, creates the LDP tunnel group of reflection based at least one LDP LSP state of same FEC item, and with the sign of new LDP tunnel group and status information transmission to tunnel group Status Change module;
Group Status Change module in tunnel is used to preserve LDP tunnel group id, and according to the state of the LDP tunnel group latest state information change LDP tunnel group of receiving, sends corresponding LDP tunnel group Status Change notice to pre-configured destination address;
Monitor processing module, be used to monitor the situation of change of LDP LSP, when all LDP LSP were deleted in the LDP tunnel group, the state information that LDP tunnel group is in non operating state sent to tunnel group Status Change module.
Based on above-mentioned purpose, the present invention also provides a kind of realization system of label switched path monitoring, in operator's end router of VPN network aforesaid device is set.
Implementation method, device and the system of label switched path monitoring provided by the invention, by creating LDP tunnel group, LDP LSP is carried out the abstract of logic manage object, bear role by LDP tunnel group, notify to substitute the state variation alarm of one group of LDP LSP of its representative by the Status Change of tunnel group the status management agent of actual LDP LSP.Both can satisfy LDP LSP condition monitoring demand, again from having avoided the impact of mass alarm in essence to equipment such as webmasters.
Description of drawings
Fig. 1 is a prior art VPLS networking structure schematic diagram;
Fig. 2 uses the MAN structural representation of VPN technologies for prior art;
Fig. 3 is the basic networking structure schematic diagram of prior art MPLS VPN;
Fig. 4 forms for the LDP tunnel of an embodiment of LSP monitoring implementation method of the present invention and builds schematic flow sheet;
Fig. 5 is the LDP tunnel group Status Change schematic flow sheet of an embodiment of LSP monitoring implementation method of the present invention;
Fig. 6 forms for the LDP tunnel of another embodiment of LSP monitoring implementation method of the present invention and builds schematic flow sheet;
Fig. 7 is the LDP tunnel group Status Change schematic flow sheet of another embodiment of LSP monitoring implementation method of the present invention;
Fig. 8 is the structural representation of an embodiment of label switched path monitoring implement device of the present invention;
Fig. 9 is the structural representation of another embodiment of label switched path monitoring implement device of the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with specific embodiment, and with reference to accompanying drawing, the present invention is described in more detail.
The implementation method of the label switched path monitoring that the embodiment of the invention provides comprises:
Establishment is used to reflect the LDP tunnel group based at least one LDP LSP state of same FEC item, new LDP tunnel form build finish after the transmit status Notification of Changes; When having at least one LDP LSP in the LDP tunnel group, the state of this LDP tunnel group remains operating state; When all LDP LSP are deleted in the LDP tunnel group, this LDP tunnel group are set are in non operating state, and send the Status Change notice.
Optionally, the process of the described establishment of this method LDP tunnel group comprises: generate the identifying information of LDP tunnel group, and the LDP LSP number that reflected of real time record LDP tunnel group; When described numerical value is 0, judge that all LDP LSP are deleted in the LDP tunnel group; The process of perhaps described establishment LDP tunnel group comprises: generate the identifying information of LDP tunnel group, and real-time update has write down the tabulation of each LDP LSP identification information that LDP tunnel group reflected; When the list item of described tabulation becomes sky, judge that all LDP LSP are deleted in the LDP tunnel group.
Optionally, this method further comprises: when receiving the indication of looking into the inner LDPLSP information of this LDP tunnel group, if when recording the LDP LSP number that LDP tunnel group reflected, then obtain inner each the LDP LSP information of current LDP tunnel group by polling mode; And/or
If when recording the tabulation of each LDP LSP identification information that LDP tunnel group reflected, then directly extract the information in the tabulation.
Optionally, the described LDP of this method tunnel group is to be used to reflect based on same FEC item and to satisfy the tunnel group of all LDP LSP states of VPN instance routing policy, perhaps for being used to reflect the tunnel group based on all LDP LSP states of same FEC item.
Optionally, the described LDP of this method tunnel group is to be used to reflect based on same FEC item and to satisfy the tunnel group of all LDP LSP states of VPN instance routing policy; The step of described establishment LDP tunnel group is carried out when creating VPN instance; And further comprise: after the VPN instance of creating is carried out LDP LSP iteration, judge in the current VPN instance constructive process whether iterate to LDP LSP, if the state that LDP tunnel group then is set is operating state and sends the Status Change notice; Otherwise the state that LDP tunnel group is set is non operating state and sends the Status Change notice.
Optionally, this method further comprises: when newly-increased LDP LSP, judge that the LDP tunnel group whether this LDP LSP that increases newly is in non operating state chooses, if, the state of then changing this LDP tunnel group is operating state and the Status Change that sends LDP tunnel group notice, otherwise, transmit status Notification of Changes not.
Optionally, this method is described judges in the current VPN instance constructive process whether iterate in the process of LDP LSP, if be judged to be, then take a step forward and comprise: judge whether the LDP LSP in this VPN instance is LDPLSP in the described LDP lsp tunnel group step of execution establishment, if then continue, otherwise process ends.
Optionally, the described LDP of this method tunnel group is the tunnel group that is used to reflect based on all LDP LSP states of same FEC item; The step of described establishment LDP tunnel group is carried out behind the LDP LSP that creates based on the FEC item; When LDP LSP is deleted,, then further deletes this LDP tunnel group and send the Status Change notice if there is not other LDP LSP in the LDP tunnel under this LDP LSP; Otherwise, transmit status Notification of Changes not.
Optionally, comprise in the described Status Change notice of this method: the current state information in LDP tunnel group id and tunnel.
Optionally, the destination that the described Status Change notice of this method sends is a webmaster, and further comprises: webmaster is revised the topological diagram of LDP tunnel group according to the Status Change notice of receiving.
The method of the embodiment of the invention can be applicable in the equipment such as router of operator's end.Wherein, the destination that described Status Change notice sends can be webmaster, and when existing a plurality of webmasters to manage the situation of same equipment, the described alarm that this equipment sends then needs to send to all webmasters of this equipment of management.In described Status Change notice, can comprise: the state information in LDP tunnel group id, tunnel etc.
TRAP is the initiatively mechanism of transmit status variation message of prior art equipment, has stipulated the contents such as mode of message definition.In embodiments of the present invention, can be by defining the function that new TRAP realizes described Status Change notice.The information such as state information of carrying described LDP tunnel group id, tunnel in TRAP realize that the state of LDP tunnel group reports.
As selectable scheme, described LDP tunnel group can be created based on FEC item and routing policy, and the reflection of the state of the LDP tunnel group of being created is based on same FEC item and satisfy the state of all LDP LSP of VPN instance routing policy; Perhaps described LDP tunnel group also can directly be created based on the FEC item, and the state reflection of the LDP tunnel group of being created is based on the state of all LDP LSP of same FEC item; Perhaps other modes of employing that can expect of those skilled in the art are created LDP tunnel group.
The process of the described establishment of embodiment of the invention LDP tunnel group, a kind of specific implementation can be to generate the identifying information of a LDP tunnel group in router, and write down the LDP LSP number that LDP tunnel group is reflected.When the new LDP LSP that belongs to this LDP tunnel group created, the LDP LSP numerical value that described LDP tunnel group is reflected added 1; When the LDP LSP that belongs to this LDP tunnel group was deleted, LDPLSP the numerical value that described LDP tunnel group is reflected subtracted 1.When a LDP LSP numerical value that is reflected when described LDP tunnel group was 0, to webmaster transmit status Notification of Changes, the state exchange of this LDP tunnel group of notice webmaster was a non operating state.When the user selects to look into the inner LDP LSP of this LDP tunnel group information, webmaster sends and includes the router of the indication of LDP tunnel group id to correspondence, router can obtain inner each the LDP LSP information of current LDP tunnel group by polling mode, as comprise which LDP LSP and their relevant information etc., feed back to webmaster.
Another kind of implementation is, generates the identifying information of a LDP tunnel group in router, and the list of identification information of each LDP LSP of being reflected of record LDP tunnel group.When the new LDP LSP that belongs to this LDP tunnel group is created, in described tabulation, increase new list item; When the LDP LSP that belongs to this LDP tunnel group is deleted, the corresponding list item of deletion in described tabulation.When described tabulation was sky, to webmaster transmit status Notification of Changes, the state exchange of this LDP tunnel group of notice webmaster was a non operating state.When the user selected to look into the inner LDP LSP of this LDP tunnel group information, webmaster sent and includes the router of the indication of LDP tunnel group id to correspondence, and router directly extracts list information and feeds back to webmaster.
Wherein, above the two kinds of described LDP of scheme tunnel group ids, as one embodiment of the present of invention can directly adopt this LDP tunnel group based on the sign of FEC item as the sign of this LDP tunnel group.Above the two kinds of described LDP of scheme tunnel group identifying informations, for the LDP tunnel group of creating based on FEC item and routing policy, the identifying information of this LDP tunnel group comprises: LDP tunnel group institute based on the FEC item identify and the incidence relation of this LDP tunnel group and VPN instance; For the LDP tunnel group of creating based on the FEC item, the identifying information of this LDP tunnel group can be LDP tunnel group institute based on the FEC item identify.
Forming the mode of building with above-mentioned two kinds of LDP tunnels respectively below is example, and two embodiment of label switched path monitoring implementation method of the present invention are elaborated.
Embodiment one
Because the user more is concerned about the operation conditions of VPN instance usually, when the VPN fault, just can go to check the operation conditions of MPLS aspect.Therefore, adopt the LDP tunnel group based on FEC item and routing policy to realize the LSP monitoring in the present embodiment, the scheme of this realization LSP monitoring mainly comprises:
When VPN instance is created, create and be used to reflect based on same FEC item and satisfy the LDP tunnel group of all LDP LSP states of VPN instance routing policy that this tunnel group is based on the FEC item of this VPN instance and all LDP LSP of routing policy.And when creating VPN instance, judge whether iterate to LDP LSP in the VPN instance constructive process, if the state that LDP tunnel group then is set is UP, wherein UP creates in order to expression and is in running order, sends corresponding Status Change notice; Otherwise the state that LDP tunnel group is set is DOWN, creates but not in running order in order to expression, sends corresponding Status Change notice.Wherein, above-mentioned judgement can be formed in the LDP tunnel and build preceding execution, perhaps carries out after establishment.
When deletion LDP LSP, judge that if do not have, the state that LDP tunnel group then is set is DOWN, the transmit status Notification of Changes if there is not other LDP LSP in the LDP tunnel under this LDP LSP; Otherwise, transmit status Notification of Changes not.
When newly-increased LDP LSP, judge that whether this LDP LSP that increases newly is that the LDP tunnel group of DOWN is chosen by state, if the state that this state then is set is the LDP tunnel group of DOWN is UP and sends the Status Change notice, otherwise, transmit status Notification of Changes not.
In the present embodiment, the described operating state of LDP tunnel group is corresponding to " UP "; Non operating state is corresponding to " DOWN " state.And if desired, " deletion " state can also be set further in the described non operating state, represent that this LDP tunnel group is deleted.When LDP tunnel group state changes, just send described Status Change notice in the present embodiment.
As can be seen, in the present embodiment, the establishment of LDP tunnel group is created by VPN instance and is triggered, and comes described LDP tunnel group based on FEC item and routing policy is carried out the state setting based on the vpn tunneling iteration.In the present embodiment, it is abstract based on a kind of object of FEC item and routing policy that LDP tunnel group can be regarded as the exchange of network element label.There is man-to-man relation between LDP tunnel group and the FEC item+routing policy.Whether the state of LDP tunnel group objects is by existing qualified concrete LDP LSP to decide, and life cycle then is consistent with VPN instance.
Referring to shown in Figure 4, the LDP tunnel of present embodiment is formed and is built flow process, specifically comprises the steps:
Step 401, the LDP ability of enabled devices and interface.
Step 402~403 judge whether to exist and satisfy the route that LDP LSP creates trigger condition, if then based on this establishing route LDP LSP and extract corresponding FEC item (step 403), enter step 404; Otherwise, directly enter step 404.
Directly do not enter subsequent step 404 in the step 402 when there is not the route that satisfies LDP LSP establishment trigger condition in judgement, this is that follow-up step 404~413 can not carried out naturally because do not create under the situation of LDP LSP.Certainly, as do not exist when satisfying LDP LSP and creating the route of trigger condition when judging in the replacement scheme step 402, also can finish for directly jumping out flow process.
Step 404 is the LDP LSP configuration VPN instance of being created.
Step 405 is carried out the MPLS Tunnel iteration, and VPN instance can be according to the routing policy iteration LDP LSP of self, thereby selects the MPLS tunnel, promptly selects LDP LSP from the LDP LSP that creates.
According to existing VPN related protocol standard, VPN instance disposes routing policy when creating, and routing policy is a kind of static information, is used for the MPLS tunnel how the regulation VPN instance removes to select bearing bed, i.e. LDP LSP.In the content of routing policy, for example can stipulate: wait according to priority or type and select LDP LSP.Such as indicating priority in the routing policy is 5.
At present router mainly uses the mode of 32 host addresses to trigger LDP LSP, and at a FEC item, conference is created out 32 LDP LSP and selected for business.Exist when a plurality of when same FEC item in the router triggers the LDP LSP that sets up, VPN instance can be according to the routing policy iteration LDP LSP of self, thereby selects the LDP LSP that meets routing policy.By iterative process, when a plurality of VPN instance need be selected LDPLSP based on identical FEC item, each VPN instance can be selected different LDP LSP respectively according to the routing policy of each self-configuring.For example: same FEC item triggers the LDP LSP that sets up in the router the n bar, and VPN instance 1 iterates to this FEC item by routing policy and triggers the m bar LDP LSP of establishment as MPLS tunnel, wherein m≤n; And when VPN instance 2 also needed this FEC item of iteration to trigger the LDP LSP that creates, it can only select some as the MPLS tunnel from remaining n-m bar LDP LSP.
Step 406 judges whether VPN instance iterates to the MPLS tunnel in the above-mentioned MPLS Tunnel iteration process, judges whether that promptly success selected the LDP LSP that meets described VPN instance routing policy; If then enter step 410; Otherwise enter step 407.
Step 407 is created the LDP tunnel group based on FEC item and routing policy.
A kind of implementation of this step can comprise: in current router, generate the identifying information of a LDP tunnel group, comprise LDP tunnel group institute based on the FEC item identify and the incidence relation of this LDP tunnel group and VPN instance.And the LDP LSP number that reflected of record LDP tunnel group.
Another kind of implementation is, in router, generate the identifying information of a LDP tunnel group, comprise LDP tunnel group based on FEC item sign and the incidence relation of this LDP tunnel group and VPN instance, and safeguard each the LDP LSP list of identification information that is reflected in the LDP tunnel group simultaneously.
And be used as described LDP tunnel group id with the FEC item in described identifying information sign, to distinguish different LDP tunnel groups.
Step 408, the state that this LDP tunnel group is set is DOWN.
Step 409, transmit status change TRAP, process ends.In this Status Change TRAP, can comprise: the state in LDP tunnel group id and tunnel information such as (being DOWN).
Step 410 judges whether the MPLS tunnel in this VPN instance is the type of LDP LSP, if then enter step 411, otherwise process ends.
Because mainly there are three types in the MPLS tunnel at present: static LSP, LDP LSP and MPLS TE (Traffic Engineering).Therefore the purpose of this step is for determining whether the lsp tunnel for LDP.Certainly under application scenes, this step also can be omitted.
Step 411 is created the LDP tunnel group based on FEC item and routing policy.
Its detailed process is identical with step 407.
Step 412, the state that this LDP tunnel group is set is UP.
Step 413, transmit status change TRAP, process ends.In this Status Change TRAP, can comprise: the state in LDP tunnel group id and tunnel information such as (being UP).
Wherein, the destination that Status Change TRAP sends in the step 409,413 can be configured as required, for example: can be for managing the webmaster of this router.
According to the flow process of above-mentioned Fig. 4, enable after LDP ability and the configure trigger strategy, equipment can be created LDP LSP automatically.Use even without VPN, then LDP LSP also can create out.But only when VPN instance removes iteration LDP LSP, just trigger the establishment of LDP tunnel group.Like this, when the LDP tunnel form build after, report LDP tunnel group UP alarm to refresh to make things convenient for webmaster to carry out corresponding topological view.
Therefore, the LDP tunnel group in the present embodiment is exactly and the corresponding a kind of LDP LSP routing object of VPN instance.Do not have VPN instance then can not create LDP tunnel group earlier, when creating VPN instance, then will create LDP tunnel group.Whether LDP tunnel group creates that it doesn't matter with whether having LDP LSP, but whether the existence of LDP LSP can have influence on the state of LDP tunnel group.
The LDP tunnel group Status Change flow process of present embodiment referring to shown in Figure 5, comprises the steps:
Step 501, the route table items in the router changes.Be that route table items is created or deleted.
Step 502 judges whether current change is that the existing route list item is deleted, if, then enter step 503, otherwise, step 509 entered.
As an optional replacement scheme, this step also can be designed as and judges whether to have increased newly route, if then enter step 509; Otherwise, enter step 503.
Step 503 judges whether to exist the LDPLSP by the establishment that route table items triggers of current deletion, if enter step 504; Otherwise, process ends.
Step 504, deletion are triggered all LDP LSP that create by current route table items.
Step 505 is searched the LDP LSP that whether has LDP tunnel group to choose deletion in described step 504, if then enter step 506; Otherwise process ends.
Step 506 judges whether the LDP tunnel group that finds does not choose other LDPLSP again, if then enter step 507; Otherwise, process ends.
Wherein, when first kind of implementation described in the process employing step 407 of described establishment LDP tunnel group, owing in router, write down the LDP LSP number that LDP tunnel group is reflected, therefore the detailed process of this step is actually: when finding that described numerical value becomes 0, enter step 507, otherwise process ends.
When second kind of implementation described in the process employing step 407 of described establishment LDP tunnel group, because each LDP LSP list of identification information that record LDP tunnel group is reflected in router, therefore the detailed process of this step is actually: when contents in table becomes sky in finding described tabulation, enter step 507, otherwise process ends.
Step 507, it is DOWN that current LDP tunnel group state is set.
Step 508 sends corresponding Status Change TRAP, and flow process finishes.
Step 509 judges whether newly-increased route table items satisfies the LSP trigger condition, if enter step 510; Otherwise process ends.
Step 510 increases new LDP LSP.
Step 511 judges that whether current newly-increased LDP LSP is that the LDP tunnel group of DOWN is chosen by state, if then enter step 512; Otherwise process ends.
Wherein, when first kind of implementation described in the process employing step 407 of described establishment LDP tunnel group, owing in router, write down the LDP LSP number that LDP tunnel group is reflected, therefore the detailed process of this step is actually: when finding that described numerical value no longer is 0, enter step 512, otherwise process ends.
When second kind of implementation described in the process employing step 407 of described establishment LDP tunnel group, because each LDP LSP list of identification information that record LDP tunnel group is reflected in router, therefore the detailed process of this step is actually: when contents in table is not or else for sky in finding described tabulation, enter step 512, otherwise process ends.
Step 512, it is UP that LDP tunnel group state is set.
Step 513 sends the Status Change TRAP of described LDP tunnel group, process ends.
Wherein, in described step 508,513 Status Change TRAP, can comprise: the state in LDP tunnel group id and tunnel information such as (UP or DOWN).The destination that Status Change TRAP sends can be configured as required, for example: can send to webmaster.
This shows whether the state of LDP tunnel group can choose LDPLSP to decide by its VPN instance.When the LDP LSP that satisfies condition is created out or deleted, the state of then corresponding LDP tunnel group will change thereupon.In existing network,, generally can carry out 1+1 protection in order to guarantee the Network Transmission quality.Just can trigger at least two LDP LSP of establishment based on same FEC item, when fault wherein, the state of corresponding LDP tunnel group still is in the UP state, and then can reduce the alarm notification quantity that Status Change causes.And support 32 tunnel protections usually for existing equipment, then under the situation of fully configuration, the state of LDP tunnel group can be more stable, because VPN instance is considerably less by the fault that MPLS causes, the quantity of alarm notification reduces obviously.
Embodiment two
Employing realizes the embodiment that LSP monitors based on the LDP tunnel group of FEC item, mainly comprises:
Behind the LDP LSP that creates based on the FEC item, create the LDP tunnel group that is used to reflect based on all LDP LSP states of this FEC item, send corresponding Status Change notice;
When deletion LDP LSP,, then delete this LDP tunnel group and send corresponding Status Change notice if there is not other LDP LSP in the LDP tunnel under this LDP LSP; Otherwise, do not send LDP tunnel group Status Change notice.
When newly-increased LDP LSP, the FEC item according to newly-increased LDP LSP judges whether to exist the LDP tunnel group based on this FEC item, if transmit status Notification of Changes not then; Otherwise create new LDP tunnel group, send corresponding Status Change notice.
After LDP tunnel group is created in the present embodiment, can directly send to webmaster etc. to create as state, the state that this LDP tunnel group also can further be set is " UP "; After LDP tunnel group is deleted, directly send to webmaster etc. as state with deletion.Therefore in the present embodiment, operating state is corresponding to setting up or " UP ", and non operating state is corresponding to deletion.When LDP tunnel group state changes, just send described Status Change notice in the present embodiment.
As can be seen, in the present embodiment LDP tunnel group to can be regarded as network element label exchange abstract based on a kind of object of FEC item.There is man-to-man relation between LDP tunnel group and the FEC item.The state of LDP tunnel group is dynamically determined by the existence of LDP LSP.When the LDP LSP that does not have current FEC item to trigger establishment in the router exists, then delete LDP tunnel group, when the LDP LSP that exists this FEC item to trigger establishment existed, then the state of LDP tunnel group was an operating state.
The difference of present embodiment and embodiment one is: the establishment of LDP tunnel group is not triggered by the VPN iterative process and creates, and when having LDP LSP, then LDP tunnel group just is created out.When not existing LDP LSP based on certain FEC item to exist, then LDP tunnel group is just deleted.If create out VPN instance, when still the LDP LSP that does not satisfy condition exists, do not create LDP tunnel group yet.In addition, the variation of present embodiment LDP LSP not only can influence the state of LDP tunnel group and can influence the life cycle of LDP tunnel group.
Referring to shown in Figure 6, the LDP tunnel of present embodiment is formed and is built flow process, specifically comprises the steps:
Step 601, the LDP ability of enabled devices and interface.
Step 602 judges whether to exist and satisfies the route that LDP LSP creates trigger condition, if then enter step 603; Otherwise, process ends.
In this step, do not exist when satisfying LDP LSP and creating the route of trigger condition when judging, also can be for directly entering step 604 as a replacement scheme, this be because do not create LDPLSP then in fact the step of back do not carry out yet.
Step 603 is based on described establishing route LDP LSP and extract corresponding FEC item.
Step 604 is judged the current LDP tunnel group that whether has existed based on described FEC item, if, process ends then; Otherwise enter step 605.
Step 605 is created the LDP tunnel group based on described FEC item.
A kind of implementation of this step can comprise: in current router, generate the identifying information of a LDP tunnel group, available LDP tunnel group institute based on the FEC item identify identification information as LDP tunnel group.And the LDP LSP number that reflected of record LDP tunnel group.
Another kind of implementation is, generates the identifying information of a LDP tunnel group in current router, available LDP tunnel group institute based on the FEC item identify identification information as LDP tunnel group.And safeguard each the LDP LSP list of identification information that is reflected in the LDP tunnel group simultaneously.
Step 606, the state that this LDP tunnel group is set is UP.
Step 607, transmit status change TRAP, process ends.In this Status Change TRAP, can comprise: the state in LDP tunnel group id and tunnel information such as (UP).
Wherein, the destination that Status Change TRAP sends in this step can be configured as required, for example: can send to the webmaster of VPN etc.
As can be seen, after enabling LDP ability and configure trigger strategy, equipment will be created LDP LSP automatically.When not having mutually deserved LDP tunnel group, then create new LDP tunnel group and report group UP alarm in LDP tunnel to refresh to make things convenient for webmaster to carry out mutually deserved topology (TOPO) view.
Group Status Change flow process in present embodiment LDP tunnel referring to shown in Figure 7, comprises the steps:
Step 701, the route in the router changes.Be that route is created or deleted.
Step 702 judges whether current change is that existing route is deleted, if, then enter step 703, otherwise, step 709 entered.
As an optional replacement scheme, this step also can be designed as and judges whether to have increased newly route, if then enter step 709; Otherwise, enter step 703.
Step 703 judges whether to exist the LDPLSP by the establishment that route triggers of current deletion, if enter step 704; Otherwise, process ends.
Step 704, deletion are triggered all LDP LSP that create by current route.
Step 705 is searched the LDP LSP that whether has LDP tunnel group to choose deletion in described step 704, if then enter step 706; Otherwise process ends.
Step 706 judges whether the described LDP tunnel group that finds does not choose other LDP LSP again, if then enter step 707; Otherwise, process ends.
Wherein, when first kind of implementation described in the process employing step 603 of described establishment LDP tunnel group, owing in router, write down the LDP LSP number that LDP tunnel group is reflected, therefore the detailed process of this step is actually: when finding that described numerical value becomes 0, enter step 707, otherwise process ends.
When second kind of implementation described in the process employing step 603 of described establishment LDP tunnel group, because each LDP LSP list of identification information that record LDP tunnel group is reflected in router, therefore the detailed process of this step is actually: when contents in table becomes sky in finding described tabulation, enter step 707, otherwise process ends.
Step 707 is deleted current LDP tunnel group.
Step 708, transmit status change TRAP, process ends.
Wherein, in the Status Change TRAP of this step, can comprise: the state in LDP tunnel group id and tunnel information such as (deletions).The destination that Status Change TRAP sends can be configured as required, for example: can send to the webmaster of VPN etc.
Step 709 judges whether newly-increased route satisfies the LSP trigger condition, if enter step 710; Otherwise process ends.
Step 710 increases new LDP LSP.
Step 711, the FEC item according to newly-increased LDP LSP judges whether to exist the LDP tunnel group based on this FEC item, if, process ends then; Otherwise enter step 712.
Step 712 is created the LDP tunnel group based on described FEC item.
Step 713, it is UP that this LDP tunnel group state is set.
Step 714, transmit status change TRAP, process ends.
Wherein, in this step Status Change TRAP, can comprise: the state in LDP tunnel group id and tunnel information such as (being UP).The destination that Status Change TRAP sends can be configured as required, for example: can send to the webmaster of VPN etc.
In the present embodiment since in step 707 direct deletion LDP tunnel group, there is not the state of " DOWN " in LDP tunnel group, so step 713 also can omit, in the Status Change TRAP of step 714 transmission, tunnel state can be " establishment " like this.Optionally, as a replacement scheme, also among the Status Change TRAP that can send in step 708, tunnel state is set to " DOWN "; In the Status Change TRAP that step 714 sends, tunnel state still is " UP ".
From above in the technical scheme of embodiment one and embodiment two as can be seen, the LDP tunnel group of creating among the present invention is a kind of logical abstraction to LDP LSP.When having LDP LSP, will define LDP tunnel group objects, and monitor the state of LDP LSP by LDP tunnel group.When LDP tunnel group no longer comprised LDP LSP, it needed the uploaded state Notification of Changes.Life cycle then triggers change by the establishment or the deletion of LDP LSP or VPN instance.
The method of the embodiment of the invention can be applied in the router device of operator's end, such as PE, P etc.Router can be given webmaster with described Status Change notice reporting, and webmaster can get access to this LDP tunnel group objects information from the Status Change notice that reports.Webmaster is the link between the rendering apparatus in view of the above.Between two PE equipment,, when then the user checks the TOPO view of MPLS by webmaster, can between two equipment, draw a logical links expression and have the MPLS link between the two like this if there is LDP LSP.Express the state of MPLS link by color.
Equipment upgrades the state of LDP tunnel group according to the state of the LDP LSP of reality and is the object report and alarm with the tunnel group, to satisfy webmaster state refresh demand.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
The present invention also provides a kind of implement device of label switched path monitoring, comprising:
The modeling piece is formed in the tunnel, whether be used for monitoring reaches the LDP tunnel and forms the condition of building, when reaching the establishment condition, create the LDP tunnel group of reflection based at least one LDP LSP state of same FEC item, and with the sign of new LDP tunnel group and status information transmission to tunnel group Status Change module;
Group Status Change module in tunnel is used to preserve LDP tunnel group id, and according to the state of the LDP tunnel group latest state information change LDP tunnel group of receiving, sends corresponding LDP tunnel group Status Change notice to pre-configured destination address;
Monitor processing module, be used to monitor the situation of change of LDP LSP, when all LDP LSP were deleted in the LDP tunnel group, the state information that LDP tunnel group is in non operating state sent to tunnel group Status Change module.
Optionally, this installs described tunnel and forms the modeling piece, also is used for generating the identifying information of a LDP tunnel group when creating described LDP tunnel group, and sends the identification information of new built tunnel group to described supervision processing module after establishment is finished;
Described supervision processing module also is used for the LDPLSP number that real time record LDP tunnel group is reflected, when described numerical value of record was 0, the state information that LDP tunnel group is in non operating state sent to described tunnel group Status Change module; Keeping records has the tabulation and the real-time update of each LDP LSP identification information that LDP tunnel group reflected in the perhaps described supervision processing module, when described tabulation was sky, the state information that LDP tunnel group is in non operating state sent to described tunnel group Status Change module.
Optionally, this installs described tunnel group Status Change module, also be used for after receiving the indication of looking into the inner LDP LSP of this LDP tunnel group information, inquire about the state of this LDP tunnel group according to the LDP tunnel group id that comprises in this indication, if operating state then sends the indication of obtaining the inner LDP LSP of LDP tunnel group information to described supervision processing module;
Described supervision processing module according to the indication of obtaining LDP LSP information of receiving, obtains the list information that the inner LDP LSP information of current LDP tunnel group or extraction record each LDP LSP identification information that LDP tunnel group reflected by polling mode.
Optionally, this installs described tunnel and forms the modeling piece, and the LDP tunnel group of establishment is used to reflect based on same FEC item and satisfies the state of all LDP LSP of VPN instance routing policy, when when creating VPN instance, creates described LDP tunnel group; And after the VPN instance of creating is carried out LDP LSP iteration, judge in the current VPN instance constructive process whether iterate to LDP LSP, if then send the in running order state information of LDP tunnel group to tunnel group Status Change module; Otherwise send the state information that LDP tunnel group is in non operating state to tunnel group Status Change module;
Described supervision processing module, also be used for when having monitored newly-increased LDP LSP, judge that the LDP tunnel group whether this LDP LSP that increases newly is in non operating state chooses, if then send the in running order state information of LDP tunnel group to tunnel group Status Change module; Otherwise, do not send.
Optionally, this installs described tunnel and forms the modeling piece, and the LDP tunnel group of establishment is used to reflect the state based on all LDP LSP of same FEC item, behind the LDP LSP that creates based on the FEC item, creates described LDP tunnel group; This device also comprises:
Tunnel group removing module is used for according to the corresponding LDP of indication deletion tunnel group, and sends the state information that this LDP tunnel group id and LDP tunnel group are in non operating state to described tunnel group Status Change module.
Optionally, this device is arranged in the router of operator's end.
The device of the embodiment of the invention can be applicable in the equipment such as router of operator's end.The destination that described Status Change notice sends can be for webmaster etc.Can be by defining the function that new TRAP realizes described Status Change notice.A kind of equipment of stipulating in the TRAP existing protocol is the mechanism of transmit status variation message initiatively.In the Status Change notice, can comprise: the state information in LDP tunnel group id and tunnel etc.
As selectable scheme, described LDP tunnel group can be for creating based on described FEC item and routing policy; Perhaps also can be for creating based on described FEC item; It is also passable perhaps to adopt other modes to create LDP tunnel group.
The embodiment of the invention is created the mode of LDP tunnel group, and a kind of specific implementation can be that the identifying information that the modeling piece generates a LDP tunnel group is formed in described tunnel, and sends the identification information of new built tunnel group after establishment is finished to described supervision processing module; And the LDP LSP number that record LDP tunnel group is reflected in described supervision processing module.When the new LDP LSP that belongs to this LDP tunnel group created, described numerical value added 1; When the LDP LSP that belongs to this LDP tunnel group was deleted, described numerical value subtracted 1.When described the numerical value that writes down in the described supervision processing module was 0, the state information that LDP tunnel group is in non operating state sent to described tunnel group Status Change module.
When the user selects to look into the inner LDP LSP of this LDP tunnel group information, webmaster sends and includes the router of the indication of LDP tunnel group id to correspondence, described tunnel group Status Change module is inquired about the state of this LDP tunnel group according to the LDP tunnel group id that comprises in the indication, if operating state, then send the indication of obtaining the inner LDPLSP information of LDP tunnel group to described supervision processing module, described supervision processing module obtains the inner LDP LSP of current LDP tunnel group information by polling mode, such as: comprise which LDP LSP, and their relevant information etc., feed back to webmaster.
Another kind of implementation is that the identifying information that the modeling piece generates a LDP tunnel group is formed in described tunnel; And the tabulation of each LDP LSP identification information that a record of maintenance LDP tunnel group is reflected in described supervision processing module, and keep real-time update.When the new LDP LSP that belongs to this LDP tunnel group creates, in described tabulation, increase new list item; When the LDP LSP that belongs to this LDP tunnel group is deleted, the corresponding list item of deletion in described tabulation.When the described tabulation in the described supervision processing module was sky, this supervision processing module sent to described tunnel group Status Change module with the state information that LDP tunnel group is in non operating state.
When the user selects to look into the inner LDP LSP of this LDP tunnel group information, webmaster sends and includes the router of the indication of LDP tunnel group id to correspondence, described tunnel group Status Change module is inquired about the state of this LDP tunnel group, if operating state is then notified described supervision processing module directly to connect the extraction list information and is fed back to webmaster.
Wherein, above the two kinds of described LDP of scheme tunnel group identifying informations, for the LDP tunnel group of creating based on FEC item and routing policy, its identifying information comprises: LDP tunnel group institute based on the FEC item identify and the incidence relation of this LDP tunnel group and VPN instance; For the LDP tunnel group of creating based on the FEC item, its identifying information can directly be LDP tunnel group based on the FEC item identify.In addition, the sign of the FEC item in the described identifying information can be directly as described LDP tunnel group id.
Forming the mode of building with above-mentioned two kinds of tunnels respectively below is example, and the embodiment of supervising device of the present invention is elaborated.
Referring to shown in Figure 8, adopt LDP tunnel group to realize that the device of LSP monitoring comprises based on FEC item and routing policy:
Modeling piece 801 is formed in the tunnel, is used for when creating VPN instance, creates to be used to reflect based on same FEC item and to satisfy the LDP tunnel group of all LDP LSP states of VPN instance routing policy; And after the VPN instance of creating is carried out LDP LSP iteration, judge in the current VPN instance constructive process whether iterate to LDP LSP, if then send this LDP tunnel group id and the information that is in the UP state to tunnel group Status Change module 802; Otherwise send this LDP tunnel group id and the information that is in the DOWN state to tunnel group Status Change module 802.
Tunnel group Status Change module 802 is used to preserve LDP tunnel group id, according to the state of group latest state information change LDP tunnel, the tunnel group of receiving, and sends corresponding LDP tunnel group Status Change notice;
Monitor processing module 803, when having monitored LDP LSP deletion, judge if there is not other LDP LSP in the LDP tunnel under this LDPLSP, if it is DOWN that the state of LDP tunnel group then is not set, send this LDP tunnel group id and the information that is in the DOWN state to tunnel group Status Change module 802; Otherwise, do not send information; When having monitored newly-increased LDP LSP, judge whether this LDP LSP that increases newly is in non operating state, and promptly the LDP tunnel group of DOWN is chosen, if then send the state information that LDP tunnel group is in UP to tunnel group Status Change module; Otherwise, do not send information.
Referring to shown in Figure 9, adopt LDP tunnel group to realize that the device of LSP monitoring comprises based on the FEC item:
Modeling piece 801 is formed in the tunnel, be used for behind the LDP LSP that creates based on the FEC item, establishment is used to reflect the LDP tunnel group based on all LDP LSP states of this FEC item, and the sign and the state information of the LDP tunnel group created sent to tunnel group Status Change module 802.
Tunnel group Status Change module 802 is used to preserve LDP tunnel group id, and changes the state of LDP tunnel group according to the tunnel group latest state information of receiving, and sends corresponding Status Change notice.
Tunnel group removing module 901 is used for according to the corresponding LDP of indication deletion tunnel group, and sends the state information that these LDP tunnel group ids and LDP tunnel group are in non operating state to tunnel group Status Change module 802.
Monitor processing module 803, be used to monitor the situation of change of LDP LSP, when LDPLSP is deleted,, then send the indication that includes this LDP tunnel group identity information to tunnel group removing module 901 if there is not other LDPLSP in the LDP tunnel group under this LDP LSP; When newly-increased LDP LSP, the FEC item according to newly-increased LDP LSP judges whether to exist the LDP tunnel group based on this FEC item, if then do not send information; Otherwise the indication tunnel is formed the modeling piece and is created new LDP tunnel group.
In addition, the present invention also provides a kind of realization system of label switched path monitoring, comprising: the above-mentioned label switched path monitoring implement device of the present invention is set in operator's end router of VPN network.
The destination that monitoring realization equipment can send the Status Change notice is the Network Management Equipment of VPN; Described webmaster also is used for revising the topological diagram of LDP tunnel group according to the Status Change notice of receiving, this modification comprises increases LDP tunnel group, deletion LDP tunnel group, change the state of LDP tunnel group etc.
Webmaster also is used for sending to router according to user's indication the indication of the inner LDPLSP information of inquiry LDP tunnel group.Specifically comprise: when the user selects to look into the inner LDP LSP of this LDP tunnel group information, webmaster sends and includes the router of the indication of LDP tunnel group id to correspondence, label switched path monitoring implement device in this router, inquire about the state of this LDP tunnel group by the tunnel group Status Change module of inside, if operating state, then notify described supervision processing module to obtain to comprise which LDP LSP in the current LDP tunnel group by polling mode, and their relevant information etc., feed back to webmaster, perhaps notify described supervision processing module directly to connect the extraction list information and feed back to webmaster.
At present based on single node FEC item can exist 32 or more LDP LSP backup each other, and along with capacity of equipment strengthens, its attainable protection and example quantity can be bigger.If route oscillation, state variation will take place in these 32 LDP, thereby produces 32 alarms.Adopt LDP tunnel group, then just normalizing has been carried out in these 32 alarms.Originally need to send 32 alarms, then only need now to send one.When 32 LDP LSP deletes simultaneously, but part is when deleting, and then the state of LDP tunnel group can not change, and does not just need to send to alarm yet.Equipment also has from returning to form, and the LDP LSP of fault can recover very soon again.Thereby avoided reporting of a large amount of alarms.
The above is specific embodiments of the invention only, is not limited to the present invention, and is within the spirit and principles in the present invention all, any modification of being made, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (18)

1. the implementation method of a label switched path monitoring is characterized in that, comprising:
Establishment is used to reflect the LDP tunnel group based at least one tag distribution protocol LDP label switching path LSP state of same forwarding equivalence class FEC item, new LDP tunnel form build finish after the transmit status Notification of Changes;
When having at least one LDP LSP in the LDP tunnel group, this LDP tunnel group is in running order;
When all LDP LSP are deleted in the LDP tunnel group, this LDP tunnel group are set are in non operating state, the transmit status Notification of Changes.
2. method according to claim 1 is characterized in that, the process of described establishment LDP tunnel group comprises: generate the identifying information of LDP tunnel group, and the LDP LSP number that reflected of real time record LDP tunnel group;
When described numerical value is 0, judge that all LDP LSP are deleted in the LDP tunnel group;
The process of perhaps described establishment LDP tunnel group comprises: generate the identifying information of LDP tunnel group, and real-time update has write down the tabulation of each LDP LSP identification information that LDP tunnel group reflected;
When the list item of described tabulation becomes sky, judge that all LDP LSP are deleted in the LDP tunnel group.
3. method according to claim 2, it is characterized in that, this method further comprises: when receiving the indication of looking into the inner LDP LSP of this LDP tunnel group information, if when recording the LDP LSP number that LDP tunnel group reflected, then obtain inner each the LDP LSP information of current LDP tunnel group by polling mode; Or
If when recording the tabulation of each LDP LSP identification information that LDP tunnel group reflected, then directly extract the information in the tabulation.
4. method according to claim 1, it is characterized in that, described LDP tunnel group is to be used to reflect based on same FEC item and to satisfy the tunnel group of all LDP LSP states of Virtual Private Network VPN instance routing policy, perhaps for being used to reflect the tunnel group based on all LDP LSP states of same FEC item.
5. method according to claim 4 is characterized in that, described LDP tunnel group is to be used to reflect based on same FEC item and to satisfy the tunnel group of all LDPLSP states of VPN instance routing policy;
The step of described establishment LDP tunnel group is carried out when creating VPN instance;
And further comprise: after the VPN instance of creating is carried out LDP LSP iteration, judge in the current VPN instance constructive process whether iterate to LDP LSP, if the state that LDP tunnel group then is set is operating state and sends the Status Change notice; Otherwise the state that LDP tunnel group is set is non operating state and sends the Status Change notice.
6. method according to claim 5, it is characterized in that, this method further comprises: when newly-increased LDP LSP, judge that the LDP tunnel group whether this LDP LSP that increases newly is in non operating state chooses, if, the state of then changing this LDP tunnel group is operating state and the Status Change that sends a LDP tunnel group notice, otherwise, transmit status Notification of Changes not.
7. method according to claim 5, it is characterized in that, describedly judge in the current VPN instance constructive process whether iterate in the process of LDP LSP, if be judged to be, then take a step forward and comprise: judge whether the LDP LSP in this VPN instance is LDP LSP in the described LDP lsp tunnel group step of execution establishment, if then continue, otherwise process ends.
8. method according to claim 4 is characterized in that, described LDP tunnel group is the tunnel group that is used to reflect based on all LDP LSP states of same FEC item;
The step of described establishment LDP tunnel group is carried out behind the LDP LSP that creates based on the FEC item;
When LDP LSP is deleted,, then further deletes this LDP tunnel group and send the Status Change notice if there is not other LDP LSP in the LDP tunnel under this LDP LSP; Otherwise, transmit status Notification of Changes not.
9. according to any described method of claim 1-8, it is characterized in that, comprise in the described Status Change notice: the current state information in LDP tunnel group id and tunnel.
10. method according to claim 9 is characterized in that, the destination that described Status Change notice sends is a webmaster, and further comprises: webmaster is revised the topological diagram of LDP tunnel group according to the Status Change notice of receiving.
11. the implement device of a label switched path monitoring is characterized in that, comprising:
The modeling piece is formed in the tunnel, be used for when reaching the establishment condition, create the LDP tunnel group of reflection based at least one tag distribution protocol LDP label switching path LSP state of same forwarding equivalence class FEC item, and with the sign of new LDP tunnel group and status information transmission to tunnel group Status Change module;
Group Status Change module in tunnel is used to preserve LDP tunnel group id, and according to the state of the LDP tunnel group latest state information change LDP tunnel group of receiving, sends corresponding LDP tunnel group Status Change notice to pre-configured destination address;
Monitor processing module, be used to monitor the situation of change of LDP LSP, when all LDP LSP were deleted in the LDP tunnel group, the state information that LDP tunnel group is in non operating state sent to tunnel group Status Change module.
12. device according to claim 11, it is characterized in that, the modeling piece is formed in described tunnel, also is used for generating the identifying information of a LDP tunnel group when creating described LDP tunnel group, and sends the identification information of new built tunnel group to described supervision processing module after establishment is finished;
Described supervision processing module also is used for the LDPLSP number that real time record LDP tunnel group is reflected, when described numerical value of record was 0, the state information that LDP tunnel group is in non operating state sent to described tunnel group Status Change module; Keeping records has the tabulation and the real-time update of each LDP LSP identification information that LDP tunnel group reflected in the perhaps described supervision processing module, when described tabulation was sky, the state information that LDP tunnel group is in non operating state sent to described tunnel group Status Change module.
13. device according to claim 12, it is characterized in that, described tunnel group Status Change module, also be used for after receiving the indication of looking into the inner LDP LSP of this LDP tunnel group information, inquire about the state of this LDP tunnel group according to the LDP tunnel group id that comprises in this indication, if operating state then sends the indication of obtaining the inner LDP LSP of LDP tunnel group information to described supervision processing module;
Described supervision processing module according to the indication of obtaining LDP LSP information of receiving, obtains the list information that the inner LDP LSP information of current LDP tunnel group or extraction record each LDP LSP identification information that LDP tunnel group reflected by polling mode.
14. device according to claim 11 is characterized in that,
The modeling piece is formed in described tunnel, and the LDP tunnel group of establishment is used to reflect based on same FEC item and satisfies the state of all LDP LSP of VPN instance routing policy, when when creating VPN instance, creates described LDP tunnel group; And after the VPN instance of creating is carried out LDP LSP iteration, judge in the current VPN instance constructive process whether iterate to LDPLSP, if then send the in running order state information of LDP tunnel group to tunnel group Status Change module; Otherwise send the state information that LDP tunnel group is in non operating state to tunnel group Status Change module;
Described supervision processing module, also be used for when having monitored newly-increased LDP LSP, judge that the LDP tunnel group whether this LDP LSP that increases newly is in non operating state chooses, if then send the in running order state information of LDP tunnel group to tunnel group Status Change module; Otherwise, do not send.
15. device according to claim 11, it is characterized in that the modeling piece is formed in described tunnel, the LDP tunnel group of establishment is used to reflect the state based on all LDP LSP of same FEC item, behind the LDP LSP that creates based on the FEC item, create described LDP tunnel group; This device also comprises:
Tunnel group removing module is used for according to the corresponding LDP of indication deletion tunnel group, and sends the state information that this LDP tunnel group id and LDP tunnel group are in non operating state to described tunnel group Status Change module.
16., it is characterized in that this device is arranged in the router of operator's end according to any described device of claim 11-15.
17. the realization system of a label switched path monitoring is characterized in that, is provided with as any described device of claim 11-15 in operator's end router of VLAN VPN network.
18. system according to claim 17, it is characterized in that, webmaster also is used for according to the Status Change notice of receiving in this system, revise in the topological diagram of tag distribution protocol LDP tunnel group, and the indication that sends the inner LDP label switching path LSP of inquiry LDP tunnel group information according to user's indication to router.
CN201010100614.9A 2010-01-25 2010-01-25 Label switched path monitoring realization method, device and system Expired - Fee Related CN102136957B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010100614.9A CN102136957B (en) 2010-01-25 2010-01-25 Label switched path monitoring realization method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010100614.9A CN102136957B (en) 2010-01-25 2010-01-25 Label switched path monitoring realization method, device and system

Publications (2)

Publication Number Publication Date
CN102136957A true CN102136957A (en) 2011-07-27
CN102136957B CN102136957B (en) 2014-03-12

Family

ID=44296618

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010100614.9A Expired - Fee Related CN102136957B (en) 2010-01-25 2010-01-25 Label switched path monitoring realization method, device and system

Country Status (1)

Country Link
CN (1) CN102136957B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618189A (en) * 2015-02-04 2015-05-13 杭州华三通信技术有限公司 Link failure detection method and device
CN109120449A (en) * 2018-08-28 2019-01-01 新华三技术有限公司 A kind of detection method and device of link failure
CN109218198A (en) * 2018-10-09 2019-01-15 迈普通信技术股份有限公司 Data interactive method, device, MPLS network and storage medium
CN109639600A (en) * 2019-01-25 2019-04-16 新华三技术有限公司 A kind of method and device of tunnel speed limit
CN110995584A (en) * 2019-10-31 2020-04-10 苏州浪潮智能科技有限公司 Multipath selection method, system and equipment applied to virtualization environment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004023307A1 (en) * 2002-09-06 2004-03-18 O2Micro, Inc. Vpn and firewall integrated system
CN101114994A (en) * 2006-07-28 2008-01-30 中兴通讯股份有限公司 Method for detecting connectivity of multi-protocol label switching virtual private network
US20080025309A1 (en) * 2006-07-31 2008-01-31 Cisco Technology, Inc. Technique for multiple path forwarding of label-switched data traffic
US20090168780A1 (en) * 2007-12-31 2009-07-02 Nortel Networks Limited MPLS P node replacement using a link state protocol controlled ethernet network
CN101616091A (en) * 2009-07-23 2009-12-30 杭州华三通信技术有限公司 Realize the method and the LSR of the quick heavy-route of Label Distribution Protocol

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004023307A1 (en) * 2002-09-06 2004-03-18 O2Micro, Inc. Vpn and firewall integrated system
CN101114994A (en) * 2006-07-28 2008-01-30 中兴通讯股份有限公司 Method for detecting connectivity of multi-protocol label switching virtual private network
US20080025309A1 (en) * 2006-07-31 2008-01-31 Cisco Technology, Inc. Technique for multiple path forwarding of label-switched data traffic
US20090168780A1 (en) * 2007-12-31 2009-07-02 Nortel Networks Limited MPLS P node replacement using a link state protocol controlled ethernet network
CN101616091A (en) * 2009-07-23 2009-12-30 杭州华三通信技术有限公司 Realize the method and the LSR of the quick heavy-route of Label Distribution Protocol

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618189A (en) * 2015-02-04 2015-05-13 杭州华三通信技术有限公司 Link failure detection method and device
CN104618189B (en) * 2015-02-04 2018-07-24 新华三技术有限公司 Link failure detection method and device
CN109120449A (en) * 2018-08-28 2019-01-01 新华三技术有限公司 A kind of detection method and device of link failure
CN109218198A (en) * 2018-10-09 2019-01-15 迈普通信技术股份有限公司 Data interactive method, device, MPLS network and storage medium
CN109218198B (en) * 2018-10-09 2021-03-26 迈普通信技术股份有限公司 Data interaction method, device, MPLS network system and storage medium
CN109639600A (en) * 2019-01-25 2019-04-16 新华三技术有限公司 A kind of method and device of tunnel speed limit
CN109639600B (en) * 2019-01-25 2022-07-01 新华三技术有限公司 Tunnel speed limiting method and device
CN110995584A (en) * 2019-10-31 2020-04-10 苏州浪潮智能科技有限公司 Multipath selection method, system and equipment applied to virtualization environment

Also Published As

Publication number Publication date
CN102136957B (en) 2014-03-12

Similar Documents

Publication Publication Date Title
US11552841B2 (en) Method and apparatus for configuring service
CN102959910B (en) The notice of change controller for being configured the packets forwarding of network element by communication channel
RU2493677C2 (en) Method and router for implementing mirroring
KR101859302B1 (en) Method and system for virtual network mapping protection and computer storage medium
US7242665B2 (en) Network device virtual interface
CN104823405A (en) IP multicast service leave process for MPLS-based virtual private cloud networking
CN104871483A (en) IP multicast service join process for MPLS-based virtual private cloud networking
CN106656801A (en) Method and device for redirection of forwarding path of business flow and business flow forwarding system
US20090122710A1 (en) Event correlation using network data flow simulation over unmanaged network segments
CN102137024B (en) Message processing method, exit routing device and border routing device
CN100490418C (en) Virtual local network-based data exchanging method and equipment
CN105227341A (en) For the system and method by content center network management devices
CN103634423B (en) Three-layered interface based MPLS-TP (multi-protocol label switching-transport profile) configuration method and device
US20190020539A1 (en) Method and apparatus for implementing composed virtual private network vpn
CN102136957B (en) Label switched path monitoring realization method, device and system
CN105162704A (en) Multicast replication method and device in Overlay network
CN102821099B (en) Message forwarding method, equipment and system
CN110351286A (en) Link flood attack detects response mechanism in a kind of software defined network
CN103516612A (en) Method for generating routing table items in a distributed router, and distributed router
CN106878072A (en) A kind of message transmitting method and device
CN102510354A (en) Dual-home-supported ring network method and system based on virtual private local area network (LAN) service (VPLS) and G8032
CN105099916A (en) Open flow routing and switching equipment and data message processing method thereof
CN103188153B (en) BFD file transmitting method and equipment on a kind of broadcasting network link
CN106452817A (en) Protection configuration management method and system
CN100596087C (en) FTN matching management method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140312

Termination date: 20170125

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