CN110601947A - Communication method and system based on ring network and link aggregation - Google Patents

Communication method and system based on ring network and link aggregation Download PDF

Info

Publication number
CN110601947A
CN110601947A CN201910849251.XA CN201910849251A CN110601947A CN 110601947 A CN110601947 A CN 110601947A CN 201910849251 A CN201910849251 A CN 201910849251A CN 110601947 A CN110601947 A CN 110601947A
Authority
CN
China
Prior art keywords
ring network
link
communication
switch
aggregation
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.)
Pending
Application number
CN201910849251.XA
Other languages
Chinese (zh)
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.)
State Grid Corp of China SGCC
Jinxiang Power Supply Co of State Grid Shandong Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Jinxiang Power Supply Co of State Grid Shandong Electric Power 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 State Grid Corp of China SGCC, Jinxiang Power Supply Co of State Grid Shandong Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201910849251.XA priority Critical patent/CN110601947A/en
Publication of CN110601947A publication Critical patent/CN110601947A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • 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
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The utility model provides a communication method and system based on ring network and link aggregation, which binds a plurality of low bandwidth ports of a switch into a high bandwidth link to realize the aggregation of a plurality of network ports and is responsible for the data forwarding of each specific port; constructing a communication ring network, starting a spanning tree protocol on each switch, placing a communication port of at least one link in a blocking state on a formed loop, and logically disconnecting the loop; data is transmitted through any link in the aggregation links and the configured communication ring network, and when a line fails, the disconnected loop port is activated to recover communication; the ring network mode is combined with the link aggregation function of the switch, so that the safety and the bandwidth of the network are improved, a network storm can not be formed, and the safety of the link is also improved.

Description

