CN116389339A - Test method, device, equipment and medium for sharing multiple ECMP loads - Google Patents
Test method, device, equipment and medium for sharing multiple ECMP loads Download PDFInfo
- Publication number
- CN116389339A CN116389339A CN202310426165.4A CN202310426165A CN116389339A CN 116389339 A CN116389339 A CN 116389339A CN 202310426165 A CN202310426165 A CN 202310426165A CN 116389339 A CN116389339 A CN 116389339A
- Authority
- CN
- China
- Prior art keywords
- test
- load sharing
- local area
- virtual local
- environment
- 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
Links
- 238000010998 test method Methods 0.000 title abstract description 6
- 238000012360 testing method Methods 0.000 claims abstract description 153
- 238000000034 method Methods 0.000 claims abstract description 42
- 238000005516 engineering process Methods 0.000 claims abstract description 19
- 238000005259 measurement Methods 0.000 claims abstract description 14
- 238000013515 script Methods 0.000 claims description 15
- 238000010276 construction Methods 0.000 claims description 14
- 238000003860 storage Methods 0.000 claims description 13
- 230000008859 change Effects 0.000 claims description 3
- 238000012790 confirmation Methods 0.000 claims description 3
- 238000005304 joining Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 10
- 238000004590 computer program Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 230000009286 beneficial effect Effects 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/084—Configuration by using pre-existing information, e.g. using templates or copying from other elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/20—Arrangements for monitoring or testing data switching networks the monitoring system or the monitored elements being virtualised, abstracted or software-defined entities, e.g. SDN or NFV
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/24—Multipath
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The application discloses a test method, a device, equipment and a medium for sharing a plurality of ECMP loads, wherein the method comprises the following steps: confirming a test task, and determining main test equipment and auxiliary test equipment according to the test task; according to the test task, a test environment is built, wherein the test environment comprises a single physical link, a virtual local area network and a logic interface corresponding to the virtual local area network; binding the logic interfaces on the auxiliary measurement equipment through an Access Control List (ACL) technology to obtain the number of messages; and judging whether the load sharing link carries out load sharing or not according to the number of the messages. The invention adopts one physical link to replace the original multiple physical links, and the environment is simpler to build. And is not limited by the number of load sharing links supported on the switch. The more ECMP load sharing links supported by the switch, the more efficient the method is, and the stronger the ductility is.
Description
Technical Field
The present application relates to the field of equivalent routing, and in particular, to a method, an apparatus, a device, and a medium for testing multiple ECMP load sharing.
Background
In a network environment where a plurality of different links reach the same destination address, ECMP (Equal Cost Multi-path) exists, if a conventional routing technology is used, a data packet sent to the destination address can only use one link, and other links are in a backup state or an invalid state, and a certain time is required for mutual switching in a dynamic routing environment, while an Equal Multi-path routing protocol can use a plurality of links simultaneously in the network environment, so that not only is the transmission bandwidth increased, but also the data transmission of a failed link can be backed up without delay and packet loss.
A conventional switch supports a maximum of 6 ECMP load sharing links, while 32 have been implemented on the new switch project. The traditional test method is to build 32 physical links, configure IP addresses on each link, add all IP addresses to the same OSPF domain to route, and then check port statistics on each link to determine whether load sharing is performed on the 32 links.
The method has the advantages that the material requirement consumption for environment construction is high, the construction is complex, and meanwhile, the configuration of the IP addresses of a large number of ports is troublesome, so that the testing complexity is greatly improved.
Disclosure of Invention
In order to solve the above problems, the present application provides a method, an apparatus, a device, and a medium for testing multiple ECMP load sharing, where the method includes:
confirming a test task, and determining main test equipment and auxiliary test equipment according to the test task; according to the test task, a test environment is built, wherein the test environment comprises a single physical link, a virtual local area network and a logic interface corresponding to the virtual local area network; binding the logic interfaces on the auxiliary measurement equipment through an Access Control List (ACL) technology to obtain the number of messages; and judging whether the load sharing link carries out load sharing or not according to the number of the messages.
In one example, the building a test environment according to the test task specifically includes: connecting the primary device and the secondary device with a single physical link; and configuring a first tester port and a second tester port which can be used for sending IP variation traffic, wherein the first tester port is connected with the main testing device, and the second tester port is connected with the auxiliary testing device.
In one example, after the configuring the first tester port and the second tester port capable of being used to send IP change traffic, the method further comprises: joining a plurality of virtual local area networks on the single physical link between the primary device and the secondary device; the number of the virtual local area networks is the same as the number of the load sharing links; creating logic interfaces corresponding to the plurality of virtual local area networks and configuring a plurality of corresponding first IP addresses; different mac addresses are configured under each logical interface of the master device.
In one example, after configuring a different mac address under each logical interface of the master device, the method further comprises: creating a virtual local area network for a port of the first tester port adjacent to the main testing device and a port of the second tester port adjacent to the auxiliary testing device, and creating a corresponding logic interface and configuring a second IP address; and adding the first IP address and the second IP address into the same OSPF domain.
In one example, the primary and secondary devices are the same type of device.
In one example, when the logic interface is bound on the auxiliary measurement device through an access control list ACL technology, a statistical keyword is set to be a mac address corresponding to the logic port.
In one example, the building a test environment according to the test task specifically includes: determining an environment construction script in a database according to the test task; and setting up a script through the environment, and configuring the test environment.
The application also provides a test device for sharing the ECMP load, which comprises: the task confirmation module confirms a test task and determines main test equipment and auxiliary test equipment according to the test task; the environment construction module constructs a test environment according to the test task, wherein the test environment comprises a single physical link, a virtual local area network and a logic interface corresponding to the virtual local area network; the message acquisition module binds the logic interfaces on the auxiliary measurement equipment through an Access Control List (ACL) technology to acquire the number of messages; and the judging module is used for judging whether the load sharing link carries out load sharing according to the number of the messages.
The application also provides a test device for sharing the ECMP load, which comprises: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform: confirming a test task, and determining main test equipment and auxiliary test equipment according to the test task; according to the test task, a test environment is built, wherein the test environment comprises a single physical link, a virtual local area network and a logic interface corresponding to the virtual local area network; binding the logic interfaces on the auxiliary measurement equipment through an Access Control List (ACL) technology to obtain the number of messages; and judging whether the load sharing link carries out load sharing or not according to the number of the messages.
The present application also provides a non-volatile computer storage medium storing computer-executable instructions configured to: confirming a test task, and determining main test equipment and auxiliary test equipment according to the test task; according to the test task, a test environment is built, wherein the test environment comprises a single physical link, a virtual local area network and a logic interface corresponding to the virtual local area network; binding the logic interfaces on the auxiliary measurement equipment through an Access Control List (ACL) technology to obtain the number of messages; and judging whether the load sharing link carries out load sharing or not according to the number of the messages.
The method provided by the application has the following beneficial effects: the invention adopts one physical link to replace the original multiple physical links, and the environment is simpler to build. And is not limited by the number of load sharing links supported on the switch. The more ECMP load sharing links supported by the switch, the more efficient the method is, and the stronger the ductility is. When a physical link is added into a plurality of vlans, and when a vlan if is created and an IP address is configured, and when a plurality of ACLs are configured and bound on Device2, the configuration can be directly performed by using scripts, so that the time of manual input is saved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
FIG. 1 is a schematic diagram of a test networking of a test method in the prior art according to an embodiment of the present application;
FIG. 2 is a flow chart of a method for testing multiple ECMP load sharing in an embodiment of the present application;
FIG. 3 is a schematic diagram of an environment setup for test networking in an embodiment of the present application;
FIG. 4 is a schematic structural diagram of a testing device for multiple ECMP load sharing in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a test apparatus for multiple ECMP load sharing in an embodiment of the present application.
Detailed Description
For the purposes, technical solutions and advantages of the present application, the technical solutions of the present application will be clearly and completely described below with reference to specific embodiments of the present application and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
As shown in fig. 1, the conventional test method is to build 32 physical links, configure IP addresses on each link, add all the IP addresses to the same OSPF domain to route, and then look at port statistics on each link to determine whether load sharing is performed on the 32 links. The method has the advantages that the material requirement consumption for environment construction is high, the construction is complex, and meanwhile, the configuration of the IP addresses of a large number of ports is troublesome, so that the testing complexity is greatly improved.
The following describes in detail the technical solutions provided by the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a flow chart of a method for testing multiple ECMP load sharing according to one or more embodiments of the present disclosure. The process may be performed by computing devices in the respective areas, with some input parameters or intermediate results in the process allowing manual intervention adjustments to help improve accuracy.
The implementation of the analysis method according to the embodiment of the present application may be a terminal device or a server, which is not particularly limited in this application. For ease of understanding and description, the following embodiments are described in detail with reference to a server.
It should be noted that the server may be a single device, or may be a system formed by a plurality of devices, that is, a distributed server, which is not specifically limited in this application.
As shown in fig. 1, an embodiment of the present application provides a method for testing multiple ECMP load sharing, including:
s101: and confirming a test task, and determining a main test device and an auxiliary test device according to the test task.
Firstly, a test task issued by a worker needs to be confirmed, and main test equipment and auxiliary test equipment in the test task are determined according to the test task requirement issued by the worker.
S102: and building a test environment according to the test task, wherein the test environment comprises a single physical link, a virtual local area network and a logic interface corresponding to the virtual local area network.
Before testing, a testing environment is built according to the testing requirements of a testing task, wherein the testing environment comprises a single physical link, a virtual local area network and a corresponding logic interface.
As shown in fig. 2, in one embodiment, when the test environment is built, first, a physical link (shown as if2 and if 3) is used to connect the primary Device 1 and the secondary Device 2; a first tester port (Tc a) capable of transmitting IP-change traffic, where the first tester port is connected to the primary test device, and a second tester port (Tc B) connected to the secondary test device, are then configured.
In one embodiment, after the tester port is configured, multiple virtual local area networks need to be added on a single physical link between the primary and secondary devices; the number of virtual local area networks is here the same as the number of load sharing links. And simultaneously creating logical interfaces corresponding to the plurality of virtual local area networks and configuring a plurality of corresponding first IP addresses. In addition, a different mac address is configured under each logical interface of the host device under test.
In one embodiment, after configuring the mac address for the logical interface, a virtual local area network is also created for the port where the first tester port is adjacent to the primary device under test (as in fig. if 1) and the port where the second tester port is adjacent to the secondary device under test (as in fig. if 4), and a corresponding logical interface is created and a second IP address is configured; and adding the first IP address and the second IP address into the same OSPF domain to open a route.
In one embodiment, the primary device and the secondary device need to be the same device, so that the limits on the ECMP load burden link remain consistent, which is beneficial to establishing the number of virtual links that meet the test requirements.
S103: and binding the logic interfaces on the auxiliary measurement equipment through an Access Control List (ACL) technology to obtain the number of the messages.
And checking the number of messages received by each logic interface by using an Access Control List (ACL) technology on the auxiliary testing equipment.
In one embodiment, when the logical interface is bound, the statistical key is set to the mac address corresponding to the logical port.
S104: and judging whether the load sharing link carries out load sharing or not according to the number of the messages.
And judging whether the load sharing link carries out load sharing or not according to the number of the messages corresponding to the logic interface.
In one embodiment, when the test environment is built, the configuration can be brushed through the pre-set scripts, so that the time for manual input is saved, the pre-written environment building scripts are summarized and determined in the database according to the test requirements of the test tasks, and then the test environment is configured through the environment building scripts.
The environment construction script can be stored in the storage device of the computer equipment in advance, and when the test environment needs to be constructed, the computer equipment can select the environment construction script from the storage device. Of course, the computer device may also obtain the environment setup script from other external devices. For example, the environment construction script is stored in the cloud, and when the test environment needs to be constructed, the computer device can acquire the environment construction script from the cloud, and the acquisition mode of the environment construction script is not limited in this embodiment.
By adopting one physical link to replace the original multiple physical links, the environment is simpler to build. And is not limited by the number of load sharing links supported on the switch. The more ECMP load sharing links supported by the switch, the more efficient the method is, and the stronger the ductility is. Meanwhile, when the physical link is added with a plurality of vlans, and when the vlan if is created and the IP address is configured, and when a plurality of ACLs are configured and bound on the Device2, the configuration can be directly brushed by using the script, so that the time of manual input is saved.
As shown in fig. 4, the embodiment of the present application further provides a testing apparatus for multiple ECMP load sharing, including:
the task confirmation module 401 confirms a test task and determines main test equipment and auxiliary test equipment according to the test task;
an environment construction module 402, for constructing a test environment according to the test task, where the test environment includes a single physical link, a virtual local area network, and a logic interface corresponding to the virtual local area network;
the message obtaining module 403 binds the logical interfaces on the auxiliary measurement device through an access control list ACL technology to obtain the number of messages;
and a judging module 404, for judging whether the load sharing link performs load sharing according to the number of the messages.
As shown in fig. 5, the embodiment of the present application further provides a test apparatus for multiple ECMP load sharing, including:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
confirming a test task, and determining main test equipment and auxiliary test equipment according to the test task; according to the test task, a test environment is built, wherein the test environment comprises a single physical link, a virtual local area network and a logic interface corresponding to the virtual local area network; binding the logic interfaces on the auxiliary measurement equipment through an Access Control List (ACL) technology to obtain the number of messages; and judging whether the load sharing link carries out load sharing or not according to the number of the messages.
The embodiments also provide a non-volatile computer storage medium storing computer executable instructions configured to:
confirming a test task, and determining main test equipment and auxiliary test equipment according to the test task; according to the test task, a test environment is built, wherein the test environment comprises a single physical link, a virtual local area network and a logic interface corresponding to the virtual local area network; binding the logic interfaces on the auxiliary measurement equipment through an Access Control List (ACL) technology to obtain the number of messages; and judging whether the load sharing link carries out load sharing or not according to the number of the messages.
All embodiments in the application are described in a progressive manner, and identical and similar parts of all embodiments are mutually referred, so that each embodiment mainly describes differences from other embodiments. In particular, for the apparatus and medium embodiments, the description is relatively simple, as it is substantially similar to the method embodiments, with reference to the section of the method embodiments being relevant.
The devices and media provided in the embodiments of the present application are in one-to-one correspondence with the methods, so that the devices and media also have similar beneficial technical effects as the corresponding methods, and since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media are not described in detail herein.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.
Claims (10)
1. A method for testing load sharing of a plurality of ECMP, comprising:
confirming a test task, and determining main test equipment and auxiliary test equipment according to the test task;
according to the test task, a test environment is built, wherein the test environment comprises a single physical link, a virtual local area network and a logic interface corresponding to the virtual local area network;
binding the logic interfaces on the auxiliary measurement equipment through an Access Control List (ACL) technology to obtain the number of messages;
and judging whether the load sharing link carries out load sharing or not according to the number of the messages.
2. The method according to claim 1, wherein building a test environment according to the test task comprises:
connecting the primary device and the secondary device with a single physical link;
and configuring a first tester port and a second tester port which can be used for sending IP variation traffic, wherein the first tester port is connected with the main testing device, and the second tester port is connected with the auxiliary testing device.
3. The method of claim 2, wherein after the configuring the first tester port and the second tester port operable to transmit IP change traffic, the method further comprises:
joining a plurality of virtual local area networks on the single physical link between the primary device and the secondary device; the number of the virtual local area networks is the same as the number of the load sharing links;
creating logic interfaces corresponding to the plurality of virtual local area networks and configuring a plurality of corresponding first IP addresses;
different mac addresses are configured under each logical interface of the master device.
4. The method of claim 3, wherein after configuring a different mac address under each logical interface of the master device, the method further comprises:
creating a virtual local area network for a port of the first tester port adjacent to the main testing device and a port of the second tester port adjacent to the auxiliary testing device, and creating a corresponding logic interface and configuring a second IP address;
and adding the first IP address and the second IP address into the same OSPF domain.
5. The method of claim 1, wherein the primary and secondary devices are the same type of device.
6. The method of claim 1, wherein the statistical key is set to the mac address corresponding to the logical port when the logical interface is bound on the secondary device by access control list ACL technology.
7. The method according to claim 1, wherein building a test environment according to the test task comprises:
determining an environment construction script in a database according to the test task;
and setting up a script through the environment, and configuring the test environment.
8. A test device for multiple ECMP load sharing, comprising:
the task confirmation module confirms a test task and determines main test equipment and auxiliary test equipment according to the test task;
the environment construction module constructs a test environment according to the test task, wherein the test environment comprises a single physical link, a virtual local area network and a logic interface corresponding to the virtual local area network;
the message acquisition module binds the logic interfaces on the auxiliary measurement equipment through an Access Control List (ACL) technology to acquire the number of messages;
and the judging module is used for judging whether the load sharing link carries out load sharing according to the number of the messages.
9. A test apparatus for multiple ECMP load sharing, comprising:
at least one processor; and a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform:
confirming a test task, and determining main test equipment and auxiliary test equipment according to the test task;
according to the test task, a test environment is built, wherein the test environment comprises a single physical link, a virtual local area network and a logic interface corresponding to the virtual local area network;
binding the logic interfaces on the auxiliary measurement equipment through an Access Control List (ACL) technology to obtain the number of messages;
and judging whether the load sharing link carries out load sharing or not according to the number of the messages.
10. A non-transitory computer storage medium storing computer-executable instructions, the computer-executable instructions configured to:
confirming a test task, and determining main test equipment and auxiliary test equipment according to the test task;
according to the test task, a test environment is built, wherein the test environment comprises a single physical link, a virtual local area network and a logic interface corresponding to the virtual local area network;
binding the logic interfaces on the auxiliary measurement equipment through an Access Control List (ACL) technology to obtain the number of messages;
and judging whether the load sharing link carries out load sharing or not according to the number of the messages.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310426165.4A CN116389339A (en) | 2023-04-17 | 2023-04-17 | Test method, device, equipment and medium for sharing multiple ECMP loads |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310426165.4A CN116389339A (en) | 2023-04-17 | 2023-04-17 | Test method, device, equipment and medium for sharing multiple ECMP loads |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116389339A true CN116389339A (en) | 2023-07-04 |
Family
ID=86980604
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310426165.4A Pending CN116389339A (en) | 2023-04-17 | 2023-04-17 | Test method, device, equipment and medium for sharing multiple ECMP loads |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116389339A (en) |
-
2023
- 2023-04-17 CN CN202310426165.4A patent/CN116389339A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11237858B2 (en) | Software-defined data center, and deployment method for service cluster therein | |
CN110661702B (en) | Link backup method and device and computer readable storage medium | |
CN107517119B (en) | Virtual network detection method and device in VPC environment | |
CN106936682B (en) | Processing method and controller for appointed forwarder and provider edge device | |
CN113872847B (en) | Message forwarding method, device and medium based on VXLAN network | |
CN109728962B (en) | Method and equipment for sending message | |
CN107659484B (en) | Method, device and system for accessing VXLAN network from VLAN network | |
CN111556110B (en) | Automatic adaptation method for different physical service networks of private cloud system | |
CN105162704A (en) | Multicast replication method and device in Overlay network | |
CN111711536A (en) | Method for constructing firewall test environment under cloud architecture | |
CN110311861B (en) | Method and device for guiding data flow | |
CN112311669B (en) | Network service switching method, device, system and storage medium | |
US20240106708A1 (en) | Fabric availability and synchronization | |
US8526334B2 (en) | Choosing connectable end points for network test | |
CN104468389A (en) | Message processing method, servers and server system | |
CN110324202B (en) | Method and device for detecting line quality | |
US20230254244A1 (en) | Path determining method and apparatus, and computer storage medium | |
CN116389339A (en) | Test method, device, equipment and medium for sharing multiple ECMP loads | |
CN112564983B (en) | Data transmission method, device, computer system and medium | |
CN103944776A (en) | Self-loop link aggregation method and device | |
CN115277349A (en) | Method for configuring distributed gateway, open virtual network and storage medium | |
CN114553707B (en) | Method and device for generating topology information of network and delimiting network faults | |
CN112887185B (en) | Communication method and device of overlay network | |
CN107104837B (en) | Method and control device for path detection | |
CN111953786A (en) | System, method and device for recording messages in whole network, network equipment and 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 |