CN117596150A - EVPN Overlay topology and real-time alarm display method and device - Google Patents

EVPN Overlay topology and real-time alarm display method and device Download PDF

Info

Publication number
CN117596150A
CN117596150A CN202311544532.7A CN202311544532A CN117596150A CN 117596150 A CN117596150 A CN 117596150A CN 202311544532 A CN202311544532 A CN 202311544532A CN 117596150 A CN117596150 A CN 117596150A
Authority
CN
China
Prior art keywords
evpn
route
information
type2
topology
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
CN202311544532.7A
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.)
Unihub China Information Technology Co Ltd
Original Assignee
Unihub China Information Technology 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 Unihub China Information Technology Co Ltd filed Critical Unihub China Information Technology Co Ltd
Priority to CN202311544532.7A priority Critical patent/CN117596150A/en
Publication of CN117596150A publication Critical patent/CN117596150A/en
Pending legal-status Critical Current

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
    • H04L41/122Discovery or management of network topologies of virtualised topologies, e.g. software-defined networks [SDN] or network function virtualisation [NFV]
    • 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/06Management of faults, events, alarms or notifications
    • 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/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
    • 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/40Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks using virtualisation of network functions or resources, e.g. SDN or NFV entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services

Abstract

The invention discloses a method and a device for displaying EVPN Overlay topology and real-time alarms, wherein the method comprises the following steps: s01, acquiring EVPN Type2 routing information in real time, and acquiring a VTEP device address and an MAC address of virtual machine equipment and an interconnection relation of the VTEP device address and the virtual machine equipment; s02, analyzing EVPN Type2 route information, dynamically generating Overlay topology, and reflecting the change of a network structure; s03, carrying out topology real-time refreshing, and realizing route refreshing and alarm information generation by monitoring route change information; s04, pushing alarm information, monitoring the alarm information of the virtual machine, and pushing the information to an administrator; s05, visual display of EVPN Overlay topology and alarm information. According to the EVPN Overlay topology and real-time alarm display method and device, the topology structure of the network cloud is displayed in real time, operators are helped to better know the distribution condition of network resources, the availability of network elements can be monitored, faults can be found timely, alarms can be generated, and accordingly the operators can take measures rapidly to repair the network, and the stability and reliability of the network are improved.

Description

EVPN Overlay topology and real-time alarm display method and device
Technical Field
The invention relates to the field of communication, in particular to an EVPN Overlay topology and real-time alarm display method and device.
Background
The network cloud resources of operators currently lack an EVPN Overlay network fault location tool, which results in a failure that cannot be perceived in time when the network fails.
In the EVPN (Ethernet VPN) Overlay network, the reasons why the fault localization becomes complicated are mainly the following:
complexity of overlay network: an EVPN Overlay network is a virtualized network architecture that creates a logical Overlay network over the underlying physical network. This virtualized network architecture increases the complexity of the network, making fault localization more difficult. Faults may occur at multiple levels of the underlying physical network, the control plane, the data plane, etc. of the Overlay network, and multiple factors need to be comprehensively considered to perform fault location.
2. Multilayer network tunnel: EVPN Overlay networks typically use tunneling (e.g., VXLAN, GRE, etc.) to enable the expansion and isolation of virtual networks. These tunnels create multiple levels of encapsulation in the network, allowing the data flow to traverse multiple network levels, thereby increasing the complexity of fault localization. When a failure occurs, it is necessary to determine whether a problem has occurred with the underlying physical network or a problem has occurred with a tunnel in the Overlay network.
3. Distributed control plane: EVPN Overlay networks typically employ a distributed control plane architecture in which network devices interact and exchange information via control plane protocols (e.g., BGP, MP-BGP, etc.). Such a distributed control plane complicates fault localization because faults may occur at a certain node in the control plane or communication between the control planes is problematic.
4. Multi-vendor environment: in a practical network, there are often cases where equipment and technologies of multiple suppliers are deployed in a mixed manner. Different vendor devices may have different implementations and features, which add to the complexity of fault localization. Compatibility and interoperability of different vendor devices need to be considered when a fault occurs, coordination and troubleshooting with multiple vendors may be required.
In summary, the complexity of the EVPN Overlay network, the multi-layered network tunnel, the distributed control plane, and the multi-provider environment all cause the fault location to become very complex. To effectively solve the failure, the network architecture and technology need to be fully known, comprehensive analysis and troubleshooting are performed, and professional network failure positioning tools and technical support may be needed.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides the EVPN Overlay topology and the real-time alarm display method and device, which display the topology structure of the network cloud in real time, help operators to better know the distribution condition of network resources, monitor the availability of network elements, discover faults in time and generate alarms so that the operators can quickly take measures to repair, and improve the stability and reliability of the network.
In order to achieve the above purpose, the present invention adopts the following technical scheme:
in an embodiment of the present invention, an EVPN Overlay topology and a real-time alert display method are provided, where the method includes:
s01, acquiring EVPN Type2 routing information in real time, and acquiring a VTEP device address and an MAC address of virtual machine equipment and an interconnection relation of the VTEP device address and the virtual machine equipment;
further, the S01 includes:
s011, configuring BGP neighbor relation between the Spine and the Leaf switch, and establishing BGP session, through which the Spine and the Leaf switch exchange EVPN route information;
s012, EVPN Type2 route is configured, and EVPN Type2 route configuration information comprises: a MAC address and a corresponding VNI;
s013, an EVPN Type2 route is propagated, the Leaf switch sends the configured EVPN Type2 route information to the Spine switch, and the EVPN Type2 route is propagated to other Leaf switches through BGP session;
S014, collecting EVPN Type2 route configuration information, and storing the EVPN Type2 route configuration information in a routing table of a Spine switch after the Spine switch receives EVPN Type2 route configuration information from other Leaf switches;
s015, establishing a neighbor relation with a Spine switch through external equipment, establishing a BGP session with the Spine switch, and exchanging EVPN routing information with the Spine switch through the BGP session by the external equipment;
s016, configuring an export strategy of the EVPN Type2 route on the Spine switch, and determining the EVPN Type2 route to be propagated to external equipment;
and S017, the external equipment receives the EVPN Type2 route from the Spine switch and analyzes and stores the route information.
S02, analyzing EVPN Type2 route information, dynamically generating Overlay topology, and reflecting the change of a network structure;
topology presentation capability presents a network topology by representing devices in the network as points and by representing connection relationships between the devices by lines.
S03, refreshing topology in real time;
the route refreshing and the alarm information generation are realized by monitoring the route change information, and when the topology is changed, the front-end interface is informed to carry out the topology refreshing by sending the information, so that the network topology structure is displayed in real time;
Further, the routing change message in S03 includes: new addition, modification and deletion.
Further, the processing flow for the route change message to be newly added includes:
judging whether the route mac information exists or not;
if not, adding a VM device;
judging whether a route next hop exists or not;
if not, adding a VTEP device;
judging whether a link between the VM and the VTEP exists or not, if not, adding a link, and if so, updating the link state;
and when the VM equipment is newly added, generating a virtual machine on-line alarm, and when the next hop of the VM equipment is changed, generating a virtual machine migration alarm.
Further, the modified processing flow of the route change message is basically consistent with the newly added processing flow.
Further, the processing flow for deleting the route change message includes:
judging whether the route mac information exists, if so, setting the corresponding VM equipment state as del to be deleted, changing the corresponding link state into del deletion state, and generating virtual machine off-line alarm.
S04, pushing alarm information, monitoring the alarm information of the virtual machine, and pushing the information to an administrator so that the administrator can timely sense and process faults;
When the virtual machine is in fault or abnormal condition, the method can capture corresponding alarm information and send the alarm information to a mailbox and a mobile phone which are preset by an administrator. The administrator can know the occurrence of faults in time by checking mails or short messages, and take corresponding measures for processing.
S05, visual display of EVPN Overlay topology and alarm information is achieved, and an administrator is helped to know the state of the network more intuitively.
The EVPN Overlay topology relationship is displayed in a graphical manner, and an administrator can clearly see the connection relationship between the devices.
The devices in the topology are represented in the form of nodes, while the connections between the devices are shown as wires.
In addition to displaying the topological relation, alarm information related to the EVPN Overlay can be displayed in real time.
In an embodiment of the present invention, an EVPN Overlay topology and real-time alert display apparatus is further provided, where the apparatus includes:
the acquisition module acquires the EVPN Type2 routing information in real time, and acquires the address of the VTEP equipment and the MAC address of the virtual machine equipment and the interconnection relation of the VTEP equipment and the MAC address;
the analysis module is used for analyzing EVPN Type2 route information, dynamically generating Overlay topology and reflecting the change of a network structure;
The topology structure module is updated in real time, the topology is refreshed in real time, the route is refreshed and the alarm information is generated by monitoring the route change information, and when the topology is changed, the front-end interface is informed to carry out topology refreshing by sending the information, so that the network topology structure is displayed in real time;
the alarm information pushing module monitors alarm information of the virtual machine and pushes the information to an administrator;
and the visual display module is used for visual display of the EVPN Overlay topology and the alarm information.
Further, the acquisition module includes:
configuring a BGP neighbor relation module, configuring a BGP neighbor relation between a Spine and a Leaf switch, and establishing a BGP session, wherein the Spine and the Leaf switch exchange EVPN routing information through the BGP session;
configuration EVPN Type 2 routing module, EVPN Type 2 routing configuration information includes: a MAC address and a corresponding VNI;
the EVPN Type 2 routing module is propagated, the Leaf switch sends the configured EVPN Type 2 routing information to the Spine switch, and the EVPN Type 2 routing information is propagated to other Leaf switches through BGP session;
the configuration information module is used for collecting EVPN Type 2 route, and the Spine switch receives EVPN Type 2 route configuration information from other Leaf switches and stores the EVPN Type 2 route configuration information in a routing table of the Spine switch;
The method comprises the steps that an external device and a Spine switch intercommunication module establish a neighbor relation with the Spine switch through the external device, establish a BGP session with the Spine switch, and exchange EVPN routing information with the Spine switch through the BGP session;
the route propagation determining module is used for configuring an export strategy of the EVPN Type2 route on the Spine switch and determining the EVPN Type2 route to be propagated to the external equipment;
and the analysis and storage module and the external equipment receive the EVPN Type2 route from the Spine switch and analyze and store the route information.
Further, the updating the route change message in the topology module in real time includes: new addition, modification and deletion.
Further, the processing flow for the route change message to be newly added includes:
judging whether the route mac information exists or not;
if not, adding a VM device;
judging whether a route next hop exists or not;
if not, adding a VTEP device;
judging whether a link between the VM and the VTEP exists or not, if not, adding a link, and if so, updating the link state;
and when the VM equipment is newly added, generating a virtual machine on-line alarm, and when the next hop of the VM equipment is changed, generating a virtual machine migration alarm.
Further, the processing flow for deleting the route change message includes:
judging whether the route mac information exists, if so, setting the corresponding VM equipment state as del to be deleted, changing the corresponding link state into del deletion state, and generating virtual machine off-line alarm.
In an embodiment of the present invention, a computer device is further provided, including a memory, a processor, and a computer program stored on the memory and capable of running on the processor, where the processor implements the foregoing EVPN Overlay topology and the real-time alert presentation method when executing the computer program.
In an embodiment of the present invention, a computer readable storage medium is also presented, where the computer readable storage medium stores a computer program for executing the EVPN Overlay topology and the real-time alert presentation method.
The invention discloses an EVPN Overlay topology and real-time alarm display method and device, which have the following beneficial effects:
the visual interface can display the EVPN overlay topology in a graphical mode, so that a network manager and operation and maintenance personnel can intuitively know the structure and connection relation of the whole network. Through the visual interface, the user can more easily understand and analyze the network topology, and quickly locate and troubleshoot the problem.
The visual interface can display the EVPN overlay topology in a graphical mode, so that a network manager and operation and maintenance personnel can intuitively know the structure and connection relation of the whole network. Through the visual interface, the user can more easily understand and analyze the network topology, and quickly locate and troubleshoot the problem.
The visual interface can be customized and expanded according to the requirements and the demands of users, and additional functions and modules can be added to meet different service demands. The user can select and configure different network topology display modes according to the needs of the user, and the flexibility and the adaptability of the interface are improved.
The efficiency can visually and conveniently see the alarm information related to the virtual machine from the topology, thereby being convenient for an administrator to quickly locate the fault and providing the efficiency of problem location and fault processing.
By the aid of the device, an administrator can be helped to sense the fault condition of the virtual machine in real time, and efficiency and accuracy of fault processing are improved. An administrator can take measures in time to repair faults and ensure normal operation of the virtual machine. Meanwhile, by pushing mails and short messages, an administrator can receive alarm information anytime and anywhere, and can timely process faults wherever the administrator is, so that the flexibility and the efficiency of work are improved.
Drawings
FIG. 1 is a schematic diagram of a Spine-Leaf network topology architecture;
FIG. 2 is a flow chart of the EVPN Overlay topology and real-time alarm display method of the present invention;
FIG. 3 is a schematic diagram of a process flow for changing a message to a new one;
FIG. 4 is a schematic diagram of a process flow for changing a message to delete;
FIG. 5 is a simplified topological diagram in a visual interface;
FIG. 6 is a schematic diagram of the EVPN Overlay topology and real-time alert presentation apparatus of the present invention;
FIG. 7 is a schematic diagram of a computer device according to an embodiment of the invention.
Detailed Description
The principles and spirit of the present invention will be described below with reference to several exemplary embodiments, with the understanding that these embodiments are merely provided to enable those skilled in the art to better understand and practice the invention and are not intended to limit the scope of the invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Those skilled in the art will appreciate that embodiments of the invention may be implemented as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the following forms, namely: complete hardware, complete software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
The MAC address (Media Access Control address) is a physical address that is used to uniquely identify a network device (e.g., computer, network adapter, router, etc.). It is an address consisting of 48 binary bits (usually in hexadecimal notation) for identifying devices in a local area network.
The MAC address consists of two parts: the first part is OUI (Organizationally Unique Identifier), a unique identifier assigned by IEEE (Institute of Electrical and Electronics Engineers) to the device manufacturer; the second part is a unique identifier assigned by the device manufacturer.
The MAC address is typically represented in six hexadecimal number pairs, each separated by a colon or hyphen. For example, 00:1A:2B:3C:4D:5E or 00-1A-2B-3C-4D-5E.
The MAC address is used at the data link layer (e.g., ethernet) to uniquely identify the device in the local area network. It is different from an IP address, which is a logical address used for communication at the network layer.
Note that the MAC address is a fixed address of the device and typically does not change unless the device replaces the network adapter.
According to the embodiment of the invention, the EVPN Overlay topology and the real-time alarm display method and device are provided, the topology structure of the network cloud is displayed in real time, an operator is helped to better know the distribution condition of network resources, the availability of network elements can be monitored, faults can be found in time, and an alarm is generated, so that the operator can quickly take measures to repair, and the stability and reliability of the network are improved.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments thereof.
The invention relates to an EVPN Overlay topology and real-time alarm display method, which comprises the following steps:
s01, acquiring EVPN Type2 routing information in real time, and acquiring a VTEP device address and an MAC address of virtual machine equipment and an interconnection relation of the VTEP device address and the virtual machine equipment;
propagation and acquisition procedure of EVPN Type2 route in a Spine-Leaf network the S01 includes:
s011, configuring BGP neighbor relation between the Spine and the Leaf switch, and establishing BGP session, through which the Spine and the Leaf switch exchange EVPN route information;
s012, configuring an EVPN Type2 route, and configuring the EVPN Type2 route on a device (typically a Leaf switch) that needs to propagate the EVPN Type2 route. The EVPN Type2 routing configuration information includes: MAC address and corresponding VNI (Virtual Network Identifier);
s013, an EVPN Type2 route is propagated, the Leaf switch sends the configured EVPN Type2 route information to the Spine switch, and the EVPN Type2 route is propagated to other Leaf switches through BGP session;
s014, collecting EVPN Type2 route configuration information, and storing the EVPN Type2 route configuration information in a routing table of a Spine switch after the Spine switch receives EVPN Type2 route configuration information from other Leaf switches;
S015, establishing a neighbor relation with a Spine switch through external equipment so that the neighbor relation can establish a BGP session with the Spine switch, and exchanging EVPN route information with the Spine switch through the BGP session;
s016, configuring an export strategy of the EVPN Type2 route on the Spine switch to determine the EVPN Type2 route to be propagated to the external equipment;
and S017, the external equipment receives the EVPN Type2 route from the Spine switch and analyzes and stores the route information.
S02, analyzing EVPN Type2 route information, dynamically generating Overlay topology, and reflecting the change of a network structure;
topology presentation capability presents a network topology by representing devices in the network as points and by representing connection relationships between the devices by lines.
S03, refreshing topology in real time;
the route refreshing and the alarm information generation are realized by monitoring the route change information, and when the topology is changed, the front-end interface is informed to carry out the topology refreshing by sending the information, so that the network topology structure is displayed in real time;
the routing change message in S03 includes: new addition, modification and deletion.
The processing flow for the route change message to be newly added comprises the following steps:
judging whether the route mac information exists or not;
If not, adding a VM device;
judging whether a route next hop exists or not;
if not, adding a VTEP device;
judging whether a link between the VM and the VTEP exists or not, if not, adding a link, and if so, updating the link state;
and when the VM equipment is newly added, generating a virtual machine on-line alarm, and when the next hop of the VM equipment is changed, generating a virtual machine migration alarm.
The modified processing flow of the route change message is basically consistent with the newly added processing flow.
The processing flow for deleting the route change message comprises the following steps:
judging whether the route mac information exists, if so, setting the corresponding VM equipment state as del to be deleted, changing the corresponding link state into del deletion state, and generating virtual machine off-line alarm.
S04, pushing alarm information, monitoring the alarm information of the virtual machine, and pushing the information to an administrator in a mail and short message mode so that the administrator can timely sense and process faults;
when the virtual machine is in fault or abnormal condition, the method can capture corresponding alarm information and send the alarm information to a mailbox and a mobile phone which are preset by an administrator. The administrator can know the occurrence of faults in time by checking mails or short messages, and take corresponding measures for processing.
S05, visual display of EVPN Overlay topology and alarm information is achieved, and an administrator is helped to know the state of the network more intuitively.
The EVPN Overlay topology relationship is displayed in a graphical manner, and an administrator can clearly see the connection relationship between the devices.
The devices in the topology are represented in the form of nodes, while the connections between the devices are shown as wires.
In addition to displaying the topological relation, alarm information related to the EVPN Overlay can be displayed in real time.
When the topology changes or faults occur, the captured corresponding alarm information is displayed on an interface, and an administrator can timely sense and process the faults by checking the alarm information.
It should be noted that although the operations of the method of the present invention are described in a particular order in the above embodiments and the accompanying drawings, this does not require or imply that the operations must be performed in the particular order or that all of the illustrated operations be performed in order to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform.
For a clearer explanation of the EVPN Overlay topology and the real-time alert presentation method described above, a specific embodiment will be described below, however, it should be noted that this embodiment is only for better explaining the present invention, and does not constitute an undue limitation of the present invention.
Operator network model simplification as shown in fig. 1, a Spine-Leaf network topology architecture, in which propagation and collection of EVPN Type2 routes is implemented through BGP (Border Gateway Protocol).
Fig. 2 is a flow chart of the EVPN Overlay topology and real-time alert display method of the present invention, as shown in fig. 2:
s01, acquiring EVPN Type2 routing information in real time, and acquiring a VTEP device address and an MAC address of virtual machine equipment and an interconnection relation of the VTEP device address and the virtual machine equipment;
propagation and acquisition procedure of EVPN Type2 route in a Spine-Leaf network the S01 includes:
s011, configuring BGP neighbor relation between the Spine and the Leaf switch, and establishing BGP session, through which the Spine and the Leaf switch exchange EVPN route information;
s012, configuring an EVPN Type2 route, and configuring the EVPN Type2 route on a device (typically a Leaf switch) that needs to propagate the EVPN Type2 route. The EVPN Type2 routing configuration information includes: MAC address and corresponding VNI (Virtual Network Identifier);
s013, an EVPN Type2 route is propagated, the Leaf switch sends the configured EVPN Type2 route information to the Spine switch, and the EVPN Type2 route is propagated to other Leaf switches through BGP session;
S014, collecting EVPN Type2 route configuration information, and storing the EVPN Type2 route configuration information in a routing table of a Spine switch after the Spine switch receives EVPN Type2 route configuration information from other Leaf switches;
s015, establishing a neighbor relation with a Spine switch through external equipment so that the neighbor relation can establish a BGP session with the Spine switch, and exchanging EVPN route information with the Spine switch through the BGP session;
s016, configuring an export strategy of the EVPN Type2 route on the Spine switch to determine the EVPN Type2 route to be propagated to the external equipment;
and S017, the external equipment receives the EVPN Type2 route from the Spine switch and analyzes and stores the route information.
Type2 routing format, take as an example the Type2 routing sent by Leaf1 to Leaf2, the format is as follows table 1:
wherein
TABLE 1
And analyzing and storing the Type2 routing information, wherein the stored data comprises two parts, one part is real-time latest routing information and the other part is routing change information.
The real-time routing information mainly includes the following content, which can be obtained by analyzing the EVPN Type2 route, as shown in the following table 2:
TABLE 2
The change message for the EVPN Type2 route is typically propagated through BGP UPDATE messages.
When a new MAC address needs to be announced or an existing MAC address needs to be updated or deleted, the Spine switch generates a corresponding EVPN Type2 route change message and sends the message to other devices through a BGP UPDATE message.
And judging the type of the change message by analyzing the value of the BGP general attribute object bgp_attr_type.
If the value is 14, the route is reachable as a new route or an updated route, and whether a corresponding route exists in the real-time route message needs to be judged at the moment;
if the corresponding route exists, updating the existing data, adding a change message in a route change information table, and recording information before and after the change;
if the corresponding route does not exist, a route record is newly added, and a record of the newly added route is added in the route change information table.
If the value is 15, the route is not reachable, and the corresponding route information in the real-time table needs to be deleted, and a deleted route record is added in the route change message table.
The route change information mainly contains the following, table 3 below:
TABLE 3 Table 3
S02, analyzing EVPN Type2 route information, dynamically generating Overlay topology, and reflecting the change of a network structure;
topology presentation capability presents a network topology by representing devices in the network as points and by representing connection relationships between the devices by lines.
The VTEP device (Leaf device) is denoted as a point and the virtual device (identified by a MAC address, such as the MAC address of Host 1) is also denoted as a point.
By querying the real-time routing information table, the link relationship between the VTEP device and the virtual device can be obtained.
Specifically, the next hop address may be acquired by referring to the real-time routing information table, which is denoted as a VTEP device, such as OVS1, OVS2, or the like; simultaneously acquiring the MAC address of the host, and representing the MAC address as a virtual device, such as VM1, VM2 and the like; in this way, a link relationship between the VTEP device and the virtual device can be obtained.
The following topology data is generated from the device and link information, points are used to identify individual devices, and lines are used to identify links between devices:
s03, refreshing topology in real time;
the route refreshing and the alarm information generation are realized by monitoring the route change information, and when the topology is changed, the front-end interface is informed to carry out the topology refreshing by sending the information, so that the network topology structure is displayed in real time;
the routing change message in S03 includes: new addition, modification and deletion.
As shown in fig. 3, the process flow of the route change message for the new addition includes:
Judging whether the route mac information exists or not;
if not, adding a VM device;
judging whether a route next hop exists or not;
if not, adding a VTEP device;
judging whether a link between the VM and the VTEP exists or not, if not, adding a link, and if so, updating the link state;
and when the VM equipment is newly added, generating a virtual machine on-line alarm, and when the next hop of the VM equipment is changed, generating a virtual machine migration alarm.
The modified processing flow of the route change message is basically consistent with the newly added processing flow.
As shown in fig. 4, the process flow of deleting the route change message includes:
judging whether the route mac information exists, if so, setting the corresponding VM equipment state as del to be deleted, changing the corresponding link state into del deletion state, and generating virtual machine off-line alarm.
S04, pushing alarm information, monitoring the alarm information of the virtual machine, and pushing the information to an administrator in a mail and short message mode so that the administrator can timely sense and process faults;
when the virtual machine is in fault or abnormal condition, the method can capture corresponding alarm information and send the alarm information to a mailbox and a mobile phone which are preset by an administrator. The administrator can know the occurrence of faults in time by checking mails or short messages, and take corresponding measures for processing.
S05, visual display of EVPN Overlay topology and alarm information is achieved, and an administrator is helped to know the state of the network more intuitively.
The EVPN Overlay topology relationship is displayed in a graphical manner, and an administrator can clearly see the connection relationship between the devices.
The devices in the topology are represented in the form of nodes, while the connections between the devices are shown as wires.
In addition to displaying the topological relation, alarm information related to the EVPN Overlay can be displayed in real time.
When the topology changes or faults occur, the captured corresponding alarm information is displayed on an interface, and an administrator can timely sense and process the faults by checking the alarm information.
As shown in fig. 5, the visualization interface represents the EVPN Overlay topology by using points and lines, while using different legends to represent different alarm types to help administrators better understand and manage the network.
In the topology, each device is represented in the form of a dot, and the connection relationship between the devices is shown in the form of a line. The device can use different colors and lines to represent different alarm types:
for example, the virtual machine offline alert may be represented using dotted points and lines, such as VM1 in FIG. 5;
Virtual machine on-line may be represented using a line and a + sign, such as VMm in fig. 5;
virtual machine migration may be represented using two lines, such as VMn in fig. 5.
Meanwhile, the interface supports a real-time refreshing function, and when a refreshing message is received, the interface can update the topological graph and the alarm information in time, so that the real-time performance of display is ensured. The administrator can know the topology change and the alarm occurrence at any time through the interface, and timely take measures to process.
By the method, the visual interface can intuitively display the EVPN Overlay topological relation and related alarm information, and help an administrator to better know and manage the network. An administrator can monitor the network and process faults through an interface, so that the reliability and stability of the network are improved.
Based on the same inventive concept, the invention also provides an EVPN Overlay topology and a real-time alarm display device. The implementation of the device can be referred to as implementation of the above method, and the repetition is not repeated. The term "module" as used below may be a combination of software and/or hardware that implements the intended function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 6 is a schematic structural diagram of the EVPN Overlay topology and real-time alert display device of the present invention. As shown in fig. 6, the apparatus includes:
the acquisition module 110 acquires the EVPN Type2 routing information in real time, and acquires the address of the VTEP device and the MAC address of the virtual machine device and the interconnection relation of the virtual machine device;
the analysis module 120 analyzes the EVPN Type2 routing information, dynamically generates Overlay topology, and reflects the change of a network structure;
the topology structure module 130 is updated in real time, the topology is refreshed in real time, the route is refreshed and the alarm information is generated by monitoring the route change information, and when the topology is changed, the front-end interface is informed to carry out topology refreshing by sending the information, so that the network topology structure is displayed in real time;
the alarm information pushing module 140 monitors alarm information of the virtual machine and pushes the information to an administrator;
the visualization module 150, the EVPN Overlay topology and the visual display of the alarm information.
The acquisition module 110 includes:
configuring a BGP neighbor relation module, configuring a BGP neighbor relation between a Spine and a Leaf switch, and establishing a BGP session, wherein the Spine and the Leaf switch exchange EVPN routing information through the BGP session;
configuration EVPN Type2 routing module, EVPN Type2 routing configuration information includes: a MAC address and a corresponding VNI;
The EVPN Type2 routing module is propagated, the Leaf switch sends the configured EVPN Type2 routing information to the Spine switch, and the EVPN Type2 routing information is propagated to other Leaf switches through BGP session;
the configuration information module is used for collecting EVPN Type2 route, and the Spine switch receives EVPN Type2 route configuration information from other Leaf switches and stores the EVPN Type2 route configuration information in a routing table of the Spine switch;
the method comprises the steps that an external device and a Spine switch intercommunication module establish a neighbor relation with the Spine switch through the external device, establish a BGP session with the Spine switch, and exchange EVPN routing information with the Spine switch through the BGP session;
the route propagation determining module is used for configuring an export strategy of the EVPN Type2 route on the Spine switch and determining the EVPN Type2 route to be propagated to the external equipment;
and the analysis and storage module and the external equipment receive the EVPN Type2 route from the Spine switch and analyze and store the route information.
The routing change message in the real-time update topology module 130 includes: new addition, modification and deletion.
The processing flow for the route change message to be newly added comprises the following steps:
judging whether the route mac information exists or not;
if not, adding a VM device;
Judging whether a route next hop exists or not;
if not, adding a VTEP device;
judging whether a link between the VM and the VTEP exists or not, if not, adding a link, and if so, updating the link state;
and when the VM equipment is newly added, generating a virtual machine on-line alarm, and when the next hop of the VM equipment is changed, generating a virtual machine migration alarm.
The processing flow for deleting the route change message comprises the following steps:
judging whether the route mac information exists, if so, setting the corresponding VM equipment state as del to be deleted, changing the corresponding link state into del deletion state, and generating virtual machine off-line alarm.
It should be noted that while several modules of the EVPN Overlay topology and real-time alert presentation apparatus are mentioned in the detailed description above, this partitioning is merely exemplary and not mandatory. Indeed, the features and functions of two or more modules described above may be embodied in one module in accordance with embodiments of the present invention. Conversely, the features and functions of one module described above may be further divided into a plurality of modules to be embodied.
Based on the foregoing inventive concept, as shown in fig. 7, the present invention further proposes a computer device 200, including a memory 210, a processor 220, and a computer program 230 stored in the memory 210 and capable of running on the processor 220, where the processor 220 implements the foregoing EVPN Overlay topology and real-time alert presentation method when executing the computer program 230.
Based on the foregoing inventive concept, the present invention further proposes a computer readable storage medium storing a computer program for executing the foregoing EVPN Overlay topology and real-time alert presentation method.
The invention discloses an EVPN Overlay topology and real-time alarm display method and device, which have the following beneficial effects:
the visual interface can display the EVPN overlay topology in a graphical mode, so that a network manager and operation and maintenance personnel can intuitively know the structure and connection relation of the whole network. Through the visual interface, the user can more easily understand and analyze the network topology, and quickly locate and troubleshoot the problem.
The visual interface can display the EVPN overlay topology in a graphical mode, so that a network manager and operation and maintenance personnel can intuitively know the structure and connection relation of the whole network. Through the visual interface, the user can more easily understand and analyze the network topology, and quickly locate and troubleshoot the problem.
The visual interface can be customized and expanded according to the requirements and the demands of users, and additional functions and modules can be added to meet different service demands. The user can select and configure different network topology display modes according to the needs of the user, and the flexibility and the adaptability of the interface are improved.
The efficiency can visually and conveniently see the alarm information related to the virtual machine from the topology, thereby being convenient for an administrator to quickly locate the fault and providing the efficiency of problem location and fault processing.
By the aid of the device, an administrator can be helped to sense the fault condition of the virtual machine in real time, and efficiency and accuracy of fault processing are improved. An administrator can take measures in time to repair faults and ensure normal operation of the virtual machine. Meanwhile, by pushing mails and short messages, an administrator can receive alarm information anytime and anywhere, and can timely process faults wherever the administrator is, so that the flexibility and the efficiency of work are improved.
While the spirit and principles of the present invention have been described with reference to several particular embodiments, it is to be understood that the invention is not limited to the disclosed embodiments nor does it imply that features of the various aspects are not useful in combination, nor are they useful in any combination, such as for convenience of description. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Various implementations of the systems and techniques described here above can be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.
It should be apparent to those skilled in the art that various modifications or variations can be made in the present invention without requiring any inventive effort by those skilled in the art based on the technical solutions of the present invention.

Claims (12)

1. An EVPN Overlay topology and real-time alarm display method is characterized by comprising the following steps:
s01, acquiring EVPN Type2 routing information in real time, and acquiring a VTEP device address and an MAC address of virtual machine equipment and an interconnection relation of the VTEP device address and the virtual machine equipment;
s02, analyzing EVPN Type2 route information, dynamically generating Overlay topology, and reflecting the change of a network structure;
s03, refreshing the topology in real time, namely realizing route refreshing and alarm information generation by monitoring route change information, and sending a message to inform a front-end interface to refresh the topology when the topology changes, so as to display a network topology structure in real time;
s04, pushing alarm information, monitoring the alarm information of the virtual machine, and pushing the information to an administrator;
s05, visual display of EVPN Overlay topology and alarm information.
2. The EVPN Overlay topology and real-time alert presentation method of claim 1, wherein said S01 comprises:
S011, configuring BGP neighbor relation between the Spine and the Leaf switch, and establishing BGP session, through which the Spine and the Leaf switch exchange EVPN route information;
s012, EVPN Type2 route is configured, and EVPN Type2 route configuration information comprises: a MAC address and a corresponding VNI;
s013, an EVPN Type2 route is propagated, the Leaf switch sends the configured EVPN Type2 route information to the Spine switch, and the EVPN Type2 route is propagated to other Leaf switches through BGP session;
s014, collecting EVPN Type2 route configuration information, and storing the EVPN Type2 route configuration information in a routing table of a Spine switch after the Spine switch receives EVPN Type2 route configuration information from other Leaf switches;
s015, establishing a neighbor relation with a Spine switch through external equipment, establishing a BGP session with the Spine switch, and exchanging EVPN routing information with the Spine switch through the BGP session by the external equipment;
s016, configuring an export strategy of the EVPN Type2 route on the Spine switch, and determining the EVPN Type2 route to be propagated to external equipment;
and S017, the external equipment receives the EVPN Type2 route from the Spine switch and analyzes and stores the route information.
3. The EVPN Overlay topology and real-time alert presentation method according to claim 1, wherein the routing change message in S03 comprises: new addition, modification and deletion.
4. The EVPN Overlay topology and real-time alert presentation method of claim 3, wherein the process of routing a change message to a new one comprises:
judging whether the route mac information exists or not;
if not, adding a VM device;
judging whether a route next hop exists or not;
if not, adding a VTEP device;
judging whether a link between the VM and the VTEP exists or not, if not, adding a link, and if so, updating the link state;
and when the VM equipment is newly added, generating a virtual machine on-line alarm, and when the next hop of the VM equipment is changed, generating a virtual machine migration alarm.
5. The EVPN Overlay topology and real-time alert presentation method of claim 3, wherein the process flow of the route change message for deletion comprises:
judging whether the route mac information exists, if so, setting the corresponding VM equipment state as del to be deleted, changing the corresponding link state into del deletion state, and generating virtual machine off-line alarm.
6. An EVPN Overlay topology and real-time alert presentation apparatus, comprising:
the acquisition module acquires the EVPN Type2 routing information in real time, and acquires the address of the VTEP equipment and the MAC address of the virtual machine equipment and the interconnection relation of the VTEP equipment and the MAC address;
The analysis module is used for analyzing EVPN Type2 route information, dynamically generating Overlay topology and reflecting the change of a network structure;
the topology structure module is updated in real time, the topology is refreshed in real time, the route is refreshed and the alarm information is generated by monitoring the route change information, and when the topology is changed, the front-end interface is informed to carry out topology refreshing by sending the information, so that the network topology structure is displayed in real time;
the alarm information pushing module monitors alarm information of the virtual machine and pushes the information to an administrator;
and the visual display module is used for visual display of the EVPN Overlay topology and the alarm information.
7. The EVPN Overlay topology and real-time alert presentation device of claim 6, wherein said acquisition module comprises:
configuring a BGP neighbor relation module, configuring a BGP neighbor relation between a Spine and a Leaf switch, and establishing a BGP session, wherein the Spine and the Leaf switch exchange EVPN routing information through the BGP session;
configuration EVPN Type2 routing module, EVPN Type2 routing configuration information includes: a MAC address and a corresponding VNI;
the EVPN Type2 routing module is propagated, the Leaf switch sends the configured EVPN Type2 routing information to the Spine switch, and the EVPN Type2 routing information is propagated to other Leaf switches through BGP session;
The configuration information module is used for collecting EVPN Type2 route, and the Spine switch receives EVPN Type2 route configuration information from other Leaf switches and stores the EVPN Type2 route configuration information in a routing table of the Spine switch;
the method comprises the steps that an external device and a Spine switch intercommunication module establish a neighbor relation with the Spine switch through the external device, establish a BGP session with the Spine switch, and exchange EVPN routing information with the Spine switch through the BGP session;
the route propagation determining module is used for configuring an export strategy of the EVPN Type2 route on the Spine switch and determining the EVPN Type2 route to be propagated to the external equipment;
and the analysis and storage module and the external equipment receive the EVPN Type2 route from the Spine switch and analyze and store the route information.
8. The EVPN Overlay topology and real-time alert presentation apparatus of claim 6, wherein said updating the routing change message in the topology module in real-time comprises: new addition, modification and deletion.
9. The EVPN Overlay topology and real-time alert presentation device of claim 8, wherein said routing change message is a newly added process flow comprising:
judging whether the route mac information exists or not;
if not, adding a VM device;
Judging whether a route next hop exists or not;
if not, adding a VTEP device;
judging whether a link between the VM and the VTEP exists or not, if not, adding a link, and if so, updating the link state;
and when the VM equipment is newly added, generating a virtual machine on-line alarm, and when the next hop of the VM equipment is changed, generating a virtual machine migration alarm.
10. The EVPN Overlay topology and real-time alert presentation device of claim 8, wherein the process flow of the route change message for deletion comprises:
judging whether the route mac information exists, if so, setting the corresponding VM equipment state as del to be deleted, changing the corresponding link state into del deletion state, and generating virtual machine off-line alarm.
11. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 1-5 when executing the computer program.
12. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program for performing the method of any one of claims 1-5.
CN202311544532.7A 2023-11-20 2023-11-20 EVPN Overlay topology and real-time alarm display method and device Pending CN117596150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311544532.7A CN117596150A (en) 2023-11-20 2023-11-20 EVPN Overlay topology and real-time alarm display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311544532.7A CN117596150A (en) 2023-11-20 2023-11-20 EVPN Overlay topology and real-time alarm display method and device

Publications (1)

Publication Number Publication Date
CN117596150A true CN117596150A (en) 2024-02-23

Family

ID=89912648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311544532.7A Pending CN117596150A (en) 2023-11-20 2023-11-20 EVPN Overlay topology and real-time alarm display method and device

Country Status (1)

Country Link
CN (1) CN117596150A (en)

Similar Documents

Publication Publication Date Title
US11362884B2 (en) Fault root cause determining method and apparatus, and computer storage medium
US10797970B2 (en) Interactive hierarchical network chord diagram for application dependency mapping
US11121920B2 (en) Cloud management connectivity assurance
US8848544B2 (en) Event correlation using network data flow simulation over unmanaged network segments
US8270306B2 (en) Fault management apparatus and method for identifying cause of fault in communication network
US11863410B2 (en) System and method for conducting intelligent traffic flow analytics
US9787546B2 (en) Network management system generating virtual network map and related methods
US20220200844A1 (en) Data processing method and apparatus, and computer storage medium
US8751637B2 (en) Network monitoring server and network monitoring system
CN106302076B (en) Method and system for establishing VXLAN tunnel and SDN controller
US8457006B2 (en) Diagnosing network problems in an IPV6 dual stack network
JP3896310B2 (en) Virtual network design device, sub-network design device, virtual network design method and program, and computer-readable recording medium
EP3937425A1 (en) Deriving network device and host connection
US8750299B2 (en) Multicast tree discovery using 802.1ag
JP3481833B2 (en) Network management system and recording medium recording management program
CN117596150A (en) EVPN Overlay topology and real-time alarm display method and device
Levin et al. Network Monitoring in Federated Cloud Environment
JP2003032257A (en) Method of specifying installed spot of lan component unit and retrieval device
CN113364681A (en) Network path determination method, network path determination device, electronic apparatus, network path determination medium, and program product
CN114553707A (en) Method and device for generating topology information of network and delimiting network fault
EP4290819A1 (en) Service deployment method, apparatus, and system
CN115225634B (en) Data forwarding method, device and computer program product under virtual network
CN116192653A (en) Route visualization method, system, medium and equipment
CN114389982A (en) Network quality evaluation method, device, equipment and medium
CN117792900A (en) Network changing method, device, equipment and readable storage medium

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