Communication method and system based on ring network and link aggregation
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a communication method and system based on a ring network and link aggregation.
Background
The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art.
With the continuous expansion of information systems, the services borne by some office places are increasingly important, the requirements on network quality are high, and meanwhile, the requirements on link load of data such as voice and video transmission and the like borne in the network are increasingly increased.
The inventor of the present disclosure finds that (1) due to the complexity of the actual network topology, the phenomena of partial link network traffic being larger and load being unbalanced are often formed; (2) most of the devices are connected by a single link, and the security cannot be guaranteed, especially between the township trunk networks.
Disclosure of Invention
In order to solve the defects of the prior art, the present disclosure provides a communication method and system based on ring network and link aggregation, which improves the bandwidth and the security of the network, does not form a network storm, and also increases the security of the link through the ring network mode and the link aggregation function of the switch.
In order to achieve the purpose, the following technical scheme is adopted in the disclosure:
in a first aspect, the present disclosure provides a communication method based on ring network and link aggregation, including the following steps:
binding a plurality of low-bandwidth ports of the switch into a high-bandwidth link to realize the aggregation of a plurality of network ports and take charge of the data forwarding of each specific port;
constructing a communication ring network, starting a spanning tree protocol on each switch, placing a communication port of at least one link in a blocking state on a formed loop, and logically disconnecting the loop;
data is transmitted through any link in the aggregation links and the configured communication ring network, and when a line fails, the disconnected loop port is activated, and communication is recovered.
As some possible implementation manners, the spanning tree protocol is enabled on each switch, and the parameters and configurations of the switches in the same sub-ring are the same, so that spanning trees are consistent when the spanning tree protocol negotiates among the switches.
By way of further limitation, the number of switches in each sub-ring is less than 8.
By way of further limitation, the switch port states include a blocking state, a listening state, a learning state, and a forwarding state, and the spanning tree protocol places a corresponding disconnect on the looped ports in the blocking state.
As a further limitation, log-in to the master switch, use the show mapping-tree vlan7 command to view the ring network interface state, if both interface states are forwarding states, then use the show cdp neighbors to view his neighbor switches.
As a further limitation, the network logs in to the neighboring switch and continues to use the show mapping-tree vlan7 command until the interface state of one switch is seen to be the blocking state, which indicates that the traffic on the ring network is normal, and the spanning tree protocol blocks one port.
As some possible implementations, spanning tree protocol is enabled on each switch, and broadcast storms are prevented in the two-tier network by logically breaking the loop based on the characteristics of the spanning tree protocol.
As some possible implementation manners, the load sharing is realized by controlling a plurality of switches connected together in a link aggregation manner and distributing data to the devices connected in the aggregation manner.
As some possible implementations, the communication ring network includes a plurality of sub-rings, wherein at least one sub-ring is in a forwarding state and at least one sub-ring is in a blocking state.
In a second aspect, the present disclosure provides a communication system based on ring network and link aggregation, which includes a plurality of switches, where the switches communicate with each other by using the communication method based on ring network and link aggregation described in the present disclosure.
Compared with the prior art, the beneficial effect of this disclosure is:
1. the present disclosure utilizes the feature of spanning tree protocol that STP is used to logically break the loop to prevent the broadcast storm of the two-layer network, and the spanning tree protocol will put it in a blocking state on the ports forming the loop, thus logically breaking the loop and improving the reliability of the link.
2. The content of the disclosure can increase the bandwidth of the logical link by several times through link aggregation, and in addition, the reliability of the network transmission after aggregation is greatly improved, because only one link can work normally, the link can communicate normally.
3. The content of the present disclosure can realize load balancing through link aggregation, and two switches connected together through link aggregation can reasonably distribute data on aggregated connected devices through internal control, so as to realize load sharing.
Drawings
Fig. 1 is a flowchart of a communication method based on a ring network and link aggregation according to embodiment 1 of the present disclosure.
Detailed Description
It should be noted that the following detailed description is exemplary and is intended to provide further explanation of the disclosure. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments according to the present disclosure. As used herein, the singular is intended to include the plural unless the context clearly dictates otherwise, and it should be further understood that when the terms "comprises" and/or "comprising" are used in this specification, they specify the presence of the stated features, steps, operations, devices, components, and/or combinations thereof.
Example 1:
as shown in fig. 1, an embodiment 1 of the present disclosure provides a communication method based on a ring network and link aggregation, which includes the following steps:
binding a plurality of low-bandwidth ports of the switch into a high-bandwidth link to realize the aggregation of a plurality of network ports and take charge of the data forwarding of each specific port;
constructing a communication ring network, starting a spanning tree protocol on each switch, placing a communication port of at least one link in a blocking state on a formed loop, and logically disconnecting the loop;
data is transmitted through any link in the aggregation links and the configured communication ring network, and when a line fails, the disconnected loop port is activated, and communication is recovered.
The method for performing link aggregation by using one of the mainstream switches in the market is introduced as follows:
2.1.1channel-group 1mode autovoldediblepasspassive adding a physical port to Portchnnel, auto of this command: passive negotiation; on: not negotiating; desired: carrying out active negotiation;
2.1.2interface port-channel/ingress Convergence interface configuration mode
4507R(Config)#interface port-channel 1
4507R(config-if-port-channel1)#
2.1.3 Link aggregation configuration:
4507R+interface Port-channell4507R(config-if-port-channell#switchport trunk encapsulation dot1q
4507R(config-if-port-channel1)#switchport trunk allowed vlan 1,8,17
4507R(config-if-port-channel1)#switchport mode trunk
add port gi10/11-12 to port-channel 1channel
4507R(Config)interface range Gigabitethernet1/0/11-12
4507R(config-if)#description tojy4507-mis2-gi7/5
4507R(config-itf)#switchport trunk encapsulation dot1q
4507R(config-if)#switchport trunk allowed vlan 1.8.17
4507R(config-if)#switchport mode truk
4507R(Config-if)#channel-group 1mode desirable
#3750R:
Port-channel2 setup on 3750R switch
Channels to which gi6/5 and gi7/5 were also added.
After the configuration is successful, at this time, the ports 1/0/11 and 1/0/12 of the cisco4507R are converged into a convergence Port, the name of the convergence Port is Port-Channel1, and the ports gi6/5 and gi7/5 of the cisco 3750R are converged into a convergence Port, the name of the convergence Port is Port-Channel 2.
And starting a spanning tree protocol on each switch, wherein the parameters and the configuration of the switches in the same sub-ring are the same, so that spanning trees are consistent when the spanning tree protocols are negotiated among the switches, and the number of the switches in each sub-ring is less than 8.
The switch port states include a blocking state, a listening state, a learning state, and a forwarding state, and the spanning tree protocol places a corresponding disconnect on the looped ports in the blocking state.
The concrete mode is as follows: logging in a main switch, checking the ring network interface state by using a show mapping-tree vlan7 command, and checking the neighbor switches of the main switch by using show cdp neighbor switches if the two interface states are forwarding states; logging in a neighbor switch and continuing to use a show sounding-tree vlan7 command until the interface state of one switch is a blocking state, indicating that the service on the ring network is normal, and blocking one port by the spanning tree protocol.
A spanning tree protocol is enabled on each switch, and broadcast storms are prevented from occurring in the two-layer network by logically breaking the loops based on the characteristics of the spanning tree protocol.
The load sharing is realized by controlling a plurality of switches connected together in a link aggregation way and distributing data to the equipment connected in the aggregation way.
The communication ring network comprises a plurality of sub-rings, wherein at least one sub-ring is in a forwarding state and at least one sub-ring is in a blocking state.
Example 2:
the embodiment 2 of the present disclosure provides a communication system based on a ring network and link aggregation, which includes a plurality of switches, where the switches communicate with each other by using the communication method based on the ring network and link aggregation according to the embodiment 1 of the present disclosure.
The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure, and various modifications and changes may be made to the present disclosure by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present disclosure should be included in the protection scope of the present disclosure.

Claims (10)

1. A communication method based on ring network and link aggregation is characterized by comprising the following steps:
binding a plurality of low-bandwidth ports of the switch into a high-bandwidth link to realize the aggregation of a plurality of network ports and take charge of the data forwarding of each specific port;
constructing a communication ring network, starting a spanning tree protocol on each switch, placing a communication port of at least one link in a blocking state on a formed loop, and logically disconnecting the loop;
data is transmitted through any link in the aggregation links and the configured communication ring network, and when a line fails, the disconnected loop port is activated, and communication is recovered.
2. The communication method according to claim 1, wherein a spanning tree protocol is enabled on each switch, and parameters and configurations of switches in the same sub-ring are the same, so that spanning trees are consistent when the spanning tree protocols negotiate between the switches.
3. The method of claim 2, wherein the number of switches in each sub-ring is less than 8.
4. The method of claim 3, wherein the switch port status includes a blocking status, a listening status, a learning status, and a forwarding status, and the spanning tree protocol places a corresponding disconnect on the looped ports in a BLOCK blocking status.
5. A communication method based on ring network and link aggregation as claimed in claim 3, characterized in that, logging in to the master switch, using show mapping-tree vlan7 command to view the ring network interface status, if both interface statuses are forwarding status, then using show cdp neighbors to view his neighbor switches.
6. The method as claimed in claim 5, wherein the log-in to the neighbor switch continues to use the show _ tree _ vlan7 command until the interface status of one switch is the blocking status, which indicates that the traffic on the ring network is normal, and the spanning tree protocol blocks one port.
7. The method of claim 1, wherein a spanning tree protocol is enabled on each switch, and broadcast storms are prevented in a two-tier network by logically breaking a loop based on the characteristics of the spanning tree protocol.
8. The communication method based on ring network and link aggregation as claimed in claim 1, wherein the load sharing is implemented by controlling a plurality of switches connected together by link aggregation to distribute data to the devices connected by the aggregation.
9. The ring network and link aggregation based communication method of claim 1, wherein the communication ring network comprises a plurality of sub-rings, at least one of which is in a forwarding state and at least one of which is in a blocking state.
10. A communication system based on ring network and link aggregation, comprising a plurality of switches, wherein the switches communicate with each other by using the communication method based on ring network and link aggregation according to any one of claims 1 to 9.
CN201910849251.XA 2019-09-09 2019-09-09 Communication method and system based on ring network and link aggregation Pending CN110601947A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910849251.XA CN110601947A (en) 2019-09-09 2019-09-09 Communication method and system based on ring network and link aggregation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910849251.XA CN110601947A (en) 2019-09-09 2019-09-09 Communication method and system based on ring network and link aggregation

Publications (1)

Publication Number Publication Date
CN110601947A true CN110601947A (en) 2019-12-20

Family

ID=68858282

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910849251.XA Pending CN110601947A (en) 2019-09-09 2019-09-09 Communication method and system based on ring network and link aggregation

Country Status (1)

Country Link
CN (1) CN110601947A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112995807A (en) * 2021-03-22 2021-06-18 烽火通信科技股份有限公司 Method and device for setting port forwarding state in OLT group ring network
CN114095408A (en) * 2021-11-10 2022-02-25 中国航空工业集团公司雷华电子技术研究所 Radar processor Ethernet debugging dynamic reconfiguration system
CN114124805A (en) * 2021-09-18 2022-03-01 重庆金美通信有限责任公司 Method for transmitting data by one skip in non-token ring network

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905326A (en) * 2012-12-28 2014-07-02 迈普通信技术股份有限公司 Ethernet link aggregation packet forwarding control method and network equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905326A (en) * 2012-12-28 2014-07-02 迈普通信技术股份有限公司 Ethernet link aggregation packet forwarding control method and network equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王志东等: "利用环网和链路聚合方式提高二层网络可靠性", 《中国技术新产品》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112995807A (en) * 2021-03-22 2021-06-18 烽火通信科技股份有限公司 Method and device for setting port forwarding state in OLT group ring network
CN112995807B (en) * 2021-03-22 2022-06-24 烽火通信科技股份有限公司 Method and device for setting port forwarding state in OLT group ring network
CN114124805A (en) * 2021-09-18 2022-03-01 重庆金美通信有限责任公司 Method for transmitting data by one skip in non-token ring network
CN114124805B (en) * 2021-09-18 2023-09-12 重庆金美通信有限责任公司 Method for forwarding data in non-token ring network in one hop
CN114095408A (en) * 2021-11-10 2022-02-25 中国航空工业集团公司雷华电子技术研究所 Radar processor Ethernet debugging dynamic reconfiguration system

Similar Documents

Publication Publication Date Title
CN110601947A (en) Communication method and system based on ring network and link aggregation
US8437283B2 (en) Full duplex network radio bridge with low latency and high throughput
CN102752187A (en) Elastic network interface realization method and system
CN104025511A (en) Service protection method, optical line terminal and system in passive optical network
CN101841450B (en) Method and system for realizing stable communication by forming multiple ring topologies into intersecting ring
CN100367715C (en) Method for realizing communication load equilibrium and gateway, central gateway thereof
CN101931610B (en) Internet protocol security link protection method and device
CN108055163A (en) A kind of dual-homed equipment and its protection switching method
CN203883860U (en) Network communication architecture of campus network
US20070217438A1 (en) Ring node device and method of connecting terminal to ring node device
CN102916862B (en) Intelligent looped network dynamic protection method of industrial Ethernet switch
CN108243021A (en) A kind of disaster tolerance emergency set and system
CN103812752A (en) Resource sharing method among virtual local area networks (vlans) in power communication network
CN108966368B (en) Networking method and system of LTE private network in public security field
CN100444571C (en) Method and system for deciding bridge role
US10489236B2 (en) Method and system for managing a communication network
CN112566183B (en) SDN controller capable of automatically opening 5G transmission circuit
CN101771593B (en) Ethernet ring network interconnecting method
CN103391231A (en) Networking method and device for data communication network
CN102215165B (en) A kind of message processing method of tangent ring networks and Ethernet switch
CN104113434A (en) Data center network redundancy control device by adopting multi-chassis cluster system
CN108337162B (en) System and method for supporting dual-homing protection
CN111163003A (en) Topology discovery method of wireless multi-control-domain SDN
CN102546345A (en) Method for realizing cross-ring protection of resilient packet ring by use of spanning tree protocol
CN207039909U (en) Network system based on IPRAN networkings

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191220

RJ01 Rejection of invention patent application after publication