Data processing method based on operating/standby switch of master control boards, line card and master control boards
A data processing and main control board technology, applied in the field of communications, can solve problems such as service forwarding interruption, and achieve the effect of increasing satisfaction and improving performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0048] In this example, the line card discards all data packets received on the port connected to the standby main control board.
[0049] When the line card code is initialized, the slots of the active and standby main control boards are detected, the port connected to the active main control board is set to receive normally, and the port connected to the standby main control board is set to discard all received packets. The sending status of the two groups of ports connected to the active and standby main control boards is normal.
[0050] image 3 It is a flow chart of the switchover of the active and standby main control boards (setting the packet receiving state of the line card port) according to Example 1 of the embodiment of the present invention, such as image 3 As shown, the process is as follows:
[0051] When the master / standby switchover occurs, the line card generates an interrupt signal of the operating system. In the interrupt service program or interrupt pr...
example 2
[0056] In this example, the standby main control board only performs MAC address learning on the port connected to the line card, but does not forward data packets.
[0057] When the main main control board is initialized or running the spanning tree protocol, the port connected to the line card is set to the forwarding state, and when the standby main control board is initialized or running the spanning tree protocol, the port connected to the line card is set to the learning state , the port in the learning state only learns the MAC address, but does not forward the data packet. This ensures that the line card receives only one packet. And the standby main control board can learn the MAC address. After the line card has passed this setting, it can only receive packets from the active main control board, but cannot receive packets from the standby main control board.
[0058] Figure 4 It is a flow chart of the master-standby master control board switchover (setting the sp...
Embodiment 1
[0064] This device embodiment corresponds to the first example above, and according to an embodiment of the present invention, a line card is provided, Figure 5 is a structural block diagram of a line card according to Embodiment 1 of the device of the present invention, as shown in Figure 5 As shown, the structure includes: a sending module 52 and a receiving module 54, and the structure will be described in detail below.
[0065] The sending module 52 is configured to send data to the main control board in the active state and the main control board in the standby state during data interaction with the main control board in the active state and the main control board in the standby state. The same data, wherein the line card is connected to the main control board in the active state and the main control board in the standby state; the receiving module 54 is used to receive data from the main control board in the active state; the receiving module 54 is also It is used to ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 