CN104253745B - A kind of route withdraw method and the network equipment - Google Patents

A kind of route withdraw method and the network equipment Download PDF

Info

Publication number
CN104253745B
CN104253745B CN201310270236.2A CN201310270236A CN104253745B CN 104253745 B CN104253745 B CN 104253745B CN 201310270236 A CN201310270236 A CN 201310270236A CN 104253745 B CN104253745 B CN 104253745B
Authority
CN
China
Prior art keywords
network equipment
bfd
routing iinformation
routing
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310270236.2A
Other languages
Chinese (zh)
Other versions
CN104253745A (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.)
Shenzhen Shangge Intellectual Property Service Co ltd
Tongding Interconnection Information 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 CN201310270236.2A priority Critical patent/CN104253745B/en
Priority to PCT/CN2014/079902 priority patent/WO2014206207A1/en
Publication of CN104253745A publication Critical patent/CN104253745A/en
Application granted granted Critical
Publication of CN104253745B publication Critical patent/CN104253745B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/023Delayed use of routing table updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A kind of route withdraw method and apparatus provided in an embodiment of the present invention, when the network equipment is detected with the link failure of first network equipment room or first network equipment fault, the routing iinformation of the first network equipment is packaged into two-way converting detection BFD messages by the network equipment, and the BFD messages include the routing iinformation of the first network equipment;The network equipment sends the BFD messages to second network equipment, so that second network equipment cancels routing of second network equipment to the first network equipment.The routing through the network equipment to first network equipment can be directly deleted on second network equipment, other normal links is not influenced and receives business.

Description

A kind of route withdraw method and the network equipment
Technical field
The present invention relates to field of communication technology, more particularly to a kind of route withdraw method and the network equipment.
Background technology
Two-way converting detection (Bidirectional Forwarding Detection, BFD) agreement can be quickly detected The communication failure of a pair of of LA Management Room, so that flow can be switched to backup by the network equipment according to the failure quickly detected Link can ensure that business continues to accelerate network convergence rate, reduce the shadow of equipment fault or link failure to business It rings, improves the availability of network.
Although the link that BFD agreements can be detected between a pair of of network equipment is detected, when using BFD detections When neighbouring device breaks down, it cannot realize that BFD is detected, as shown in Figure 1, the linkage of two BFD sessions can only be passed through.Such as scheme The network equipment shown in 1, the BFDx sessions of provider edge (Provider Edge, PE) between router PE n and PEm cannot The link failure between PE1 and PEn is detected, can only be linked BFDx sessions by BFD2 sessions.
But as shown in Fig. 2, multiple PE (such as PE1, PE2 ... PEi) and PEn all establish BFD sessions (BFD1, BFD2 ... BFDi) when, if one or several BFD sessions are delayed, the BFDx sessions that cannot be linked between PEn and PEm are delayed, because There is other links still normal, if BFDx sessions are delayed, can influence other normal links can not receive business.
The content of the invention
Business is received in order to not influence other normal links, the embodiment of the present invention provides a kind of route withdraw method and net Network equipment.
In a first aspect, a kind of route withdraw method is provided, including:
It is described when the network equipment is detected with the link failure of first network equipment room or first network equipment fault The routing iinformation of the first network equipment is packaged into two-way converting detection BFD messages, the BFD messages bag by the network equipment Routing iinformation containing the first network equipment;
The network equipment sends the BFD messages to second network equipment, so that second network equipment cancels institute State routing of second network equipment to the first network equipment.
With reference to first aspect, in the first possible implementation, when the network equipment detects and first network equipment Between link failure or during first network equipment fault, the network equipment seals the routing iinformation of the first network equipment BFD messages are dressed up, the routing iinformation that the BFD messages include the first network equipment specifically includes:
When the first BFD modules of the network equipment detect and the link failure of first network equipment room or the first net During network equipment fault, the first BFD modules of the network equipment notify the routing iinformation of the first network equipment to described 2nd BFD modules of the network equipment;
2nd BFD modules of the network equipment search BFD messages template corresponding with the first network equipment, obtain With the matched BFD messages of routing iinformation of the first network equipment.
With reference to first aspect, in second of possible realization method, when the network equipment detects and first network equipment Between link failure or during first network equipment fault, the network equipment seals the routing iinformation of the first network equipment BFD messages are dressed up, the routing iinformation that the BFD messages include the first network equipment specifically includes:
When the first BFD modules of the network equipment detect and the link failure of first network equipment room or the first net During network equipment fault, the first BFD modules of the network equipment notify the routing iinformation of the first network equipment to described 2nd BFD modules of the network equipment;
The routing iinformation of the first network equipment is packaged into BFD messages by the 2nd BFD modules of the network equipment.
It, may at the third with reference to first aspect with the first or second of possible realization method of first aspect Realization method in, the BFD messages carry revocation route field, and the revocation route field includes routing information field, class Type the type field, the routing information field include the routing iinformation of the first network equipment, the type the type field bag Containing the indication information for cancelling the routing iinformation.
With reference to first aspect, in the 4th kind of possible realization method, the method further includes:
When the network equipment detects and the link failure recovery of first network equipment room or the event of first network equipment When barrier recovers, the network equipment encapsulates the fault recovery link or the routing iinformation of fault recovery first network equipment Into BFD messages, the BFD messages include the fault recovery link or the routing iinformation of fault recovery first network equipment;
The network equipment sends the BFD messages to second network equipment, so that second network equipment recovers institute State routing of second network equipment to the first network equipment.
Any one above-mentioned possible realization method with reference to first aspect or with reference to first aspect, in the 5th kind of possibility Realization method in, the network equipment be specially converge side gateway A SG, the first network equipment is specially base station side gateway CSG, second network equipment are specially wireless traffic side gateway RSG.
Second aspect provides a kind of network equipment, including:
Package module detects and the link failure of first network equipment room or the first net for working as the network equipment During network equipment fault, the routing iinformation of the first network equipment is packaged into two-way converting detection BFD messages, the BFD reports Text includes the routing iinformation of the first network equipment;
Sending module, for sending the BFD messages to second network equipment, so that second network equipment cancels institute State routing of second network equipment to the first network equipment.
With reference to second aspect, in the first possible implementation, the package module specifically includes the first BFD modules With the 2nd BFD modules,
The first BFD modules, for detecting and the link failure of first network equipment room or the event of first network equipment Barrier, and be used for when detecting with the link failure of first network equipment room or first network equipment fault, by described first The routing iinformation of the network equipment is notified to the 2nd BFD modules;
The 2nd BFD modules for searching BFD messages template corresponding with the first network equipment, obtain With the matched BFD messages of routing iinformation of the first network equipment.With reference to second aspect, in second of possible realization method In, the package module specifically includes the first BFD modules and the 2nd BFD modules,
The first BFD modules, for detecting and the link failure of first network equipment room or the event of first network equipment Barrier, and be used for when detecting with the link failure of first network equipment room or first network equipment fault, by described first The routing iinformation of the network equipment is notified to the 2nd BFD modules;
The 2nd BFD modules, for the routing iinformation of the first network equipment to be packaged into BFD messages.
With reference to second of possible or the third possible realization method of second aspect or second aspect, at the third In possible realization method, the BFD messages carry revocation route field, and the revocation route field includes routing iinformation word Section, type the type field, the routing information field include the routing iinformation of the first network equipment, the type Type words Section includes the indication information for cancelling the routing iinformation.
With reference to second aspect, in the 4th kind of possible realization method, package module is additionally operable to examine when the network equipment When measuring with the link failure of first network equipment room or first network equipment fault recovery, by the fault recovery link or The routing iinformation of person's fault recovery first network equipment is packaged into BFD messages, and the BFD messages include the fault recovery link Or the routing iinformation of fault recovery first network equipment;
Sending module, for sending the BFD messages to second network equipment, so that second network equipment recovers institute State routing of second network equipment to the first network equipment.
With reference to second aspect, in the 5th kind of possible realization method, the network equipment is specially to converge side gateway ASG。
The third aspect provides a kind of network equipment, and including processor, memory and transmitter, the memory is used to deposit Program code is stored up, wherein:
The processor for calling the program code in the memory, performs following operation:
When the network equipment is detected with the link failure of first network equipment room or first network equipment fault, The routing iinformation of the first network equipment is packaged into two-way converting detection BFD messages, the BFD messages include described first The routing iinformation of the network equipment;
The transmitter, for sending the BFD messages to second network equipment, so that second network equipment cancels Second network equipment is to the routing of the first network equipment.
Fourth aspect provides a kind of route withdraw system, including:Such as second aspect or any shown net of the third aspect Network equipment and second network equipment, second network equipment, for cancelling second network equipment to first network equipment Routing.
A kind of route withdraw method and apparatus provided in an embodiment of the present invention, sets when the network equipment is detected with first network When link failure between standby or first network equipment fault, the network equipment believes the routing of the first network equipment Breath is packaged into two-way converting detection BFD messages, and the BFD messages include the routing iinformation of the first network equipment;The net Network equipment sends the BFD messages to second network equipment, so that second network equipment cancels second network equipment To the routing of the first network equipment.It can directly be deleted through the network equipment to first network on second network equipment The routing of equipment does not influence other normal links and receives business.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, it will make below to required in the embodiment of the present invention Attached drawing is briefly described, it should be apparent that, drawings described below is only some embodiments of the present invention, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is the schematic block diagram of three network equipments interconnection of the embodiment of the present invention;
Fig. 2 is the schematic block diagram of multiple network equipments interconnection of the embodiment of the present invention;
Fig. 3 is the schematic flow diagram of the route withdraw method of the embodiment of the present invention;
Fig. 4 is the schematic diagram of the IP wireless access networks of the embodiment of the present invention;
Fig. 5 is the schematic diagram of the BFD message formats of the embodiment of the present invention;
Fig. 6 is the structure diagram of the network equipment of the embodiment of the present invention;
Fig. 7 is the structure diagram of the network equipment of another embodiment of the present invention;
Fig. 8 is the structure diagram of the route withdraw system of the embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is the part of the embodiment rather than whole embodiments of the present invention.Based on this hair Embodiment in bright, the every other reality that those of ordinary skill in the art are obtained on the premise of creative work is not made Example is applied, should all belong to the scope of protection of the invention.
The embodiment of the present invention is described in further detail with reference to Figure of description.
The embodiment of the present invention devises a kind of route withdraw method, as shown in fig.3, this method comprises the following steps:
Step 301:When the network equipment detects and the link failure of first network equipment room or the event of first network equipment During barrier, the routing iinformation of the first network equipment is packaged into two-way converting detection BFD messages by the network equipment, described BFD messages include the routing iinformation of the first network equipment;
Step 302:The network equipment sends the BFD messages to second network equipment, so that second network is set The standby routing for cancelling second network equipment to the first network equipment.
The route withdraw method of the embodiment of the present invention can be directly deleted on second network equipment through the network equipment It deletes through the network equipment to the routing of first network equipment, does not influence other normal links and receive business.
It is preferred that it can be, but not limited to that step 301 is accomplished in the following manner.
Mode one:When the first BFD modules of the network equipment detect with the link failure of first network equipment room or During person's first network equipment fault, the first BFD modules of the network equipment lead to the routing iinformation of the first network equipment Know to the 2nd BFD modules of the network equipment;
2nd BFD modules of the network equipment search BFD messages template corresponding with the first network equipment, obtain With the matched BFD messages of routing iinformation of the first network equipment.Mode two:When the first BFD modules of the network equipment When detecting with the link failure of first network equipment room or first network equipment fault, the first BFD of the network equipment Module notifies the routing iinformation of the first network equipment to the 2nd BFD modules of the network equipment;
The routing iinformation of the first network equipment is packaged into BFD messages by the 2nd BFD modules of the network equipment.
It is preferred that the routing iinformation includes the routing ID (Router ID) and subnet mask of the first network equipment (Network Mask)。
It is preferred that the BFD messages carry revocation route field, the revocation route field include routing information field, Type the type field, the routing information field include the routing iinformation of the first network equipment, the type the type field Include the indication information for cancelling the routing iinformation.
It is preferred that when the network equipment detects and the link failure of multiple first network equipment rooms or multiple first networks During equipment fault, the routing iinformation of the multiple first network equipment can be encapsulated in same BFD messages, so may be used Once to send all routings for needing to cancel.It is preferred that a kind of route withdraw method of design of the embodiment of the present invention, is also wrapped It includes:
When the network equipment detects and the link failure recovery of first network equipment room or the event of first network equipment When barrier recovers, the network equipment encapsulates the fault recovery link or the routing iinformation of fault recovery first network equipment Into BFD messages, the BFD messages include the fault recovery link or the routing iinformation of fault recovery first network equipment;
The network equipment sends the BFD messages to second network equipment, so that second network equipment recovers institute State routing of second network equipment to the first network equipment.
It is preferred that the network equipment is specially to converge side gateway A SG, the first network equipment is specially base station side net CSG is closed, second network equipment is specially wireless traffic side gateway RSG.
Illustrate the preferred embodiment of the present invention one with reference to Fig. 4.
The method of revocation routing provided in an embodiment of the present invention can be applied to Metropolitan Area Network (MAN), can also be applied to IP and wirelessly connect In networking (IP Radio Access Network, IPRAN).
In the Layer2+Layer3 deployment scenarios of current IPRAN deployment, generally use BFD technologies as shown in Figure 4 carry out Frequency converter, base station side gateway (Cell Site Gateway, CSG) to convergence side gateway (Aggregation Site Gateway, ASG) deployment pseudo-wire redundancy (Pseudowire Redundancy, PW Redundancy) protection, that is to say, that Primary PW and spare PW are established between CSG1 and main ASG and CSG1 and standby ASG, PW is established between primary PW and spare PW Redundancy redundancy protectings, after primary PW links exception, the flow of CSG1 to main ASG are switched to CSG1 to spare ASG;When Also established between right CSG2 and main ASG and CSG2 and standby ASG PW Redundancy redundancy protectings, CSG3 and main ASG and PW Redundancy redundancy protectings are also established between CSG2 and standby ASG.In ASG to wireless traffic side gateway (Radio Service Gateway, RSG) between dispose the quick heavy-routes of VPN (VPN Fast Reroute, VPN FRR) and MPLSTE is warm Standby (MPLS TE Hot Standby, MPLS TE HSB) is protected.
For CSG1 after active link PW failures, standby ASG can be switched to from the flow CSG1 to main ASG, Flow from RNC to CSG1, still from main RSG to main ASG, if link is normal between main ASG and standby ASG, although primary PW Link failure, the flow of RNC to CSG1, by standby ASG, then can return to CSG1 by main ASG by spare PW.But such as When link of the fruit at this time between main ASG and standby ASG is also abnormal, after the flow of main RSG to CSG1 reaches main ASG, due to link All abnormal, routing is interrupted, and the message from RNC to CSG1 can be lost.
When the link between primary PW and main ASG and standby ASG is all abnormal, can cause flow from RSG to base station due to Main ASG is also interrupted extremely to standby ASG links.In order to avoid flow interrupt, routing provided in an embodiment of the present invention may be employed and remove The method of pin, including:
Step 1:When the convergence main ASG of side gateway detects base station side gateway CSG1 to the chain of the main ASG of the convergence side gateway Road (PW, LSP, Tunnel, interface etc.) is delayed, and the convergence main ASG of side gateway seals the routing iinformation of base station side gateway CSG1 Two-way converting detection BFD messages are dressed up, the routing iinformation includes the IP address and subnet mask of base station side gateway CSG1, such as 100.1.1.0/24。
The BFD messages include the routing iinformation of base station side gateway CSG1;The BFD messages are also comprising the revocation road By the indication information of information.
As shown in figure 5, the embodiment of the present invention carries the field of revocation routing in the BFD protocol fields of RFC5880:1st, road By information Data fields, the routing information field includes the routing iinformation of the first network equipment, can be IPv4/IPv6 Routing;2nd, type the type field includes the indication information for cancelling the routing iinformation.
Wherein, the main ASG of the convergence side gateway and standby ASG include respectively with described base station side gateway CSG1, CSG2, CSG3 Corresponding first BFD modules, the main ASG of the convergence side gateway and standby ASG also comprising respectively with the wireless traffic side gateway master RSG, the corresponding 2nd BFD modules of standby RSG,
Wherein it is possible to but be not limited by following manner realize step 1,
Mode one:When the first BFD modules of the main ASG of the convergence side gateway detect the chain between base station side gateway CSG1 During the failure of road, the first BFD modules of the main ASG of the convergence side gateway notify the routing iinformation of the base station side gateway CSG1 To the 2nd BFD modules of the main ASG of the convergence side gateway;Broadcast or mode of unicast, this hair may be employed in specific advice method Bright embodiment is not to limit, belonging to the protection domain of the embodiment of the present invention.
It is preserved in the 2nd BFD modules of the main ASG of the convergence side gateway corresponding with each base station side gateway CSG BFD message templates, the BFD message templates are to encapsulate complete BFD messages according to the form shown in Fig. 5, and the BFD messages include The routing iinformation of base station side gateway CSG;The BFD messages are also comprising the indication information for cancelling the routing iinformation.
The 2nd BFD modules of the main ASG of the convergence side gateway search BFD messages corresponding with the base station side gateway CSG Template obtains the matched BFD messages of routing iinformation with the base station side gateway CSG1.
The 2nd BFD modules of the main ASG of the convergence side gateway need not encapsulate, directly by the encapsulated complete BFD Message is sent to the wireless traffic side main RSG of gateway, so that the wireless traffic side main RSG of gateway cancels the routing of RSG to the CSG1. Afterwards, the RSG can use to CSG1 reserve link or reselect to the routing of CSG1, and arrive CSG1's subsequently having The routing that flow is switched to reserve link or reselects.And because need not encapsulate, Forwarding plane has directly sealed this Fill complete BFD messages and be sent to the wireless traffic side main RSG of gateway, can even more reduce that entire revocation method for routing needs when Between, user is made not perceive link exception, improves user experience.
Mode two:When the first BFD modules of the main ASG of the convergence side gateway detect the chain between base station side gateway CSG1 During the failure of road, the first BFD modules of the main ASG of the convergence side gateway notify the routing iinformation of the base station side gateway CSG1 To the 2nd BFD modules of the main ASG of the convergence side gateway;Broadcast or mode of unicast, this hair may be employed in specific advice method Bright embodiment is not to limit, belonging to the protection domain of the embodiment of the present invention.
The routing iinformation of the base station side gateway CSG1 is packaged by the 2nd BFD modules of the main ASG of the convergence side gateway BFD messages.The BFD messages are the BFD messages encapsulated according to the form shown in Fig. 5, and the BFD messages include the base station side gateway The routing iinformation of CSG;The BFD messages are also comprising the indication information for cancelling the routing iinformation.
Step 2:The main ASG of the convergence side gateway sends the BFD messages and gives the wireless traffic side main RSG of gateway, with Gateway main RSG in the wireless traffic side is made to cancel the wireless traffic side main RSG of gateway to the road of the base station side gateway CSG1 By.Afterwards, the RSG can use to CSG1 reserve link or reselect to the routing of CSG1, and subsequently have to The routing that the flow of CSG1 is switched to reserve link or reselects.Because the revocation method for routing is passed using BFD messages It send, entire realization process only needs the time in hundred milliseconds of ranks, and user is made not perceive link exception, improves user experience.
When the link-recovery of base station side gateway CSG1 and the main ASG of convergence side gateway, the wireless traffic side net of distal end is notified The routing of base station side gateway CSG1 can be restored to by closing main RSG, be specifically as follows:When the convergence main ASG of side gateway detects base station Side gateway CSG1 to the link (PW, LSP, Tunnel, interface when) of the convergence main ASG of side gateway link-recovery when, converge side net It closes main ASG and the routing iinformation of the base station side gateway CSG1 is packaged into BFD messages, the BFD messages include the base station side The routing iinformation of gateway CSG1;It is preferred that the BFD messages are also comprising the routing iinformation for recovering the base station side gateway CSG1 Indication information.
The main ASG of the convergence side gateway sends the BFD messages and gives the wireless traffic side main RSG of gateway, so that described wireless The main RSG of business side gateway recovers the routing of the wireless traffic side main RSG of gateway to the base station side gateway CSG1.And follow-up The flow having to CSG1 is switched to the routing.
Based on same mentality of designing, the embodiment of the present invention additionally provides a kind of network equipment.As shown in fig.6, including:
Package module 601 detects and the link failure of first network equipment room or for working as the network equipment During one network equipment failure, the routing iinformation of the first network equipment is packaged into two-way converting detection BFD messages, it is described BFD messages include the routing iinformation of the first network equipment;Sending module 602, for sending the BFD messages to the second net Network equipment, so that second network equipment cancels routing of second network equipment to the first network equipment.
It is preferred that the package module specifically includes the first BFD modules and the 2nd BFD modules,
The first BFD modules, for detecting and the link failure of first network equipment room or the event of first network equipment Barrier, and be used for when detecting with the link failure of first network equipment room or first network equipment fault, by described first The routing iinformation of the network equipment is notified to the 2nd BFD modules;
The 2nd BFD modules for searching BFD messages template corresponding with the first network equipment, obtain With the matched BFD messages of routing iinformation of the first network equipment.
Or it is preferred that the package module specifically includes the first BFD modules and the 2nd BFD modules, the first BFD Module, for detect with the link failure of first network equipment room or first network equipment fault, and for when detect with When the link failure of first network equipment room or first network equipment fault, the routing iinformation of the first network equipment is led to Know to the 2nd BFD modules;
The 2nd BFD modules, for the routing iinformation of the first network equipment to be packaged into BFD messages.
It is preferred that the BFD messages carry revocation route field, the revocation route field include routing information field, Type the type field, the routing information field include the routing iinformation of the first network equipment, the type the type field Include the indication information for cancelling the routing iinformation.
It is preferred that package module, is additionally operable to detect the link failure with first network equipment room when the network equipment The routing of the fault recovery link or fault recovery first network equipment is believed when either first network equipment fault recovers Breath is packaged into BFD messages, and the BFD messages include the routing of the fault recovery link or fault recovery first network equipment Information;
Sending module, for sending the BFD messages to second network equipment, so that second network equipment recovers institute State routing of second network equipment to the first network equipment.
It is preferred that the network equipment is specially to converge side gateway A SG.
The embodiment of the present invention also provides a kind of network equipment, includes with reference to shown in Fig. 7:Processor 702, memory 703, Transmitter 701 and bus 704, the processor 702, memory 703 and transmitter 701 are connected by bus 704 and complete phase Communication between mutually, wherein:
The bus 704 can be that industry standard architecture (Industry Standard Architecture, ISA) is total Line, external equipment interconnection (Peripheral Component, PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, EISA) bus etc..It is total that the bus 704 can be divided into address bus, data Line, controlling bus etc..For ease of representing, only represented in Fig. 7 with a line, it is not intended that an only bus or a type Bus.
For memory 703 for storing program code, which includes operational order.Memory 703 may include height Fast random access memory (random access memory, RAM), it is also possible to including nonvolatile memory (non-volatile ), such as magnetic disk storage memory.
Processor 702 may be a central processing unit (Central Processing Unit, CPU) or specific Integrated circuit (Application Specific Integrated Circuit, ASIC) is arranged to implement this One or more integrated circuits of inventive embodiments.
Transmitter 701 is mainly used for realizing communication data between the network equipment and the other network equipments in the present embodiment Transmitting-receiving.
Specifically, processor 702, for calling the program code in memory 703, to perform following operation:
When the network equipment is detected with the link failure of first network equipment room or first network equipment fault, The routing iinformation of the first network equipment is packaged into two-way converting detection BFD messages, the BFD messages include described first The routing iinformation of the network equipment;
Transmitter 701 is for sending the BFD messages to second network equipment, so that second network equipment cancels institute State routing of second network equipment to the first network equipment.
Based on same mentality of designing, the embodiment of the present invention additionally provides a kind of route withdraw system, as shown in figure 8, including The network equipment of the embodiment of the present invention and second network equipment.The network equipment as shown previously, second network equipment, for cancelling Second network equipment is to the routing of first network equipment.
In the embodiment of the present invention, when the network equipment detects the link failure or first network with first network equipment room During equipment fault, the routing iinformation of the first network equipment is packaged into two-way converting detection BFD messages by the network equipment, The BFD messages include the routing iinformation of the first network equipment;The network equipment sends the BFD messages to the second net Network equipment, so that second network equipment cancels routing of second network equipment to the first network equipment.It can The routing to first network equipment through the network equipment is directly deleted on second network equipment, does not influence other normal chains Road receives business.
Those of ordinary skill in the art may realize that each exemplary lists described with reference to the embodiments described herein Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is performed with hardware or software mode, specific application and design constraint depending on technical solution.Professional technician Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, foregoing description is The specific work process of system, device and unit, may be referred to the corresponding process in preceding method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit Division is only a kind of division of logic function, can there is other dividing mode, such as multiple units or component in actual implementation It may be combined or can be integrated into another system or some features can be ignored or does not perform.It is another, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, device or unit It closes or communicates to connect, can be electrical, machinery or other forms.The unit illustrated as separating component can be or It may not be physically separate, the component shown as unit may or may not be physical location, you can with Positioned at a place or can also be distributed in multiple network element.Part therein can be selected according to the actual needs Or whole units realize the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also That unit is individually physically present, can also two or more units integrate in a unit.
If the function is realized in the form of SFU software functional unit and is independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part contribute to the prior art or the part of the technical solution can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be People's computer, server or network equipment etc.) perform all or part of the steps of the method according to each embodiment of the present invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in change or replacement, should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention described should be subject to the protection scope in claims.

