[go: up one dir, main page]

US20130003527A1 - Method, access layer device, and system for implementing multicast in ring network architecture - Google Patents

Method, access layer device, and system for implementing multicast in ring network architecture Download PDF

Info

Publication number
US20130003527A1
US20130003527A1 US13/608,898 US201213608898A US2013003527A1 US 20130003527 A1 US20130003527 A1 US 20130003527A1 US 201213608898 A US201213608898 A US 201213608898A US 2013003527 A1 US2013003527 A1 US 2013003527A1
Authority
US
United States
Prior art keywords
layer device
access layer
aggregation
access
link
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.)
Abandoned
Application number
US13/608,898
Inventor
Yueping Huang
Zengning Mo
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Assigned to HUAWEI TECHNOLOGIES CO., LTD. reassignment HUAWEI TECHNOLOGIES CO., LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: HUANG, YUEPING, MO, ZENGNING
Publication of US20130003527A1 publication Critical patent/US20130003527A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1863Arrangements for providing special services to substations for broadcast or conference, e.g. multicast comprising mechanisms for improved reliability, e.g. status reports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone

Definitions

  • the present invention relates to the field of network technologies, and in particular, to a method, an access layer device, and a system for implementing multicast in a ring network architecture.
  • a ring network architecture is generally formed between an access layer and an aggregation layer, and layer-2 packets from the access network are transmitted between aggregation layer devices transparently. Consequently, a broadcast storm of broadcast packets tends to occur in the ring network.
  • the broadcast storm occupies line bandwidth, and causes Media Access Control (MAC) address flapping.
  • MAC Media Access Control
  • the requirement for solving the problems such as the broadcast storm caused by the ring network gives rise to the Spanning Tree Protocol (STP).
  • STP Spanning Tree Protocol
  • the basic concept of the STP is to block certain ports through an STP algorithm so as to simplify the ring network into a tree and protect links at the same time.
  • the Multiple Spanning Tree Protocol (MSTP) can simplify the network topology into multiple trees and let different services travel different paths, which achieves the effect of load sharing.
  • the application of the multicast service needs to ensure that multicast group members can join anew topology in time when the network topology changes, and ensure that the multicast service is not interrupted.
  • the multicast application can be implemented properly in the ring network architecture. Specifically, a group member Join/Leave packet is sent to a Root Port (RP) generated by the MSTP, and new multicast distribution path information is generated according to the change of the RP when the network topology changes.
  • RP Root Port
  • the prior art uses the Rapid Spanning Tree Protocol (RSTP) to detect the change of the network topology, and configures an RP binding mode as the program forwarding mode, namely, sends Internet Group Management Protocol (IGMP) packets from the RP.
  • RSTP Rapid Spanning Tree Protocol
  • IGMP Internet Group Management Protocol
  • Multicast data streams are injected from the RP downward, and multicast data is replicated in a Digital Subscriber Line Access Multiplexer (DSLAM).
  • DSLAM Digital Subscriber Line Access Multiplexer
  • the entire multicast service is interrupted when a link fault occurs on the uplink port of the access layer device connected to the aggregation layer device and the access layer device is a root bridge.
  • Embodiments of the present invention provide a method, an access layer device, and a system for implementing multicast in a ring network architecture to ensure that multicast services can be carried out normally.
  • an embodiment of the present invention provides a method for implementing multicast in a ring network architecture.
  • the ring network architecture includes a first aggregation layer device, a second aggregation layer device, a first access layer device connected to the first aggregation layer device, and a second access layer device connected to the second aggregation layer device.
  • the first aggregation layer device is connected to the second aggregation layer device, and the first access layer device is connected to the second access layer device.
  • the method includes: setting the first access layer device and the second access layer device as root bridges; and reducing a bridge priority of the first access layer device when a fault occurs on a link between the first aggregation layer device and the first access layer device, calculating an RP of the first access layer device through the STP, and sending a multicast Join packet through the RP.
  • an embodiment of the present invention provides an access layer device.
  • One side of the access layer device is connected to an aggregation layer device, and the other side is connected to another access layer device.
  • the access layer device includes: a link detection unit, configured to detect a connection state of a link between the access layer device and the aggregation layer device; a spanning tree unit, configured to reduce a bridge priority of the access layer device when the link detection unit detects a fault on the link, and use the STP to calculate an RP of the access layer device; and a multicast unit, configured to send a multicast Join request packet through the RP.
  • an embodiment of the present invention provides a system for implementing multicast in a ring network architecture.
  • the ring network architecture includes a first aggregation layer device, a second aggregation layer device, a first access layer device connected to the first aggregation layer device, and a second access layer device connected to the second aggregation layer device.
  • the first aggregation layer device is connected to the second aggregation layer device, and the first access layer device is connected to the second access layer device.
  • the first access layer device and the second access layer device are root bridges.
  • the first access layer device is configured to reduce its own bridge priority when a fault occurs on a link between the first access layer device and the first aggregation layer device, calculate its own RP through the STP, and send a multicast Join packet through the RP.
  • the foregoing technical solutions bring the following benefits:
  • the first access layer device and the second access layer device are set as root bridges, the bridge priority of the first access layer device is reduced when a fault occurs on a link between the first aggregation layer device and the first access layer device, the RP of the first access layer device is calculated through the STP, and a multicast Join packet is sent through the RP. Therefore, when a link fault occurs on the uplink port (UP) of the access layer device connected to the aggregation layer device and the access layer device is a root bridge, the entire multicast service goes on normally without interruption.
  • UP uplink port
  • FIG. 1 is a schematic diagram of a network structure for implementing multicast in a ring network architecture
  • FIG. 2 is a schematic diagram of a network structure for implementing multicast in a ring network architecture according to an embodiment of the present invention
  • FIG. 3 is a flow chart of a method for implementing multicast in a ring network architecture according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a temporary steady state of a ring network architecture for implementing multicast according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an access layer device according to an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of a network structure for implementing multicast in a ring network architecture.
  • the ring network architecture includes a first aggregation layer device 10 , a second aggregation layer device 12 , an access layer device 100 (first access layer device) connected to the first aggregation layer device 10 , and an access layer device 106 (second access layer device) connected to the second aggregation layer device 12 .
  • the first aggregation layer device 10 is connected to the second aggregation layer device 12
  • the access layer device 100 is connected to the access layer device 106 (the access layer device 100 may be connected to the access layer device 106 directly or through another access layer device, for example, through an access layer device 102 or an access layer device 104 shown in FIG. 1 ).
  • Ports 1 , 3 , and 6 are Designated Ports (DPs), ports 2 , 5 , and 8 are RPs, port 4 is a Blocked (BLK) Port, and ports 7 and 8 are UPs.
  • the prior art uses the RSTP to detect the change of the network topology, and configures the uplink forwarding mode of multicast control packets (such as IGMP packets) of the access layer device 100 and the access layer device 106 as an RP binding mode, that is, set that the IGMP packets are sent from the RP. Multicast data streams are sent to the RP through the DP.
  • multicast control packets such as IGMP packets
  • the RSTP When a fault occurs on the link between the access layer device 102 and the access layer device 104 , the RSTP performs recalculation to generate a new topology, and calculates a new RP (port 4 ).
  • the access layer device 104 sends an IGMP Join packet through the new RP (port 4 ), and the multicast data streams are injected from the access layer device 102 into the access layer device 104 .
  • the solution in the prior art can solve the problem caused by the fault between the access layer devices, but cannot solve the problem caused by the fault between the access layer device and the aggregation layer device. For example, when the access layer device 100 is a root bridge (namely, a device of the highest bridge priority), after an uplink fault on the access layer device 100 , the entire multicast service is interrupted.
  • FIG. 2 is a schematic diagram of a network structure for implementing multicast in a ring network architecture according to an embodiment of the present invention.
  • All access layer devices ( 100 to 106 ) run the RSTP/MSTP.
  • the uplink forwarding mode of multicast control packets of the access layer device 100 and the access layer device 106 is set as an RP binding mode. Therefore, through this setting, the IGMP packet of the access layer device is sent from the RP, and the access layer device that fails to obtain the RP (such as the access layer device 100 ) sends the IGMP packet from the configured UP.
  • two access layer devices connected to the aggregation layer device are set as root bridges. In FIG.
  • FIG. 3 is a flow chart of a method for implementing multicast in a ring network architecture according to an embodiment of the present invention. The method includes:
  • Step 301 Set the access layer device 100 and the access layer device 106 as root bridges.
  • the method for setting the access layer device 100 and the access layer device 106 as root bridges may be: setting the bridge priority of the access layer device 100 to be equal to the bridge priority of the access layer device 106 and higher than the bridge priorities of other access layer devices.
  • the bridge priority of the access layer device 100 and the bridge priority of the access layer device 106 are set to 0, and the bridge priorities of other access layer devices ( 102 and 104 ) are set to 32768.
  • the port for connecting the access layer device 100 and the first aggregation layer 10 is set as an UP
  • the port for connecting the access layer device 106 and the second aggregation layer device 12 is set as an UP.
  • the distribution of the multicast data stream is shown in FIG. 2 .
  • One path is: the first aggregation layer device 10 —the access layer device 100 —the access layer device 102 ; and the other path is: the second aggregation layer device 12 —the access layer device 106 —the access layer device 104 .
  • the types of the aggregation layer device may include a router, and the types of the access layer device may include a DSLAM.
  • This embodiment of the present invention is not limited thereto.
  • Step 302 Reduce the bridge priority of the access layer device 100 when a fault occurs on the link between the first aggregation layer device 10 and the access layer device 100 , calculate the RP of the access layer device 100 through the STP, and send a multicast Join packet through the RP.
  • the bridge priority of the access layer device 100 is reduced, for example, the bridge priority of the access layer device 100 is adjusted to 4096 or 32768, or a value smaller than 32768. It should be noted that the value of the bridge priority in the present invention is not limited to the specific implementation examples of the bridge priority.
  • the access layer device 100 After the bridge priority of the access layer device 100 is adjusted, the access layer device 100 recalculates the RP of the access layer device 100 through the STP. Because the bridge priority is reduced, the original DP may be changed into an RP such as port 1 . When the access layer device 100 is a root bridge, port 1 is the RP of the access layer device 102 . After the bridge priority of the access layer device 100 is reduced, port 1 may be changed into an RP after the recalculation through the STP.
  • the multicast Join packet may include an IGMP Join packet.
  • the method may further include: sending an STP packet through the RP (port 1 ).
  • the bridge priority of the STP packet sent by the access layer device 100 changes accordingly.
  • the access layer device 102 receives the STP packet from the access layer device 100
  • a new RP is calculated through the STP algorithm
  • port 3 is changed from a DP to an RP
  • port 2 is changed from an RP to a DP.
  • the port adjustment process is a process in which the STP reselects the RP according to the STP packet, and is covered in the STP standard.
  • FIG. 4 is a schematic diagram of a temporary steady state of a ring network architecture for implementing multicast according to an embodiment of the present invention.
  • the DPs of the access layer device 100 and the access layer device 102 are switched to RPs.
  • the access layer device 102 sends an IGMP Leave packet through the old RP (port 2 ), and sends an IGMP Join packet through a new RP (port 3 ), respectively, thereby refreshing the multicast distribution path information.
  • FIG. 4 shows the distribution of multicast data streams in a temporary steady state.
  • the path for distributing the multicast data streams is: the second aggregation layer device 12 —the access layer device 106 —the access layer device 104 —the access layer device 102 —the access layer device 100 .
  • the bridge priority of the access layer device 100 is modified so that the access layer device 100 becomes a root bridge. For example, the bridge priority of the access layer device 100 is reset to 0, and the network topology is recovered to the topology shown in FIG. 2 .
  • the method embodiment of the present invention can adjust the bridge priority of the access layer device automatically according to the state of the link between the access layer device and the aggregation layer device, recalculate the RP of the access layer device through the STP, and send a multicast Join packet through the RP to generate a new multicast distribution path. Therefore, when a link fault occurs on the uplink port of the access layer device connected to the aggregation layer device and the access layer device is a root bridge, the entire multicast service goes on normally without interruption.
  • FIG. 5 is a schematic structural diagram of an access layer device according to an embodiment of the present invention.
  • One side of the access layer device is connected to an aggregation layer device, and the other side is connected to another access layer device.
  • the access layer device includes:
  • a link detection unit 501 configured to detect a connection state of a link between the access layer device and the aggregation layer device;
  • a spanning tree unit 502 configured to reduce a bridge priority of the access layer device when the link detection unit 501 detects a fault on the link, and use the STP to calculate an RP of the access layer device;
  • a multicast unit 503 configured to send a multicast Join request packet through the RP.
  • the multicast unit 503 is further configured to send an STP packet through the RP.
  • an embodiment of the present invention further provides a system for implementing multicast in a ring network architecture.
  • the ring network architecture includes a first aggregation layer device, a second aggregation layer device, a first access layer device connected to the first aggregation layer device, and a second access layer device connected to the second aggregation layer device.
  • the first aggregation layer device is connected to the second aggregation layer device, and the first access layer device is connected to the second access layer device.
  • the uplink forwarding mode of multicast control packets of the first access layer device and the second access layer device is an RP binding mode, and the first access layer device and the second access layer device are root bridges.
  • the first access layer device is configured to reduce its own bridge priority when a fault occurs on a link between the first access layer device and the first aggregation layer device, calculate its own RP through the STP, and send a multicast Join packet through the RP.
  • the other access layer devices may include a third access layer device.
  • the third access layer device is configured to receive an STP packet from the first access layer device, calculate the RP of the third access layer device according to the STP packet, and refresh the multicast distribution path.
  • the first access layer device is further configured to modify the bridge priority of the first access layer device so that the first access layer device becomes a root bridge when the link between the first access layer device and the first aggregation layer device is recovered.
  • the types of the aggregation layer device may include a router, and the types of the access layer device may include a DSLAM. This embodiment of the present invention is not limited thereto.
  • the apparatus embodiment of the present invention can adjust the bridge priority of the access layer device automatically according to the state of the link between the access layer device and the aggregation layer device, recalculate the RP of the access layer device through the STP, and send a multicast Join packet through the RP to generate a new multicast distribution path. Therefore, when a link fault occurs on the uplink port of the access layer device connected to the aggregation layer device and the access layer device is a root bridge, the entire multicast service goes on normally without interruption.

