CN112968836B - Cross-device aggregation link configuration method, device, equipment and readable storage medium - Google Patents

Cross-device aggregation link configuration method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN112968836B
CN112968836B CN202110132663.9A CN202110132663A CN112968836B CN 112968836 B CN112968836 B CN 112968836B CN 202110132663 A CN202110132663 A CN 202110132663A CN 112968836 B CN112968836 B CN 112968836B
Authority
CN
China
Prior art keywords
multicast group
multicast
group rule
rule
cross
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
CN202110132663.9A
Other languages
Chinese (zh)
Other versions
CN112968836A (en
Inventor
陈翀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Security Technologies Co Ltd
Original Assignee
New H3C Security Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Security Technologies Co Ltd filed Critical New H3C Security Technologies Co Ltd
Priority to CN202110132663.9A priority Critical patent/CN112968836B/en
Publication of CN112968836A publication Critical patent/CN112968836A/en
Application granted granted Critical
Publication of CN112968836B publication Critical patent/CN112968836B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • H04L45/245Link aggregation, e.g. trunking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/16Multipoint routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present disclosure provides a cross-device aggregation link configuration method, apparatus, device and machine-readable storage medium, the method comprising: receiving a multicast group rule sent by a management device and configuring the multicast group rule; the management device is used for generating a multicast group rule according to the multicast service and configuring the multicast group rule for at least one network device in the cross-device aggregation link; configuring the multicast group rule for network devices in a cross-device aggregation link that are not configured with the multicast group rule; forwarding the message according to the multicast group rule; the multicast group rule includes an address range and a device number associated with the address range. By the technical scheme, operation and maintenance personnel generate the multicast group rule according to the specific condition of the multicast service, and the network equipment configured with the rule synchronizes with other network equipment in the aggregation link, so that the multicast group multicast flow sharing rule in the DRNI network can be flexibly customized.

Description

Cross-device aggregation link configuration method, device, equipment and readable storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a machine-readable storage medium for configuring a cross-device aggregation link.
Background
DRNI (Distributed Resilient Network Interconnect): the method is a cross-device link aggregation technology, two physical devices are virtualized into one device on an aggregation layer to realize cross-device link aggregation, and therefore device-level redundancy protection and traffic load sharing are provided. MLAG (multiple links Aggregation Group, cross-device Link Aggregation) is a cross-device Link Aggregation technology, and is mainly used in networking of partial cross-device Link Aggregation instead of IRF. DR interface (Distributed Relay port, Distributed aggregation interface): and the DR equipment is provided with a two-layer aggregation interface connected with external equipment. DR group (Distributed-Relay group): the two-tier aggregation interfaces, where the member devices are connected to the external devices, must join the same distributed aggregation group. IPL (Intra-Portal Link, internal control Link): and the two-layer aggregation link between the member devices of the DR system is used for transmitting the DRCP protocol message between the DR devices. Only one IPL can exist in one DR system, and the traffic flow crossing the DRs is forwarded from the IPL link. IPP (Intra-Portal Port, internal control Link Port): and a two-layer aggregation interface of the two-layer aggregation link where the IPL is positioned receives and transmits the protocol message of the DRCP through the port. PIM (Protocol Independent Multicast) protocols provide routing for IP Multicast using unicast static routing or unicast routing tables generated by any unicast routing Protocol. PIM-SM (Protocol Independent Multicast-spark Mode): protocol independent multicast-sparse mode.
In the current DRNI networking, the rule is too single, a network administrator needs to plan a multicast group in advance, and if a multicast source does not belong to a network controllable range, it is further impossible to ensure that the load and pressure of each DR device are symmetrical.
Disclosure of Invention
In view of the above, the present disclosure provides a method and an apparatus for configuring a cross-device aggregation link, an electronic device, and a machine-readable storage medium, so as to solve the problem that the rule is too single.
The specific technical scheme is as follows:
the present disclosure provides a cross-device aggregation link configuration method, applied to a network device, the method including: receiving a multicast group rule sent by a management device and configuring the multicast group rule; the management device is used for generating a multicast group rule according to the multicast service and configuring the multicast group rule for at least one network device in the cross-device aggregation link; configuring the multicast group rule for network devices in a cross-device aggregation link that are not configured with the multicast group rule; forwarding the message according to the multicast group rule; the multicast group rule includes an address range and a device number associated with the address range.
As a technical solution, the configuring the multicast group rule for a network device in a cross-device aggregated link, which is not configured with the multicast group rule, includes: after a local multicast group rule is configured, sending configuration information to enable network equipment which is not configured with the multicast group rule in the cross-equipment aggregation link to configure the multicast group rule; and/or sending configuration information to enable the new network device to configure the multicast group rule when the new network device is added into the cross-device aggregation link.
As a technical solution, the forwarding a packet according to a multicast group rule includes: if the address ranges associated with the two multicast group rules associated with different equipment numbers are overlapped, the message is forwarded according to the depth priority rule.
As a technical solution, after configuring the multicast group rule for a network device in a cross-device aggregated link that is not configured with the multicast group rule, the method includes: receiving a multicast re-optimization command sent by a management device; performing local re-optimization according to the multicast re-optimization command and notifying other network devices in the cross-device aggregation link to perform the multicast re-optimization command; after the preset delay, the result of executing the multicast re-optimization command is issued simultaneously with other network equipment in the cross-equipment aggregation link.
The present disclosure also provides a cross-device aggregation link configuration device, which is applied to a network device, and the device includes: the receiving module is used for receiving the multicast group rule sent by the management equipment and configuring the multicast group rule; the management device is used for generating a multicast group rule according to the multicast service and configuring the multicast group rule for at least one network device in the cross-device aggregation link; a configuration module, configured to configure the multicast group rule for a network device in a cross-device aggregation link, to which the multicast group rule is not configured; the forwarding module is used for forwarding the message according to the multicast group rule; the multicast group rule includes an address range and a device number associated with the address range.
As a technical solution, the configuring the multicast group rule for a network device in a cross-device aggregated link, which is not configured with the multicast group rule, includes: after a local multicast group rule is configured, sending configuration information to enable network equipment which is not configured with the multicast group rule in the cross-equipment aggregation link to configure the multicast group rule; and/or sending configuration information to enable the new network device to configure the multicast group rule when the new network device is added into the cross-device aggregation link.
As a technical solution, the forwarding a packet according to a multicast group rule includes: if the address ranges associated with the two multicast group rules associated with different equipment numbers are overlapped, the message is forwarded according to the depth priority rule.
As a technical solution, after configuring the multicast group rule for a network device in a cross-device aggregated link that is not configured with the multicast group rule, the method includes: receiving a multicast re-optimization command sent by a management device; performing local re-optimization according to the multicast re-optimization command and notifying other network devices in the cross-device aggregation link to perform the multicast re-optimization command; after the preset delay, the result of executing the multicast re-optimization command is issued simultaneously with other network equipment in the cross-equipment aggregation link.
The present disclosure also provides an electronic device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor to implement the aforementioned cross-device aggregated link configuration method.
The present disclosure also provides a machine-readable storage medium having stored thereon machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the aforementioned cross device aggregated link configuration method.
The technical scheme provided by the disclosure at least brings the following beneficial effects:
the operation and maintenance personnel generate the multicast group rule according to the specific situation of the multicast service, then configure the rule on one of the DR network devices involved in the cross-device aggregation link, and synchronize the network devices configured with the rule to other network devices in the aggregation link, thereby flexibly customizing the multicast group multicast stream sharing rule in the DRNI network.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments of the present disclosure or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present disclosure, and other drawings can be obtained by those skilled in the art according to the drawings of the embodiments of the present disclosure.
Fig. 1 is a flow diagram of a cross device aggregation link configuration method in one embodiment of the present disclosure;
fig. 2 is a block diagram of a cross-device aggregation link configuration apparatus in an embodiment of the present disclosure;
FIG. 3 is a hardware block diagram of an electronic device in one embodiment of the disclosure;
fig. 4 is a networking of a cross device aggregation link configuration of the present disclosure.
Detailed Description
The terminology used in the embodiments of the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein is meant to encompass any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information in the embodiments of the present disclosure, such information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. Depending on the context, moreover, the word "if" as used may be interpreted as "at … …" or "when … …" or "in response to a determination".
As shown in fig. 4, Switch a and Switch B, which are DR devices (Distributed aggregated member devices, which are network devices in this disclosure), are connected by an IPL (Intra-Portal Link), and Switch C is connected to a multicast receiver.
The interfaces on Switch A and Switch B connected with Switch C are both configured with IGMP and PIM passive modes. Any one of the Switch a and the Switch B receives the IGMP membership report packet, and synchronizes to the device at the opposite end through the IPL, so that the IGMP multicast group information between the Switch a and the Switch B is synchronized.
The PIM passive mode configured on Switch a and Switch B ensures that both devices can receive all multicast data traffic sent by the multicast source. When the multicast data flow is forwarded to the DR interface, the Switch A and the Switch B form load sharing to jointly forward the multicast data flow.
When the DR system forwards networking traffic, in order to avoid multicast duplication, one implementation is that the DR system shares the traffic, which belongs to a controllable factor of the DR system. IGMP messages are synchronized on two devices of DRNI, and the two devices of DRNI are combined to set that PIM of DR group is DR, so that the two devices of DRNI can establish multicast forwarding table, take DR port as outlet interface, and send PIM joining message upstream. Therefore, the upstream device will duplicate two traffic flows and forward them to the primary and standby devices of the DRNI, respectively. The platform issues a DR port list and an odd-even forwarding rule, and the driver only forwards the multicast stream with odd IP to the DR port at the main equipment of the DRNI according to the rule issued by the platform; on DRNI spare equipment, the multicast stream with even IP is forwarded to DR interface, so that sharing and avoiding duplication are realized.
This implementation can ensure traffic sharing without duplication; but the rules are too single and require the network administrator to plan the multicast groups in advance. In practical application, multicast services corresponding to each multicast group are different, and odd/even symmetry cannot be achieved when multicast streams are received by downstream; if the multicast source does not belong to the controllable range of the network, it is further impossible to ensure the load and pressure symmetry of the two DRs. In addition, the odd and even sharing rules currently used are fixed and cannot be modified by a user.
In view of the above, the present disclosure provides a cross-device aggregation link configuration method and apparatus, an electronic device, and a machine-readable storage medium to solve the above technical problems.
The specific technical scheme is as follows.
In one embodiment, the present disclosure provides a cross-device aggregation link configuration method applied to a network device, the method including: receiving a multicast group rule sent by a management device and configuring the multicast group rule; the management device is used for generating a multicast group rule according to the multicast service and configuring the multicast group rule for at least one network device in the cross-device aggregation link; configuring the multicast group rule for network devices in a cross-device aggregation link that are not configured with the multicast group rule; forwarding the message according to the multicast group rule; the multicast group rule includes an address range and a device number associated with the address range.
Specifically, as shown in fig. 1, the method comprises the following steps:
step S11, receiving the multicast group rule sent by the management device, and configuring the multicast group rule.
Step S12, configure the multicast group rule for a network device in the cross device aggregation link that is not configured with the multicast group rule.
And step S13, forwarding the message according to the multicast group rule.
The operation and maintenance personnel generate the multicast group rule according to the specific situation of the multicast service, then configure the rule on one of the DR network devices involved in the cross-device aggregation link, and synchronize the network devices configured with the rule to other network devices in the aggregation link, thereby flexibly customizing the multicast group multicast stream sharing rule in the DRNI network.
In one embodiment, the configuring the multicast group rule for a network device in a cross device aggregated link that is not configured with the multicast group rule includes: after a local multicast group rule is configured, sending configuration information to enable network equipment which is not configured with the multicast group rule in the cross-equipment aggregation link to configure the multicast group rule; and/or sending configuration information to enable the new network device to configure the multicast group rule when the new network device is added into the cross-device aggregation link.
In an embodiment, the forwarding the packet according to the multicast group rule includes: if the address ranges associated with the two multicast group rules associated with different equipment numbers are overlapped, the message is forwarded according to the depth priority rule.
The depth-first rule may include:
firstly, comparing the address range of the multicast group, and the rule with smaller range has priority.
If the multicast group address range is the same, the rule with small DRNI number (equipment number) is prior.
And thirdly, sharing according to the odd-even rule, wherein the sharing can not be distributed according to the rules.
In one embodiment, after configuring the multicast group rule for a network device in the cross-device aggregated link that is not configured with the multicast group rule, the method includes: receiving a multicast re-optimization command sent by a management device; performing local re-optimization according to the multicast re-optimization command and notifying other network devices in the cross-device aggregation link to perform the multicast re-optimization command; after the preset delay, the result of executing the multicast re-optimization command is issued simultaneously with other network equipment in the cross-equipment aggregation link.
The administrator can determine the multicast group to be adjusted based on the consideration of multiple factors such as multicast service flow, outlet bandwidth, single DR replication capability and the like.
For example, assuming that the DRNI system consists of two network Devices (DRs), both sides need to ensure that the configuration information is consistent. The manual configuration is only configured on any one device, and the multicast group range and the corresponding expected forwarding device, namely the multicast group rule, can be issued by the manual configuration or other modes.
The element to be configured < multicast group/prefix length, DRNI system number >, in IPv4 networks, is of the form for example table 1:
prefix length (1 byte) IPv4 multicast group address prefix (4 bytes) DRNI number (1 byte)
Prefix length (1 byte) IPv4 multicast group address prefix (4 bytes) DRNI number (1 byte)
TABLE 1
DRNI number takes the value 1 or 2. Where 1 or 2 represents which device is expected to act as the forwarding device. Wherein, when the user adds the rule, the DRNI number 1 or 2 is appointed; at the time of the delete rule, DRNI number uses 0, representing delete.
The multicast group rule can be synchronized between two devices by means of a DRCP protocol message, namely, the multicast group rule can be configured in any one of the two devices, the synchronization mode is as follows, the reliability of the synchronization message depends on the DRCP protocol, the notification mode can be that the synchronization message is immediately notified to an opposite terminal after being configured, or the notification mode can be that a DRNI system member of the opposite terminal is newly added or the local terminal is started up and immediately notified.
When multiple multicast group rules are configured, similar to ACL, there may be situations where the configurations of multiple multicast groups overlap or conflict, and the method is performed by using exact matching (depth-first rule), as described above:
firstly, comparing the address range of the multicast group, and the rule with smaller range has priority.
② if the multicast group address range is the same, the rule with small DRNI number (equipment number) takes precedence.
And thirdly, sharing according to the odd-even rule, wherein the sharing can not be distributed according to the rules.
After the multicast group rules of the two devices of the DRNI system are synchronized, the traffic re-optimization can be performed, and the optimization mainly takes into consideration that the two devices need to keep synchronous operation, so that the traffic interruption or double-packet condition is reduced to the maximum extent.
In one embodiment, two devices in the DRNI system need to ensure clock synchronization (either with each other or with the same clock source); executing a multicast re-optimization command on any one device; after the instruction is executed, the DRNI system local end combines the current multicast forwarding table according to the multicast group rule, the platform layer firstly rearranges the member port information of the DR group respectively, and at the moment, the drive is not issued; meanwhile, notifying the opposite terminal by means of a DRCP protocol; after receiving the message, the opposite end of the DRNI system combines with the currently owned multicast forwarding table according to the multicast group rule, and the platform layer rearranges the member port information of the DR group, respectively, and does not issue the driver at this time. Both sides set a related delay together through the DRCP protocol, and after the delay time point is reached, both sides simultaneously drive and update the export information.
In one embodiment, when an aggregate member port of the DR has an up event to report, it is issued according to the current multicast group rule.
In an embodiment, the present disclosure also provides an apparatus for configuring a cross-device aggregation link, which is applied to a network device, as shown in fig. 2, and includes: a receiving module 21, configured to receive the multicast group rule according to the multicast group rule sent by the management device, and configure the multicast group rule; the management device is used for generating a multicast group rule according to the multicast service and configuring the multicast group rule for at least one network device in the cross-device aggregation link; a configuration module 22, configured to configure the multicast group rule for a network device in the cross-device aggregation link that is not configured with the multicast group rule; a forwarding module 23, configured to forward the packet according to the multicast group rule; the multicast group rule includes an address range and a device number associated with the address range.
In one embodiment, the configuring the multicast group rule for a network device in a cross device aggregated link that is not configured with the multicast group rule includes: after a local multicast group rule is configured, sending configuration information to enable network equipment which is not configured with the multicast group rule in the cross-equipment aggregation link to configure the multicast group rule; and/or sending configuration information to enable the new network device to configure the multicast group rule when the new network device is added into the cross-device aggregation link.
In an embodiment, the forwarding the packet according to the multicast group rule includes: if the address ranges associated with the two multicast group rules associated with different equipment numbers are overlapped, the message is forwarded according to the depth priority rule.
In one embodiment, after configuring the multicast group rule for a network device in the cross-device aggregated link that is not configured with the multicast group rule, the method includes: receiving a multicast re-optimization command sent by a management device; performing local re-optimization according to the multicast re-optimization command and notifying other network devices in the cross-device aggregation link to perform the multicast re-optimization command; after the preset delay, the result of executing the multicast re-optimization command is issued simultaneously with other network equipment in the cross-equipment aggregation link.
The device embodiments are the same or similar to the corresponding method embodiments and are not described herein again.
In one embodiment, the present disclosure provides an electronic device, including a processor and a machine-readable storage medium, where the machine-readable storage medium stores machine-executable instructions executable by the processor, and the processor executes the machine-executable instructions to implement the foregoing cross-device aggregation link configuration method, and from a hardware level, a schematic diagram of a hardware architecture may be shown in fig. 3.
In one embodiment, the present disclosure provides a machine-readable storage medium having stored thereon machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the aforementioned cross device aggregated link configuration method.
Here, a machine-readable storage medium may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and so forth. For example, the machine-readable storage medium may be: a RAM (random Access Memory), a volatile Memory, a non-volatile Memory, a flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, a dvd, etc.), or similar storage medium, or a combination thereof.
The systems, devices, modules or units described in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the various elements may be implemented in the same one or more pieces of software and/or hardware in practicing the disclosure.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Furthermore, these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (which may include, but is not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only an embodiment of the present disclosure, and is not intended to limit the present disclosure. Various modifications and variations of this disclosure will occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure should be included in the scope of the claims of the present disclosure.

Claims (10)

1. A cross-device aggregation link configuration method is applied to a network device, and comprises the following steps:
receiving a multicast group rule sent by a management device, and configuring the multicast group rule;
the management device is used for generating a multicast group rule according to the multicast service and configuring the multicast group rule for at least one network device in the cross-device aggregation link;
the network equipment configures the multicast group rule for the network equipment which is not configured with the multicast group rule in the cross-equipment aggregation link;
forwarding the message according to the multicast group rule;
the multicast group rule includes an address range of the multicast group and a network device number associated with the address range.
2. The method of claim 1, wherein configuring the multicast group rule for network devices in the cross-device aggregated link that are not configured with the multicast group rule comprises:
after a local multicast group rule is configured, sending configuration information to enable network equipment which is not configured with the multicast group rule in the cross-equipment aggregation link to configure the multicast group rule;
and/or sending configuration information to enable the new network device to configure the multicast group rule when the new network device is added into the cross-device aggregation link.
3. The method of claim 1, wherein forwarding the packet according to the multicast group rule comprises:
if the address ranges associated with the two multicast group rules associated with different equipment numbers are overlapped, forwarding the message according to the depth priority rule;
the depth priority rule comprises that the address ranges of the multicast groups are compared firstly, the multicast group rule with the smaller range is preferred, if the address ranges of the multicast groups are the same, the multicast group rule with the smaller number of the network equipment is preferred, and if the address ranges of the multicast groups are not the same, the sharing is carried out according to the odd-even rule of the addresses of the multicast groups.
4. The method of claim 1, wherein configuring the multicast group rule for network devices in the cross device aggregate link that are not configured with the multicast group rule comprises:
receiving a multicast re-optimization command sent by a management device;
performing local re-optimization according to the multicast re-optimization command and notifying other network devices in the cross-device aggregation link to perform the multicast re-optimization command;
after the preset delay, the result of executing the multicast re-optimization command is issued simultaneously with other network equipment in the cross-equipment aggregation link.
5. An apparatus for cross-device aggregation link configuration, applied to a network device, the apparatus comprising:
the receiving module is used for receiving the multicast group rule sent by the management equipment and configuring the multicast group rule;
the management device is used for generating a multicast group rule according to the multicast service and configuring the multicast group rule for at least one network device in the cross-device aggregation link;
a configuration module, configured to enable a network device to configure the multicast group rule for a network device not configured with the multicast group rule in a cross-device aggregation link;
the forwarding module is used for forwarding the message according to the multicast group rule;
the multicast group rule includes an address range of the multicast group and a network device number associated with the address range.
6. The apparatus of claim 5, wherein the configuring the multicast group rule for the network device in the cross device aggregated link that is not configured with the multicast group rule comprises:
after a local multicast group rule is configured, sending configuration information to enable network equipment which is not configured with the multicast group rule in the cross-equipment aggregation link to configure the multicast group rule;
and/or sending configuration information to enable the new network device to configure the multicast group rule when the new network device is added into the cross-device aggregation link.
7. The apparatus of claim 5, wherein forwarding the packet according to the multicast group rule comprises:
if the address ranges associated with the two multicast group rules associated with different equipment numbers are overlapped, forwarding the message according to the depth priority rule;
the depth priority rule comprises that the address ranges of the multicast groups are compared firstly, the multicast group rule with the smaller range is preferred, if the address ranges of the multicast groups are the same, the multicast group rule with the smaller number of the network equipment is preferred, and if the address ranges of the multicast groups are not the same, the sharing is carried out according to the odd-even rule of the addresses of the multicast groups.
8. The apparatus of claim 5, wherein the configuring the multicast group rule for the network device in the cross device aggregated link that is not configured with the multicast group rule comprises:
receiving a multicast re-optimization command sent by a management device;
performing local re-optimization according to the multicast re-optimization command and notifying other network devices in the cross-device aggregation link to perform the multicast re-optimization command;
after the preset delay, the result of executing the multicast re-optimization command is issued simultaneously with other network equipment in the cross-equipment aggregation link.
9. An electronic device, comprising: a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor to perform the method of any one of claims 1 to 4.
10. A machine-readable storage medium having stored thereon machine-executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of any of claims 1-4.
CN202110132663.9A 2021-01-31 2021-01-31 Cross-device aggregation link configuration method, device, equipment and readable storage medium Active CN112968836B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110132663.9A CN112968836B (en) 2021-01-31 2021-01-31 Cross-device aggregation link configuration method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110132663.9A CN112968836B (en) 2021-01-31 2021-01-31 Cross-device aggregation link configuration method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN112968836A CN112968836A (en) 2021-06-15
CN112968836B true CN112968836B (en) 2022-05-27

Family

ID=76272319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110132663.9A Active CN112968836B (en) 2021-01-31 2021-01-31 Cross-device aggregation link configuration method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112968836B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115604175A (en) * 2021-07-07 2023-01-13 中兴通讯股份有限公司(Cn) Load processing method, gateway device and system for cross-device link aggregation
CN113938446B (en) * 2021-09-23 2024-05-14 浪潮思科网络科技有限公司 Multicast table item synchronization method and device based on MLAG environment
CN114172690B (en) * 2021-11-11 2023-12-26 新华三大数据技术有限公司 Terminal authentication method and device
CN114465955B (en) * 2022-01-06 2023-09-15 新华三技术有限公司 Multicast message processing method and device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1804423A2 (en) * 2005-12-29 2007-07-04 Alcatel Lucent Method for rapidly recovering multicast service and network device
CN101651609A (en) * 2008-08-14 2010-02-17 华为技术有限公司 Method and device for realizing multicast load sharing
CN102201999A (en) * 2011-06-13 2011-09-28 中兴通讯股份有限公司 Multicast service load sharing method and system
CN103780407A (en) * 2012-10-18 2014-05-07 中兴通讯股份有限公司 Gateway dynamic switching method and apparatus in distributed resilient network interconnection (DRNI)
CN103780510A (en) * 2012-10-19 2014-05-07 中兴通讯股份有限公司 Flow path negotiation method and device in link aggregation group
CN103873373A (en) * 2012-12-11 2014-06-18 杭州华三通信技术有限公司 Multicast data message forwarding method and equipment
CN108259635A (en) * 2017-09-29 2018-07-06 新华三技术有限公司 A kind of ARP entry learning method and DR equipment
CN110324244A (en) * 2018-03-28 2019-10-11 北京华为数字技术有限公司 A kind of method for routing and server based on Linux virtual server
CN110651451A (en) * 2017-05-24 2020-01-03 瑞典爱立信有限公司 Routing table selection in policy-based routing systems
CN111491346A (en) * 2020-05-13 2020-08-04 腾讯科技(深圳)有限公司 Multicast communication method, device, computer readable medium and electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1804423A2 (en) * 2005-12-29 2007-07-04 Alcatel Lucent Method for rapidly recovering multicast service and network device
CN101651609A (en) * 2008-08-14 2010-02-17 华为技术有限公司 Method and device for realizing multicast load sharing
CN102201999A (en) * 2011-06-13 2011-09-28 中兴通讯股份有限公司 Multicast service load sharing method and system
CN103780407A (en) * 2012-10-18 2014-05-07 中兴通讯股份有限公司 Gateway dynamic switching method and apparatus in distributed resilient network interconnection (DRNI)
CN103780510A (en) * 2012-10-19 2014-05-07 中兴通讯股份有限公司 Flow path negotiation method and device in link aggregation group
CN103873373A (en) * 2012-12-11 2014-06-18 杭州华三通信技术有限公司 Multicast data message forwarding method and equipment
CN110651451A (en) * 2017-05-24 2020-01-03 瑞典爱立信有限公司 Routing table selection in policy-based routing systems
CN108259635A (en) * 2017-09-29 2018-07-06 新华三技术有限公司 A kind of ARP entry learning method and DR equipment
CN110324244A (en) * 2018-03-28 2019-10-11 北京华为数字技术有限公司 A kind of method for routing and server based on Linux virtual server
CN111491346A (en) * 2020-05-13 2020-08-04 腾讯科技(深圳)有限公司 Multicast communication method, device, computer readable medium and electronic equipment

Also Published As

Publication number Publication date
CN112968836A (en) 2021-06-15

Similar Documents

Publication Publication Date Title
CN112968836B (en) Cross-device aggregation link configuration method, device, equipment and readable storage medium
US8014394B2 (en) High-speed processing of multicast content requests
KR100680888B1 (en) Virtual multicast routing for a cluster having state synchronization
CN100417141C (en) Group broadcasting business realizing method
JP6173833B2 (en) Network relay system and switch device
WO2008134292A1 (en) Multicast fast reroute
US10015098B2 (en) Systems and methods to create highly scalable network services
EP3932008B1 (en) Redundant multicast trees without duplication and with fast recovery
JP2013066180A (en) Multicast packet transmission method, related device and system
US8514696B2 (en) Multicast tree state replication
WO2017197983A1 (en) Traffic processing method and system, storage medium, switch
WO2018219103A1 (en) Method and device for determining link state
US8553691B2 (en) Efficient multicasting in a distributed system architecture
CN102238069A (en) Data processing method and device for link switching process
US10742431B2 (en) Centralized database based multicast converging
US20170048081A1 (en) Multi-ring reliable messaging system
CN109150711B (en) Protection switching method, device and storage medium for point-to-multipoint two-layer multicast service
CN104702498A (en) Method and device for reducing the number of optical connections through coordination protection
CN101635671A (en) Method, system and equipment for accelerating multicast convergence
CN106533771B (en) Network equipment and control information transmission method
CN102647424B (en) Data transmission method and data transmission device
CN109218187B (en) Method and device for updating two-layer multicast forwarding table
US10389647B2 (en) Controller coordination system
CN102769540B (en) A kind of overall label management method and equipment
CN103634219A (en) Maintaining method and device for Anycast-RP (rendezvous point)

Legal Events

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