CN102045332B - Method for processing control message in intelligent resilient framework and line card boards - Google Patents

Method for processing control message in intelligent resilient framework and line card boards Download PDF

Info

Publication number
CN102045332B
CN102045332B CN2009102365714A CN200910236571A CN102045332B CN 102045332 B CN102045332 B CN 102045332B CN 2009102365714 A CN2009102365714 A CN 2009102365714A CN 200910236571 A CN200910236571 A CN 200910236571A CN 102045332 B CN102045332 B CN 102045332B
Authority
CN
China
Prior art keywords
mac address
control message
line card
board
forwarding
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
CN2009102365714A
Other languages
Chinese (zh)
Other versions
CN102045332A (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 Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2009102365714A priority Critical patent/CN102045332B/en
Publication of CN102045332A publication Critical patent/CN102045332A/en
Application granted granted Critical
Publication of CN102045332B publication Critical patent/CN102045332B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method for processing a control message in an intelligent resilient framework (IRF) and line card boards. In single master control board member equipment of the IRF, if detecting the failure of a master control board, the line card boards set preset media access control (MAC) address forwarding table items containing the MAC addresses of the line card boards to be valid without restarting and forward the control message by utilizing the MAC address forwarding table items; and after the line card boards detect that the master control board restores to the normal state, setting the MAC address forwarding table items to be invalid. By the method, the service of the member equipment is uninterrupted in the master control board replacing process of the member equipment.

Description

Method for processing control message in intelligent elastic architecture and wire clamping plate
Technical Field
The present invention relates to network communication technologies, and in particular, to a method for processing a control packet in an Intelligent Resilient Framework (IRF) and a line card board.
Background
An Intelligent Resilient Framework (IRF) is a distributed switching architecture that interconnects multiple devices to operate as a logical switching entity, and is gradually widely used due to its advantages of simplified management, strong network expansion capability, high reliability, and the like. The IRF is generally deployed in a convergence layer, and may also be deployed in an access layer, and is equivalent to a single logical device in networking, as shown in fig. 1. Each device in the IRF is called a member device, and is divided into two roles according to functions: the system comprises a main member device and a standby member device, wherein the main member device is generated by role election and is responsible for the management of the whole IRF, such as topology collection, the notification of IRF configuration information and the like. An IRF stack port formed by aggregating at least one IRF physical port exists on each member device, and the member devices communicate through the IRF stack port.
Each member device is composed of a main control board and wire clamping boards, the main control board is responsible for the control function of each wire clamping board in the member devices, the wire clamping boards are mainly responsible for the forwarding function of data messages, but for received control messages, the control messages are reported to the main control board in a unified mode, and the main control board forwards the control messages to corresponding target wire clamping boards. As shown in fig. 2, one or more cable trays may be present in a member device, two cable trays being exemplified in fig. 2. The control channel of the member equipment mainly comprises each CPU, a main control board exchange chip (LSW) and a line card board LSW. The specific control process is as follows: after the control message received by the forwarding chip where the IRF stack port is located is reported to the main control board LSW through the line card board LSW, after the main control board LSW is reported to the main control board CPU, the target line card board of the control message is determined and sent to the LSW of the target line card board through the main control board LSW, and then the LSW of the target line card board is reported to the CPU of the target line card board for processing the control message.
However, when the master control board fails and needs to be replaced with a new master control board, once the master control board is pulled out, the control channel is disconnected, so that the line card cannot work normally, and at this time, the line card is restarted after detecting that the master control board is out of position, which may cause service interruption to the member device.
Disclosure of Invention
In view of this, the present invention provides a method for processing a control packet in an IRF and a line card board, so as to ensure that a service of a member device is not interrupted during a process of replacing a main control board by the member device.
A method for processing control message in IRF includes:
in the single main control board member equipment of the IRF, if the line card board detects the main control board fault and does not restart, the MAC address forwarding table item which is configured in advance and contains the MAC address of each line card board or the multicast MAC address is set to be effective, and the MAC address forwarding table item is utilized to forward the control message;
and after the line card board detects that the main control board is recovered to be normal, the MAC address forwarding table entry is set to be invalid.
A line card board, which is used in a single main control board member device of IRF, the line card board includes: a CPU and a forwarding chip;
the CPU is used for not restarting the line card board when detecting the fault of the main control board, and setting an MAC address forwarding table item which is configured on the forwarding chip in advance and contains each line card board MAC address or multicast MAC address to be effective; when the main control board is detected to be recovered to normal, the MAC address forwarding table entry is set to be invalid;
and the forwarding chip is used for forwarding the control message by using the MAC address forwarding table entry when the MAC address forwarding table entry is set to be effective.
A line card board, which is used in a single main control board member device of IRF, the line card board includes: a CPU and a forwarding chip;
the CPU is used for setting an MAC address forwarding table item which is preset in the CPU and contains the MAC address of each line card board or the multicast MAC address to be effective without restarting the line card board when the main control board is detected to be in fault, and indicating the forwarding chip to forward the control message by using the MAC address forwarding table item; when the main control board is detected to be recovered to normal, the MAC address forwarding table entry is set to be invalid;
and the forwarding chip is used for sending the control message from other member equipment or the wire clamping plate to the CPU when the CPU detects the fault of the main control plate, and forwarding the control message according to the instruction of the CPU.
According to the technical scheme, if the main control board is replaced by the member equipment of the single main control board, the line card board detects the fault of the main control board, the MAC address forwarding table item which is configured in advance and contains the MAC address of each line card board is set to be effective, the MAC address forwarding table item is used for forwarding the control message, namely, the pre-configured MAC address forwarding table item is used for realizing the transfer of the control channel, so that the control channel is ensured not to be interrupted, the line card board does not need to be restarted, and the service of the member equipment can be uninterrupted. After the main control board returns to normal, the line card board sets the MAC address forwarding table entry to be invalid and switches the control channel back to the normal state.
Drawings
FIG. 1 is a schematic diagram of IRF networking;
FIG. 2 is a schematic diagram of the structure of each member device;
fig. 3 is a flowchart of a detailed method provided by an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
The method provided by the invention mainly comprises the following steps: in the single main control board member equipment of the IRF, if the line card board detects the main control board fault and does not restart, setting a pre-configured MAC address forwarding table item containing each line card board MAC address or multicast MAC address to be effective, and forwarding a control message by using the MAC address forwarding table item; and after the line card board detects that the main control board is recovered to be normal, setting the MAC address forwarding table entry to be invalid.
The above method is described in detail with reference to specific examples. Fig. 3 is a flowchart of a detailed method provided by an embodiment of the present invention, and as shown in fig. 3, the method mainly includes the following steps:
step 301: in the single main control board member device of the IRF, if the line card board detects the main control board fault, the restart is not carried out.
Each line card board can detect the main control board in the same member device, the detection mode can be realized in a hardware mode, namely, the detection is carried out through the signal line between the main control board and each line card board, once the main control board is pulled out, the signal line is disconnected, and the line card board can know the fault of the main control board; the method can also be realized in a software mode, namely, the heartbeat messages can be sent between the line card board and the main control board at regular time, and if the line card board does not receive the heartbeat messages sent by the main control board within the set time, the fault of the main control board can be known.
The main control board fault related in the invention can be that the main control board is pulled out, namely is not in place, or the main control board can not work normally or is restarted, etc.
In the present invention, even if the line card board detects a failure of the main control board, the line card board is not restarted, and since the member device is a single main control board device, it is necessary to ensure that the control path is not interrupted by a transfer mode of the control path, and the specific process is as follows.
Step 302: and the cable card board sets the MAC address forwarding table entry configured in advance to be effective.
Because the CPU of each line card board has an independent unicast MAC address, the MAC address can be used as the MAC address of the line card board, and an MAC address forwarding table entry including the MAC address of each line card board or a multicast MAC address can be configured in each line card board in advance, where each MAC address forwarding table entry may include: MAC address, virtual private network (VLAN) identification and destination port number. For forwarding the unicast control packet, the destination port number may be an interface between the forwarding chip in the destination line card board and the LSW, and is generally referred to as a service interface of the destination line card board. For the broadcast control packet, the destination address of the broadcast control packet is usually a specific multicast MAC address, so the VLAN identifier corresponding to the multicast group address is an index corresponding to all VLANs, and the destination port number may be an index of service interfaces of all line card boards.
The MAC address forwarding table entry may be configured only on a forwarding chip where the IRF stack port is located, and the IRF stack port may be aggregated by IRF physical ports on multiple forwarding chips, so that the MAC address forwarding table entry may be configured on all of the multiple forwarding chips. In addition, the configured MAC address forwarding entries are static entries, and even if the line card board restarts the MAC address forwarding entries, the MAC address forwarding entries are not lost unless deleted.
Step 303: after the line card board receives the control message, for a unicast control message, if the destination MAC address of the control message is not the line card board, forwarding the control message to the corresponding destination line card board according to the MAC address forwarding table entry; and if the destination MAC address of the control message is the line card board, the line card board processes the control message locally. And for the broadcast control message, forwarding the control message to other line card boards according to the MAC address forwarding table entry, and simultaneously locally processing the control message.
In this step, after the forwarding chip in the line card board receives the unicast control message, if it is determined that the destination MAC address of the control message is not the MAC address of the line card board, determining a VLAN identifier corresponding to the destination address of the control message according to an MAC address forwarding table entry, and forwarding the control message through a port corresponding to the VLAN identifier; if the target MAC address of the control message is determined to be the line card board, a service interface corresponding to the target MAC address of the control message is determined according to the MAC address forwarding table entry, the control message is sent to the LSW of the line card board through the service interface, and the LSW reports the LSW to the CPU of the line card board for processing. It should be noted that, usually, an Access Control List (ACL) exists in the LSW, where the ACL stores the MAC address and broadcast MAC address of the local line card board, and after receiving the control message, if the destination MAC address of the control message is in the ACL, the LSW reports the control message to the CPU of the local line card board; and if the destination MAC address of the control message is not in the ACL, reporting the control message to the main control board.
After receiving the broadcast message, the line card board searches an MAC address forwarding table item according to a target MAC address of the broadcast message, determines that the corresponding VLAN identifier is an index of all VLANs, forwards the control message through ports corresponding to all VLANs, and sends the control message to the LSW through a service interface of the line card board. After receiving the control message, the LSW reports the control message to the CPU of the local line card board for processing according to the ACL.
Through the steps, in the fault process of the main control board, the line card board can forward the control message to the corresponding target line card board by using the pre-configured MAC address forwarding table entry, so that the control path is not interrupted, and the line card board does not need to be restarted.
Step 304: and after the line card board detects that the main control board works normally, the pre-configured MAC address forwarding table entry is set to be invalid, and the control message is forwarded according to the existing control channel.
When the main control board recovers from the fault or the newly inserted main control board works normally after being started, the line card board does not need to use the local MAC address forwarding table entry and sets the local MAC address forwarding table entry as invalid. After receiving the control message, if the target line card board of the control message is not the line card board, the line card board sends the control message to the main control board, and the main control board forwards the control message to the target line card board. The specific process is as follows: after the forwarding chip of the line card board receives the control message, if the target line card board of the control message is not itself, that is, the target MAC address of the unicast control message is not the MAC address of the line card board, or the broadcast control message, the forwarding chip sends the control message to the LSW of the line card board, and the LSW sends the control message to the main control board according to the ACL. If the target line card board of the control message is the line card board itself, that is, the target MAC address of the unicast control message is the MAC address of the line card board, the line card board directly processes the control message, which specifically includes: the forwarding chip sends the control message to the LSW of the line card board, and the LSW forwards the control message to the CPU of the line card board for processing according to the ACL. This part of the forwarding process is the same as in the prior art.
In addition to the foregoing embodiment that the MAC address forwarding table entry preset in the forwarding chip is used to implement control packet forwarding when the main control board fails, another method may also be adopted to preset the MAC address forwarding table entry in the CPU of the online card, where the MAC address forwarding table entry at this time may include: MAC address and cable card slot number. For the unicast control message, the MAC address is the MAC address of each line card board, and the line card board slot number is the slot number of the target line card board; for the broadcast control message, the MAC address is a specific multicast MAC address, and the slot number of the line card board is an index of the slot numbers of all the line card boards.
And when the line card board detects the fault of the main control board, the MAC address forwarding table entry arranged in the local CPU is set to be effective.
For a unicast control message, after receiving the unicast control message, the line card board directly sends the unicast control message to a local CPU (central processing unit), the local CPU judges whether the destination MAC address of the unicast control message is the MAC address of the line card board, and if so, the line card board directly processes the unicast control message and does not forward the unicast control message; otherwise, determining the wire clamping plate slot position number corresponding to the target MAC address of the unicast control message according to the preset MAC address forwarding table entry, and forwarding the unicast control message to the corresponding target wire clamping plate by using the determined wire clamping plate slot position number.
For the broadcast control message, after receiving the broadcast control message, the line card board sends the broadcast control message to a local CPU, and the local CPU determines that the line card board slot position number corresponding to the target MAC address of the broadcast control message is the slot position number index of all the line card boards according to a pre-configured MAC address forwarding table entry, and then the local CPU processes the broadcast control message and forwards the broadcast control message to the slot position of the line card board.
It should be noted that, once the line card board detects the failure of the main control board, the forwarding chip in the line card board directly reports the received unicast or broadcast control message to the local CPU, and does not go through the LSW; when the CPU forwards the control message, the determined slot position number is carried in the control message and directly sent to a forwarding chip; and the forwarding chip forwards the message according to the slot position number carried in the control message. For example, if the CPU of the line card board 1 determines that the slot number of the unicast control message is the slot number of the line card board 2, the slot number of the line card board 2 is carried in the unicast control message and sent to the forwarding chip of the line card board 1, and the forwarding chip obtains the carried slot number from the unicast control message and directly forwards the unicast control message to the slot number of the line card board 2.
In the real-time mode, once the line card board detects that the main control board is recovered to normal, the MAC address forwarding table entry in the local CPU is set to be invalid, and the processing mode of the prior art is adopted, namely after the control message is received, if the target MAC address of the control message is not the MAC address of the line card board, the control message is sent to the main control board and is forwarded to the target line card board by the main control board; and if the destination MAC address of the control message is the MAC address of the cable card board, sending the control message to a local CPU for processing.
The above is a detailed description of the method provided by the present invention, and the following is a detailed description of the cable clamping board provided by the present invention. According to the different positions of the MAC address forwarding table entries, the wire clamping plate provided by the invention can adopt the following two implementation modes:
the first implementation mode comprises the following steps: the MAC address forwarding table entry is set in the forwarding chip, and the structure of the cable card board may still be as shown in fig. 2.
The CPU is used for not restarting the line card board when detecting the fault of the main control board, and setting an MAC address forwarding table item which is configured on a forwarding chip in advance and contains each line card board MAC address or multicast MAC address to be effective; and when the main control board is detected to be recovered to be normal, setting the MAC address forwarding table entry to be invalid.
And the forwarding chip is used for forwarding the control message by using the MAC address forwarding table entry when the MAC address forwarding table entry is set to be effective.
The CPU can detect the main control board in a hardware or software mode, and if the disconnection of the signal line between the line card board and the main control board is detected or the heartbeat message from the main control board is not received within a set time, the fault of the main control board is determined to be detected.
The MAC address forwarding table configured on the forwarding chip may include: MAC address, virtual private network VLAN identification and destination port number.
For the unicast control message, the MAC address is the MAC address of each line card board, the VLAN id is the VLAN id corresponding to the destination line card board, and the destination port number is the service interface between the forwarding chip in the destination line card board and the LSW.
For the broadcast control message, the MAC address is a specific multicast MAC address, the VLAN id is an index of all VLAN ids, and the destination port number is an index of a service interface between a forwarding chip and an LSW in all line card boards.
The process of the line card board for controlling the forwarding of the message may specifically be: after the forwarding chip receives the unicast control message, if the destination MAC address of the unicast control message is not the MAC address of the line card board, determining a VLAN (virtual local area network) identifier corresponding to the destination MAC address according to an MAC address forwarding table entry, and forwarding the unicast control message through a port corresponding to the determined VLAN identifier; if the destination address of the unicast control message is the MAC address of the line card board, determining a destination port number corresponding to the destination MAC address according to an MAC address forwarding table entry, and sending the unicast control message to the LSW through a service interface corresponding to the destination port number; or after receiving the broadcast control message, determining that the VLAN identifier corresponding to the destination MAC address of the broadcast control message is an index of all VLAN identifiers according to the MAC address forwarding table entry, and forwarding the broadcast control message through the ports corresponding to all VLAN identifiers while sending the broadcast control message to the LSW through its own service interface.
And the LSW is used for sending the unicast control message or the broadcast control message to the CPU if the destination MAC address of the unicast control message or the broadcast control message is in the ACL after receiving the unicast control message or the broadcast control message sent by the forwarding chip.
The MAC address in the ACL is the same as that in the prior art, that is, the MAC address of the line card board and the multicast MAC address can be included.
And the CPU is used for processing the unicast control message or the broadcast control message sent by the LSW.
After the main control board returns to normal, the forwarding chip can also be used for sending the received control message to the LSW after the MAC address forwarding table entry is set to be invalid. The received control message comprises a unicast control message and a broadcast control message.
The LSW is also used for reporting the control message to the main control board if the destination MAC address of the control message is not in the ACL after receiving the control message sent by the forwarding chip; and if the destination MAC address of the control message is in the ACL, sending the control message to a CPU for processing.
That is, after the main control board recovers to normal, the line card board recovers to the control channel in the prior art, and the received control message whose destination MAC address is not the line card board is reported to the main control board for forwarding.
The second implementation mode comprises the following steps: the MAC address forwarding table entry is set in the CPU of the line card board, and the structure of the line card board may still be as shown in fig. 2.
The CPU is used for not restarting the line card board when detecting the fault of the main control board, setting an MAC address forwarding table item which is preset in the CPU and contains the MAC address of each line card board or the multicast MAC address to be effective, and utilizing the MAC address forwarding table item to indicate a forwarding chip to forward a control message; when the main control board is detected to be recovered to normal, the MAC address forwarding table entry is set to be invalid;
and the forwarding chip is used for sending the control message from other member equipment or the wire clamping plate to the CPU when the CPU detects the fault of the main control plate, and forwarding the control message according to the instruction of the CPU.
In this implementation manner, when the line card detects a failure of the main control board, the control message received by the forwarding chip is not sent to the local CPU of the line card any more via the LSW, and the CPU determines whether forwarding is needed and instructs the forwarding chip to forward.
The preconfigured MAC address forwarding table entry may include: MAC address and cable card slot number. For the unicast control message, the MAC address is the MAC address of each line card board, and the line card board slot number is the slot number of the target line card board; for the broadcast control message, the MAC address is a specific multicast MAC address, and the line card board identification is the slot number index of all the line card boards.
Specifically, when the CPU detects a failure in the main control board, the forwarding chip sends a unicast control packet or a broadcast control packet from other member devices or the line card board to the CPU; after receiving a unicast control message sent by a CPU, forwarding the unicast control message according to a line card board slot number carried in the unicast control message; after receiving the broadcast control message sent by the CPU, forwarding the broadcast control message to the slot positions of all the line card boards according to the slot position number indexes of all the line card boards carried in the broadcast control message.
After receiving the unicast control message, the CPU judges whether the destination MAC address of the unicast control message is the MAC address of the CPU, and if so, directly processes the unicast control message; otherwise, determining the wire-clamping board slot position number corresponding to the target MAC address of the unicast control message according to the MAC address forwarding table entry, carrying the wire-clamping board slot position number in the unicast control message, and sending the unicast control message to a forwarding chip; after receiving the broadcast control message, determining the slot numbers of the line card boards corresponding to the target MAC address of the broadcast control message as the slot number indexes of all the line card boards according to the MAC address forwarding table entry, carrying the slot number indexes of all the line card boards in the broadcast control message, sending the broadcast control message to a forwarding chip, and locally processing the broadcast control message.
After the main control board recovers to normal, the line card board performs normal control message forwarding according to the mode in the prior art, namely:
and the forwarding chip is used for sending the received control message to the LSW when the CPU detects that the main control board is recovered to be normal.
The LSW reports the control message to the main control board if the destination MAC address of the control message is not in the ACL after receiving the control message sent by the forwarding chip; and if the destination MAC address of the control message is in the ACL, sending the control message to a CPU for processing.
As can be seen from the above description, in the present invention, if a single main control board member device changes the main control board, when the line card board detects a fault in the main control board, the pre-configured MAC address forwarding table entry containing the MAC address of each line card board is set to be valid, and the MAC address forwarding table entry is used to forward the control packet, that is, the pre-configured MAC address forwarding table entry is used to realize the transfer of the control channel, thereby ensuring that the control channel is not interrupted, and therefore, the line card board does not need to be restarted, and the service of the member device can be uninterrupted. After the main control board returns to normal, the line card board sets the MAC address forwarding table entry to be invalid and switches the control channel back to the normal state.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (15)

1. A method for processing control message in intelligent resilient framework IRF is characterized in that the method comprises:
in the single main control board member equipment of the IRF, if the line card board detects the main control board fault and does not restart, the MAC address forwarding table item which is configured in advance and contains the MAC address of each line card board or the multicast MAC address is set to be effective, and the MAC address forwarding table item is utilized to forward the control message;
and after the line card board detects that the main control board is recovered to be normal, the MAC address forwarding table entry is set to be invalid.
2. The method according to claim 1, wherein the cable card board determines that the main control board fault is detected if it detects that a signal line between itself and the main control board is disconnected or a heartbeat message from the main control board is not received within a set time.
3. The method of claim 1, wherein the MAC address forwarding entry comprises: MAC address, virtual private network VLAN identification and destination port number;
the MAC address is the MAC address of each line card board, the VLAN mark is the VLAN mark corresponding to the target line card board, and the target port number is the service interface of the forwarding chip and the exchange chip LSW in the target line card board; or,
the MAC address is a specific multicast MAC address, the VLAN identification is an index of all VLAN identifications, and the destination port number is a service interface index of forwarding chips and LSWs in all line card boards.
4. The method according to claim 3, wherein the forwarding the control packet by using the MAC address forwarding table entry specifically comprises:
after the wire clamping board receives the unicast control message, if the destination MAC address of the unicast control message is not the MAC address of the wire clamping board, determining a VLAN (virtual local area network) identifier corresponding to the destination MAC address according to the MAC address forwarding table entry, and forwarding the unicast control message through a port corresponding to the determined VLAN identifier; if the destination MAC address of the unicast control message is the MAC address of the line card board, determining a destination port number corresponding to the destination MAC address according to the MAC address forwarding table entry, and sending the unicast control message to a local CPU for processing through a service interface corresponding to the destination port number;
after receiving the broadcast control message, the line card board determines that the VLAN identifier corresponding to the target MAC address of the broadcast control message is an index of all VLAN identifiers according to the MAC address forwarding table entry, forwards the broadcast control message through ports corresponding to all VLAN identifiers, and simultaneously sends the broadcast control message to a local CPU (central processing unit) for processing through a service interface of the line card board.
5. The method of claim 1, wherein the MAC address forwarding entry comprises: MAC address and wire card slot number;
the MAC address is the MAC address of each wire clamping plate, and the wire clamping plate slot number is the slot number of the target wire clamping plate; or,
the MAC address is a specific multicast MAC address, and the slot numbers of the line card boards are the slot number indexes of all the line card boards.
6. The method according to claim 5, wherein the forwarding the control packet by using the MAC address forwarding table entry specifically comprises:
after receiving the unicast control message, the cable card board sends the unicast control message to a local CPU (central processing unit), the local CPU judges whether the destination MAC address of the unicast control message is the MAC address of the local CPU, and if so, the cable card board directly processes the unicast control message; otherwise, determining the line card board slot position number corresponding to the target MAC address of the unicast control message according to the MAC address forwarding table entry, and forwarding the unicast control message by using the determined line card board slot position number;
and after receiving the broadcast control message, the line card board sends the broadcast control message to a local CPU, and the local CPU determines that the line card board slot position number corresponding to the target MAC address of the broadcast control message is the slot position number index of all the line card boards according to the MAC address forwarding table entry, so that the local CPU processes the broadcast control message and forwards the broadcast control message to the slot positions of all the line card boards at the same time.
7. The method according to any one of claims 1 to 6, wherein after the MAC address forwarding table entry is set to be invalid, after the line card board receives the control message, if the destination MAC address of the control message is not the MAC address of the line card board itself, the control message is sent to the main control board and forwarded to the destination line card board by the main control board; and if the destination MAC address of the control message is the MAC address of the cable card board, sending the control message to a local CPU for processing.
8. The utility model provides a line cardboard for among IRF's single main control board member equipment, its characterized in that, this line cardboard includes: a CPU and a forwarding chip;
the CPU is used for not restarting the line card board when detecting the fault of the main control board, and setting an MAC address forwarding table item which is configured on the forwarding chip in advance and contains each line card board MAC address or multicast MAC address to be effective; when the main control board is detected to be recovered to normal, the MAC address forwarding table entry is set to be invalid;
and the forwarding chip is used for forwarding the control message by using the MAC address forwarding table entry when the MAC address forwarding table entry is set to be effective.
9. The line card of claim 8, wherein the MAC address forwarding entry comprises: MAC address, virtual private network VLAN identification and destination port number;
the MAC address is the MAC address of each line card board, the VLAN mark is the VLAN mark corresponding to the target line card board, and the target port number is the service interface of the forwarding chip and the exchange chip LSW in the target line card board; or,
the MAC address is a specific multicast MAC address, the VLAN identification is an index of all VLAN identifications, and the destination port number is a service interface index of forwarding chips and LSWs in all line card boards.
10. The line card board of claim 9, wherein after the forwarding chip receives the unicast control message, if the destination MAC address of the unicast control message is not the MAC address of the line card board, the forwarding chip determines the VLAN id corresponding to the destination MAC address according to the MAC address forwarding table entry, and forwards the unicast control message through the port corresponding to the determined VLAN id; if the destination address of the unicast control message is the MAC address of the line card board, determining a destination port number corresponding to the destination MAC address according to the MAC address forwarding table entry, and sending the unicast control message to the LSW in the line card board through a service interface corresponding to the destination port number; or after receiving a broadcast control message, determining that the VLAN identifier corresponding to the destination MAC address of the broadcast control message is an index of all VLAN identifiers according to the MAC address forwarding table entry, and forwarding the broadcast control message through ports corresponding to all VLAN identifiers and sending the broadcast control message to the LSW through a service interface of the LSW;
after receiving the unicast control message or the broadcast control message sent by the forwarding chip, the LSW in the line card board sends the unicast control message or the broadcast control message to the CPU if the destination MAC address of the unicast control message or the broadcast control message is in the access control list ACL;
and the CPU is used for processing the unicast control message or the broadcast control message sent by the LSW.
11. The line card of any of claims 8 to 10, wherein the forwarding chip is further configured to send the received control packet to a switch chip LSW in the line card after the MAC address forwarding table entry is set to be invalid;
after receiving the control message sent by the forwarding chip, the LSW reports the control message to the main control board if the destination MAC address of the control message is not in the ACL; and if the destination MAC address of the control message is in the ACL, sending the control message to the CPU for processing.
12. The utility model provides a line cardboard for among IRF's single main control board member equipment, its characterized in that, this line cardboard includes: a CPU and a forwarding chip;
the CPU is used for setting an MAC address forwarding table item which is preset in the CPU and contains the MAC address of each line card board or the multicast MAC address to be effective without restarting the line card board when the main control board is detected to be in fault, and indicating the forwarding chip to forward the control message by using the MAC address forwarding table item; when the main control board is detected to be recovered to normal, the MAC address forwarding table entry is set to be invalid;
and the forwarding chip is used for sending the control message from other member equipment or the wire clamping plate to the CPU when the CPU detects the fault of the main control plate, and forwarding the control message according to the instruction of the CPU.
13. The line card of claim 12, wherein the MAC address forwarding entry comprises: MAC address and wire card slot number;
the MAC address is the MAC address of each wire clamping plate, and the wire clamping plate slot number is the slot number of the target wire clamping plate; or,
the MAC address is a specific multicast MAC address, and the slot numbers of the line card boards are the slot number indexes of all the line card boards.
14. The cable card of claim 13, wherein the forwarding chip sends a unicast control message or a broadcast control message from other member devices or the cable card to the CPU when the CPU detects a failure of the main control board; after receiving the unicast control message sent by the CPU, forwarding the unicast control message according to the slot number of the cable card board carried in the unicast control message; after receiving the broadcast control message sent by the CPU, forwarding the broadcast control message to slot positions of all the line card boards according to the slot position number indexes of all the line card boards carried in the broadcast control message;
after receiving the unicast control message, the CPU judges whether the destination MAC address of the unicast control message is the MAC address of the CPU, and if so, the CPU directly processes the unicast control message; otherwise, determining the wire-clamping board slot position number corresponding to the target MAC address of the unicast control message according to the MAC address forwarding table entry, carrying the wire-clamping board slot position number in the unicast control message, and sending the unicast control message to the forwarding chip; after the broadcast control message is received, the slot numbers of the line card boards corresponding to the target MAC address of the broadcast control message are determined to be the slot number indexes of all the line card boards according to the MAC address forwarding table entry, the slot number indexes of all the line card boards are carried in the broadcast control message and sent to the forwarding chip, and the broadcast control message is processed locally.
15. The line card of any claim 12 to 14, wherein the forwarding chip is further configured to send the received control packet to a switch chip LSW in the line card when the CPU detects that the main control board returns to normal;
after receiving the control message sent by the forwarding chip, the LSW in the line card board reports the control message to the main control board if the destination MAC address of the control message is not in the ACL; and if the destination MAC address of the control message is in the ACL, sending the control message to the CPU for processing.
CN2009102365714A 2009-10-26 2009-10-26 Method for processing control message in intelligent resilient framework and line card boards Active CN102045332B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102365714A CN102045332B (en) 2009-10-26 2009-10-26 Method for processing control message in intelligent resilient framework and line card boards

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102365714A CN102045332B (en) 2009-10-26 2009-10-26 Method for processing control message in intelligent resilient framework and line card boards

Publications (2)

Publication Number Publication Date
CN102045332A CN102045332A (en) 2011-05-04
CN102045332B true CN102045332B (en) 2013-05-08

Family

ID=43911108

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102365714A Active CN102045332B (en) 2009-10-26 2009-10-26 Method for processing control message in intelligent resilient framework and line card boards

Country Status (1)

Country Link
CN (1) CN102045332B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238093B (en) * 2011-08-16 2015-01-28 杭州华三通信技术有限公司 Service interruption prevention method and device
CN103297344B (en) * 2012-02-27 2016-04-20 迈普通信技术股份有限公司 Distributed data communication system and method for forwarding multicast message thereof
CN103036716B (en) * 2012-12-12 2018-06-22 中兴通讯股份有限公司 Link switch-over method and system
WO2014101185A1 (en) * 2012-12-31 2014-07-03 华为技术有限公司 Method, apparatus and system for detecting performance of multicast channel
CN103561134B (en) * 2013-11-19 2017-02-15 迈普通信技术股份有限公司 Message transmitting method and system
CN103701726B (en) * 2013-12-31 2018-02-06 上海斐讯数据通信技术有限公司 The interface index management method and system of a kind of core switch
CN104079454B (en) * 2014-07-11 2017-12-29 新华三技术有限公司 A kind of unit exception detection method and equipment
CN107306220A (en) * 2016-04-18 2017-10-31 中兴通讯股份有限公司 Message forwarding method and device
CN106506352B (en) * 2016-10-12 2019-09-06 杭州迪普科技股份有限公司 A kind of method and device to E-Packet
CN106911597B (en) * 2017-02-14 2020-02-21 新华三技术有限公司 Cross-board forwarding method and device
CN107659413B (en) * 2017-09-18 2021-06-08 北京百卓网络技术有限公司 Small-sized communication equipment
CN109445975B (en) * 2018-10-18 2022-05-10 新华三技术有限公司 Exception handling method, logic device and member equipment
CN109802863B (en) * 2019-03-26 2021-09-21 新华三技术有限公司 Protocol oscillation processing method and device
CN111585835B (en) * 2020-04-20 2022-06-17 深圳市信锐网科技术有限公司 Control method and device for out-of-band management system and storage medium
CN118101556A (en) * 2022-11-25 2024-05-28 中兴通讯股份有限公司 Stacking system, main control replacement method, main control replacement equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101052013A (en) * 2007-05-22 2007-10-10 杭州华三通信技术有限公司 Method and system for realizing network equipment internal managing path
CN101150527A (en) * 2007-11-09 2008-03-26 杭州华三通信技术有限公司 A PCIE data transmission method, system and device
CN101242284A (en) * 2008-03-20 2008-08-13 杭州华三通信技术有限公司 Communication method and network device based on SPI bus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101052013A (en) * 2007-05-22 2007-10-10 杭州华三通信技术有限公司 Method and system for realizing network equipment internal managing path
CN101150527A (en) * 2007-11-09 2008-03-26 杭州华三通信技术有限公司 A PCIE data transmission method, system and device
CN101242284A (en) * 2008-03-20 2008-08-13 杭州华三通信技术有限公司 Communication method and network device based on SPI bus

Also Published As

Publication number Publication date
CN102045332A (en) 2011-05-04

Similar Documents

Publication Publication Date Title
CN102045332B (en) Method for processing control message in intelligent resilient framework and line card boards
CN100454875C (en) Method and system for realizing dual attachment or multiple attachment of user network boundary device
US8761005B2 (en) Multi-chassis link aggregation on network devices
US7639605B2 (en) System and method for detecting and recovering from virtual switch link failures
EP2675121B1 (en) Vpls fast rerouting method and device
EP2204952B1 (en) Automatic protection switching
CN101009569B (en) Data communication device and the method thereof
US20060176804A1 (en) Data transfer apparatus and multicast system
CN102457402B (en) Method for detecting multiple active equipment conflict and apparatus thereof
US9385944B2 (en) Communication system, path switching method and communication device
US9030929B2 (en) Redundant control device and network system
CN102904818A (en) Method and device for updating ARP (Address Resolution Protocol) information table
US20020016874A1 (en) Circuit multiplexing method and information relaying apparatus
CN101860492A (en) Quick switching method, device and system
CN104243239B (en) The condition detection method and device of controller in a kind of SDN clusters
WO2011147312A1 (en) Method, device and system for port backup of service access router
US20060153219A1 (en) System and method of protecting an IGMP proxy
CN102780615B (en) Link backup method and routing forwarding device
CN113315665B (en) Message sending method, device, equipment and medium of dual-network-card terminal equipment
CN109218232B (en) Method, equipment and system for realizing Mux machine
CN112688827B (en) Multicast stream detection method, device and system
CN103036716A (en) Method and system for link switchover
CN104506372A (en) Method and system for realizing host-backup server switching
JP2010239279A (en) Communication apparatus and method thereof, and communication system and method thereof
US20120204058A1 (en) Method and Device for Backing up User Information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.