Nothing Special   »   [go: up one dir, main page]

CN109274532B - Method, device and system for issuing policy, centralized control equipment and readable storage medium - Google Patents

Method, device and system for issuing policy, centralized control equipment and readable storage medium Download PDF

Info

Publication number
CN109274532B
CN109274532B CN201811098952.6A CN201811098952A CN109274532B CN 109274532 B CN109274532 B CN 109274532B CN 201811098952 A CN201811098952 A CN 201811098952A CN 109274532 B CN109274532 B CN 109274532B
Authority
CN
China
Prior art keywords
address information
network
network equipment
network devices
strategy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811098952.6A
Other languages
Chinese (zh)
Other versions
CN109274532A (en
Inventor
于京琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201811098952.6A priority Critical patent/CN109274532B/en
Publication of CN109274532A publication Critical patent/CN109274532A/en
Application granted granted Critical
Publication of CN109274532B publication Critical patent/CN109274532B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting

Landscapes

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

Abstract

The application provides a method, a device, a system, a centralized control device and a readable storage medium for issuing a policy, wherein the method is applied to the centralized control device in a network device management system, the system also comprises a plurality of network devices, the centralized control device is pre-configured with address information of the plurality of network devices, the address information comprises IP addresses and MAC addresses, the plurality of network devices have the same IP address, and the method comprises the following steps: establishing connection with a first network device in the plurality of network devices through address information of the first network device; acquiring a target strategy which is configured for the first network equipment and successfully issued based on the established connection; and synchronizing the target strategy to other network equipment by traversing the address information of other network equipment except the first network equipment. By applying the embodiment of the application, the consumption of human resources can be reduced, and the efficiency of policy configuration and issuing is improved.

Description

Method, device and system for issuing policy, centralized control equipment and readable storage medium
Technical Field
The present application relates to the field of computers, and in particular, to a method, an apparatus, a system, a centralized control device, and a readable storage medium for issuing a policy.
Background
With the development of network technology and the deepening of network applications, the complexity of networks is continuously increased, and the requirements on network equipment management are increased increasingly. The complexity of the network makes the managed network devices appear to be distributed management in the system, so it is necessary to rely on the network device management system for centralized management. The centralized management means that a plurality of network devices which need to be managed in a centralized manner are issued with strategies in a unified manner through centralized control devices in the network device management system, so that unified supervision is realized.
In the related art, in the same network environment, a plurality of network devices have the same IP address and different MAC addresses, and when performing centralized management, an administrator establishes network connections between the centralized control device and each network device one by one through manual operation, and the centralized control device performs policy configuration and policy delivery on the network devices based on the established network connections.
However, establishing network connections one by one requires an administrator to continuously perform manual operations to switch the network connections between the centralized control device and the network devices, and particularly when the number of the network devices to be managed in a centralized manner is large, not only a large amount of manpower is consumed, but also the efficiency of policy configuration and issuing is not high.
Disclosure of Invention
In view of this, the present application provides a method, an apparatus, a system, a centralized control device and a readable storage medium for issuing a policy, so as to solve the problems of human resource consumption and low efficiency caused by issuing policy configuration through manual switching in the prior art.
Specifically, the method is realized through the following technical scheme:
in a first aspect, a method for issuing a policy is provided, where the method is applied to a centralized control device in a network device management system, the system further includes multiple network devices, and address information of the multiple network devices is pre-configured on the centralized control device, where the address information includes an IP address and an MAC address, and the multiple network devices have the same IP address, and the method includes:
establishing connection with a first network device in the plurality of network devices through address information of the first network device;
acquiring a target strategy which is configured for the first network equipment and successfully issued based on the established connection;
and synchronizing the target strategy to other network equipment by traversing the address information of other network equipment except the first network equipment.
In a second aspect, an apparatus for issuing a policy is provided, where the apparatus includes:
the system comprises a pre-configuration module, a central control device and a control module, wherein the pre-configuration module is used for pre-configuring address information of a plurality of network devices on the central control device, the address information comprises IP addresses and MAC addresses, and the plurality of network devices have the same IP addresses;
the first connection module is used for establishing connection with a first network device in the plurality of network devices through address information of the first network device;
an obtaining module, configured to obtain a target policy configured for the first network device and successfully issued based on the established connection;
and the synchronization module is used for synchronizing the target strategy to other network equipment by traversing the address information of other network equipment except the first network equipment.
In a third aspect, a network device management system is provided, the system including: the system comprises a centralized control device and a plurality of network devices, wherein the centralized control device is pre-configured with address information of the plurality of network devices, the address information comprises IP addresses and MAC addresses, and the plurality of network devices have the same IP addresses;
the centralized control equipment is used for establishing connection with first network equipment in the plurality of network equipment through address information of the first network equipment; acquiring a target strategy which is configured for the first network equipment and successfully issued based on the established connection; and synchronizing the target strategy to other network equipment by traversing the address information of other network equipment except the first network equipment.
In a fourth aspect, a centralized control device is provided, which includes: an internal bus, and a memory, a processor, and an external interface connected through the internal bus, wherein,
the memory is used for storing address information of a plurality of network devices which are configured on the centralized control device in advance, wherein the address information comprises IP addresses and MAC addresses, and the plurality of network devices have the same IP addresses;
the processor is used for reading the machine-readable instructions on the memory and executing the instructions to realize the following operations:
establishing connection with a first network device in the plurality of network devices through address information of the first network device;
acquiring a target strategy which is configured for the first network equipment and successfully issued based on the established connection;
and synchronizing the target strategy to other network equipment by traversing the address information of other network equipment except the first network equipment.
In a fifth aspect, a computer-readable storage medium is provided, comprising: the computer readable storage medium has pre-stored address information of a plurality of network devices and a plurality of computer instructions, and when executed, the computer instructions perform the following processes:
establishing connection with a first network device in a plurality of network devices through address information of the first network device;
acquiring a target strategy which is configured for the first network equipment and successfully issued based on the established connection;
and synchronizing the target strategy to other network equipment by traversing the address information of other network equipment except the first network equipment.
According to the technical scheme, in the embodiment of the application, address information of a plurality of network devices is pre-configured on a centralized control device, the centralized control device is connected with a first network device in the plurality of network devices, the first network device is subjected to policy configuration and issuing, a target policy which is successfully issued is obtained, and the target policy is synchronized to other network devices by traversing address information of other network devices except the first network device in the address information. The address information of the bound connection network equipment is automatically modified to connect different network equipment, and the target strategy is synchronized to other network equipment, so that the human resource consumption is reduced, and the strategy configuration and issuing efficiency is improved.
Drawings
FIG. 1 is a schematic diagram of an application scenario of an embodiment of the present application;
FIG. 2 is a flowchart of an embodiment of a policy issuing method according to the present application;
FIG. 3 is a flowchart of another embodiment of a method for issuing a policy according to the present application;
FIG. 4 is a block diagram of an embodiment of an apparatus for issuing a policy according to the present application;
fig. 5 is a schematic diagram of a hardware structure of the centralized control device of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described in detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a schematic view of an application scenario according to an embodiment of the present application.
As shown in fig. 1, a network device management system is shown in the application scenario, and the system includes: a centralized control device 101 and a network device 102. The shown N network devices 102 may have the same IP address and different MAC addresses, the centralized control device 101 may establish communication connection with the N network devices 102, and perform policy configuration and issue on the network devices 102 through the centralized control device 101, thereby implementing centralized management on multiple network devices.
With reference to the scenario in fig. 1, in the prior art, in the same network environment, a plurality of network devices have the same IP address and different MAC addresses, and when performing centralized management, an administrator first connects a centralized control device to a first network device, performs policy configuration and issuing on the first network device, derives a policy that is successfully issued on the first network device, and introduces the derived policy to other network devices by manually switching the network connection between the centralized control device and the network devices. And the centralized control equipment establishes network connection between the centralized control equipment and each network equipment one by one through manual operation, and carries out strategy configuration and strategy issuing on the network equipment on the basis of the established network connection. However, establishing network connections one by one requires an administrator to continuously perform manual operations to switch the network connections between the centralized control device and the network devices, and particularly when the number of the network devices to be managed in a centralized manner is large, not only a large amount of manpower is consumed, but also the efficiency of policy configuration and issuing is not high.
Based on this, in the embodiment of the application, address information of multiple network devices may be preconfigured on a centralized control device, and the centralized control device establishes a connection with a first network device based on the address information of the first network device in the multiple network devices, performs policy configuration and issuing on the first network device, and obtains a target policy that is successfully issued; and then, the connection with other network devices can be established one by traversing the address information of other network devices except the first network device in the address information, and the target policy is synchronized to the other network devices. Therefore, the embodiment of the application can connect different network devices by automatically modifying the address information of the bound network devices, and synchronize the target policy to other network devices, thereby not only reducing the consumption of human resources, but also improving the efficiency of policy configuration and issuing.
The following describes embodiments of the present application in detail with reference to an application scenario shown in fig. 1.
Referring to fig. 2, a flowchart of an embodiment of a method for issuing a policy according to the present application is shown, where the embodiment may include the following steps:
step 201, establishing connection with a first network device through address information of the first network device in a plurality of network devices;
referring to fig. 1, a plurality of network devices have the same IP address and different MAC addresses, in this embodiment, address information of the plurality of network devices may be configured on a centralized control device in advance, and the address information may be stored in a list form.
In this embodiment, a first network device may be determined from a plurality of network devices, where the first network device may be a network device corresponding to a first MAC address in an address information list of the plurality of network devices, which is configured in advance on a centralized control device, or a network device corresponding to any MAC address may be selected from the address information list configured in advance. And based on the address information of the first network equipment, the centralized control equipment establishes connection with the first network equipment. In default, the centralized control device may select a network device corresponding to a first MAC address in a pre-configured address information list of the multiple network devices to connect.
Step 202, based on the established connection, obtaining a target strategy which is configured for the first network equipment and successfully issued;
under the condition that the centralized control equipment is connected with the first network equipment, configuring a strategy for the first network equipment, issuing the configured strategy to the first network equipment, and in the issuing process, if the strategy is successfully issued, taking the successfully issued strategy as a target strategy, and subsequently issuing the target strategy to the rest other network equipment; and if the strategy is failed to be issued, modifying the strategy failed to be issued, re-issuing the strategy to the first network equipment until the strategy is successfully issued, and taking the strategy successfully issued as a target strategy.
When the strategy is issued, the issued strategy can be synchronously backed up, and the centralized control equipment backs up the strategy successfully issued to the first network equipment, so that the target strategy successfully issued is subsequently issued to the rest other network equipment.
Step 203, synchronizing the target policy to other network devices by traversing the address information of other network devices except the first network device.
In an optional implementation manner, the MAC address information of other network devices except the MAC address of the first network device in the preconfigured address information is traversed, the policy is issued to the network device traversed each time, and the target policy successfully issued in step 202 is issued to the other network devices traversed each time until the target policy is synchronized to all the other network devices.
As can be seen from the above embodiments, address information of multiple network devices is preconfigured on a centralized control device, the centralized control device is connected to a first network device of the multiple network devices, policy configuration and issuing are performed on the first network device, a target policy that is successfully issued is obtained, and the target policy is synchronized to the other network devices by traversing address information of other network devices except the first network device in the address information. The address information of the bound network equipment is automatically modified to connect different network equipment, and the target strategy is synchronized to other network equipment, so that the consumption of human resources is reduced, and the efficiency of strategy configuration and issuing is improved.
Referring to fig. 3, a flowchart of another embodiment of a method for issuing a policy according to the present application shows in detail a process in which a centralized control device automatically issues a policy to all network devices, where the embodiment may include the following steps:
step 301, pre-configuring address information of a plurality of network devices on a centralized control device;
in this embodiment, referring to fig. 1, the multiple network devices have the same IP address and different MAC addresses, and the address information of the multiple network devices that is configured in advance on the centralized control device may include the IP addresses and MAC addresses of the multiple network devices, and the address information may be stored in a form of a list.
Step 302, establishing connection with a first network device in a plurality of network devices through address information of the first network device;
in this embodiment, a first network device may be determined from a plurality of network devices, where the first network device may be a network device corresponding to a first MAC address in an address information list of the plurality of network devices, which is configured in advance on a centralized control device, or a network device corresponding to any MAC address may be selected from the address information list configured in advance. And based on the address information of the first network equipment, the centralized control equipment establishes connection with the first network equipment. And under the default condition, the centralized control equipment selects the network equipment corresponding to the first MAC address in the address information list of the plurality of network equipment configured in advance to connect.
Step 303, configuring a policy for the first network device based on the established connection;
step 304, issuing the configured strategy to the first network equipment, and backing up the issued strategy;
305, judging whether the configured strategy is successfully issued to the first network equipment, and if the strategy is unsuccessfully issued, executing 306; if the strategy is successfully issued, executing step 307;
step 306, modifying the policy configured for the first network device, and then returning to step 304;
if the configured policy fails to be issued to the first network device, the configured policy can be modified correspondingly until the modified policy is successfully issued to the first network device, and the modified policy which is successfully issued is determined as the target policy.
Step 307, traversing the pre-configured address information, and disconnecting the connected network equipment if traversing the address information of any current network equipment;
in an optional implementation manner, after the policy is successfully issued to the first network device, the centralized control device traverses the address information except for the address information of other network devices of the first network device, and if the address information traverses the MAC address information of any current network device, the connected network device may be disconnected.
Step 308, statically binding the address information of the current network device through an ARP command;
the IP address and the MAC address of the network equipment to be connected are statically bound by utilizing the ARP command, and the centralized control equipment establishes corresponding connection relation with different network equipment through the ARP command.
Step 309, establishing connection with the current network device based on the bound address information;
step 310, issuing a target policy to the current network device;
step 311, determining whether address information of other network devices is traversed, if yes, executing step 312; if not, returning to step 307;
step 312, the current process ends.
And sequentially issuing the successfully issued target strategies to the current network equipment traversed each time until the target strategies are synchronized to all the traversed current network equipment, and finishing the process of issuing the target strategies.
As can be seen from the above embodiments, address information of multiple network devices is preconfigured on a centralized control device, the centralized control device is connected to a first network device of the multiple network devices, policy configuration and issuing are performed on the first network device, a target policy that is successfully issued is obtained, and the target policy is synchronized to the other network devices by traversing address information of other network devices except the first network device in the address information. The address information of the bound connection network equipment is automatically modified to connect different network equipment, and the target strategy is synchronized to other network equipment, so that the human resource consumption is reduced, and the strategy configuration and issuing efficiency is improved.
Corresponding to the embodiment of the method for issuing the policy, the application also provides embodiments of a device for issuing the policy, a network device management system, a centralized control device and a computer readable storage medium.
Referring to fig. 4, a block diagram of an embodiment of an apparatus for issuing a policy of the present application is shown, where the apparatus includes: a configuration module 401, a first connection module 402, an acquisition module 403, a synchronization module 404, wherein,
a configuration module 401, configured to pre-configure address information of multiple network devices on a centralized control device, where the address information includes an IP address and an MAC address, and the multiple network devices have the same IP address;
a first connection module 402, configured to establish a connection with a first network device in the plurality of network devices through address information of the first network device;
an obtaining module 403, configured to obtain, based on the established connection, a target policy that is configured for the first network device and successfully issued;
a synchronization module 404, configured to synchronize the target policy to the other network devices by traversing the address information of the other network devices except the first network device.
In an optional example, the obtaining module 403 in the apparatus may include:
a first policy configuration module to configure a policy for the first network device based on the established connection;
the first strategy issuing module is used for issuing the configured strategy to the first network equipment;
the strategy issuing judgment module is used for determining the configured strategy as a target strategy if the issuing is successful; and if the issuing fails, modifying the configured strategy until the modified strategy is successfully issued, and determining the modified strategy which is successfully issued as the target strategy.
In an alternative example, the synchronization module 404 in the apparatus may include:
the disconnection module is used for disconnecting the connected network equipment if traversing the address information of any current network equipment;
the static binding module is used for statically binding the address information of the current network equipment through an ARP command;
the second connection module is used for establishing connection with the current network equipment based on the bound address information;
and the target strategy issuing module is used for issuing the target strategy to the current network equipment.
It can be seen from the above embodiments that address information of multiple network devices is preconfigured on a centralized control device, the centralized control device is connected to a first network device of the multiple network devices, policy configuration and issuing are performed on the first network device, a target policy that is successfully issued is obtained, and the target policy is synchronized to the other network devices by traversing address information of other network devices except the first network device in the address information. The address information of the bound connection network equipment is automatically modified to connect different network equipment, and the target strategy is synchronized to other network equipment, so that the human resource consumption is reduced, and the strategy configuration and issuing efficiency is improved.
The application provides a network equipment management system, the system includes: the system comprises a centralized control device and a plurality of network devices, wherein the centralized control device is pre-configured with address information of the plurality of network devices, the address information comprises IP addresses and MAC addresses, and the plurality of network devices have the same IP addresses;
the centralized control equipment is used for establishing connection with first network equipment in the plurality of network equipment through address information of the first network equipment; acquiring a target strategy which is configured for the first network equipment and successfully issued based on the established connection; and synchronizing the target strategy to other network equipment by traversing the address information of other network equipment except the first network equipment.
Fig. 5 is a schematic diagram of a hardware structure of the centralized control device according to the present application. The centralized control equipment comprises: an internal bus 501, and a memory 502, a processor 503, and an external interface 504, which are connected through the internal bus, wherein,
the memory 502 is configured to store address information of a plurality of network devices preconfigured on the centralized control device, where the address information includes an IP address and an MAC address, and the plurality of network devices have the same IP address;
the processor 503 is configured to read the machine-readable instructions stored in the memory, and execute the instructions to implement the following operations:
establishing connection with a first network device in the plurality of network devices through address information of the first network device;
acquiring a target strategy which is configured for the first network equipment and successfully issued based on the established connection;
and synchronizing the target strategy to other network equipment by traversing the address information of other network equipment except the first network equipment.
The present application provides a computer-readable storage medium comprising: the computer readable storage medium has stored thereon pre-stored address information for a plurality of network devices and computer instructions that, when executed, perform the following:
establishing connection with a first network device in a plurality of network devices through address information of the first network device;
acquiring a target strategy which is configured for the first network equipment and successfully issued based on the established connection;
and synchronizing the target strategy to other network equipment by traversing the address information of other network equipment except the first network equipment.
The implementation processes of the functions and actions of the modules in the apparatus, the network device management system, the centralized control device, and the computer-readable storage medium are specifically described in the implementation processes of the corresponding steps in the method, and are not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described apparatus embodiment, network device management system embodiment, centralized control device embodiment, and computer-readable storage medium embodiment are merely illustrative, where the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (8)

1. A method for issuing a policy is applied to a centralized control device in a network device management system, the system further comprises a plurality of network devices, the centralized control device is pre-configured with address information of the plurality of network devices, the address information comprises IP addresses and MAC addresses, wherein the plurality of network devices have the same IP address, and the method comprises the following steps:
establishing connection with a first network device in the plurality of network devices through address information of the first network device;
acquiring a target strategy which is configured for the first network equipment and successfully issued based on the established connection;
synchronizing the target policy to the other network devices by traversing the address information of the other network devices except the first network device;
the synchronizing the target policy to the other network devices by traversing the address information of the other network devices except the first network device includes:
if the address information of any current network equipment is traversed, the connected network equipment is disconnected;
address information of the current network equipment is statically bound through an ARP command; the address information is an IP address and an MAC address of the network equipment;
establishing connection with the current network equipment based on the bound address information;
and issuing the target strategy to the current network equipment.
2. The method of claim 1, wherein the first network device comprises:
pre-configuring network equipment corresponding to a first MAC address in address information; or
And the network equipment corresponding to any MAC address selected from the address information.
3. The method of claim 1, wherein the obtaining a target policy that is configured for the first network device and successfully issued based on the established connection comprises:
configuring a policy for the first network device based on the established connection;
issuing the configured policy to the first network device;
if the down-sending is successful, determining the configured strategy as a target strategy; and if the issuing fails, modifying the configured strategy until the modified strategy is successfully issued, and determining the modified strategy which is successfully issued as the target strategy.
4. An apparatus for issuing a policy, the apparatus comprising:
the system comprises a configuration module, a central control device and a control module, wherein the configuration module is used for pre-configuring address information of a plurality of network devices on the central control device, the address information comprises IP addresses and MAC addresses, and the network devices have the same IP addresses;
the first connection module is used for establishing connection with a first network device in the plurality of network devices through address information of the first network device;
an obtaining module, configured to obtain a target policy configured for the first network device and successfully issued based on the established connection;
a synchronization module, configured to synchronize the target policy to the other network devices by traversing address information of the other network devices except the first network device in the address information;
the synchronization module includes: the disconnection module is used for disconnecting the connected network equipment if traversing the address information of any current network equipment;
the static binding module is used for statically binding the address information of the current network equipment through an ARP command; the address information is an IP address and an MAC address of the network equipment;
the second connection module is used for establishing connection with the current network equipment based on the bound address information;
and the target strategy issuing module is used for issuing the target strategy to the current network equipment.
5. The apparatus of claim 4, wherein the obtaining module comprises:
a first policy configuration module to configure a policy for the first network device based on the established connection;
the first strategy issuing module is used for issuing the configured strategy to the first network equipment;
the strategy issuing judgment module is used for determining the configured strategy as a target strategy if the issuing is successful; and if the issuing fails, modifying the configured strategy until the modified strategy is successfully issued, and determining the modified strategy which is successfully issued as the target strategy.
6. A network device management system, the system comprising: the system comprises a centralized control device and a plurality of network devices, wherein the centralized control device is pre-configured with address information of the plurality of network devices, the address information comprises IP addresses and MAC addresses, and the plurality of network devices have the same IP addresses;
the centralized control equipment is used for establishing connection with first network equipment in the plurality of network equipment through address information of the first network equipment; acquiring a target strategy which is configured for the first network equipment and successfully issued based on the established connection; synchronizing the target policy to the other network devices by traversing the address information of the other network devices except the first network device;
the synchronizing the target policy to the other network devices by traversing the address information of the other network devices except the first network device includes:
if the address information of any current network equipment is traversed, the connected network equipment is disconnected;
address information of the current network equipment is statically bound through an ARP command; the address information is an IP address and an MAC address of the network equipment;
establishing connection with the current network equipment based on the bound address information;
and issuing the target strategy to the current network equipment.
7. A centralized control apparatus, comprising: an internal bus, and a memory, a processor, and an external interface connected through the internal bus, wherein,
the memory is used for storing address information of a plurality of network devices which are configured on the centralized control device in advance, wherein the address information comprises IP addresses and MAC addresses, and the plurality of network devices have the same IP addresses;
the processor is used for reading the machine-readable instructions on the memory and executing the instructions to realize the following operations:
establishing connection with a first network device in the plurality of network devices through address information of the first network device;
acquiring a target strategy which is configured for the first network equipment and successfully issued based on the established connection;
synchronizing the target policy to the other network devices by traversing the address information of the other network devices except the first network device;
the synchronizing the target policy to the other network devices by traversing the address information of the other network devices except the first network device includes:
if the address information of any current network equipment is traversed, the connected network equipment is disconnected;
address information of the current network equipment is statically bound through an ARP command; the address information is an IP address and an MAC address of the network equipment;
establishing connection with the current network equipment based on the bound address information;
and issuing the target strategy to the current network equipment.
8. A computer-readable storage medium, comprising: the computer readable storage medium has pre-stored address information of a plurality of network devices and a plurality of computer instructions, and when executed, the computer instructions perform the following processes:
establishing connection with a first network device in a plurality of network devices through address information of the first network device;
acquiring a target strategy which is configured for the first network equipment and successfully issued based on the established connection;
synchronizing the target policy to the other network devices by traversing the address information of the other network devices except the first network device;
the synchronizing the target policy to the other network devices by traversing the address information of the other network devices except the first network device includes:
if the address information of any current network equipment is traversed, the connected network equipment is disconnected;
address information of the current network equipment is statically bound through an ARP command; the address information is an IP address and an MAC address of the network equipment;
establishing connection with the current network equipment based on the bound address information;
and issuing the target strategy to the current network equipment.
CN201811098952.6A 2018-09-19 2018-09-19 Method, device and system for issuing policy, centralized control equipment and readable storage medium Active CN109274532B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811098952.6A CN109274532B (en) 2018-09-19 2018-09-19 Method, device and system for issuing policy, centralized control equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811098952.6A CN109274532B (en) 2018-09-19 2018-09-19 Method, device and system for issuing policy, centralized control equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN109274532A CN109274532A (en) 2019-01-25
CN109274532B true CN109274532B (en) 2022-03-01

Family

ID=65197725

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811098952.6A Active CN109274532B (en) 2018-09-19 2018-09-19 Method, device and system for issuing policy, centralized control equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN109274532B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798448B (en) * 2019-09-20 2021-12-28 西安瑞思凯微电子科技有限公司 IP-free network communication method and device, electronic equipment and storage medium
CN113722007B (en) * 2021-08-24 2023-11-03 杭州迪普科技股份有限公司 Configuration method, device and system of VPN branch equipment
CN115914172B (en) * 2022-12-06 2024-09-03 深圳市东莱尔智能科技有限公司 Bluetooth-based device address modifying method and device and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404619A (en) * 2008-11-17 2009-04-08 杭州华三通信技术有限公司 Method for implementing server load balancing and a three-layer switchboard
CN102055735A (en) * 2009-11-04 2011-05-11 中国移动通信集团山东有限公司 Configuration method and device of firewall access control policy
CN103023707A (en) * 2012-12-28 2013-04-03 华为技术有限公司 Method, managing server and network system for strategy configuration
CN104714825A (en) * 2015-03-20 2015-06-17 北京瑞星信息技术有限公司 Method for uniformly configuring strategies
CN108156030A (en) * 2017-12-21 2018-06-12 杭州迪普科技股份有限公司 The method and device that a kind of configuration strategy synchronizes

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404619A (en) * 2008-11-17 2009-04-08 杭州华三通信技术有限公司 Method for implementing server load balancing and a three-layer switchboard
CN102055735A (en) * 2009-11-04 2011-05-11 中国移动通信集团山东有限公司 Configuration method and device of firewall access control policy
CN103023707A (en) * 2012-12-28 2013-04-03 华为技术有限公司 Method, managing server and network system for strategy configuration
CN104714825A (en) * 2015-03-20 2015-06-17 北京瑞星信息技术有限公司 Method for uniformly configuring strategies
CN108156030A (en) * 2017-12-21 2018-06-12 杭州迪普科技股份有限公司 The method and device that a kind of configuration strategy synchronizes

Also Published As

Publication number Publication date
CN109274532A (en) 2019-01-25

Similar Documents

Publication Publication Date Title
US10298457B2 (en) Synchronization of configuration file of virtual application distribution chassis
US10140112B2 (en) Update management system and update management method
US9100353B2 (en) Cloud server for managing hostnames and IP addresses, and management method for the cloud server
CN112003961B (en) Resource exposure method, system, equipment and medium in kubernets
US10313871B2 (en) Transferring information to a mobile device
CN104753697B (en) A kind of method, equipment and system controlling the automatic beginning of the network equipment
CN109274532B (en) Method, device and system for issuing policy, centralized control equipment and readable storage medium
CN110798338B (en) Edge cloud deployment method and device
CN102316043B (en) Port virtualization method, switch and communication system
CN110391940A (en) Response method, device, system, equipment and the storage medium of address of service
CN103631652A (en) Method and system for achieving virtual machine migration
CN106254814B (en) Conference recovery method, service management center and system
CN114615109B (en) Container network creation method, device, electronic equipment and storage medium
CN113467873A (en) Virtual machine scheduling method and device, electronic equipment and storage medium
CN104468947A (en) Information processing method and electronic equipment
CN110972170A (en) Base station configuration method and base station
CN113810216A (en) Cluster fault switching method and device and electronic equipment
CN107968718B (en) Method, device and equipment for confirming main standby state
CN110958139B (en) Network control method, orchestrator, controller, and computer-readable storage medium
CN107431634B (en) Method, device and system for establishing interface between VNFM
CN104219084A (en) Board/card starting method and device
CN106534758B (en) Conference backup method and device
CN113364633B (en) Container cluster dynamic construction method oriented to high-mobility environment
CN115426258B (en) Information configuration method, device, switch and readable storage medium
CN102868594B (en) Method and device for message processing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant