WO2022199033A1 - Dispositif réseau, procédé de communication inter-cartes et support de stockage - Google Patents

Dispositif réseau, procédé de communication inter-cartes et support de stockage Download PDF

Info

Publication number
WO2022199033A1
WO2022199033A1 PCT/CN2021/128587 CN2021128587W WO2022199033A1 WO 2022199033 A1 WO2022199033 A1 WO 2022199033A1 CN 2021128587 W CN2021128587 W CN 2021128587W WO 2022199033 A1 WO2022199033 A1 WO 2022199033A1
Authority
WO
WIPO (PCT)
Prior art keywords
port
control board
main control
line card
communication link
Prior art date
Application number
PCT/CN2021/128587
Other languages
English (en)
Chinese (zh)
Inventor
焦赵云
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2022199033A1 publication Critical patent/WO2022199033A1/fr

Links

Images

Classifications

    • 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
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • 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
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/55Prevention, detection or correction of errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/55Prevention, detection or correction of errors
    • H04L49/557Error correction, e.g. fault recovery or fault tolerance

Definitions

  • the present disclosure relates to the field of communications, and in particular, to a network device, an inter-board communication method and a storage medium.
  • chassis and board such as high-end switches, high-end routers, OLTs, and DSLAMs.
  • Boards are divided into active main control board, standby main control board and line card.
  • the control link between the active main control board, the standby main control board and the line card is called the inter-board communication link.
  • the connection method is that the switch chip on the active main control board is connected to the switch chip on the standby main control board and all the line cards, and the connection between the switch chip on the standby main control board and the line cards is during the main-standby switchover. Switch by switch.
  • the board-pluggable network device is to insert the board into the backplane, and there is a reliability problem due to the use of connectors for connection. For example, when the communication between a line card and the switch chip on the active main control board is interrupted, the communication between the main main control board and the line card can be restored only when the main control board is switched to the new main control board. When a line card cannot communicate with the switching chip on the new active main control board, it needs to be switched back, and there is a situation of repeated switching.
  • the present disclosure provides a network device, which can improve the stability of communication between boards and improve the efficiency of communication when both the main main control board and the standby main control board are disconnected from different line cards.
  • An embodiment of the present disclosure provides a network device, including a board card including: an active main control board, a standby main control board, and at least one line card; at least one communication port is used between the main main control board and the standby main control board Connection; at least two line card ports for inter-board communication are arranged on the line card, and at least two line card ports are respectively connected to the main main control board and the standby main control board, forming at least two main main control boards and lines
  • the embodiment of the present disclosure also provides an inter-board communication method applied to the above-mentioned network device, including: configuring at least two communication links formed between the main main control board and the line card; If any communication link between the main main control board and the line card is abnormal, another normal communication link is used to enable the main main control board to communicate with the line card.
  • Embodiments of the present disclosure further provide a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, implements the foregoing method steps.
  • FIG. 1 is a schematic diagram of a connection between boards in a network device in the prior art
  • FIG. 2 is a schematic structural diagram of a network device according to the first embodiment of the present disclosure
  • FIG. 3 is a schematic structural diagram of a network device according to a second embodiment of the present disclosure.
  • FIG. 4 is a schematic diagram of connections between components in a network device according to a second embodiment of the present disclosure.
  • FIG. 5 is a schematic diagram of an interconnection port in a network device according to a second embodiment of the present disclosure.
  • FIG. 6 is a schematic diagram of an aggregation group configured in a network device according to a second embodiment of the present disclosure
  • FIG. 7 is a schematic diagram of an aggregation group in another connection mode in a network device provided according to a second embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram of an active/standby mode configured in a network device according to a third embodiment of the present disclosure.
  • FIG. 9 is a flowchart of a method for inter-board communication in a network device provided in a fourth embodiment of the present disclosure.
  • FIG. 1 A structural block diagram of a related network device is shown in FIG. 1 , and a current network device includes an active main control board, a standby main control board and at least one line card.
  • the control link between the active main control board, the standby main control board and the line card is called the inter-board communication link.
  • the communication link between boards and the service link are independent.
  • Commonly used communication links between boards are Ethernet or HDLC. Ethernet is the most commonly used communication method between boards.
  • the connection method is that the switch chip on the main main control board is connected to the standby main control board and all line cards, and the switch chip on the standby main control board is connected to the main main control board at the same time.
  • the control board is connected to all line cards, and the communication link of the line card port is switched through the switch on the line card.
  • Figure 1 shows the connection status of the active main control board and the backup main control board under normal conditions.
  • the connection shown in 1 the switch chip on the new active main control board is connected to the new standby main control board and all line cards.
  • the problem of disconnection of the line card is that when the communication between the line card 1 and the switch chip on the active main control board is interrupted, the communication between the main main control board and the line card can be restored only when the active and standby switches are switched to the new main control board. For communication, if the line card 2 cannot communicate with the switching chip on the new active main control board, it needs to be switched back, and repeated switching occurs.
  • the first embodiment of the present disclosure relates to a network device.
  • the network device includes an active main control board 10 , a standby main control board 20 and at least one line card 30 .
  • the main main control board 10 and the standby main control board 20 are connected through at least one communication port.
  • the line card 30 is provided with at least two line card ports, and the at least two line card ports are respectively connected to the main main control board 10 and the standby main control board 20 to form communication between the at least two main main control boards and the line cards. link. If any board detects that any communication link between the main main control board and the line card is abnormal, another normal communication link is used to enable the main main control board to communicate with the line card.
  • At least two line card ports are set on the line card of the network device, and the two line card ports are respectively connected to the main main control board and the standby main control board, so that the network device at the same time
  • the second embodiment of the present disclosure relates to a network device, the second embodiment is a detailed introduction to the first embodiment, and a structural block diagram of the network device is shown in FIG. 3 .
  • the main main control board includes a main main control board processor and a first forwarding chip connected to the main main control board processor.
  • the standby main control board includes a standby main control board processor and a second forwarding chip connected to the standby main control board processor.
  • a line card port is provided on the line card processor of the line card.
  • the first forwarding chip is connected to any line card port to form a first communication link between the processor of the main main control board and the line card.
  • the first forwarding chip and the second forwarding chip are connected through at least one communication port, and the second forwarding chip is connected with another line card port of the line card to form a second communication link between the first forwarding chip and the line card.
  • the active main control board processor is configured to configure the first communication link and the second communication link to be in a load sharing mode, or configured to configure the first communication link and the second communication link to be in an active/standby mode.
  • the network device may be a plug-in network device, the board is connected to the backplane in a plug-in manner, and the backplane is provided with a metal connector connected to the line card.
  • the outside of the network equipment is a frame structure, which is used to protect the board and facilitate the setting of the backplane.
  • the boards of the network device include an active main control board, a standby main control board, and line cards, and there may be multiple line cards, for example, two line cards, three or more line cards, and so on.
  • Each line card is provided with at least two line card ports.
  • the line card includes a line card processor and a line card forwarding chip.
  • the line card ports can be arranged on the line card processor or on the line card forwarding chip. If there are more than two standby main control boards, there can be more than three line card ports.
  • the two line card ports built into the line card processor are used as an example.
  • n is an integer greater than 2
  • the line card forwarding chip is not shown in the line card, and there are two communications between the main main control board and the line card processor of each line card
  • the links are respectively a first communication link and a second communication link.
  • the port on the first forwarding chip is directly connected to any line card port on the line card processor to form a first communication link.
  • the communication port of the first forwarding chip is connected to the communication port of the second forwarding chip, and the port of the second forwarding chip is connected to another line card port on the line card processor to form a second communication link.
  • the first communication link between the line card 1 and the first forwarding chip is marked as a solid line a1
  • the second communication link is marked as a2.
  • the number of communication links between the first forwarding chip and the second forwarding chip may be one or two, that is, port a of the first forwarding chip is connected to port a of the second forwarding chip, and the first forwarding chip is connected to port a of the second forwarding chip.
  • the b port of the second forwarding chip is connected to the b port of the second forwarding chip to form two communication links between the first forwarding chip and the second forwarding chip, as shown in FIG. 5 .
  • the active main control board processor is used to configure the communication port in the first forwarding chip for connecting to the second forwarding chip as the first stack port; the standby main control board processor is used to configure the communication port used in the second forwarding chip
  • the communication port connected to the first forwarding chip is the second stack port.
  • the main main control board processor and the standby main control board processor are respectively used for: configuring the port used for connecting the line card in the first forwarding chip and the port used for connecting the line card on the second forwarding chip as the first aggregation group .
  • the line card is used for configuring the line card port connected with the first forwarding chip and the line card port connected with the second forwarding chip to the second aggregation group of the board.
  • the first aggregation group is connected with the second aggregation group to form an aggregation link, so that the first communication link and the second communication link are in a load sharing mode.
  • the following describes the process of configuring the first communication link and the second communication link in the load sharing mode in detail with reference to FIG. 6 .
  • the communication port a of the first forwarding chip is connected to the communication port a of the second forwarding chip.
  • the communication port a on the first forwarding chip is configured as the first stack port
  • the communication port a on the second forwarding chip is The communication port a is configured as the second stack port.
  • the port p1 in the first forwarding chip is connected to the line card port 1 of the line card 1
  • the port p1 ′ of the second forwarding chip is connected to the line card port 2 of the line card 1 .
  • the active main control board processor is used to configure the port p1 on the active main control board processor and the port p1' on the standby main control board processor as the first aggregation group; the line card processor is used for connecting with the first forwarding chip
  • the connected line card port 1 and the line card port 2 connected to the second forwarding chip are configured as a second aggregation group, wherein the first aggregation group and the second aggregation group are connected to form an aggregation chain between the first forwarding chip and the line card path, so that the first communication link and the second communication link are configured in a load sharing mode.
  • FIG. 6 a schematic diagram of an aggregated link between the line card 1 and the first forwarding chip is shown with a bold solid line, and the aggregated mark is marked with a circle.
  • the active main control board processor and the standby main control board processor configure the first aggregation group information on the main control boards where they are located.
  • the first aggregation group information includes identification information of the first forwarding chip, information of the first port in the first forwarding chip for connecting with the line card, identification information of the second forwarding chip, and information in the second forwarding chip for connecting with the line card. Information about the connected second port.
  • the line card is also used to configure the second aggregation group information on the line card, where the second aggregation group information includes information on the line card port on the line card used to connect to the first forwarding chip and the line card used to connect to the second forwarding chip port information.
  • the first aggregation group information and the second aggregation group information are introduced with reference to FIG. 6 .
  • the identification information of the first forwarding chip is marked as card1
  • the identification information of the second forwarding chip is marked as card2
  • the information of the first port used to connect with the line card in the first forwarding chip is marked as p1
  • the information of the second forwarding chip is marked as p1.
  • the information of the second port connected to the line card is denoted as p1'.
  • the first aggregation group information stored in the active main control board processor is ⁇ card1-p1, card2-p1' ⁇ ; meanwhile, the standby main control board processor also stores the same first aggregation group information ⁇ card1-p1, card2- p1' ⁇ .
  • the line card processor 1 stores second aggregation group information ⁇ line card 1-port1, line card 1-port2 ⁇ .
  • first forwarding chip and the second forwarding chip are connected through two communication ports.
  • the three-aggregation information includes port information of the third stack port and port information of the first stack port.
  • the standby main control board processor is further configured to configure another port in the second forwarding chip for connecting to the first forwarding chip as a fourth stacking port; configure the second stacking port and the fourth stacking port as a fourth aggregation group, and Fourth aggregation group information is stored, where the fourth aggregation group information includes port information of the second stack port and port information of the fourth stack port.
  • the first aggregation group, the second aggregation group, the third aggregation group and the fourth aggregation group are connected to each other to form an aggregation link.
  • the following describes the case where the first forwarding chip and the second forwarding chip are connected through two communication ports with reference to FIG. 7 .
  • the port p4 in the first forwarding chip is configured as the third stacking port
  • the port p4' in the second forwarding chip is configured as the fourth stacking port
  • the main control board processor is used to connect the Ports p3 and p4 are configured as a third aggregation group
  • ports p3' and p4' are configured as a fourth aggregation group.
  • the identification information of the first forwarding chip is marked as card1
  • the identification information of the second forwarding chip is marked as card2
  • the information of the first port in the first forwarding chip for connecting to the line card is marked as p1
  • the first The information of the second port in the two forwarding chips for connecting with the line card is denoted as p1'.
  • the first stack port is denoted as p3, the third stack port is denoted as p4, the second stack port is denoted as p3', and the fourth stack port is denoted as p4'.
  • the first aggregation group information stored in the active main control board processor is ⁇ card1-p1, card2-p1' ⁇ ; meanwhile, the standby main control board processor also stores the same first aggregation group information ⁇ card1-p1, card2- p1' ⁇ .
  • the line card processor 1 stores second aggregation group information ⁇ line card 1-port1, line card 1-port2 ⁇ .
  • the third aggregation group information stored by the processor of the active main control board is ⁇ card1-p3, card1-p4 ⁇ , and the fourth aggregation group information is ⁇ card2-p3', card2-p4' ⁇ .
  • first forwarding chip and the second forwarding chip are each connected through two ports, there are two communication links between the first forwarding chip and the second forwarding chip, and they are configured as an aggregation group. If one of the links is abnormal, the If it is in the disconnected state, the communication between the first forwarding chip and the second forwarding chip will not be affected, which further improves the reliability of the communication between the boards.
  • the interconnected ports in the network device are all configured in the auto-negotiation mode; or, the interconnected ports in the network device are all configured in the remote fault notification mode.
  • the line card port 1 in the line card processor and the port p1 of the first forwarding chip are both configured in auto-negotiation mode.
  • the port p1' of the second forwarding chip and the line card port 2 of the line card processor are also configured in auto-negotiation mode
  • the communication port p3 on the first forwarding chip and the communication port p3' on the second forwarding chip are configured as In the auto-negotiation mode
  • the communication port p4 on the first forwarding chip and the communication port p4' on the second forwarding chip are configured in the auto-negotiation mode.
  • the line card port 1 and port p1 in the line card processor are configured in forced mode, and the remote fault notification function is enabled.
  • the port p1' on the second forwarding chip is connected to The line card port 2 in the line card processor is also configured in the forced mode, and the remote fault notification function is enabled, and the communication port p3 of the first forwarding chip and the communication port p3' on the second forwarding chip are configured in the forced mode, The communication port p4 of the first forwarding chip and the communication port p4' of the second forwarding chip are configured in forced mode, and the remote fault notification function is enabled.
  • the two connected ports can learn the state of the opposite end from each other, so that the two connected ports maintain the same port state.
  • the remote fault notification function is enabled on the 10G port, if one of the two interconnected ports fails, it will actively notify the peer end to keep the peer port in the same link state.
  • the active main control board processor is further configured to: if it is detected that the physical state of the first port changes, delete or add the first port aggregation information in the first aggregation group information, and reset the first port the logical forwarding state, and send the information of the physical state of the first port to the standby main control board processor, so that the standby main control board processor can delete or add the first port in the first aggregated information on the main control board where it is located Aggregation information, wherein the first port aggregation information includes information of the first port and identification information of the first forwarding chip.
  • the standby main control board processor is further configured to: if it is detected that the physical state of the second port changes, delete or add the second port aggregation information in the first aggregation group information, reset the logical forwarding state of the second port, and Sending information about the physical state of the second port to the active main control board processor, so that the active main control board processor deletes or adds the second port aggregation information in the first aggregation information on the main control board where it is located, wherein , the second port aggregation information includes information of the second port and identification information of the second forwarding chip.
  • the line card is also used for: if it is detected that the physical state of the line card port changes, delete or add the line card port aggregation information in the second aggregation information, and reset the logical forwarding state of the line card port of the changed state, and the line card Port aggregation information includes port information of line card ports.
  • the processor of the active main control board detects that the physical state of the first port is changed from the connected state to the disconnected state, and deletes the information of the first port and the identification information of the first forwarding chip in the first aggregation group information ; reset the logical forwarding state of the first port to a disabled state or a blocked state, and send the information that the first port is in a disconnected state to the standby main control board processor, and the standby main control board processor will also store the first The information of the first port and the identification information of the first forwarding chip are deleted from the aggregation group information.
  • Each line card port in the line card has a port scanning task, and the line card processor detects the disconnected line card port, and deletes the information of the disconnected line card port from the second aggregation group information, Set the logical forwarding state of the line card port in the disconnected state to the disabled state or the blocked state.
  • the processor of the active main control board detects that the physical state of the first port is changed from the disconnected state to the connected state, and adds the information of the first port and the identification information of the first forwarding chip to the first aggregation group information; Set the logical forwarding state of the first port to the forwarding state, and send the information that the first port is in a connected state to the standby main control board processor, and the standby main control board processor also adds this information to the stored first aggregation group information. information of the first port and identification information of the first forwarding chip.
  • Each line card port in the line card has a port scanning task.
  • the line card processor detects that the line card port changes from the disconnected state to the connected state, and adds the information of the line card port in the connected state from the second aggregation group information. , set the logical forwarding state of the line card port in the connected state to the forwarding state.
  • the processor of the active main control board detects that the physical state of the first stack port and/or the third stack port is changed from the disconnected state to the connected state, and adds the information of the first stack port and/or the third aggregation group information to the information of the third aggregation group. or the information of the third stack port; reset the logical forwarding state of the first stack port and/or the third stack port to the forwarding state.
  • the processor of the active main control board detects that the physical state of the first stack port and/or the third stack port is changed from the connected state to the disconnected state, the information of the first stack port and/or the information of the first stack port are deleted from the third aggregation group information /or information of the third stack port; reset the logical forwarding state of the first stack port and/or the third stack port to the disabled state, or reset the logical forwarding state of the first stack port and/or the third stack port is blocked.
  • the processor of the active main control board detects that the port p1 of the first forwarding chip is changed from the connected state to the disconnected state, it deletes ⁇ card1-p1 ⁇ from the first aggregation group information, and the port p1
  • the logical forwarding state is set to the disabled state or the blocking state, and the information that the port p1 is in the disconnected state is sent to the standby main control board processor, and the standby main control board processor is located in the first aggregation group on the main control board. Delete ⁇ card1-p1 ⁇ from the message.
  • the active main control board processor When the active main control board processor detects that the port p1 of the first forwarding chip has changed from the disconnected state to the connected state, it adds ⁇ card1-p1 ⁇ from the first aggregation group information, and sets the logical forwarding state of the port p1 to forwarding state, and send the information of the connection state of the port p1 to the standby main control board processor, and the standby main control board processor adds ⁇ card1-p1 ⁇ information to the first aggregation group information on the main control board where it is located. .
  • the standby main control board processor When the standby main control board processor detects that the port p1' of the second forwarding chip has changed from the connected state to the disconnected state, it deletes ⁇ card2-p1' ⁇ from the first aggregation group information, and logically forwards the port p1'.
  • the state is set to the disabled state or the blocked state, and the information of the disconnection state of the port p1' is sent to the processor of the active main control board, and the processor of the active main control board is located in the first aggregation group on the main control board. Also delete ⁇ card2-p1' ⁇ from the message.
  • the standby main control board processor When the standby main control board processor detects that the port p1' of the second forwarding chip has changed from the disconnected state to the connected state, it adds ⁇ card2-p1' ⁇ from the first aggregation group information, and logically forwards the port p1'.
  • the state is set to the forwarding state, and the information of the connection state of the port p1' is sent to the active main control board processor, and the active main control board processor is also added to the first aggregation group information on the main control board where it is located. ⁇ card2-p1' ⁇ information.
  • the line card processor periodically detects each line card port. If it detects that the line card port 1 is changed to the disconnected state, it deletes ⁇ line card 1-port1 ⁇ from the second aggregation group information, and removes the line card in the disconnected state. Port 1 is set to the blocking state; if the line card detects that the line card port 2 has changed from the disconnected state to the connected state, it will add ⁇ line card 1-port2 ⁇ from the second aggregation group information, and the line card in the connected state will be added. Port 2 is set to forwarding state.
  • the processor of the active main control board When the processor of the active main control board detects that the stack port p3 changes from the connected state to the disconnected state, it deletes the information of the stack port p3 from the third aggregation group information of the active main control board, and sets the stack port p3 to block state.
  • the processor of the standby main control board detects that the stack port p3' changes from the connected state to the disconnected state, it deletes the information of the stack port p3' from the information of the fourth aggregation group on the standby main control board, and stores the stack port p3'. Set to blocking state.
  • the processor of the active main control board When the processor of the active main control board detects that the stack port p3 changes from the disconnected state to the connected state, the processor of the active main control board adds the stack port p3 to the third aggregation group of the active main control board, and sets the stack port p3 to the forwarding state.
  • the processor of the standby main control board detects that the stack port p3' changes from the disconnected state to the connected state, it adds the stack port to the fourth aggregation group information of the standby main control board, and sets the stack port p3' to the forwarding state .
  • the main main control board and the standby main control board are connected through two communication ports, which further improves the stability of the communication between the main main control board and the line card.
  • the third embodiment of the present disclosure relates to a network device, and the third embodiment is another way of implementing inter-board communication in the active-standby mode of the first embodiment.
  • the connection mode between the main main control board, the standby main control board and the line card in the network device is the same as the connection structure in the first embodiment or the second embodiment.
  • FIG. 8 is a schematic diagram of this embodiment.
  • both the first communication link and the second communication link are normal links.
  • the main main control board processor and the standby main control board processor are used to perform the following processing: set the port in the specified communication link to the enabled state, To enable the specified communication link as the main communication link; set the ports in other communication links to the disabled or blocked state, and delete the ports that are set to the disabled or blocked state from the MAC address table stored in each Corresponding MAC address, so that other communication links can be used as backup communication links.
  • the line card is used to delete the MAC address corresponding to the port in the standby communication link from the MAC address table stored in the line card, so that the standby communication link and the active communication link form an active-standby mode.
  • the line card is used to perform the following processing: set the port in the specified communication link to the enabled state to enable the specified communication link as the main communication link;
  • the ports in the communication link are set to the disabled state or the blocked state, and the MAC address corresponding to the port set to the disabled state or the blocked state is deleted from the MAC address table stored in the line card, so that other communication links can be used as backup communication links.
  • the main main control board processor and the standby main control board processor are also used for: detecting that the MAC address corresponding to the port in the standby communication link is deleted from the respective stored MAC address tables, so that the standby communication link can communicate with the main control board. Links form active/standby mode.
  • the port connected to the second forwarding chip can be set to the normal Ethernet port mode, and the second forwarding chip can also set the port connected to the first forwarding chip to the normal Ethernet port mode.
  • the communication link between the main control board and the line card is a normal communication link, you can choose to open the first communication link and close the second communication link, that is, the first communication link is used as the designated communication link .
  • the way to open the first communication link is: if the main control board processor is configured as the link control terminal, the main control board processor sets the port in the first communication link to the enable state , and set the logical forwarding state to forwarding state.
  • the way to close the first communication link is to set the port in the first communication link to a disabled state or a blocked state and delete the MAC address of the port from the MAC address table stored in the current board, and notify the standby master at the same time.
  • the control board processor, the standby main control board processor sets the port in the standby communication link into a disabled state or a blocked state, and deletes the MAC address of the port from the MAC address table stored by the standby main control board processor.
  • the line card is used to delete the MAC address corresponding to the port in the standby communication link from the MAC address table stored in the line card, so that the standby communication link and the active communication link form an active-standby mode.
  • the way of opening the second communication link is to set the port where the second communication link is located to an enable state, and set the logical forwarding state of the port to the forwarding state.
  • the way of closing the second communication link is to set the port where the second communication link is located to a disabled state or a blocked state and delete the MAC address from the locally stored MAC address table.
  • the method of opening the first communication link is as follows: if the line card is configured as the link control terminal, the port in the designated communication link is set to the enabled state to enable the designated communication link as the main communication link; The ports in other communication links are set to the disabled or blocked state, and the MAC address corresponding to the port that is set to the disabled or blocked state is deleted from the MAC address table stored in the line card, so that other communication links can be used as backup communication link.
  • main main control board processor and the standby main control board processor are also used for: detecting the port in the standby communication link, and deleting the MAC address corresponding to the port of the standby communication link from the MAC address table stored in each, In order to make the standby communication link and the active communication link form the active-standby mode.
  • the active main control board processor, the standby main control board processor, and the line card are further configured to perform the following processing: Periodic detection is in The port of the main communication link corresponds to the port state. If it is detected that the state of the corresponding port of the port changes to the disconnected state, the standby communication link is activated and the current main communication link is disconnected.
  • the active main control board processor periodically detects the state of the port connected with the first forwarding chip and the line card, and the standby main control board processor periodically detects the state of the port connected with the second forwarding chip and the line card. If both ports are in a connected state, the first communication link is preferably opened and the second communication link is closed. If the port of the active main control board is in a disconnected state and the port of the standby main control board is in a connected state, the first communication link is closed and the second communication link is opened. If the port of the standby main control board is in a disconnected state and the port of the active main control board is in a connected state, the second communication link is closed and the first communication link is opened. If both ports are disconnected, both communication links are closed.
  • the line card processor periodically detects the state of the line card port connected to the first forwarding chip and the state of the line card port connected to the second forwarding chip. Open the first communication link and close the second communication link. If the line card port of the first communication link is in a disconnected state and the line card port of the second communication link is in a connected state, the first communication link is closed and the second communication link is opened. If the line card port of the second communication link is in a disconnected state and the line card port of the first communication link is in a connected state, the second communication link is closed and the first communication link is opened. If both line card ports are disconnected, both communication links are closed.
  • the processor of the main main control board sets the first communication link and the second communication link in the active/standby mode, the working process of the active/standby mode will be described below with reference to FIG. 8 .
  • the active main control board processor sets the p1 port to enabled and the p1 port is in the connected state
  • the active main control board processor sets the p1' port of the standby main control board processor to the disabled state
  • the line The card processor detects that the line card port connected to the port p1' of the second forwarding chip is in a disconnected state, and deletes the MAC address corresponding to the disconnected line card port from the local MAC address table stored in the line card.
  • a first communication link communicates.
  • the active main control board processor When the active main control board processor detects that the p1 port is disconnected, it deletes the MAC address of the p1 port from the MAC address table of this board, and sets the p1' port of the standby main control board processor to the enabled state , and the p1' port is connected.
  • the line card processor detects that the line card port connected to the first forwarding chip p1' is in a disconnected state, and deletes the MAC address corresponding to the disconnected line card port from the local MAC address table stored in the line card.
  • the second communication link communicates.
  • the line card sets the port connected to the p1 port of the active main control board to the enabled state, and the line card port connected to the p1 port on the line card is in the connected state, then the line card will communicate with the standby main control board.
  • the line card port connected to the p1' port of the control board processor is set to be disabled, and the standby main control board processor detects that the p1' port is disconnected, and stores the corresponding MAC address of the p1' port from the standby main control board processor. is deleted from the local MAC address table, and the first communication link is used for communication at this time.
  • the line card When the line card detects that the line card port connected to the processor p1 of the active main control board is disconnected, it deletes the MAC address of the line card port from the MAC address table of this board, and connects it with the standby main control board.
  • the line card port connected to the p1' port of the processor is set to the enabled state, and the line card port is in the connected state.
  • the processor of the main main control board detects that the p1 port is disconnected, it deletes the MAC address corresponding to the p1 port from the MAC address table stored on the board, and uses the second communication link for communication at this time.
  • the interconnected ports are all configured in the auto-negotiation mode when the rate is 10M or 100M or 1G or 2.5G. It is configured in forced mode at 10G, and the remote error notification function of the chip needs to be turned on. When one end of the link is disconnected, the port on the opposite end will also change to the disconnected state. Therefore, each main control board and line card can set the forwarding state as long as it detects the connection state of the port of its own line card. Do additional synchronization between the master and the line cards.
  • one of the inter-board communication links between the active main control board and the line card is active and the other is standby.
  • the port disconnection occurs on the first communication link, switch to the second communication link. At the same time, it can also report to the police to avoid repeated switching.
  • the fourth embodiment of the present disclosure relates to a method for inter-board communication, which is applied to the network device in the above-mentioned embodiments, and the process is shown in FIG. 9 .
  • Step 401 Configure at least two communication links formed between the active main control board and the line card.
  • the network device includes an active main control board, a standby main control board and at least one line card.
  • the main main control board includes a main main control board processor and a first forwarding chip connected to the main main control board processor.
  • the standby main control board includes a standby main control board processor and a second forwarding chip connected to the standby main control board processor.
  • the first forwarding chip is connected to a line card port of the line card to form a first communication link between the first forwarding chip and the line card.
  • the first forwarding chip and the second forwarding chip are connected through at least one communication port, and the second forwarding chip is connected with another line card port of the line card to form a second communication link between the first forwarding chip and the line card.
  • the active main control board processor is configured to configure the first communication link and the second communication link to be in the load sharing mode, or configured to configure the first communication link and the second communication link to be the active and standby communication mode.
  • the network device may be a plug-in network device, the board is connected to the backplane in a plug-in manner, and the backplane is provided with a metal connector connected to the line card.
  • the outside of the network equipment is a frame structure, which is used to protect the board and facilitate the setting of the backplane.
  • the board includes an active main control board, a standby main control board, and line cards, and there are multiple line cards, for example, two line cards, three or more line cards, and so on.
  • Each line card is provided with at least two line card ports. If there are more than two standby main control boards, more than three line card ports can be configured on the line card. In this example, two line card ports are used as an example.
  • the first communication link is formed by connecting the first forwarding chip to the line card
  • the second communication link is formed by connecting the first forwarding chip to the second forwarding chip
  • the second forwarding chip is connected to the line card.
  • the b port of the chip is connected to the b port of the second forwarding chip to form two or more communication links between the first forwarding chip and the second forwarding chip.
  • Step 402 If any of the boards detects that any communication link between the main main control board and the line card is abnormal, another normal communication link is used to enable the main main control board to communicate with the line card.
  • the two communication links work at the same time. When one communication link is disconnected, the traffic is automatically forwarded to another normal communication link.
  • the active/standby mode if the first communication link between the active main control board and the line card is abnormal, but the second communication link between the standby main control board and the line card is normal, you can switch to the standby main control board. A second communication link between the board and the line card communicates. Similarly, if the second communication link between the standby main control board and the line card is abnormal, but the first communication link between the active main control board and the line card is normal, it can be switched to the active main control board. Communicates with the first communication link between the line cards. If both communication links are normal, the first communication link is preferred for communication.
  • the fifth embodiment of the present disclosure relates to a computer-readable storage medium storing a computer program, and the computer program implements the above-mentioned functions when executed by a processor.
  • the program is stored in a storage medium and includes several instructions to make a device (which may be a single-chip microcomputer) , chip, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present disclosure.
  • the aforementioned storage medium includes various media that can store program codes, such as U disk, removable hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk.

Abstract

Le présent mode de réalisation se rapporte au domaine des communications et concerne en particulier un dispositif réseau, un procédé de communication inter-cartes et un support de stockage. Les cartes incluses dans le dispositif réseau fourni par les modes de réalisation de la présente divulgation comprennent une carte de commande principale primaire, une carte de commande principale de secours et au moins une carte de ligne. La carte de ligne est pourvue d'au moins deux ports de carte de ligne utilisés pour une communication inter-cartes, et les au moins deux ports de carte de ligne sont respectivement connectés à la carte de commande principale primaire et à la carte de commande principale de secours pour former au moins deux liaisons de communication entre la carte de commande principale primaire et la carte de ligne. Si une carte quelconque détecte que toute liaison de communication entre la carte de commande principale primaire et la carte de ligne est anormale, une autre liaison de communication normale est utilisée pour permettre à la carte de commande principale primaire de communiquer avec la carte de ligne. Selon le présent mode de réalisation, lorsque la connexion entre la carte de commande principale primaire ou la carte de commande principale de secours et la carte de ligne est interrompue, le fonctionnement normal de la communication inter-cartes peut encore être garanti, ce qui permet d'améliorer la stabilité et la fiabilité de la communication inter-cartes.
PCT/CN2021/128587 2021-03-22 2021-11-04 Dispositif réseau, procédé de communication inter-cartes et support de stockage WO2022199033A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110302471.8A CN115190003A (zh) 2021-03-22 2021-03-22 一种网络设备
CN202110302471.8 2021-03-22

Publications (1)

Publication Number Publication Date
WO2022199033A1 true WO2022199033A1 (fr) 2022-09-29

Family

ID=83396300

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/128587 WO2022199033A1 (fr) 2021-03-22 2021-11-04 Dispositif réseau, procédé de communication inter-cartes et support de stockage

Country Status (2)

Country Link
CN (1) CN115190003A (fr)
WO (1) WO2022199033A1 (fr)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5455959A (en) * 1992-03-02 1995-10-03 Alcatel Network Systems, Inc. System for collecting from masters information independently collected from associated slaves in shelves of a telecommunications terminal
CN101483540A (zh) * 2008-01-11 2009-07-15 上海博达数据通信有限公司 一种高端数据通信设备中的主备倒换方法
CN102148724A (zh) * 2011-01-31 2011-08-10 中兴通讯股份有限公司 链路检测方法及网络接入设备
CN105634774A (zh) * 2014-10-31 2016-06-01 中兴通讯股份有限公司 恢复链路通讯的方法、业务线卡及系统
CN105790965A (zh) * 2014-12-17 2016-07-20 中兴通讯股份有限公司 链路切换方法、装置及线卡

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5455959A (en) * 1992-03-02 1995-10-03 Alcatel Network Systems, Inc. System for collecting from masters information independently collected from associated slaves in shelves of a telecommunications terminal
CN101483540A (zh) * 2008-01-11 2009-07-15 上海博达数据通信有限公司 一种高端数据通信设备中的主备倒换方法
CN102148724A (zh) * 2011-01-31 2011-08-10 中兴通讯股份有限公司 链路检测方法及网络接入设备
CN105634774A (zh) * 2014-10-31 2016-06-01 中兴通讯股份有限公司 恢复链路通讯的方法、业务线卡及系统
CN105790965A (zh) * 2014-12-17 2016-07-20 中兴通讯股份有限公司 链路切换方法、装置及线卡

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
DU YONG ,YU XUNLING ,XIONG GUILAN: "An Access Controller Multi-board Communication Strategy Based on Dynamic Regulation", STUDY ON OPTICAL COMMUNICATIONS, 11 January 2013 (2013-01-11), pages 64 - 66, XP055973953, ISSN: 1005-8788, DOI: 10.13756/j.gtxyj.2013.01.019 *
HU PENG;KANG MIN;SHI YAN-YUAN: "Research and Application of Internal Communication Technology in Complex Communication Equipment", COMMUNICATIONS TECHNOLOGY, vol. 53, no. 8, 10 August 2020 (2020-08-10), pages 2088 - 2092, XP055973949, ISSN: 1002-0802, DOI: 10.3969/j.issn.1002-0802.2020.08.042 *

Also Published As

Publication number Publication date
CN115190003A (zh) 2022-10-14

Similar Documents

Publication Publication Date Title
US7792016B2 (en) Network relay device for relaying data in a network and control method for the same
US7076594B2 (en) Apparatus and method for preventing one way connectivity loops in a computer network
US7639605B2 (en) System and method for detecting and recovering from virtual switch link failures
US7933198B1 (en) Virtual router failover dampening
US7911938B2 (en) System and method for preventing loops in the presence of control plane failures
US8990430B2 (en) Interface bundles in virtual network devices
CN101588304B (zh) 一种vrrp的实现方法和设备
US8411690B2 (en) Preventing data traffic connectivity between endpoints of a network segment
CN101557313B (zh) 一种电信级宽带接入设备上联板卡保护的方法
CN101127674B (zh) 以太环网系统传输节点初始化方法
CN101060485B (zh) 拓扑改变报文的处理方法和处理装置
US7787363B2 (en) Dual-purpose uplinks used in a fault-tolerant stack
EP2618523B1 (fr) Procédé, dispositif de réseau et système pour une commutation de protection de l'anneau ethernet
CN102437967B (zh) 报文转发方法和装置
CN102355414B (zh) 自动保护切换状态机处理方法及装置
US6928049B2 (en) Modular bridging-device
WO2022199033A1 (fr) Dispositif réseau, procédé de communication inter-cartes et support de stockage
CN100527686C (zh) 一种抑制虚拟局域网接口状态变化的方法和装置
CN101340315B (zh) 一种端到端以太网保护方法及采用该方法的通信装置
CN102857423A (zh) 一种分布式链路聚合系统中业务流转发方法及节点
CN103840965B (zh) 一种增强rstp中故障快速收敛的方法
CN114039907A (zh) 一种基于网卡绑定的提高链路稳定性的方法
WO2023065750A1 (fr) Procédé et appareil de synchronisation d'état, et dispositif
CN114172855A (zh) 网络交换器及其网络交换器系统
CN116471244A (zh) 一种工pis交换机静态汇聚链路保护的方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21932641

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE