Forwarding method for bidirectional forwarding detection BFD message and network equipment
A technology for bidirectional forwarding detection and network equipment, which is used in data exchange networks, digital transmission systems, electrical components, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] specific, image 3 It is a schematic flowchart of the BFD message forwarding method provided by the present disclosure. In this embodiment, the figure 1 The network diagram shown in the example is used as an example to describe the BFD packet forwarding method provided in this embodiment. BFD packets can be used for single-hop detection or multi-hop detection. Single-hop detection refers to the IP connectivity detection of two directly connected devices, where "single-hop" refers to one IP hop; multi-hop detection refers to the detection of the link condition of any path between two devices, These paths may span many hops.
[0036] In this embodiment, the first network device is figure 1 In Switch A, the second network device is figure 1 Take SwitchD in the example as an example. Among them, an aggregation link or an ECMP link is established between Switch A and Switch D on Switch B and Switch C.
[0037] figure 2 A schematic diagram of establishing a BFD sessio...
Embodiment 2
[0057] On the basis of the foregoing embodiments, the method provided in this embodiment also includes:
[0058] Step 301: When the forwarding chip of Switch A detects that any hardware BFD session in the hardware BFD session corresponding to the CPU's software BFD session has timed out, the forwarding chip reports to the CPU a Down event indicating that the hardware BFD session timed out.
[0059] In an implementation manner, the hardware BFD sessions on the forwarding chip are respectively bound with timers, and the timers are used to identify whether the corresponding hardware BFD sessions time out.
[0060] Whether the hardware BFD has timed out, the specific judgment method is: judge whether the BFD message is received in 3 times the time interval (hello time). If the 3 times hello time timer does not receive a packet, the flag bit is set to 0, and a hardware BFD DOWN event is reported at the same time. Each time a BFD packet is received, the timer is cleared and restart...
Embodiment 3
[0068] On the basis of the foregoing embodiments, the present disclosure further provides a network device, configured to perform the method performed by the first network device in the foregoing Embodiment 1. Figure 4 Schematic diagram of the network equipment provided for this disclosure, such as Figure 4 As shown, the network equipment includes:
[0069] Forwarding chip 403, CPU401 and memory 402;
[0070] Wherein, the memory 402 is used to store program instructions;
[0071] The CPU 401 is configured to call the stored program instructions in the memory 402 to perform the following operations: send the primary address information and the standby address information of the BFD message to be generated to the forwarding chip 403, wherein the primary The address information is different from the source port number of the backup address information, and the other address information is the same;
[0072] The forwarding chip 403 generates a BFD message according to the act...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com