Landscapes

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

Abstract

The present invention provides a method for implementing multicast in a ring network architecture. The ring network architecture includes a first aggregation layer device, a second aggregation layer device, a first access layer device connected to the first aggregation layer device, and a second access layer device connected to the second aggregation layer device. The first aggregation layer device is connected to the second aggregation layer device; the first access layer device is connected to the second access layer device. The method includes: setting the first access layer device and the second access layer device as root bridges; reducing a bridge priority of the first access layer device when a fault occurs on a link between the first aggregation layer device and the first access layer device, calculating a root port RP of the first access layer device through the STP, and sending a multicast Join packet through the RP.

Description

    CROSS-REFERENCE TO RELATED APPLICATIONS
  • This application is a continuation of International Application No. PCT/CN2010/079369, filed on Dec. 2, 2010, which claims priority to Chinese Patent Application No. 201010134543.4, filed on Mar. 10, 2010, both of which are hereby incorporated by reference in their entireties.
  • TECHNICAL FIELD
  • The present invention relates to the field of network technologies, and in particular, to a method, an access layer device, and a system for implementing multicast in a ring network architecture.
  • BACKGROUND
  • To ensure stability of the entire network, a ring network architecture is generally formed between an access layer and an aggregation layer, and layer-2 packets from the access network are transmitted between aggregation layer devices transparently. Consequently, a broadcast storm of broadcast packets tends to occur in the ring network. The broadcast storm occupies line bandwidth, and causes Media Access Control (MAC) address flapping. The requirement for solving the problems such as the broadcast storm caused by the ring network gives rise to the Spanning Tree Protocol (STP). The basic concept of the STP is to block certain ports through an STP algorithm so as to simplify the ring network into a tree and protect links at the same time. The Multiple Spanning Tree Protocol (MSTP) can simplify the network topology into multiple trees and let different services travel different paths, which achieves the effect of load sharing.
  • In the networking of a ring network architecture, the application of the multicast service needs to ensure that multicast group members can join anew topology in time when the network topology changes, and ensure that the multicast service is not interrupted. When the multicast service is based on the MSTP, the multicast application can be implemented properly in the ring network architecture. Specifically, a group member Join/Leave packet is sent to a Root Port (RP) generated by the MSTP, and new multicast distribution path information is generated according to the change of the RP when the network topology changes.
  • The prior art uses the Rapid Spanning Tree Protocol (RSTP) to detect the change of the network topology, and configures an RP binding mode as the program forwarding mode, namely, sends Internet Group Management Protocol (IGMP) packets from the RP. Multicast data streams are injected from the RP downward, and multicast data is replicated in a Digital Subscriber Line Access Multiplexer (DSLAM).
  • In the prior art, however, the entire multicast service is interrupted when a link fault occurs on the uplink port of the access layer device connected to the aggregation layer device and the access layer device is a root bridge.
  • SUMMARY
  • Embodiments of the present invention provide a method, an access layer device, and a system for implementing multicast in a ring network architecture to ensure that multicast services can be carried out normally.
  • In one aspect, an embodiment of the present invention provides a method for implementing multicast in a ring network architecture. The ring network architecture includes a first aggregation layer device, a second aggregation layer device, a first access layer device connected to the first aggregation layer device, and a second access layer device connected to the second aggregation layer device. The first aggregation layer device is connected to the second aggregation layer device, and the first access layer device is connected to the second access layer device. The method includes: setting the first access layer device and the second access layer device as root bridges; and reducing a bridge priority of the first access layer device when a fault occurs on a link between the first aggregation layer device and the first access layer device, calculating an RP of the first access layer device through the STP, and sending a multicast Join packet through the RP.
  • In another aspect, an embodiment of the present invention provides an access layer device. One side of the access layer device is connected to an aggregation layer device, and the other side is connected to another access layer device. The access layer device includes: a link detection unit, configured to detect a connection state of a link between the access layer device and the aggregation layer device; a spanning tree unit, configured to reduce a bridge priority of the access layer device when the link detection unit detects a fault on the link, and use the STP to calculate an RP of the access layer device; and a multicast unit, configured to send a multicast Join request packet through the RP.
  • In still another aspect, an embodiment of the present invention provides a system for implementing multicast in a ring network architecture. The ring network architecture includes a first aggregation layer device, a second aggregation layer device, a first access layer device connected to the first aggregation layer device, and a second access layer device connected to the second aggregation layer device. The first aggregation layer device is connected to the second aggregation layer device, and the first access layer device is connected to the second access layer device. The first access layer device and the second access layer device are root bridges. The first access layer device is configured to reduce its own bridge priority when a fault occurs on a link between the first access layer device and the first aggregation layer device, calculate its own RP through the STP, and send a multicast Join packet through the RP.
  • The foregoing technical solutions bring the following benefits: The first access layer device and the second access layer device are set as root bridges, the bridge priority of the first access layer device is reduced when a fault occurs on a link between the first aggregation layer device and the first access layer device, the RP of the first access layer device is calculated through the STP, and a multicast Join packet is sent through the RP. Therefore, when a link fault occurs on the uplink port (UP) of the access layer device connected to the aggregation layer device and the access layer device is a root bridge, the entire multicast service goes on normally without interruption.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • To make the technical solutions of the embodiments of the present invention or the prior art clearer, the accompanying drawings used in the description of the embodiments or the prior art are briefly described hereunder. Evidently, the accompanying drawings illustrate some exemplary embodiments of the present invention and persons of ordinary skill in the art may obtain other drawings based on these drawings without creative efforts.
  • FIG. 1 is a schematic diagram of a network structure for implementing multicast in a ring network architecture;
  • FIG. 2 is a schematic diagram of a network structure for implementing multicast in a ring network architecture according to an embodiment of the present invention;
  • FIG. 3 is a flow chart of a method for implementing multicast in a ring network architecture according to an embodiment of the present invention;
  • FIG. 4 is a schematic diagram of a temporary steady state of a ring network architecture for implementing multicast according to an embodiment of the present invention; and
  • FIG. 5 is a schematic structural diagram of an access layer device according to an embodiment of the present invention.
  • DETAILED DESCRIPTION
  • The technical solutions in the embodiments of the present invention are hereinafter described clearly and completely with reference to the accompanying drawings. Apparently, the described embodiments are only some exemplary embodiments of the present invention, rather than all the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making any creative effort shall fall within the protection scope of the present invention.
  • FIG. 1 is a schematic diagram of a network structure for implementing multicast in a ring network architecture. The ring network architecture includes a first aggregation layer device 10, a second aggregation layer device 12, an access layer device 100 (first access layer device) connected to the first aggregation layer device 10, and an access layer device 106 (second access layer device) connected to the second aggregation layer device 12. The first aggregation layer device 10 is connected to the second aggregation layer device 12, and the access layer device 100 is connected to the access layer device 106 (the access layer device 100 may be connected to the access layer device 106 directly or through another access layer device, for example, through an access layer device 102 or an access layer device 104 shown in FIG. 1). Ports 1, 3, and 6 are Designated Ports (DPs), ports 2, 5, and 8 are RPs, port 4 is a Blocked (BLK) Port, and ports 7 and 8 are UPs. The prior art uses the RSTP to detect the change of the network topology, and configures the uplink forwarding mode of multicast control packets (such as IGMP packets) of the access layer device 100 and the access layer device 106 as an RP binding mode, that is, set that the IGMP packets are sent from the RP. Multicast data streams are sent to the RP through the DP. When a fault occurs on the link between the access layer device 102 and the access layer device 104, the RSTP performs recalculation to generate a new topology, and calculates a new RP (port 4). The access layer device 104 sends an IGMP Join packet through the new RP (port 4), and the multicast data streams are injected from the access layer device 102 into the access layer device 104. The solution in the prior art can solve the problem caused by the fault between the access layer devices, but cannot solve the problem caused by the fault between the access layer device and the aggregation layer device. For example, when the access layer device 100 is a root bridge (namely, a device of the highest bridge priority), after an uplink fault on the access layer device 100, the entire multicast service is interrupted.
  • FIG. 2 is a schematic diagram of a network structure for implementing multicast in a ring network architecture according to an embodiment of the present invention. All access layer devices (100 to 106) run the RSTP/MSTP. First, the uplink forwarding mode of multicast control packets of the access layer device 100 and the access layer device 106 is set as an RP binding mode. Therefore, through this setting, the IGMP packet of the access layer device is sent from the RP, and the access layer device that fails to obtain the RP (such as the access layer device 100) sends the IGMP packet from the configured UP. In the architecture in this embodiment of the present invention, two access layer devices connected to the aggregation layer device are set as root bridges. In FIG. 2, the root bridges are the access layer device 100 and the access layer device 106. In this way, when a fault occurs on the link between an access layer device and an aggregation layer device, the other root bridge can continue working. The method provided in an embodiment of the present invention is hereinafter described in detail. FIG. 3 is a flow chart of a method for implementing multicast in a ring network architecture according to an embodiment of the present invention. The method includes:
  • Step 301: Set the access layer device 100 and the access layer device 106 as root bridges.
  • The method for setting the access layer device 100 and the access layer device 106 as root bridges may be: setting the bridge priority of the access layer device 100 to be equal to the bridge priority of the access layer device 106 and higher than the bridge priorities of other access layer devices. For example, the bridge priority of the access layer device 100 and the bridge priority of the access layer device 106 are set to 0, and the bridge priorities of other access layer devices (102 and 104) are set to 32768. The port for connecting the access layer device 100 and the first aggregation layer 10 is set as an UP, and the port for connecting the access layer device 106 and the second aggregation layer device 12 is set as an UP. The distribution of the multicast data stream is shown in FIG. 2. One path is: the first aggregation layer device 10—the access layer device 100—the access layer device 102; and the other path is: the second aggregation layer device 12—the access layer device 106—the access layer device 104.
  • Optionally, the types of the aggregation layer device may include a router, and the types of the access layer device may include a DSLAM. This embodiment of the present invention is not limited thereto.
  • Step 302: Reduce the bridge priority of the access layer device 100 when a fault occurs on the link between the first aggregation layer device 10 and the access layer device 100, calculate the RP of the access layer device 100 through the STP, and send a multicast Join packet through the RP.
  • When a fault occurs on the link between the first aggregation layer device 10 and the access layer device 100, the bridge priority of the access layer device 100 is reduced, for example, the bridge priority of the access layer device 100 is adjusted to 4096 or 32768, or a value smaller than 32768. It should be noted that the value of the bridge priority in the present invention is not limited to the specific implementation examples of the bridge priority.
  • After the bridge priority of the access layer device 100 is adjusted, the access layer device 100 recalculates the RP of the access layer device 100 through the STP. Because the bridge priority is reduced, the original DP may be changed into an RP such as port 1. When the access layer device 100 is a root bridge, port 1 is the RP of the access layer device 102. After the bridge priority of the access layer device 100 is reduced, port 1 may be changed into an RP after the recalculation through the STP.
  • Optionally, the multicast Join packet may include an IGMP Join packet. After the RP of the access layer device 100 is calculated through the STP, the method may further include: sending an STP packet through the RP (port 1). Corresponding to FIG. 2, the bridge priority of the STP packet sent by the access layer device 100 changes accordingly. After the access layer device 102 receives the STP packet from the access layer device 100, a new RP is calculated through the STP algorithm, port 3 is changed from a DP to an RP, and port 2 is changed from an RP to a DP. The port adjustment process is a process in which the STP reselects the RP according to the STP packet, and is covered in the STP standard. In the process in which the network topology gets steady, a temporary steady state exists until port 8 of the access layer device 106 detects timeout of the STP packet (in the temporary steady state, the RSTP/MSTP module is required to parse the STP packet correctly, namely, determines a DP whose root bridge is the current bridge and whose bridge priority is different from that of the current bridge, and this state is to ensure fast switching of the service without waiting until timeout). The temporary steady state is kept before port 8 of the access layer device 106 detects timeout of the STP. FIG. 4 is a schematic diagram of a temporary steady state of a ring network architecture for implementing multicast according to an embodiment of the present invention. The DPs of the access layer device 100 and the access layer device 102 are switched to RPs. In this case, for example, the access layer device 102 sends an IGMP Leave packet through the old RP (port 2), and sends an IGMP Join packet through a new RP (port 3), respectively, thereby refreshing the multicast distribution path information. FIG. 4 shows the distribution of multicast data streams in a temporary steady state. The path for distributing the multicast data streams is: the second aggregation layer device 12—the access layer device 106—the access layer device 104—the access layer device 102—the access layer device 100. When the link between the access layer device 100 and the first aggregation layer device is recovered, the bridge priority of the access layer device 100 is modified so that the access layer device 100 becomes a root bridge. For example, the bridge priority of the access layer device 100 is reset to 0, and the network topology is recovered to the topology shown in FIG. 2.
  • The method embodiment of the present invention can adjust the bridge priority of the access layer device automatically according to the state of the link between the access layer device and the aggregation layer device, recalculate the RP of the access layer device through the STP, and send a multicast Join packet through the RP to generate a new multicast distribution path. Therefore, when a link fault occurs on the uplink port of the access layer device connected to the aggregation layer device and the access layer device is a root bridge, the entire multicast service goes on normally without interruption.
  • Corresponding to the foregoing method embodiment, FIG. 5 is a schematic structural diagram of an access layer device according to an embodiment of the present invention. One side of the access layer device is connected to an aggregation layer device, and the other side is connected to another access layer device. The access layer device includes:
  • a link detection unit 501, configured to detect a connection state of a link between the access layer device and the aggregation layer device;
  • a spanning tree unit 502, configured to reduce a bridge priority of the access layer device when the link detection unit 501 detects a fault on the link, and use the STP to calculate an RP of the access layer device; and
  • a multicast unit 503, configured to send a multicast Join request packet through the RP.
  • Optionally, the multicast unit 503 is further configured to send an STP packet through the RP.
  • In addition, an embodiment of the present invention further provides a system for implementing multicast in a ring network architecture. The ring network architecture includes a first aggregation layer device, a second aggregation layer device, a first access layer device connected to the first aggregation layer device, and a second access layer device connected to the second aggregation layer device. The first aggregation layer device is connected to the second aggregation layer device, and the first access layer device is connected to the second access layer device. The uplink forwarding mode of multicast control packets of the first access layer device and the second access layer device is an RP binding mode, and the first access layer device and the second access layer device are root bridges. The first access layer device is configured to reduce its own bridge priority when a fault occurs on a link between the first access layer device and the first aggregation layer device, calculate its own RP through the STP, and send a multicast Join packet through the RP.
  • Optionally, the other access layer devices may include a third access layer device. The third access layer device is configured to receive an STP packet from the first access layer device, calculate the RP of the third access layer device according to the STP packet, and refresh the multicast distribution path. The first access layer device is further configured to modify the bridge priority of the first access layer device so that the first access layer device becomes a root bridge when the link between the first access layer device and the first aggregation layer device is recovered. The types of the aggregation layer device may include a router, and the types of the access layer device may include a DSLAM. This embodiment of the present invention is not limited thereto.
  • The apparatus embodiment of the present invention can adjust the bridge priority of the access layer device automatically according to the state of the link between the access layer device and the aggregation layer device, recalculate the RP of the access layer device through the STP, and send a multicast Join packet through the RP to generate a new multicast distribution path. Therefore, when a link fault occurs on the uplink port of the access layer device connected to the aggregation layer device and the access layer device is a root bridge, the entire multicast service goes on normally without interruption.
  • Persons of ordinary skill in the art should understand that all or part of the steps of the method specified in any embodiment above may be implemented by a program instructing relevant hardware. The program may be stored in a computer readable storage medium such as a ROM/RAM, a magnetic disk or a CD-ROM. When the program runs, the program executes all or part of the steps described above.
  • The objectives, technical solutions, and benefits of the embodiments of the present invention are described in detail above. Although the present invention is described in detail with reference to some embodiments, those embodiments are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, or improvement made to the embodiments of the present invention without departing from the spirit and principles of the present invention shall fall into the protection scope of the present invention.

Claims (14)

1. A method for implementing multicast in a ring network architecture, wherein the ring network architecture comprises a first aggregation layer device, a second aggregation layer device, a first access layer device connected to the first aggregation layer device, and a second access layer device connected to the second aggregation layer device; the first aggregation layer device is connected to the second aggregation layer device, and the first access layer device is connected to the second access layer device; and the method comprises:
setting the first access layer device and the second access layer device as root bridges; and
reducing a bridge priority of the first access layer device when a fault occurs on a link between the first aggregation layer device and the first access layer device, calculating a root port (RP) of the first access layer device through the Spanning Tree Protocol (STP), and sending a multicast Join packet through the RP.
2. The method according to claim 1, wherein the multicast Join packet comprises an Internet Group Management Protocol (IGMP) Join packet.
3. The method according to claim 1, wherein after the RP of the first access layer device is calculated through the STP, the method further comprises: sending an STP packet through the RP.
4. The method according to claim 1, further comprising:
modifying the bridge priority of the first access layer device so that the first access layer device becomes a root bridge when the link between the first access layer device and the first aggregation layer device is recovered.
5. The method according to claim 2, further comprising:
modifying the bridge priority of the first access layer device so that the first access layer device becomes a root bridge when the link between the first access layer device and the first aggregation layer device is recovered.
6. The method according to claim 3, further comprising:
modifying the bridge priority of the first access layer device so that the first access layer device becomes a root bridge when the link between the first access layer device and the first aggregation layer device is recovered.
7. The method according to claim 4, wherein the aggregation layer device comprises a router, and the access layer device comprises a digital subscriber line access multiplexer (DSLAM).
8. An access layer device, with one side connected to an aggregation layer device and the other side connected to another access layer device, wherein the access layer device comprises:
a link detection unit, configured to detect a connection state of a link between the access layer device and the aggregation layer device;
a spanning tree unit, configured to reduce a bridge priority of the access layer device when the link detection unit detects a fault on the link, and use the Spanning Tree Protocol (STP) to calculate a root port (RP) of the access layer device; and
a multicast unit, configured to send a multicast Join request packet through the RP.
9. The device according to claim 8, wherein the multicast unit is further configured to send an STP packet through the RP.
10. The device according to claim 8, wherein the access layer device is a digital subscriber line access multiplexer.
11. A system for implementing multicast in a ring network architecture, wherein the ring network architecture comprises a first aggregation layer device, a second aggregation layer device, a first access layer device connected to the first aggregation layer device, and a second access layer device connected to the second aggregation layer device; the first aggregation layer device is connected to the second aggregation layer device, and the first access layer device is connected to the second access layer device; and the first access layer device and the second access layer device are root bridges; and
the first access layer device is configured to reduce its own bridge priority when a fault occurs on a link between the first access layer device and the first aggregation layer device, calculate its own root port (RP) through the Spanning Tree Protocol (STP), and send a multicast Join packet through the RP.
12. The system according to claim 11, wherein the other access layer devices comprise a third access layer device; and
the third access layer device is configured to receive an STP packet from the first access layer device, calculate an RP of the third access layer device according to the STP packet, and refresh a multicast distribution path.
13. The system according to claim 11, wherein the first access layer device is further configured to modify the bridge priority of the first access layer device so that the first access layer device becomes a root bridge when the link between the first access layer device and the first aggregation layer device is recovered.
14. The system according to claim 12, wherein the first access layer device is further configured to modify the bridge priority of the first access layer device so that the first access layer device becomes a root bridge when the link between the first access layer device and the first aggregation layer device is recovered.
US13/608,898 2010-03-10 2012-09-10 Method, access layer device, and system for implementing multicast in ring network architecture Abandoned US20130003527A1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201010134543.4 2010-03-10
CN201010134543.4A CN102195863B (en) 2010-03-10 2010-03-10 Multicasting realization method, access layer equipment and system under ring network framework
PCT/CN2010/079369 WO2011110037A1 (en) 2010-03-10 2010-12-02 Multicast implementation method, access layer equipment and system under ring network architecture

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/079369 Continuation WO2011110037A1 (en) 2010-03-10 2010-12-02 Multicast implementation method, access layer equipment and system under ring network architecture

Publications (1)

Publication Number Publication Date
US20130003527A1 true US20130003527A1 (en) 2013-01-03

Family

ID=44562860

Family Applications (1)

Application Number Title Priority Date Filing Date
US13/608,898 Abandoned US20130003527A1 (en) 2010-03-10 2012-09-10 Method, access layer device, and system for implementing multicast in ring network architecture

Country Status (4)

Country Link
US (1) US20130003527A1 (en)
EP (1) EP2547041B1 (en)
CN (1) CN102195863B (en)
WO (1) WO2011110037A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9059901B1 (en) * 2012-09-26 2015-06-16 Juniper Networks, Inc. Methods and apparatus for multicast traffic failover in a network
US20190281078A1 (en) * 2018-03-08 2019-09-12 Cisco Technology, Inc. Predicting and mitigating layer-2 anomalies and instabilities

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051536A (en) * 2012-12-22 2013-04-17 中国船舶重工集团公司第七0九研究所 Quick multicast switching method of two-layer redundant link
CN106375222A (en) * 2015-07-20 2017-02-01 中兴通讯股份有限公司 Multicast line switching method for annular networking and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040151181A1 (en) * 2003-02-04 2004-08-05 Chu Thomas P. Methods and systems for providing MPLS-based layer-2 virtual private network services
US20060007869A1 (en) * 2004-07-09 2006-01-12 Fujitsu Limited Method for preventing control packet loop and bridge apparatus using the method
US20070008964A1 (en) * 2005-07-07 2007-01-11 Laurence Rose Ring rapid spanning tree protocol
US20080304428A1 (en) * 2005-11-16 2008-12-11 Nokia Siemens Networks Gmbh & Co. Kg Method for Establishing a Loop-Free Tree Structure in a Data Transmission Network and Associated Network Element
US20100020726A1 (en) * 2008-07-25 2010-01-28 Lucent Technologies Inc. Automatically configuring mesh groups in data networks

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6976088B1 (en) * 1997-12-24 2005-12-13 Cisco Technology, Inc. Method and apparatus for rapidly reconfiguring bridged networks using a spanning tree algorithm
CN100337428C (en) * 2003-01-24 2007-09-12 华为技术有限公司 Method for managing ring network based on protocol of spanning tree
US7586856B1 (en) * 2003-03-20 2009-09-08 Foundry Networks, Inc. Technical enhancements to STP (IEEE 802.1D) implementation
CN100417094C (en) * 2006-01-11 2008-09-03 大唐移动通信设备有限公司 Network Failure Recovery Method with Redundant Ports

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040151181A1 (en) * 2003-02-04 2004-08-05 Chu Thomas P. Methods and systems for providing MPLS-based layer-2 virtual private network services
US20060007869A1 (en) * 2004-07-09 2006-01-12 Fujitsu Limited Method for preventing control packet loop and bridge apparatus using the method
US20070008964A1 (en) * 2005-07-07 2007-01-11 Laurence Rose Ring rapid spanning tree protocol
US20090323518A1 (en) * 2005-07-07 2009-12-31 Laurence Rose Ring rapid spanning tree protocol
US20080304428A1 (en) * 2005-11-16 2008-12-11 Nokia Siemens Networks Gmbh & Co. Kg Method for Establishing a Loop-Free Tree Structure in a Data Transmission Network and Associated Network Element
US20100020726A1 (en) * 2008-07-25 2010-01-28 Lucent Technologies Inc. Automatically configuring mesh groups in data networks

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9059901B1 (en) * 2012-09-26 2015-06-16 Juniper Networks, Inc. Methods and apparatus for multicast traffic failover in a network
US9253074B1 (en) 2012-09-26 2016-02-02 Juniper Networks, Inc. Methods and apparatus for multicast traffic failover in a network
US9485198B1 (en) 2012-09-26 2016-11-01 Juniper Networks, Inc. Methods and apparatus for multicast traffic failover in a network
US20190281078A1 (en) * 2018-03-08 2019-09-12 Cisco Technology, Inc. Predicting and mitigating layer-2 anomalies and instabilities
US10862910B2 (en) * 2018-03-08 2020-12-08 Cisco Technology, Inc. Predicting and mitigating layer-2 anomalies and instabilities

Also Published As

Publication number Publication date
EP2547041A4 (en) 2013-03-20
CN102195863B (en) 2014-10-08
EP2547041B1 (en) 2016-04-20
CN102195863A (en) 2011-09-21
WO2011110037A1 (en) 2011-09-15
EP2547041A1 (en) 2013-01-16

Similar Documents

Publication Publication Date Title
CN101047601B (en) Implementation method and system of dual-homing network based on VPLS
US9628375B2 (en) N-node link aggregation group (LAG) systems that can support various topologies
EP2498454B1 (en) Method, device and system for processing service traffic based on pseudo wires
RU2530338C2 (en) Prepared connection based on state of communication lines of providers (plsb) with routed redundancy
US8300523B2 (en) Multi-chasis ethernet link aggregation
CN102077521B (en) Method and system for link aggregation
EP2533475B1 (en) Method and system for host route reachability in packet transport network access ring
KR101563102B1 (en) System and method for virtual fabric link failure recovery
CN101068139A (en) Media gateway upper connection link main spare protecting method
EP2351294A1 (en) In-band signalling for point-point packet protection switching
CN102970231B (en) Multicast data flow forwards implementation method and route-bridge(RB)
US20140233563A1 (en) Multicast processing method and device
KR101688682B1 (en) Fast lsp alert mechanism
CN109936508A (en) A method and device for processing network congestion
CN1897567A (en) Method for improving transmission reliability in virtual exchange system
US20130003527A1 (en) Method, access layer device, and system for implementing multicast in ring network architecture
CN101299722B (en) Improved quick rerouting method and network equipment
AU2011229566B2 (en) Load sharing method and apparatus
US12244486B2 (en) Communication resilience in a network
EP3068082B1 (en) Fault processing method and apparatus for edge route bridge in trill network
CN115967680B (en) Flow scheduling method and central site equipment
WO2011020339A1 (en) Method and system for switching in segment protection
CN101252525A (en) Method and apparatus for backing up link in PON network
US20120177055A1 (en) Switch device, network, and address learning method used for them

Legal Events

Date Code Title Description
AS Assignment

Owner name: HUAWEI TECHNOLOGIES CO., LTD., CHINA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:HUANG, YUEPING;MO, ZENGNING;REEL/FRAME:028929/0461

Effective date: 20120904

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION