CN107302463B - A kind of method that ring configures automatic contrasting detection - Google Patents

A kind of method that ring configures automatic contrasting detection Download PDF

Info

Publication number
CN107302463B
CN107302463B CN201710676070.2A CN201710676070A CN107302463B CN 107302463 B CN107302463 B CN 107302463B CN 201710676070 A CN201710676070 A CN 201710676070A CN 107302463 B CN107302463 B CN 107302463B
Authority
CN
China
Prior art keywords
ring
equipment
configuration information
information
client
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
CN201710676070.2A
Other languages
Chinese (zh)
Other versions
CN107302463A (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.)
WELLTRANS O&E TECHNOLOGIES Co Ltd
Original Assignee
WELLTRANS O&E 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 WELLTRANS O&E TECHNOLOGIES Co Ltd filed Critical WELLTRANS O&E TECHNOLOGIES Co Ltd
Priority to CN201710676070.2A priority Critical patent/CN107302463B/en
Publication of CN107302463A publication Critical patent/CN107302463A/en
Application granted granted Critical
Publication of CN107302463B publication Critical patent/CN107302463B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • 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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0866Checking the configuration
    • H04L41/0869Validating the configuration within one network element

Abstract

The invention belongs to a kind of methods that Network Monitoring Technology field more particularly to ring configure automatic contrasting detection.The method that a kind of ring of the present invention configures automatic contrasting detection, it is compared with the ring configuration information of equipment according to the topological relation of the live network equipment connection in application scenarios, carry out the miss status of automatically prompting user ring configuration, prevented in advance, and client user is notified in time, it takes measures, to reach the intelligent management of ring configuration, the difficulty for reducing operation and maintenance avoids that broadcast storm occurs.

Description

A kind of method that ring configures automatic contrasting detection
Technical field
The invention belongs to a kind of methods that Network Monitoring Technology field more particularly to ring configure automatic contrasting detection.
Background technology
With the extensive use of Ethernet in a local network, the scale of double layer network is increasing, common spanning tree skill Art Shortcomings in extension and convergence rate.Extreme companies proposed EAPS (Ethernet Automatic in 2003 Protection Switching, ethernet link automatic protection agreement), EAPS is a chain for Ethernet Circle protection Road layer protocol, dedicated for building cricoid ether net topology, well solved spanning tree there are the problem of, in ring-network topology Block a link in the case of complete, prevents data loopback and form broadcast storm.
In the implementation of the present invention, it is found by the applicant that at least having the following disadvantages in the prior art:
Ring is being needed to configure the scene that can just come into force consistent with actual link similar to EAPS is this, since site operation is multiple The reasons such as miscellaneous sometimes connect the case where not being consistent with practical in the presence of configuration, such as cannot find and handle in time, it may occur however that is wide Storm is broadcast, and then leads to serious consequence.
Invention content
There is problem for the above-mentioned prior art, the present invention provides a kind of method that ring configures automatic contrasting detection, works as hair Existing ring configuration with it is practical connect be not consistent when, can be prevented in advance, and notify user, to avoid broadcast storm occurs.
The present invention is achieved through the following technical solutions above-mentioned purpose:
A kind of method that ring configures automatic contrasting detection, which is characterized in that the method includes:
S1:Client carries out ring configuration operation, and subnet equipment preserves ring configuration information;
S2:Client refreshes topology, Network Management Equipment find and obtain the IP information of each subnet equipment, MAC Address letter Breath and Port Connection Information, and calculate according to above- mentioned information the topological connection relation of the subnet equipment other than ring;
S3:Network Management Equipment obtains the ring configuration information of all-ones subnet equipment, including ring ID, master port and from port;
S4:According to the ring configuration information got, classify by ring ID, cycle with actual Topology connection information Comparison, judges whether the ring configuration information under ring ID is complete, and S5 is entered if complete, otherwise enters S6;
S5:Network Management Equipment returns to ring configuration information to client, and client can show the topological diagram of the ring;
S6:Network Management Equipment notifies the configuration of client's end ring imperfect;
S7:It has traversed the ring information of all-ones subnet equipment and has shown ring topology in client.
Further, whether the ring configuration information judged under ring ID completely specifically includes:
Principal and subordinate's Port Connection Information of the all-ones subnet equipment under ring ID is searched in subnet equipment topological connection relation;
Corresponding connectivity port is deleted from the ring configuration information under ring ID, after such searching loop is complete, under ring ID Ring configuration information in just only remain the ring head and the tail equipment and connect head and the tail equipment port;
When only remaining two equipment and each equipment and only remaining a port, then it is assumed that the ring configuration information under ring ID has been Whole;
When remaining number of devices or port number not clock synchronization, then it is assumed that the ring configuration information under ring ID is imperfect 's.
Further, the subnet equipment principal and subordinate port connection under ring ID is found in subnet equipment topological connection relation After information, if the other ring apparatus being connect with a certain ring apparatus principal and subordinate port are not present in the ring configuration information under ring ID In, then it is assumed that the ring configuration information under ring ID is imperfect.
Further, the method further includes:
After Network Management Equipment notifies that the configuration of client's end ring is imperfect, it is endless that client pops up the configuration of information alert user's ring The subnet device numbering that whole and ring configuration information may be lost, if the relevant institutes of ring ID are deleted from subnet equipment There is information.
Further, the method further includes:
When the relevant all information of client deletion ring ID, the ring configuration information in subnet equipment also can synchronized update.
The beneficial effects of the invention are as follows:
The method that a kind of ring of the present invention configures automatic contrasting detection is connected according to the live network equipment in application scenarios Topological relation be compared with the ring configuration information of equipment, come automatically prompting user ring configuration miss status, shifted to an earlier date Prevent, and notify client user in time, take measures, to reach the intelligent management of ring configuration, reduces the difficulty of operation and maintenance Degree avoids that broadcast storm occurs.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is the structural schematic diagram that a kind of ring of the embodiment of the present invention configures the method for automatic contrasting detection;
Fig. 2 is the arrangement schematic diagram of a certain topology.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of methods that ring configures automatic contrasting detection, are connect with practical when sending ring configuration When not being consistent, it can be prevented in advance, and notify user, to avoid broadcast storm occurs.
Fig. 1 is the structural schematic diagram that a kind of ring of the embodiment of the present invention configures the method for automatic contrasting detection, with reference to figure 1, This method includes:
S1:Client carries out ring configuration operation, and subnet equipment preserves ring configuration information;
S2:Client refreshes topology, Network Management Equipment find and obtain the IP information of each subnet equipment, MAC Address letter Breath and Port Connection Information, and calculate according to above- mentioned information the topological connection relation of the subnet equipment other than ring;
S3:Network Management Equipment obtains the ring configuration information of all-ones subnet equipment, including ring ID, master port and from port;
S4:According to the ring configuration information got, classify by ring ID, cycle with actual Topology connection information Comparison, judges whether the ring configuration information under ring ID is complete, and S5 is entered if complete, otherwise enters S6;
S5:Network Management Equipment returns to ring configuration information to client, and client can show the topological diagram of the ring;
S6:Network Management Equipment notifies the configuration of client's end ring imperfect;
S7:It has traversed the ring information of all-ones subnet equipment and has shown ring topology in client.
In the embodiment of the present invention, the calculation of the topological connection relation of the subnet equipment other than ring may be used from The method for discovering network topology that leaf node is successively searched to root node carries out, and specifically includes following steps:
Network Management Equipment searches leaf node one by one according to all information of acquisition, and network management equipment judges whether there is and the leaf The uplink subnet equipment of child node connection, and the topological relation found is preserved, if there is uplink subnet equipment, then deleting should The MAC information of leaf node deletes the MAC of the leaf node learnt in the mac address information table of other subnet equipment Then address information searches leaf node again, until can not find leaf node, network topology lookup terminates.
Further, judge whether the ring configuration information under ring ID completely specifically includes in the S4 of the embodiment of the present invention:
Principal and subordinate's Port Connection Information of the all-ones subnet equipment under ring ID is searched in subnet equipment topological connection relation;
Corresponding connectivity port is deleted from the ring configuration information under ring ID, after such searching loop is complete, under ring ID Ring configuration information in just only remain the ring head and the tail equipment and connect head and the tail equipment port;
When only remaining two equipment and each equipment and only remaining a port, then it is assumed that the ring configuration information under ring ID has been Whole;
When remaining number of devices or port number not clock synchronization, then it is assumed that the ring configuration information under ring ID is imperfect 's.
Further, the subnet equipment principal and subordinate port connection under ring ID is found in subnet equipment topological connection relation After information, if the other ring apparatus being connect with a certain ring apparatus principal and subordinate port are not present in the ring configuration information under ring ID In, then it is assumed that the ring configuration information under ring ID is imperfect.
In the embodiment of the present invention, after Network Management Equipment notifies that the configuration of client's end ring is imperfect, client pops up information and carries Show that user's ring configures the subnet device numbering that imperfect and ring configuration information may be lost, if to be deleted from subnet equipment Except the relevant all information of ring ID.
When the relevant all information of client deletion ring ID, the ring configuration information in subnet equipment also can synchronized update.
Applicating example:
Fig. 2 is the arrangement schematic diagram of a certain topology, and with reference to figure 2, NMC is client in Fig. 2, and SNM is Network Management Equipment, EMS A, EMS B, EMS C, EMS D, EMS E are subnet equipment, wherein EMS A, EMS B, are furnished with ring on EMS C.
After client refreshes topology, Network Management Equipment can find and obtain the IP information of each subnet equipment, MAC Address Information and Port Connection Information are as shown in table 1:
Table 1
The topological connection relation of subnet equipment is calculated according to table 1, the topological connection relation of subnet equipment is as shown in table 2:
Table 2
Network Management Equipment obtains the ring configuration information in all-ones subnet equipment, including ring ID, master port and (subnet is set from port Ring configuration information in standby is preserved when client configures ring;When client deletes ring, the ring in subnet equipment is matched Confidence breath also can synchronized update), obtain ring configuration information shown in table 3:
Table 3
According to ring configuration information shown in the table 3 got, classify by ring ID, to ring ID 1, in the topology of table 2 Port Connection Information in connection in look-up table 3, in addition to the equipment that head and the tail port is connected is unknown, the principal and subordinate end of each ring apparatus The equipment that mouth is connected should be able to all be found in ring configuration information, be otherwise considered as ring configuration information and lacked, after finding Relevant link information is deleted in table 3, so first searching A in table 2:2 connection, finds A: 2---------------B:1, if not including the ring information of equipment B in table 3, then it is assumed that ring configuration information lacks, if packet It is correspondingly connected with port containing then deleting, it is as shown in table 4 with the ring configuration result after the automatic contrasting detection of practical topology:
Table 4
Again A is searched in table 2:4 connection, finds A:4---------------C:2, if not including equipment C in table 4 Ring information, then it is assumed that the loss of learning, if comprising if delete be correspondingly connected with port, after the automatic contrasting detection of practical topology Ring configuration result it is as shown in table 5:
Table 5
Again B is searched in table 2:6 connection first retains the port, is similarly looked into table again because not finding Look for C:1 connection first retains the port because not finding, after such searching loop is complete, the master of the equipment under ring ID1 The head and the tail equipment (B, C) of the ring is just only remained from port and connects the port (No. 6 ports of B, No. 1 port of C) of head and the tail equipment, such as Shown in table 5.
Due to table, 5 remain two equipment and the surplus a port number of each equipment, and other than head and the tail equipment, remaining equipment Principal and subordinate port be connected to distinct device, then it is assumed that the ring configuration information under ring ID1 be it is complete, Network Management Equipment i.e. return Ring information can show the topological diagram of the ring to client, client.
But work as remaining number of devices or port number not clock synchronization, then it is assumed that the ring configuration information under ring ID1 has missing (to have Possible site operation causes the ring configuration information of some equipment to be lost), Network Management Equipment notifies client, client to pop up letter Breath prompt user's ring configuration is imperfect, is that the ring information of which equipment may have lost, if ring ID1 phases are deleted from equipment All information closed, have traversed the ring information of all-ones subnet equipment and have shown ring topology in client repeatedly.
The ring information of B device is not got when Network Management Equipment obtains the ring configuration information in all-ones subnet equipment, i.e., The ring configuration information for having lacked B device is as shown in table 6:
Table 6
Similarly A is searched in table 2:2 connection, finds A:2---------------B:1, because not including in table 6 The ring configuration information of equipment B, then it is assumed that the loss of learning, Network Management Equipment notify client, client to pop up information alert The configuration of user's ring is imperfect, and the ring information of B device may have lost, if the relevant all letters of ring ID 1 are deleted from equipment Breath.
The method that a kind of ring of the embodiment of the present invention configures automatic contrasting detection, sets according to the live network in application scenarios The topological relation of standby connection is compared with the ring configuration information of equipment, carrys out the miss status of automatically prompting user ring configuration, into Row prevents in advance, and notifies client user in time, takes measures, and to reach the intelligent management of ring configuration, reduces operation dimension The difficulty of shield avoids that broadcast storm occurs.
Embodiment provided above is the better embodiment of the present invention, only is used for facilitating illustrating the present invention, not to this hair It is bright to make any form of restriction, any those of ordinary skill in the art, if not departing from the put forward skill of the present invention In the range of art feature, using the equivalent embodiment for locally changing or modifying made by disclosed technology contents, and Without departing from the technical feature content of the present invention, in the range of still falling within the technology of the present invention feature.

Claims (5)

1. a kind of method that ring configures automatic contrasting detection, which is characterized in that the method includes:
S1:Client carries out ring configuration operation, and subnet equipment preserves ring configuration information;
S2:Client refreshes topology, Network Management Equipment find and obtain the IP information of each subnet equipment, mac address information and Port Connection Information, and calculate according to above- mentioned information the topological connection relation of the subnet equipment other than ring;
S3:Network Management Equipment obtains the ring configuration information of all-ones subnet equipment, including ring ID, master port and from port;
S4:According to the ring configuration information got, classify by ring ID, cycle with actual Topology connection information pair Than judging whether the ring configuration information under ring ID is complete, S5 being entered if complete, otherwise enter S6;
S5:Network Management Equipment returns to ring configuration information to client, and client can show the topological diagram of the ring;
S6:Network Management Equipment notifies the configuration of client's end ring imperfect;
S7:It has traversed the ring information of all-ones subnet equipment and has shown ring topology in client.
2. the method that a kind of ring according to claim 1 configures automatic contrasting detection, which is characterized in that the judgement ring ID Under ring configuration information whether completely specifically include:
Principal and subordinate's Port Connection Information of the all-ones subnet equipment under ring ID is searched in subnet equipment topological connection relation;
Corresponding connectivity port is deleted from the ring configuration information under ring ID, after such searching loop is complete, the ring under ring ID The head and the tail equipment of the ring is just only remained in configuration information and connects the port of head and the tail equipment;
When only remaining two equipment and each equipment only remains a port, then it is assumed that the ring configuration information under ring ID is complete 's;
When remaining number of devices or port number not clock synchronization, then it is assumed that the ring configuration information under ring ID is incomplete.
3. the method that a kind of ring according to claim 2 configures automatic contrasting detection, it is characterised in that:It is opened up in subnet equipment After flutterring in connection relation the subnet equipment principal and subordinate's Port Connection Information found under ring ID, if with a certain ring apparatus principal and subordinate end Other ring apparatus of mouth connection are not present in the ring configuration information under ring ID, then it is assumed that the ring configuration information under ring ID is not Completely.
4. the method that a kind of ring according to claim 1 configures automatic contrasting detection, which is characterized in that the method is also wrapped It includes:
After Network Management Equipment notifies that the configuration of client's end ring is imperfect, client i.e. pop-up information alert user's ring configuration is imperfect, with And the subnet device numbering that ring configuration information may be lost, if the relevant all letters of ring ID are deleted from subnet equipment Breath.
5. the method that a kind of ring according to claim 4 configures automatic contrasting detection, which is characterized in that the method is also wrapped It includes:
When the relevant all information of client deletion ring ID, the ring configuration information in subnet equipment also can synchronized update.
CN201710676070.2A 2017-08-09 2017-08-09 A kind of method that ring configures automatic contrasting detection Active CN107302463B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710676070.2A CN107302463B (en) 2017-08-09 2017-08-09 A kind of method that ring configures automatic contrasting detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710676070.2A CN107302463B (en) 2017-08-09 2017-08-09 A kind of method that ring configures automatic contrasting detection

Publications (2)

Publication Number Publication Date
CN107302463A CN107302463A (en) 2017-10-27
CN107302463B true CN107302463B (en) 2018-08-17

Family

ID=60133491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710676070.2A Active CN107302463B (en) 2017-08-09 2017-08-09 A kind of method that ring configures automatic contrasting detection

Country Status (1)

Country Link
CN (1) CN107302463B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101426031B (en) * 2008-12-09 2011-09-21 中兴通讯股份有限公司 Novel method and apparatus for Ether ring network address updating
CN102104520B (en) * 2009-12-18 2013-08-21 中兴通讯股份有限公司 Ring network protection method and device based on topology information
WO2013100839A1 (en) * 2011-12-30 2013-07-04 Telefonaktiebolaget L M Ericsson (Publ) A root bridge node and a method in a root bridge node for handling topology changes in an ethernet network
US9338060B2 (en) * 2012-09-05 2016-05-10 Brocade Communications Systems, Inc. Multiple ring identification and configuration protocol

Also Published As

Publication number Publication date
CN107302463A (en) 2017-10-27

Similar Documents

Publication Publication Date Title
CN103825954B (en) A kind of OpenFlow control methods and corresponding plug-in unit, platform and network
US9306819B2 (en) Controller driven OAM for split architecture network
US8885521B2 (en) Topology management method of ether multi-ring network, and system thereof
US10887209B2 (en) In-Situ OAM for multicast path, telemetry data collection and receive-only service function proof of transit
US9515845B2 (en) Utility communication method and system
US20050053006A1 (en) Obtaining path information related to a bridged network
CN106131919B (en) A kind of synchronous method of non-stop layer self-organized network topology
KR20170014016A (en) A method and system for synchronizing with neighbor in a distributed resilient network interconnect 〔drni〕 link aggregation group
CN106789157B (en) The hardware resource management method of stacking system and stacked switch
CN105897465A (en) Equipment configuration method and apparatus
CN104243334B (en) The method and apparatus for preventing link congestion
CN101668025B (en) Method and device for discovering link layer network topology
CN104283790B (en) The topology discovery method and equipment of RPR in SDN
CN108768691A (en) Ethernet automated topology based on snmp protocol is found and cyclic position detecting system
CN107395440A (en) Internet topology probe node optimization dispositions method based on complex network
CN106533832A (en) Distributed-deployment-based network flow detection system
US20140153442A1 (en) Method, Device, and System for Packet Processing
CN103457782B (en) A kind of loop detection method and the network equipment based on VLAN
CN111756596A (en) SDN-based link quality detection system and method
CN107465621A (en) A kind of router finds method, SDN controllers, router and network system
CN107302463B (en) A kind of method that ring configures automatic contrasting detection
CN105637806A (en) Method and apparatus for determining network topology, and centralized network state information storage device
CN110166320B (en) MPLS-TP OAM implementation method and system based on OpenFlow switch
CN103179036B (en) The method realizing the Linktrace of MPLS-TP OAM based on FPGA
CN106612207B (en) The management-control method and device of ethernet device RSTP information

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