Claims (12)

  1. A kind of 1. route withdraw method, which is characterized in that
    When the network equipment is detected with the link failure of first network equipment room or first network equipment fault, the network The routing iinformation of the first network equipment is packaged into two-way converting detection BFD messages by equipment, and the BFD messages include described The routing iinformation of first network equipment, when the network equipment detects the link failure with multiple first network equipment rooms Or during multiple first network equipment faults, the routing iinformation of the multiple first network equipment is encapsulated in same In BFD messages, the BFD messages carry revocation route field, and the revocation route field includes routing iinformation Data fields, class Type the type field, the routing iinformation Data fields include the routing iinformation of the first network equipment, the type Type words Section includes the indication information for cancelling the routing iinformation, and the routing iinformation includes the routing ID and son of the first network equipment Net mask;
    The network equipment sends the BFD messages to second network equipment, so that second network equipment revocation described the Two network equipments are to the routing of the first network equipment.
  2. 2. according to the method described in claim 1, which is characterized in that
    When the network equipment is detected with the link failure of first network equipment room or first network equipment fault, the network The routing iinformation of the first network equipment is packaged into BFD messages by equipment, and the BFD messages include the first network equipment Routing iinformation specifically include:When the first BFD modules of the network equipment detect and the event of the link of first network equipment room When barrier or first network equipment fault, the first BFD modules of the network equipment believe the routing of the first network equipment Breath notice is to the 2nd BFD modules of the network equipment;2nd BFD modules of the network equipment are searched and the first network The corresponding BFD messages template of equipment obtains the matched BFD messages of routing iinformation with the first network equipment.
  3. 3. according to the method described in claim 1, which is characterized in that
    When the network equipment is detected with the link failure of first network equipment room or first network equipment fault, the network The routing iinformation of the first network equipment is packaged into BFD messages by equipment, and the BFD messages include the first network equipment Routing iinformation specifically include:When the first BFD modules of the network equipment detect and the event of the link of first network equipment room When barrier or first network equipment fault, the first BFD modules of the network equipment believe the routing of the first network equipment Breath notice is to the 2nd BFD modules of the network equipment;
    The routing iinformation of the first network equipment is packaged into BFD messages by the 2nd BFD modules of the network equipment.
  4. 4. according to the method described in claim 1, which is characterized in that the method further includes:When the network equipment is examined When measuring with the link failure recovery of first network equipment room or first network equipment fault recovery, the network equipment is by institute The routing iinformation for stating fault recovery link or fault recovery first network equipment is packaged into BFD messages, and the BFD messages include The routing iinformation of the fault recovery link or fault recovery first network equipment;
    The network equipment sends the BFD messages to second network equipment, so that second network equipment recovers described the Two network equipments are to the routing of the first network equipment.
  5. 5. according to any methods of the claim 1-4, which is characterized in that
    The network equipment is specially to converge side gateway A SG, and the first network equipment is specially base station side gateway CSG, described Second network equipment is specially wireless traffic side gateway RSG.
  6. 6. a kind of network equipment, which is characterized in that including:
    Package module is detected for working as the network equipment and set with the link failure of first network equipment room or first network During standby failure, the routing iinformation of the first network equipment is packaged into two-way converting detection BFD messages, the BFD messages bag Routing iinformation containing the first network equipment, when the network equipment detects the chain with multiple first network equipment rooms When road failure or multiple first network equipment faults, the routing iinformation of the multiple first network equipment is encapsulated in together In one BFD message, the BFD messages carry revocation route field, and the revocation route field includes routing iinformation Data words Section, type the type field, the routing iinformation Data fields include the routing iinformation of the first network equipment, the type The type field includes the indication information for cancelling the routing iinformation, and the routing iinformation includes the routing of the first network equipment ID and subnet mask;
    Sending module, for sending the BFD messages to second network equipment, so that second network equipment revocation described the Two network equipments are to the routing of the first network equipment.
  7. 7. according to the network equipment described in the claim 6, which is characterized in that
    The package module specifically includes the first BFD modules and the 2nd BFD modules,
    The first BFD modules, for detection and the link failure of first network equipment room or first network equipment fault, and For when detecting with the link failure of first network equipment room or first network equipment fault, the first network to be set Standby routing iinformation is notified to the 2nd BFD modules;
    The 2nd BFD modules for searching corresponding with first network equipment BFD messages template, obtain and described the The matched BFD messages of routing iinformation of one network equipment.
  8. 8. according to the network equipment described in the claim 6, which is characterized in that
    The package module specifically includes the first BFD modules and the 2nd BFD modules,
    The first BFD modules, for detection and the link failure of first network equipment room or first network equipment fault, and For when detecting with the link failure of first network equipment room or first network equipment fault, the first network to be set Standby routing iinformation is notified to the 2nd BFD modules;
    The 2nd BFD modules, for the routing iinformation of the first network equipment to be packaged into BFD messages.
  9. 9. according to the network equipment described in the claim 6, which is characterized in that
    Package module is additionally operable to detect and the link failure recovery of first network equipment room or first when the network equipment When network equipment failure is recovered, the routing iinformation of the fault recovery link or fault recovery first network equipment is packaged into BFD messages, the BFD messages include the fault recovery link or the routing iinformation of fault recovery first network equipment;
    Sending module, for sending the BFD messages to second network equipment, so that second network equipment recovers described the Two network equipments are to the routing of the first network equipment.
  10. 10. according to any network equipments of the claim 6-9, which is characterized in that
    The network equipment is specially to converge side gateway A SG.
  11. 11. a kind of network equipment, which is characterized in that including processor, memory and transmitter, the memory is used to store journey Sequence code, wherein:
    The processor for calling the program code in the memory, performs following operation:When the network equipment detects During to the link failure with first network equipment room or first network equipment fault, the routing of the first network equipment is believed Breath is packaged into two-way converting detection BFD messages, and the BFD messages include the routing iinformation of the first network equipment, when described The network equipment detects and the link failure of multiple first network equipment rooms or multiple first network equipment faults When, the routing iinformation of the multiple first network equipment is encapsulated in same BFD messages, the BFD messages carry revocation Route field, the revocation route field include routing iinformation Data fields, type the type field, the routing iinformation Data words Section includes the routing iinformation of the first network equipment, and the type the type field includes the instruction letter for cancelling the routing iinformation Breath, the routing iinformation include the routing ID and subnet mask of the first network equipment;
    The transmitter, for sending the BFD messages to second network equipment, so that described in second network equipment revocation Second network equipment is to the routing of the first network equipment.
  12. 12. a kind of route withdraw system, which is characterized in that including:The network equipment as shown in claim 6-10 is any and the Two network equipments, second network equipment, for cancelling routing of second network equipment to first network equipment.
CN201310270236.2A 2013-06-29 2013-06-29 A kind of route withdraw method and the network equipment Active CN104253745B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310270236.2A CN104253745B (en) 2013-06-29 2013-06-29 A kind of route withdraw method and the network equipment
PCT/CN2014/079902 WO2014206207A1 (en) 2013-06-29 2014-06-16 Route withdrawal method and network device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310270236.2A CN104253745B (en) 2013-06-29 2013-06-29 A kind of route withdraw method and the network equipment

Publications (2)

Publication Number Publication Date
CN104253745A CN104253745A (en) 2014-12-31
CN104253745B true CN104253745B (en) 2018-05-29

Family

ID=52141025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310270236.2A Active CN104253745B (en) 2013-06-29 2013-06-29 A kind of route withdraw method and the network equipment

Country Status (2)

Country Link
CN (1) CN104253745B (en)
WO (1) WO2014206207A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105827419B (en) * 2015-01-05 2020-03-10 华为技术有限公司 Method, equipment and controller for processing forwarding equipment fault
CN106209617B (en) * 2015-04-29 2020-12-11 中兴通讯股份有限公司 Method for announcing route and withdrawing route and corresponding routing equipment
CN110753002B (en) * 2019-09-29 2023-04-07 北京浪潮数据技术有限公司 Traffic scheduling method and device
CN110740094B (en) * 2019-10-28 2021-09-21 新华三信息安全技术有限公司 Network equipment, BFD message transmission method and device
CN113630314B (en) * 2020-05-09 2022-09-16 北京金山云网络技术有限公司 Disaster recovery method and device for hybrid cloud private line access network
CN112367257B (en) * 2020-10-30 2022-10-21 新华三技术有限公司 Route notification method and device
CN115051947B (en) * 2022-06-30 2024-02-23 中兴通讯股份有限公司 Communication state switching method, port configuration method, communication system and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800676A (en) * 2010-02-20 2010-08-11 中兴通讯股份有限公司 Link detection method, device and system
CN101834773A (en) * 2010-03-30 2010-09-15 中兴通讯股份有限公司 Protection method and system of virtual private LAN (Local Area Network) service (VPLS)
CN102195822A (en) * 2010-03-01 2011-09-21 杭州华三通信技术有限公司 Fault detection method and business provider edge (PE) equipment
CN102255765A (en) * 2010-05-21 2011-11-23 华为技术有限公司 Bidirectional forwarding detection method and device
CN102316041A (en) * 2011-09-09 2012-01-11 福建星网锐捷网络有限公司 Router switching method and device
CN102857399B (en) * 2012-08-20 2015-06-17 华为技术有限公司 MAC address deleting method, device and system of VPLS dual homing network

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8543718B2 (en) * 2006-03-02 2013-09-24 Cisco Technology, Inc. Technique for efficiently and dynamically maintaining bidirectional forwarding detection on a bundle of links
US8488444B2 (en) * 2007-07-03 2013-07-16 Cisco Technology, Inc. Fast remote failure notification
CN101355486A (en) * 2007-07-23 2009-01-28 中国移动通信集团公司 Method, equipment and system for switching route
US8531976B2 (en) * 2008-03-07 2013-09-10 Cisco Technology, Inc. Locating tunnel failure based on next-next hop connectivity in a computer network
US7990852B1 (en) * 2008-08-14 2011-08-02 Tellabs San Jose, Inc. Methods and apparatus for improving network communication using BFD and VRRP tracking system
CN101431448B (en) * 2008-10-22 2011-12-28 华为技术有限公司 Method, equipment and system for positioning fault of IP bearing network
CN102195861B (en) * 2010-03-19 2015-04-08 杭州华三通信技术有限公司 Method and device for establishing BFD (bidirectional forwarding detection) session in route switching process
US8543728B2 (en) * 2010-03-25 2013-09-24 Verizon Patent And Licensing Inc. Dampening interface flapping
CN102223241B (en) * 2010-04-15 2013-09-11 杭州华三通信技术有限公司 Method and equipment for informing network change
CN101924654B (en) * 2010-08-23 2015-04-01 中兴通讯股份有限公司 Point-to-multipoint service-based path switching method and system
CN102164051B (en) * 2011-05-18 2013-11-06 西安交通大学 Service-oriented fault detection and positioning method
CN102611577A (en) * 2012-03-02 2012-07-25 中兴通讯股份有限公司 LDP (Label Distribution Protocol) conversation-based method, device and system for protecting PWs (Pseudo Wires)

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800676A (en) * 2010-02-20 2010-08-11 中兴通讯股份有限公司 Link detection method, device and system
CN102195822A (en) * 2010-03-01 2011-09-21 杭州华三通信技术有限公司 Fault detection method and business provider edge (PE) equipment
CN101834773A (en) * 2010-03-30 2010-09-15 中兴通讯股份有限公司 Protection method and system of virtual private LAN (Local Area Network) service (VPLS)
CN102255765A (en) * 2010-05-21 2011-11-23 华为技术有限公司 Bidirectional forwarding detection method and device
CN102316041A (en) * 2011-09-09 2012-01-11 福建星网锐捷网络有限公司 Router switching method and device
CN102857399B (en) * 2012-08-20 2015-06-17 华为技术有限公司 MAC address deleting method, device and system of VPLS dual homing network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Bidirectional Forwarding Detection(BFD);D.Katz;D.Ward;《Request for Comments:5880》;20100630;全文 *

