CN111654407B - Stacking system and bidirectional forwarding detection method thereof - Google Patents

Stacking system and bidirectional forwarding detection method thereof Download PDF

Info

Publication number
CN111654407B
CN111654407B CN202010291001.1A CN202010291001A CN111654407B CN 111654407 B CN111654407 B CN 111654407B CN 202010291001 A CN202010291001 A CN 202010291001A CN 111654407 B CN111654407 B CN 111654407B
Authority
CN
China
Prior art keywords
session
bfd
hardware
maintenance
equipment
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
CN202010291001.1A
Other languages
Chinese (zh)
Other versions
CN111654407A (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.)
New H3C Security Technologies Co Ltd
Original Assignee
New H3C Security 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 New H3C Security Technologies Co Ltd filed Critical New H3C Security Technologies Co Ltd
Priority to CN202010291001.1A priority Critical patent/CN111654407B/en
Publication of CN111654407A publication Critical patent/CN111654407A/en
Application granted granted Critical
Publication of CN111654407B publication Critical patent/CN111654407B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • H04L45/245Link aggregation, e.g. trunking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/58Association of routers
    • H04L45/583Stackable routers

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application provides a stacking system and a bidirectional forwarding detection method thereof, wherein the method comprises the following steps: configuring a first session maintenance and first session backup device and a second session maintenance and second session backup maintenance device; the first session maintenance equipment maintains the hardware BFD session distributed with the discrimination value of the first discrimination value range, and backups the hardware BFD session maintained by the first session maintenance equipment; the first session maintenance equipment synchronizes the state of each maintained hardware BFD session to the corresponding hardware BFD session backed up by the first session backup equipment; the second session maintenance equipment maintains the hardware BFD session distributed with each discrimination value of the second discrimination value range, and backups the hardware BFD session maintained by the second session maintenance equipment; and the second session maintenance equipment synchronizes the maintained state of each hardware BFD session to the corresponding hardware BFD session backed up by the second session backup equipment.

Description

Stacking system and bidirectional forwarding detection method thereof
Technical Field
The present application relates to communications technologies, and in particular, to a stacking system and a bidirectional forwarding detection method thereof.
Background
A Bidirectional Forwarding Detection (BFD) mechanism is used for establishing a BFD session between two network devices to detect a Bidirectional forwarding path between the two network devices. The BFD session itself has no neighbor discovery mechanism, and the upper layer application which needs to establish the BFD session on the device informs the upper layer application of the opposite network device to establish the BFD session. After the BFD session is established between the upper-layer applications of the two network devices, the BFD session is periodically and quickly transmitted between the two devices, and when one device does not receive the BFD message transmitted by the other device in a detection period, the bidirectional forwarding path between the two communication devices is considered to have a fault.
Because the CPU of the communication device needs to support a large number of sessions and the BFD session detection accuracy is higher, the more BFD messages need to be sent and received, the communication device mainly relies on the dedicated BFD chip of the communication device to send, receive, and process the BFD messages. Thus, the CPU of the communication equipment creates/deletes BFD session, establishes hardware session on the BFD chip, the BFD chip sends, receives and processes mass BFD messages, and only sends a small amount of session events, such as state change, parameter change and other interrupt events to the CPU.
In the existing method, when a master device (master) of the stack system establishes a BFD session with other communication devices through an aggregation port, the master device of the stack system selects one member device from different member devices distributed on the member port of the aggregation port, and establishes a hardware BFD session through a BFD chip of the selected member device. However, the existing method has the problem that all hardware BFD sessions for sending BFD detection messages through aggregation ports are established on a single device, which increases the processing pressure of the BFD chip of the device.
Disclosure of Invention
The present application aims to provide a stacking system and a bidirectional forwarding detection method thereof, so as to implement backup of a hardware BFD session at an aggregation port of a stacking device.
In order to achieve the above object, the present application further provides a bidirectional forwarding detection method for a stacking system, where the method includes: configuring equipment where each member port of an aggregation port of a stacking system is located as first session maintenance equipment, first session backup equipment and second session maintenance equipment; a second session backup maintenance device; configuring a first authentication value range for the first session maintenance equipment and the first session maintenance equipment; the first session maintenance equipment maintains the hardware BFD session distributed with the discrimination value of the first discrimination value range, and backups the hardware BFD session maintained by the first session maintenance equipment; the first session maintenance equipment synchronizes the state of each maintained hardware BFD session to the corresponding hardware BFD session backed up by the first session backup equipment; configuring a second authentication value range for the second session maintenance device and the second session maintenance device; the second session maintenance equipment maintains the hardware BFD session distributed with each discrimination value of the second discrimination value range, and backups the hardware BFD session maintained by the second session maintenance equipment; and the second session maintenance equipment synchronizes the maintained state of each hardware BFD session to the corresponding hardware BFD session backed up by the second session backup equipment.
In order to achieve the above object, the present application further provides: a stacking system is provided, wherein the device of each member port of the aggregation port of the stacking system is configured as a first session maintenance device, a first session backup device and a second session maintenance device; a second session backup maintenance device; the first session maintenance equipment and the first session maintenance equipment configure a first identification value range; the second session maintenance equipment and the second session maintenance equipment configure a second authentication value range; the first session maintenance equipment maintains the hardware BFD session distributed with the discrimination value of the first discrimination value range, and backups the hardware BFD session maintained by the first session maintenance equipment; the first session maintenance equipment synchronizes the state of each maintained hardware BFD session to the corresponding hardware BFD session backed up by the first session backup equipment; the second session maintenance equipment maintains the hardware BFD session distributed with each discrimination value of the second discrimination value range, and backs up the hardware BFD session maintained by the second session maintenance equipment; and the second session maintenance equipment synchronizes the maintained state of each hardware BFD session to the corresponding hardware BFD session backed up by the second session backup equipment.
The method has the advantages that the stack system maintains and backs up the hardware BFD session distribution needing to receive and transmit the BFD messages through the aggregation port by different devices, and stability of the BFD session is improved.
Drawings
FIG. 1 shows;
FIG. 2 is a schematic diagram of an embodiment of bi-directional forwarding detection for a stacking system provided herein;
FIG. 3 is a schematic diagram of an embodiment of a single session maintenance device failover provided by the present application;
FIG. 4 is a schematic diagram of an embodiment of a single session backup device failure provided by the present application;
FIG. 5 is a schematic diagram of an embodiment of a dual session backup device failure for a stacked system;
FIG. 6 is a schematic diagram of an embodiment of a dual session backup device failure for a stacked system.
Detailed Description
A detailed description will be given of a number of examples shown in a number of figures. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present application. Well-known methods, procedures, components and circuits have not been described in detail so as not to obscure the examples.
The term "including" as that term is used is meant to include, but is not limited to; the term "comprising" means including but not limited to; the terms "above," "within," and "below" include the instant numbers; the terms "greater than" and "less than" mean that the number is not included. The term "based on" means based on at least a portion thereof.
The bidirectional forwarding detection method of the stacking system shown in fig. 1 comprises the following steps:
step 101, configuring the device in which each member port of the aggregation port of the stacking system is located as a first session maintenance device, a first session backup device and a second session maintenance device; a second session backup maintenance device;
step 102, configuring a first authentication value range for a first session maintenance device and a first session maintenance device; the first session maintenance device maintains the hardware BFD sessions assigned the discrimination values of the first discrimination value range, and the first session maintenance device backs up the hardware BFD sessions maintained by the first session maintenance device.
Step 103, the first session maintenance device synchronizes the maintained state of each hardware BFD session to the corresponding hardware BFD session backed up by the first session backup device.
Step 104, configuring a second authentication value range for the second session maintenance equipment and the second session maintenance equipment; the second session maintenance device maintains a hardware BFD session to which each discrimination value of the second discrimination value range is assigned, and the second session maintenance device backs up the hardware BFD session maintained by the second session maintenance device.
Step 105, configuring a second authentication value range by the second session maintenance equipment and the second session maintenance equipment; the second session maintenance device maintains a hardware BFD session to which each discrimination value of the second discrimination value range is assigned, and the second session maintenance device backs up the hardware BFD session maintained by the second session maintenance device.
The method shown in fig. 1 has the beneficial effects that the stacking system maintains and backs up the distribution of the hardware BFD session which needs to receive and transmit the BFD messages through the aggregation port by different devices, thereby increasing the stability of the BFD session.
Fig. 2 is a schematic diagram illustrating that the stacking system provided in the embodiment of the present application performs bidirectional forwarding detection. The member devices of the stacking system 20 are devices 21-24, respectively, and the device 21 is the main device of the stacking system 20. The stacking system 20 is not limited to a box stacking system formed by member devices located in the same distributed subrack or a box distributed stacking system formed by member devices of a plurality of distributed subracks, and thus the following embodiments are described by taking the box stacking system as an example.
The Aggregation port a of the stack system 20 is connected to the switch 30 through a Link Aggregation Group (LAG); the member ports 1A-4A of aggregation port a are located at devices 21-24, respectively. The devices 21 and 23 are each set as a session maintenance device, and the device 22 is set as a session backup device for the member device 21; device 24 is set as a session backup device for device 23.
The CPU of the device 21 allocates a first discrimination value range having N discrimination values according to the number N of hardware BFD sessions supported by its own BFD chip, and allocates a second discrimination value range having M discrimination values according to the number M of hardware BFD sessions supported by the BFD chip of the device 23. The CPU of the device 21 transmits the first discrimination value range assigned to the device 21 and the second discrimination value range assigned to the device 23 to the CPU of the device 22, the CPU of the device 23, and the CPU of the device 24, respectively, by inter-board communication.
The CPU of the device 21 sets a session maintenance redirection table entry in its own switch chip, where the matching entry is a second authentication value range; the action item is forwarded through a stack port of the arrival device 23.
The CPU of the device 22 sets 2 session maintenance redirection entries in its own switch chip; in one of the session maintenance redirection entries, the matching entry and the action entry are the first authentication value range and are forwarded through the stack port of the destination device 21, respectively. In another session maintenance redirection table entry, the match entry and the action entry are the second authentication value range and are forwarded through the stack port of the destination device 23, respectively.
The CPU of the device 23 sets a session maintenance redirection table entry in its own switch chip, where the matching entry is a first authentication value range; the action item is forwarded through a stack port of the arrival device 21.
The CPU of the device 24 sets 2 session maintenance redirection entries in its own switch chip; in one of the session maintenance redirection entries, the matching entry and the action entry are the first authentication value range and are forwarded through the stack port of the destination device 21, respectively. In another session maintenance redirection table entry, the match and action items are the second authentication value range and are forwarded through the stack port to device 23, respectively.
When an upper layer application of the stack system 20 needs to establish a BFD session with an upper layer application of the switch 30, the device 21 first selects an authentication value a from a first authentication value range, and selects a member port in the aggregation port to send a BFD packet negotiating the authentication value, where Local descriptor is that the authentication value a and remote descriptor are null. In the BFD message sent by each device, the Local descriptor is used as the unique identification information of the BFD session of the device.
In the BFD message of the negotiated authentication value replied by the switch 30, the Local discriminator is the authentication value allocated by the switch 30 for the BFD session and the remote discriminator is the authentication value a. The switch 30 selects one member from its own aggregation port to send a BFD packet through a load sharing algorithm.
When the member port selected by the switch 30 sends the BFD packet of the negotiation authentication value to the member port 2A through the connected link, the switch chip of the device 22 recognizes that the authentication value a of the received BFD packet remote descriptor field matches the first authentication value range in the session maintenance redirection entry, and sends the BFD packet of the negotiation authentication value through the stack port reaching the device 21. If the member port selected by the switch 30 sends the BFD packet of the negotiation authentication value to the member port 3A or 4A through the connected link, the switch chip of the device 23 or 24 recognizes that the authentication value a of the received BFD packet remote descriptor field matches the first authentication value range in the session maintenance redirection table entry, and sends the BFD packet of the negotiation authentication value through the stack port reaching the device 21.
The switching chip of the device 21 may receive the BFD packet of the negotiated authentication value through the stacking link connecting the stacking ports or the member port 1A. The switching chip of the device 21 sends a BFD message of the negotiated authentication value to the CPU.
After the CPU of the device 21 establishes the software CPU session, the BFD session information containing the discrimination value a is synchronized to the CPUs of the devices 22-24 where the other member ports are located. The BFD session information can comprise the state of the local terminal and the state of the remote terminal; home diagnostic information (diagnoses), remote diagnostic information; an authentication value of the remote end; the time parameter of the expected packet transmission and reception at the local end and the time parameter of the expected packet transmission and reception at the remote end, which is not limited in this embodiment.
The CPU of the device 21 establishes a hardware BFD session on the local switch chip according to the BFD session information including the discrimination value a belonging to the first discrimination value range, and maintains the device role according to the session set by itself, activating the state machine of the hardware BFD session.
The CPU of the device 22 determines that the discrimination value a of the BFD session information belongs to the first discrimination value range according to the received BFD session information, establishes a hardware BFD session in the local exchange chip according to the received BFD session information, and does not activate the state machine of the hardware BFD session according to the session backup device role set by itself.
The CPU of the device 23 and the CPU of the device 24 each receive the BFD session information, and if it is determined that the discrimination value a of the BFD session information does not belong to the allocated second discrimination value range, the hardware BFD session is not established in their respective local switching chips.
The CPU of device 21 synchronizes the state of the BFD session assigned the discrimination value a to the CPU of device 22, and the CPU of device 22 sets the state of the hardware BFD session of the local exchange chip according to the synchronized BFD session state.
The upper layer application of the stack system 20 has established N hardware BFD sessions with the upper layer application of the switch 30, the CPU of the device 21 has allocated N discrimination values within a first discrimination value range to the established hardware BFD sessions, and the CPU of the device 21 has allocated discrimination values m of a second discrimination value range to the established software BFD sessions. In summary, the device 21 of the stacking system 20 may also alternately select discrimination values from the first discrimination value range and the second discrimination value range for distribution to the established software BFD session, and the present application is not limited to the manner in which the software BFDs discriminate values separately.
Device 23 and device 24 each maintain, back up, the hardware BFD session in the same manner. After the CPU of the device 21 establishes the software CPU session, the BFD session information containing the discrimination value m is synchronized to the CPUs of the devices 22-24 where the other member ports are located.
The CPU of each of the device 21 and the device 22 determines, according to the BFD session information, that the discrimination value m of the BFD session information does not belong to the allocated first discrimination value range, and then does not establish a hardware BFD session in the local exchange chip.
The CPU of the device 23 determines that the discrimination value m of the BFD session information belongs to the second discrimination value range according to the received BFD session information, establishes a hardware BFD session in the local exchange chip according to the received BFD session information, maintains the device role according to the session set by itself, and activates the state machine of the hardware BFD session.
The CPU of the device 24 determines that the discrimination value m of the BFD session information belongs to the second discrimination value range according to the received BFD session information, establishes a hardware BFD session in the local exchange chip according to the received BFD session information, and does not activate the state machine of the hardware BFD session according to the session backup device role set by the CPU.
The CPU of the device 23 synchronizes the state of the BFD session assigned the discrimination value m to the CPU of the device 24, and the CPU of the device 23 sets the state of the hardware BFD session of the local exchange chip according to the synchronized BFD session state.
As shown in fig. 1, the device 21 receives and transmits a message (indicated by a solid arrow in fig. 1) of a BFD session to which a discrimination value within a first discrimination value range is assigned, for maintaining a hardware BFD session; the device 23 receives and transmits messages (indicated by dotted arrows in fig. 1) of BFD sessions assigned discrimination values within the second range of discrimination values for maintaining the hardware BFD sessions. The switch chips of the device 22 and the device 24 receive the redirection table entry configured by the BFD packet and send the BFD packet to the corresponding session maintenance device. The switching chips of devices 22 and 24 do not send BFD messages and do not switch the protocol state of the BFD session depending on whether a BFD message is received.
FIG. 3 is a schematic diagram of an embodiment of a single session maintenance device failover provided by the present application; the member port 3A of the device 23 fails and the device 23 may notify the devices 21, 22, 24 of the failure by software or hardware means.
The CPUs of the devices 21 and 23 modify the session maintenance redirection entries of the local switch chip that match the second authentication value range, respectively, and modify the action entries to be forwarded through the stack port to the device 24.
The CPU of the device 24 switches roles to the session maintenance device, deletes the session maintenance redirection table entry whose matching entry is the second discrimination value range in the local exchange chip, and activates the state machine of the hardware BFD session.
The device 24 sends, through the session maintenance redirection table entry, a message (indicated by a solid arrow in fig. 1) of the BFD session to which the discrimination value within the first discrimination value range is allocated to the device 21 for maintaining the hardware BFD session; the device 24 maintains the BFD session assigned the discrimination values of the second discrimination value range instead of the device 23, receives and transmits the messages (indicated by solid arrows in fig. 6) of the BFD session assigned the discrimination values within the second discrimination value range, and avoids disconnection of the hardware BFD session.
When port 1A of device 21 fails, the BFD session to which the discrimination value of the first discrimination value range is assigned can be switched to device 22 by the same method; the device 23 and the device 24 modify the session redirection table entry, and redirect the BFD packet to the device 22.
FIG. 4 is a schematic diagram of an embodiment of a single session backup device failure provided by the present application; when the member port 4A of the device 24 fails, the CPU of the device 24 deletes the session maintenance redirection table entry whose matching entry in the local exchange chip is in the second identification value range, and does not backup the hardware BFD session.
FIG. 5 is a schematic diagram of an embodiment of a dual session backup device failure for a stacked system; the CPU of the member port 2A of the device 22 deletes the session maintenance redirection table entry whose matching entry is in the first identification value range in the local exchange chip, and does not backup the hardware BFD session; when the member port 4A of the device 24 fails, the CPU of the device 22 deletes the session maintenance redirection table entry whose matching entry is in the second identification value range in the local exchange chip, and does not backup the hardware BFD session.
The device 21 sends a message (shown by a solid arrow in fig. 5) of the BFD session to which the discrimination value in the second discrimination value range is allocated to the device 23 through the session maintenance redirection table entry to maintain the hardware BFD session; the device 23 sends a message (indicated by the solid arrow in fig. 5) to the device 21 for maintaining the hardware BFD session that is assigned an authentication value within the first range of authentication values.
FIG. 6 is a schematic diagram of an embodiment of a dual session backup device failure for a stacked system. Member port 1A of device 21 fails and member port 3A of device 23 fails. Devices 21 and 23 may notify devices 22 and 24 of the fault by software or hardware means, respectively.
The CPU of device 22 switches roles to a session maintenance device. The CPU of the device 22 deletes the session maintenance redirection table entry whose matching entry is in the first identification value range in the local exchange chip, and activates the state machine of the hardware BFD session. Device 22 modifies the matching entry to a session maintenance redirection table entry for the second range of authentication values and modifies the action entry to be sent through a port to device 24. The device 22 receives and transmits messages of BFD sessions assigned with discrimination values within the first discrimination value range (indicated by solid arrows in fig. 6), and transmits messages of BFD sessions assigned with discrimination values within the second discrimination value range (indicated by solid arrows in fig. 6) to the device 24.
The CPU of device 24 modifies the matching entry to maintain a redirection table entry for the session for the first authentication value range and changes the action entry to be sent through the port to device 22. The CPU of the device 22 switches the role to a session maintenance device, deletes the session maintenance redirection table entry whose matching entry is the second discrimination value range in the local exchange chip, and activates the state machine of the hardware BFD session. The device 24 receives and transmits the messages of the BFD session assigned the discrimination values within the second discrimination value range (indicated by the solid arrows in fig. 6), and transmits the messages of the BFD session assigned the discrimination values within the first discrimination value range (indicated by the solid arrows in fig. 6) to the device 22.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (10)

1. A bidirectional forwarding detection method for a stacking system, the method comprising:
configuring equipment where each member port of the aggregation port of the stacking system is located as first session maintenance equipment, first session backup equipment and second session maintenance equipment; a second session backup maintenance device;
configuring a first authentication value range for the first session maintenance device and the first session backup device; the first session maintenance equipment maintains the hardware BFD session distributed with the discrimination value of the first discrimination value range, and the first session backup equipment backs up the hardware BFD session maintained by the first session maintenance equipment; the first session maintenance equipment synchronizes the maintained state of each hardware BFD session to the corresponding hardware BFD session backed up by the first session backup equipment;
configuring a second authentication value range for the second session maintenance device and the second session backup device; the second session maintenance equipment maintains the hardware BFD session which is allocated with each discrimination value of the second discrimination value range, and the second session backup equipment backs up the hardware BFD session maintained by the second session maintenance equipment; and the second session maintenance equipment synchronizes the state of each maintained hardware BFD session to the corresponding hardware BFD session backed up by the second session backup equipment.
2. The method of claim 1, wherein the first session maintenance device maintaining a hardware BFD session assigned each discrimination value of the first range of discrimination values comprises: judging whether the obtained discrimination value of the BFD session information belongs to a first discrimination value range or not; if yes, establishing a hardware BFD session according to the obtained BFD session information, activating a state machine of the established hardware BFD session, and receiving and sending a message of the established hardware BFD session;
the first session maintenance equipment backing up the hardware BFD session maintained by the first session maintenance equipment comprises the following steps: configuring a first session maintenance redirection table item, and judging whether the obtained discrimination value of the BFD session information belongs to the first discrimination value range or not; if yes, establishing a hardware BFD session according to the obtained BFD session information, not activating a state machine of the established hardware BFD session, receiving a message of the established hardware BFD session, and sending the received message of the established hardware BFD session to the first session maintenance equipment through the first session maintenance redirection table item; wherein, the matching item of the first session maintenance redirection table entry is a first identification value range; the action item is forwarded through a stack port to the first session maintenance device.
3. The method of claim 1, wherein the second session maintenance device maintaining the hardware BFD session assigned each discrimination value of the second range of discrimination values comprises: judging whether the obtained discrimination value of the BFD session information belongs to a second discrimination value range or not; if yes, establishing a hardware BFD session according to the obtained BFD session information, activating a state machine of the established hardware BFD session, and receiving and sending a message of the established hardware BFD session;
the second session maintenance equipment backing up the hardware BFD session maintained by the second session maintenance equipment comprises the following steps: configuring a second session maintenance redirection table item, and judging whether the obtained discrimination value of the BFD session information belongs to the second discrimination value range or not; if yes, establishing a hardware BFD session according to the obtained BFD session information, not activating a state machine of the established hardware BFD session, receiving a message of the established hardware BFD session, and sending the received message of the backup hardware BFD session to the second session maintenance equipment through the second session maintenance redirection table item; wherein the matching entry of the second session maintenance redirection table entry is a second authentication value range; the action item is forwarded through a stack port to the second session maintenance device.
4. The method according to claim 2 or 3, wherein the first session maintenance device and the first session backup device set a third session maintenance redirection table entry according to the second discrimination value range, and send the received BFD packet containing the discrimination value of the second discrimination value range to the second session maintenance device; wherein the matching entry of the third session maintenance redirection table entry is a second range of discrimination values; the action item is forwarded through a stack port reaching the second session maintenance equipment;
the second session maintenance equipment and the second session backup equipment respectively set a fourth session maintenance redirection table item according to the first identification value range, and send the received BFD message containing the identification value of the first identification value range to the first session maintenance equipment; wherein the matching entry of the fourth session maintenance redirection table entry is a second authentication value range; the action item is forwarded through a stack port to the first session maintenance device.
5. The method of claim 4, further comprising:
the first session maintenance equipment informs the first session backup equipment of local failure; the first session backup device is switched to a new first session maintenance device, the first session maintenance redirection table entry is deleted, a state machine of the backed-up hardware BFD session is activated, and a BFD message of the backed-up hardware BFD session is received and sent; the second session maintenance device and the second session backup device respectively modify the action item of the fourth session maintenance redirection table entry to be forwarded through a stack port reaching the new first session maintenance device; and/or
The second session maintenance equipment informs the second session backup equipment of local failure; the second session backup device is switched to a new second session maintenance device, the second session maintenance redirection table entry is deleted, a state machine of the backed-up hardware BFD session is activated, BFD messages of the backed-up hardware BFD session are received and sent, and the first session maintenance device and the first session backup device respectively modify the action item of the fourth session maintenance redirection table entry to be forwarded through a stack port reaching the new second session maintenance device.
6. A stacking system is characterized in that a device where each member port of an aggregation port of the stacking system is located is configured as a first session maintenance device, a first session backup device and a second session maintenance device; a second session backup maintenance device; the first session maintenance equipment and the first session backup equipment configure a first authentication value range; the second session maintenance device and the second session backup device configure a second range of authentication values;
the first session maintenance equipment maintains the hardware BFD session distributed with the discrimination value of the first discrimination value range, and the first session backup equipment backs up the hardware BFD session maintained by the first session maintenance equipment; the first session maintenance equipment synchronizes the state of each maintained hardware BFD session to the corresponding hardware BFD session backed up by the first session backup equipment;
the second session maintenance equipment maintains the hardware BFD session which is allocated with each discrimination value of the second discrimination value range, and the second session backup equipment backs up the hardware BFD session maintained by the second session maintenance equipment; and the second session maintenance equipment synchronizes the state of each maintained hardware BFD session to the corresponding hardware BFD session backed up by the second session backup equipment.
7. The system of claim 6,
the first session maintenance device maintaining the hardware BFD session assigned each discrimination value of the first range of discrimination values comprises: judging whether the obtained discrimination value of the BFD session information belongs to a first discrimination value range or not; if yes, establishing a hardware BFD session according to the obtained BFD session information, activating a state machine of the established hardware BFD session, and receiving and sending a message of the established hardware BFD session;
the first session maintenance equipment backing up the hardware BFD session maintained by the first session maintenance equipment comprises the following steps: judging whether the obtained discrimination value of the BFD session information belongs to the first discrimination value range or not; if yes, establishing a hardware BFD session according to the obtained BFD session information, not activating a state machine of the established hardware BFD session, configuring a first session maintenance redirection table item, receiving a message of the established hardware BFD session, and sending the received message of the established hardware BFD session to the first session maintenance equipment through the first session maintenance redirection table item; wherein, the matching item of the first session maintenance redirection table entry is a first identification value range; the action item is forwarded through a stack port to the first session maintenance device.
8. The system of claim 6,
the second session maintenance device maintaining the hardware BFD session assigned each discrimination value of the second range of discrimination values includes: judging whether the obtained discrimination value of the BFD session information belongs to a second discrimination value range or not; if yes, establishing a hardware BFD session according to the obtained BFD session information, activating a state machine of the established hardware BFD session, and receiving and sending messages of the established hardware BFD session;
the second session maintenance equipment backing up the hardware BFD session maintained by the second session maintenance equipment comprises the following steps: judging whether the obtained discrimination value of the BFD session information belongs to the second discrimination value range or not; if yes, establishing a hardware BFD session according to the obtained BFD session information, not activating a state machine of the established hardware BFD session, configuring a second session maintenance redirection table item, receiving a message of the established hardware BFD session, and sending the received message of the backup hardware BFD session to second session maintenance equipment through the second session maintenance redirection table item; wherein the matching entry of the second session maintenance redirection table entry is a second authentication value range; the action item is forwarded through a stack port to the second session maintenance device.
9. The system of claim 6,
the first session maintenance equipment and the first session backup equipment respectively set a third session maintenance redirection table item according to the second identification value range, and send the received BFD message containing the identification value of the second identification value range to the second session maintenance equipment; wherein the matching entry of the third session maintenance redirection table entry is a second range of discrimination values; the action item is forwarded through a stack port reaching the second session maintenance equipment;
the second session maintenance equipment and the second session backup equipment respectively set a fourth session maintenance redirection table item according to the first identification value range, and send the received BFD message containing the identification value of the first identification value range to the first session maintenance equipment; wherein the matching entry of the fourth session maintenance redirection table entry is an authentication value range; the action item is forwarded through a stack port to the first session maintenance device.
10. The system of claim 9,
the first session maintenance equipment informs the first session backup equipment of local failure; the first session backup device is switched to a new first session maintenance device, the first session maintenance redirection table entry is deleted, a state machine of the backed-up hardware BFD session is activated, and a BFD message of the backed-up hardware BFD session is received and sent; the second session maintenance equipment and the second session backup equipment respectively modify the fourth session maintenance redirection table item action item to be forwarded through a stack port reaching the new first session maintenance equipment; and/or
The second session maintenance equipment informs the second session backup equipment of local failure; the second session backup device is switched to a new second session maintenance device, the second session maintenance redirection table item is deleted, a state machine of the backed-up hardware BFD session is activated, and a BFD message of the backed-up hardware BFD session is received and sent; and the first session maintenance equipment and the first session backup equipment respectively modify the fourth session maintenance redirection table item action item to be forwarded through a stack port reaching the new second session maintenance equipment.
CN202010291001.1A 2020-04-14 2020-04-14 Stacking system and bidirectional forwarding detection method thereof Active CN111654407B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010291001.1A CN111654407B (en) 2020-04-14 2020-04-14 Stacking system and bidirectional forwarding detection method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010291001.1A CN111654407B (en) 2020-04-14 2020-04-14 Stacking system and bidirectional forwarding detection method thereof

Publications (2)

Publication Number Publication Date
CN111654407A CN111654407A (en) 2020-09-11
CN111654407B true CN111654407B (en) 2022-05-27

Family

ID=72347929

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010291001.1A Active CN111654407B (en) 2020-04-14 2020-04-14 Stacking system and bidirectional forwarding detection method thereof

Country Status (1)

Country Link
CN (1) CN111654407B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075921A (en) * 2007-07-20 2007-11-21 华为技术有限公司 Method and apparatus for processing two-way converting inspection session
CN101465859A (en) * 2009-01-13 2009-06-24 中兴通讯股份有限公司 Method and device for triggering main and standby interface board inverse switch
CN102064981A (en) * 2010-12-29 2011-05-18 中兴通讯股份有限公司 Bidirectional forwarding detection (BFD) method and system
KR20110080996A (en) * 2010-01-07 2011-07-13 삼성전자주식회사 Method for router of virtual router redundancy protocol and communication system therefor
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
CN104040984A (en) * 2012-11-13 2014-09-10 华为技术有限公司 Bidirectional forwarding detection (BFD) session negotiation method, device and system
CN104333872A (en) * 2014-10-29 2015-02-04 中国联合网络通信集团有限公司 Method and system for establishing session based on bidirectional forwarding detection technology
CN107277187A (en) * 2017-06-07 2017-10-20 烽火通信科技股份有限公司 The system and method for ARP Hot Spare Fast synchronizations
CN109756399A (en) * 2019-02-18 2019-05-14 新华三技术有限公司 A kind of BFD session maintaining method and distributed apparatus