Also Published As

Publication number Publication date
CN104253745A (en) 2014-12-31
WO2014206207A1 (en) 2014-12-31

Similar Documents

Publication Publication Date Title
CN104253745B (en) A kind of route withdraw method and the network equipment
CN104247344B (en) The controller arrangement shifted for fast failure in split-type architecture
CN105577417B (en) Message forwarding method and device based on VXLAN network
CN109873760A (en) Handle the method and apparatus of routing and the method and apparatus of data transmission
CN107347032B (en) Message forwarding method and device
WO2018054397A1 (en) Service function chain detection path method and device
CN105490884B (en) A kind of VXLAN tunnel detection method and device
CN107547371A (en) A kind of message forwarding method and device
CN104767680B (en) It route the method and apparatus being switched fast
CN103795570B (en) The unicast message restoration methods and device of the stacked switchboard system of ring topology
CN103581025B (en) Method and system for processing routing information and equipment
CN103841017B (en) The method and apparatus that label is distributed automatically in looped network protection
CN103746881B (en) Neighbor state detection method and device in EVI networks
CN103490921B (en) Network protection method, device, lower link point and system
CN109218107A (en) Link switch-over method, device, the network equipment and network system
CN108234200A (en) Communication processing method and device based on access ring
CN110417564A (en) Link protection method, device, equipment and the storage medium of full mesh
CN104579973B (en) Message forwarding method and device in a kind of Virtual Cluster
CN105471599A (en) Protection switching method and network device
CN102065020B (en) Method and device for transmitting L2VPN service by using tunnel group in MPLS network
CN104702431B (en) A kind of method and device of Virtual Private Network double break protection
WO2015154603A1 (en) Tunnel protecting method and device based on shared tunnel
CN107656847A (en) Node administration method, system, device and storage medium based on distributed type assemblies
CN107819680A (en) A kind of method of service switchover, the network equipment
CN107547373A (en) A kind of message forwarding method, device, equipment and machinable medium

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
TR01 Transfer of patent right

Effective date of registration: 20201026

Address after: No.8, Xiaoping Avenue, Badu Economic Development Zone, Zhenze Town, Wujiang District, Suzhou City, Jiangsu Province

Patentee after: TONGDING INTERCONNECTION INFORMATION Co.,Ltd.

Address before: 625, room 269, Connaught platinum Plaza, No. 518101, Qianjin Road, Xin'an street, Shenzhen, Guangdong, Baoan District

Patentee before: SHENZHEN SHANGGE INTELLECTUAL PROPERTY SERVICE Co.,Ltd.

Effective date of registration: 20201026

Address after: 625, room 269, Connaught platinum Plaza, No. 518101, Qianjin Road, Xin'an street, Shenzhen, Guangdong, Baoan District

Patentee after: SHENZHEN SHANGGE INTELLECTUAL PROPERTY SERVICE Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right