Family Cites Families (8)

* 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
CN101783773B (en) * 2009-01-21 2013-01-09 华为技术有限公司 IP session survival monitoring method, as well as system, home gateway and network device
CN101588393B (en) * 2009-07-02 2013-06-05 杭州华三通信技术有限公司 Method, device and system for state management based on real-time session
CN101789879B (en) * 2009-12-30 2013-01-16 中兴通讯股份有限公司 Dynamic maintenance method and device for related link circuits
CN102195861B (en) * 2010-03-19 2015-04-08 杭州华三通信技术有限公司 Method and device for establishing BFD (bidirectional forwarding detection) session in route switching process
CN101989953A (en) * 2010-11-09 2011-03-23 中兴通讯股份有限公司 Method and equipment for sending bidirectional forwarding detection message
US9473350B2 (en) * 2013-09-26 2016-10-18 Futurewei Technologies, Inc. Protecting a label switched path egress without using downstream labels
US10003552B2 (en) * 2015-01-05 2018-06-19 Brocade Communications Systems, Llc. Distributed bidirectional forwarding detection protocol (D-BFD) for cluster of interconnected switches

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075921A (en) * 2007-07-20 2007-11-21 华为技术有限公司 Method and apparatus for processing two-way converting inspection session
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
CN101465859A (en) * 2009-01-13 2009-06-24 中兴通讯股份有限公司 Method and device for triggering main and standby interface board inverse switch
KR20110080996A (en) * 2010-01-07 2011-07-13 삼성전자주식회사 Method for router of virtual router redundancy protocol and communication system therefor
CN102064981A (en) * 2010-12-29 2011-05-18 中兴通讯股份有限公司 Bidirectional forwarding detection (BFD) method and system
CN104040984A (en) * 2012-11-13 2014-09-10 华为技术有限公司 Bidirectional forwarding detection (BFD) session negotiation method, device and system
CN104333872A (en) * 2014-10-29 2015-02-04 中国联合网络通信集团有限公司 Method and system for establishing session based on bidirectional forwarding detection technology
CN107277187A (en) * 2017-06-07 2017-10-20 烽火通信科技股份有限公司 The system and method for ARP Hot Spare Fast synchronizations
CN109756399A (en) * 2019-02-18 2019-05-14 新华三技术有限公司 A kind of BFD session maintaining method and distributed apparatus

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
《计算机工程与设计》2008年(第29卷)总目次;《计算机工程与设计》;20081228(第24期);全文 *
DTR/JTC-DVB-324-5.Technical Report Digital Video Broadcasting (DVB) *
Part 5: Guidelines for the Implementation and Use of TS 101 545-3.《ETSI TR 101 545-5》.2014, *
Second Generation DVB Interactive Satellite System (DVB-RCS2) *

Also Published As

Publication number Publication date
CN111654407A (en) 2020-09-11

Similar Documents

Publication Publication Date Title
CN101557317B (en) Active dialogue backup system, equipment and method in dual-server hot-backup network
EP1982447B1 (en) System and method for detecting and recovering from virtual switch link failures
CN102315975B (en) Fault processing method based on intelligent resilient framework (IRF) system and equipment thereof
CN101542981B (en) Communication system having a master/slave structure
EP2961112B1 (en) Message forwarding system, method and device
CN101321085B (en) Intelligent failover in a load-balanced networking environment
CN100589408C (en) A communication network connection method and its device
US20080239946A1 (en) Communication system, switch
CN102075343B (en) An out-of-band management realization method, a system for the same and an out-of-band management switch
WO2009023996A1 (en) Method for implementing network interconnect via link aggregation
CN101360005B (en) Intelligent failover in a load-balanced network environment
CN104104570A (en) Aggregation processing method in IRF (Intelligent Resilient Framework) system and device
CN102724030A (en) Stacking system with high reliability
CN107769984B (en) Low-cost active/standby hot switching system and method based on gateway
CN101984573A (en) Method and system for distributed realization of LACP standard state machine
CN101841432A (en) Port backup method, device and system for service access router
CN101360043B (en) Communication apparatus reliably connected inside
CN103036728A (en) Multi- redundancy ethernet data transmission system and transmission method
CN111654407B (en) Stacking system and bidirectional forwarding detection method thereof
CN101420351B (en) Apparatus and method for implementing service protection on elastic packet ring
CN108270593A (en) A kind of two-node cluster hot backup method and system
CN107179970B (en) Large-scale OAM detection system and method in distributed equipment
CN103944781A (en) Method and system for preventing unilateral splitting of stacking system
CN113037622B (en) System and method for preventing BFD from vibrating
CN105763412A (en) Communication method in virtual switching cluster and apparatus thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant