CN106411588B - A kind of network device management method, main equipment and management server - Google Patents
A kind of network device management method, main equipment and management server Download PDFInfo
- Publication number
- CN106411588B CN106411588B CN201610863534.6A CN201610863534A CN106411588B CN 106411588 B CN106411588 B CN 106411588B CN 201610863534 A CN201610863534 A CN 201610863534A CN 106411588 B CN106411588 B CN 106411588B
- Authority
- CN
- China
- Prior art keywords
- equipment
- port
- management
- network
- main equipment
- 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
Links
Classifications
-
- 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/04—Network management architectures or arrangements
- H04L41/046—Network management architectures or arrangements comprising network management agents or mobile agents therefor
Abstract
The present invention provides a kind of network device management method, main equipment and management server, it is related to the communications field, the more network equipments are aggregated into a cluster, management server is by being managed the main equipment in cluster, the management to the other equipment in cluster may be implemented, significantly reduce management servers process load.It include: the first management connection request (network port description information that each first management connection request includes branch equipment corresponding with the first management connection request) that main equipment receives the transmission of at least one branch equipment;Caching the first management connection request, and proxy requests (network port description information of corresponding each branch equipment is connected including every one first management) is generated according to the first management connection request;Proxy requests are reported to management server, instruction management server determines network apparatus cluster (including main equipment and the corresponding branch equipment of every one first management connection request) according to proxy requests.
Description
Technical field
The present invention relates to the communications field more particularly to a kind of network device management methods, main equipment and management server.
Background technique
Currently, terminal needs to access network by some network equipments (such as: router), simultaneously as different type
Terminal online way to manage it is different, therefore, under a regional environment, the network of different type different number can be disposed
The network service of equipment carrying different terminals.With the development of network data communication, the quantity of the terminal of network is accessed also therewith
It increases significantly, the quantity for carrying the network equipment of terminal network business also increases significantly.
In the prior art, each network equipment needs to be individually connected to management server, and management server is based on SNMP
(Simple Network Management Protocol, Simple Network Management Protocol) realizes the pipe to each network equipment
Reason, including basic network configuration, the monitoring network device state etc. for handling the network equipment.
But as the quantity of the network equipment is more and more, type becomes increasingly complex, management server is individually to each net
Network equipment is managed, and causes cost higher and higher, also brings great business processing pressure to the management server in cloud
Power.
Summary of the invention
Present invention implementation provides a kind of network device management method, main equipment and management server, by the more network equipments
Aggregate into a cluster, management server may be implemented to other in cluster by being managed to the main equipment in cluster
The management of equipment significantly reduces management servers process load.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, disclosing a kind of network device management method, comprising:
Main equipment receives the first management connection request of at least one branch equipment transmission;Wherein, every one first management connects
It connects request to be sent by each branch equipment, for requesting management server and each branch equipment to establish connection, every one first pipe
Reason connection request includes the network port description information of branch equipment corresponding with the first management connection request;
Main equipment caching the first management connection request, and agency is generated according to the first management connection request
Request, the proxy requests include the network port description information that every one first management connects corresponding each branch equipment;
The main equipment reports the proxy requests to the management server, indicates the management server according to
Proxy requests determine network apparatus cluster;Wherein, the network apparatus cluster includes the main equipment and described every one first
Manage the corresponding branch equipment of connection request.
With reference to first aspect, in the first possible implementation of the first aspect, the main equipment receives at least one
Before the first management connection request that a branch equipment is sent, the method also includes:
The main equipment sends the second management connection request to the management server, and the second management connection request is taken
Network port description information with the main equipment makes the management server describe to believe according to the network port of the main equipment
Breath establishes connection with the main equipment.
The possible implementation of with reference to first aspect the first, in second of possible implementation of first aspect
In, the network port of the branch equipment includes uplink port, downlink port, and the network port of the main equipment includes upstream ends
Mouth, downlink port,
The outer network interface of the network apparatus cluster is the uplink port of the main equipment, the terminal of the network apparatus cluster
Mouth is the port in the non-inline mouth of the corresponding branch equipment of every one first management connection request in addition to natural mouth;It is described non-
Inline mouth is the downlink port for not setting up the uplink port of PPPOE communication link and not setting up PPPOE communication link, the nature
Mouth is the uplink port not being set and the downlink port not being set.
With reference to first aspect, in a third possible implementation of the first aspect, the method also includes:
The main equipment receives the request for building link that newly-increased branch equipment is sent, and is sent according to the newly-increased branch equipment
Request for building link the newly-increased branch equipment is verified, if verification result be pass through, establish the main equipment with
PPPOE communication link between the newly-increased branch equipment;Or,
The main equipment receives the request for building link from the newly-increased branch equipment of the branch equipment forwarding, root
The newly-increased branch equipment is verified according to the request for building link from the newly-increased branch equipment, if verification result
To pass through, then it is proved to be successful message to branch equipment transmission, indicates that the branch equipment foundation is set with the newly-increased branch
PPPOE communication link between standby.
Second aspect discloses a kind of network device management method, comprising:
Management server receives the proxy requests that main equipment is sent;The proxy requests include that every one first management connection is asked
Seek the network port description information of corresponding each branch equipment;
The management server determines network apparatus cluster according to the network port description information of each branch equipment;Institute
Stating network apparatus cluster includes the main equipment and the corresponding branch equipment of every one first management connection request.
In conjunction with second aspect, in the first possible implementation of the second aspect, the management server receives institute
Before the proxy requests for stating main equipment transmission, the method also includes:
The management server receives the second management connection request that the main equipment is sent, and the second management connection is asked
Seek the network port description information for carrying the main equipment;
The management server establishes connection according to the network port description information and the main equipment of the main equipment.
In conjunction with the first possible implementation of second aspect, in the first possible implementation of second aspect
In, the network port of the branch equipment includes uplink port, downlink port, and the network port of the main equipment includes upstream ends
Mouth, downlink port,
The management server according to the network port description information of each branch equipment determine network apparatus cluster it
Afterwards, the method also includes:
The uplink port of the main equipment is defined as the outer network interface of the network apparatus cluster by the management server, will
Described every one first port definition managed in the non-inline mouth of the corresponding branch equipment of connection request in addition to natural mouth is described
The terminal port of network apparatus cluster;Wherein, the non-inline mouth is not set up the uplink port of PPPOE communication link and do not set up
The downlink port of PPPOE communication link, the nature mouth is the uplink port not being set and the downlink port not being set.
The third aspect discloses a kind of main equipment, comprising:
Receiving unit, for receiving the first management connection request of at least one branch equipment transmission;Wherein, every one first
Management connection request is sent by each branch equipment, each for requesting management server and each branch equipment to establish connection
First management connection request includes the network port description information of branch equipment corresponding with the first management connection request;
Cache unit is generated for caching the first management connection request, and according to the first management connection request
Proxy requests, the proxy requests include the network port description letter that every one first management connects corresponding each branch equipment
Breath;
Transmission unit, for reporting the proxy requests to the management server, indicate the management server according to
The proxy requests determine network apparatus cluster;Wherein, the network apparatus cluster includes the main equipment and described each
The corresponding branch equipment of first management connection request.
In conjunction with the third aspect, in the first possible implementation of the third aspect, the transmission unit is also used to,
Before the receiving unit receives the first management connection request of at least one branch equipment transmission, Xiang Suoshu management server hair
The second management connection request is sent, the second management connection request carries the network port description information of the main equipment, makes institute
It states management server and connection is established according to the network port description information and the main equipment of the main equipment.
In conjunction with the first possible implementation of the third aspect, in second of possible implementation of the third aspect
In, the network port of the branch equipment includes uplink port, downlink port, and the network port of the main equipment includes upstream ends
Mouth, downlink port,
The outer network interface of the network apparatus cluster is the uplink port of the main equipment, the terminal of the network apparatus cluster
Mouth is the port in the non-inline mouth of the corresponding branch equipment of every one first management connection request in addition to natural mouth;It is described non-
Inline mouth is the downlink port for not setting up the uplink port of PPPOE communication link and not setting up PPPOE communication link, the nature
Mouth is the uplink port not being set and the downlink port not being set.
In conjunction with the third aspect, in the third possible implementation of the third aspect, further includes authentication unit, establishes list
Member,
The receiving unit is also used to, and receives the request for building link that newly-increased branch equipment is sent;
The authentication unit is used for, and the request for building link sent according to the newly-increased branch equipment is to the newly-increased branch
Equipment is verified;
The unit of establishing is used for, if the verification result of the authentication unit is to pass through, establishes the main equipment and institute
State the PPPOE communication link between newly-increased branch equipment;
Or,
The receiving unit is used for, and receives the link establishment from the newly-increased branch equipment of the branch equipment forwarding
Request;
The authentication unit is used for, according to the request for building link from the newly-increased branch equipment to described newly-increased
Branch equipment is verified;
The transmission unit is also used to, and the transmission of Xiang Suoshu branch equipment is proved to be successful message, indicates that the branch equipment is built
PPPOE communication link between the vertical and described newly-increased branch equipment.
Fourth aspect discloses a kind of management server, comprising:
Receiving unit, for receiving the proxy requests of main equipment transmission;The proxy requests include that every one first management connects
Connect the network port description information for requesting corresponding each branch equipment;
Determination unit, for determining network apparatus cluster according to the network port description information of each branch equipment;Institute
Stating network apparatus cluster includes the main equipment and the corresponding branch equipment of every one first management connection request.
It further include establishing unit in the first possible implementation of the fourth aspect in conjunction with fourth aspect,
The receiving unit is also used to, and before receiving the proxy requests that the main equipment is sent, receives the main equipment
The the second management connection request sent, the second management connection request carry the network port description information of the main equipment;
The unit of establishing is used for, and is established and is connected according to the network port description information of the main equipment and the main equipment
It connects.
In conjunction with the first possible implementation of fourth aspect, in second of possible implementation of fourth aspect
In, the network port of the branch equipment includes uplink port, downlink port, and the network port of the main equipment includes upstream ends
Mouth, downlink port,
The determination unit is also used to, and determines network equipment collection according to the network port description information of each branch equipment
After group, the uplink port of the main equipment is defined as to the outer network interface of the network apparatus cluster, by every one first pipe
Managing the port definition in the non-inline mouth of the corresponding branch equipment of connection request in addition to natural mouth is the network apparatus cluster
Terminal port;Wherein, the non-inline mouth is not set up the uplink port of PPPOE communication link and do not set up PPPOE communication link
Downlink port, it is described nature mouth be the uplink port not being set and the downlink port not being set.
Network device management method, main equipment and management server provided in an embodiment of the present invention, main equipment intercept branch
The management connection request that equipment is initiated to management equipment, and network port description information therein is buffered in local.In addition, main
Equipment reports the network port description information of local cache to management server, and then management server can be according on main equipment
The network port description information of report determines that a network apparatus cluster, the cluster include main equipment and all requests and management
Server establishes each branch equipment of connection, further defines outer network interface, the terminal port of the network apparatus cluster.The cluster can
With by this outer network interface connection network, terminal can access network by the terminal port.In this way, only needing a main equipment and pipe
Manage server keep-alive, so that it may realize the management to multiple network equipments, significantly reduce management servers process load.Together
When, server under the same conditions, the quantity of the managed networks equipment of support doubles, and significantly reduces input cost.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is existing network device management schematic diagram;
Fig. 2 is network equipment connection schematic diagram;
Fig. 3 is the architecture diagram of management system provided in an embodiment of the present invention;
Fig. 4 is network port function division schematic diagram provided in an embodiment of the present invention;
Fig. 5 is the flow diagram of network device management method provided in an embodiment of the present invention;
Fig. 6 is the flow diagram of the communication link provided in an embodiment of the present invention for establishing LA Management Room;
Fig. 7 is the structural block diagram of main equipment provided in an embodiment of the present invention;
Fig. 8 is another structural block diagram of main equipment provided in an embodiment of the present invention;
Fig. 9 is the structural block diagram of management server provided in an embodiment of the present invention;
Figure 10 is another structural block diagram of management server provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description.
Currently, more and more terminals, which need to access network, obtains data resource, in this way, the network of carrying terminal online is set
It is standby also growing day by day, such as: router, access point.Every network equipment of the prior art is individually established with snmp management server
Connection can handle the basic network configuration of the network equipment based on SNMP and be monitored to the state of the network equipment.Specifically
Ground, as shown in Figure 1, administrator passes through snmp management server Configuration network equipment, in addition it can in equipment mib (management letter
Cease library) node read the network equipment relevant information.
In entire management process, complicated operation, and can not across wide area network creation connection (i.e. snmp management server and
Each network equipment must be under same local area network), application is relatively limited, it is difficult to complete more complicated configuration deployment.
Meanwhile if the quantity of the network equipment is more, very big service processing pressure is caused to snmp management server.Meanwhile by
It is limited to limited bandwidth resources, the quantity for the network equipment that same server can manage also is limited.
The principle of the embodiment of the present invention is: management server will be more according to the network port description information that main equipment reports
The platform network equipment aggregates into a network apparatus cluster, which includes that main equipment and all requests are built with management server
Each branch equipment of vertical connection, further defines outer network interface, the terminal port of the network apparatus cluster.The cluster can pass through this
A outer network interface connection network, terminal can access network by the terminal port.In this way, only needing a main equipment and management server
It is responsible for keep-alive, so that server is under the same conditions, the quantity multiplication of the managed networks equipment of support effectively reduces investment
Cost.Meanwhile saving server system resources and bandwidth resources.
Firstly, it is necessary to explanation, with reference to Fig. 2, (such as: main equipment, branch in the embodiment of the present invention are set the network equipment
It is standby) the network port uplink port (outside mouthfuls) and downlink port (inside mouthfuls) are generally divided into according to data flow.Net
PPPOE (Point to Point Protocol Over can be established between network equipment by uplink port, downlink port
Ethernet, the peer-peer protocol on Ethernet) link, pass through PPPOE communication link data message.It is exemplary, such as Fig. 2
Shown, the downlink port (port 3) of the network equipment 1 and the uplink port (port 1) of the network equipment 2 establish PPPOE communication link,
For another example the downlink port (port 3) of the network equipment 2 and the uplink port (port 1) of the network equipment 3 establish PPPOE communication link.
The present invention provides a kind of management system, as shown in figure 3, the management system includes: that management server is set with network
Standby cluster, the network apparatus cluster includes main equipment and at least one branch equipment.Wherein, main equipment and branch equipment it
Between connection be physical connection, it is exemplary, can be and connected by cable.Here, so-called branch equipment, i.e., and management server
The network equipment not being directly connected to can be directly connected to main equipment, can also be connect with other branch equipments.
Wherein, main equipment undertakes the primary outlet effect of the network apparatus cluster, i.e. other points in the network apparatus cluster
Branch equipment can undertake the interconnection work with outer net by main equipment accessing external network.Further, by the upstream ends of the main equipment
Mouth is defined as the outer network interface.
With reference to Fig. 3, branch equipment is connect with main equipment, or is connect with other branch equipments.
In addition, management server can be by port interconnected (is built between branch equipment in the network apparatus cluster
The port of vertical PPPOE communication link) it is defined as inline mouth, port interconnected between main equipment and branch equipment is also defined
For inline mouth.The port identity of the inline mouth is set as trunk mode.In general, the type of message that the port of the network equipment is supported
It can be vlan Class1~type 4094, port is the message that the trunk mode i.e. port is not only restricted to a certain type here,
It can identify and (receive or forward) message of any type in vlan Class1~type 4094.
Finally, the non-inline mouth of the branch equipment in network apparatus cluster can also be defined as nature by management server
Mouthful.Natural mouth can be defined as terminal port, can be directly connected to terminal.Alternatively, can also will be incited somebody to action according to aminated polyepichlorohydrin method
Natural mouth is converted into inline mouth.Here non-inline mouth, that is, each branch equipment does not set up the port of PPPOE communication link, can be with
It is downlink port, is also possible to uplink port.
In addition, by main equipment, the network port (including uplink port, downlink port) of branch equipment in the embodiment of the present invention
Divided according to function or state: with reference to Fig. 4, main equipment, branch equipment the network port can be divided into inline mouth, outer net
Mouth, non-inline mouth.Wherein, inline mouth, that is, all ports for establishing PPPOE communication link, can be equipment uplink port or under
Row port, after activating PPPOE communication link, port is changed to trunk mode.The uplink port of outer network interface, that is, main equipment.It is non-
Inline mouth includes nature mouth and terminal port, and natural mouth is that the port not being configured in the port of all devices (can be upstream ends
Mouth or downlink port), terminal port is the port (can be uplink port or downlink port) being directly connected to terminal.
Further, the message ID of each port, the i.e. type of the identifiable message in port can also be set.In the present invention
In embodiment, a message ID can be negotiated in advance, management server determine after network apparatus cluster by each port (including
The downlink port of main equipment, the downlink port of uplink port and branch equipment, uplink port) message ID be arranged to it is same
Message ID.
The embodiment of the present invention provides a kind of network device management method, as shown in figure 5, method the following steps are included:
101, main equipment receives the first management connection request of at least one branch equipment transmission, wherein every one first pipe
Reason connection request is sent by each branch equipment, for requesting management server and each branch equipment establishes connection, every 1 the
One management connection request includes the network port description information of branch equipment corresponding with the first management connection request.
Wherein, the first management connection request can be with the address information of management server.
Here, network port description information can be the uplink port information of branch equipment, downlink port description information.On
Row port, downlink port signal are detailed in Fig. 2, and this will not be repeated here.
In the specific implementation, branch equipment does not directly establish connection with management server with reference to management system shown in Fig. 3,
But the main equipment connecting with management server establishes connection, or establishes company with other branch equipments for connecting main equipment
It connects.In general, the management connection request that branch equipment can be initiated is transmitted to main equipment, by main equipment by the branch equipment
Management connection request is forwarded to management server.In the present embodiment, main equipment needs to act on behalf of the business of branch equipment, therefore receives
After the first management connection request from branch equipment, it can't be forwarded to management server.That is, main equipment is by branch
First management connection request of equipment intercepts, and is buffered in local, unified to the first management connection request of each branch equipment
It is managed.Here, the connection between main equipment and branch equipment can be by cable etc. carry out physical connection, main equipment with
Connection between management server can be non-physical connections.
It should be noted that before this, main equipment divides downlink port and uplink port, and by downlink port, uplink
The corresponding message ID in port is arranged to the mode decided through consultation in advance.Such as: vlan 1.Accessory ID network is carried out using puppy parc to set
The interface attributes of the network equipment in standby cluster, versatility is good, low for equipment requirements.
Then, main equipment by uplink port to the management server send second management connection request, described second
Management connection request carries the network port description information of the main equipment, so that the management server is according to the main equipment
Network port description information and the main equipment establish connection.That is, main equipment connects to network and to management server
Docking is initiated, after establishing connection with management server, each branch equipment could be acted on behalf of and initiated the connection to management server.Separately
Outside, main equipment can also open the activation of the PPPOE message based on downlink port and monitor, that is, serve as PPPOE server.
102, main equipment caching the first management connection request, and agency is generated according to the first management connection request
Request, the proxy requests include the network port description information that every one first management connects corresponding each branch equipment.
It should be noted that main equipment receives the first management connection request of each branch equipment transmission here, and delay
Deposit each branch equipment transmission first management connection request, further according to caching it is all first management connection requests in include
Network port description information generate proxy requests.
In addition, the network port description information in the proxy requests generated is to send the branch that first manages connection request to set
Standby network port description information, i.e., only branch equipment has initiated the request of connection management server and main equipment has intercepted it
The the first management connection request sent, then can be buffered in local for the network port description information of the branch equipment.
103, main equipment reports proxy requests to management server, and instruction management server is determined according to the proxy requests
Network apparatus cluster;Wherein, the network apparatus cluster includes the main equipment and every one first management connection request
Corresponding branch equipment.
It should be noted that main equipment reported here is the net for initiating the connection the branch equipment of request of management server
Network port description information, in this way, management server can will initiate the connection request (the first pipe when defining network apparatus cluster
Reason connection request) branch equipment take into account.If there is new branch equipment to be added, then the newly-increased branch equipment needs logical
The request that main equipment initiates the connection management server is crossed, so management server could be made to be increased to network equipment collection
Group.
104, management server receives the proxy requests that main equipment is sent.
The proxy requests carry the network port description of the corresponding each branch equipment of every one first management connection request
Information.
105, management server determines network apparatus cluster according to the network port description information of each branch equipment;Institute
Stating network apparatus cluster includes the main equipment and the corresponding branch equipment of every one first management connection request.
In the specific implementation, the proxy requests that management server parsing main equipment is sent, get the network-side wherein carried
Mouth description information.In fact, management equipment is the network port information for managing the branch equipment of connection request according to initiation first
Network apparatus cluster is defined, when thering is new branch equipment to be added, it is also necessary to the first management connection be initiated by main equipment and asked
It asks, so that the newly-increased branch equipment is included into network apparatus cluster by management server.
Further, main equipment can also send the second management connection request to management server by its uplink port,
The second management connection request carries the network port description information of the main equipment, in this way, management server is just got
The description information of the network port of main equipment (including uplink port, downlink port) and the network port (packet of branch equipment
Include uplink port, downlink port) description information.Further, management server can also be by the uplink port of the main equipment
It is defined as the outer network interface of the network apparatus cluster, manages the non-interior of the corresponding branch equipment of connection request for described every one first
Join the terminal port that the port definition in mouth in addition to natural mouth is the network apparatus cluster.
It should be noted that non-inline mouth is the interface for not setting up PPPOE communication link, uplink port can be, it can also
To be downlink port.The nature mouth is the port not being set, can be uplink port, is also possible to downlink port.
In the specific implementation, management server will have PPPOE shape in the network equipment of the network apparatus cluster of above-mentioned determination
It is inline mouth that the port of state is all qualitative.The uplink port of main equipment is qualitative for the regional network (the i.e. described network apparatus cluster)
Outer network interface, is directly connected to outer net.All non-inline mouths of branch equipment are qualitative for nature mouth.Natural mouth is by artificial setting
Afterwards, terminal port can be switched to, surf the Internet and use for terminal.Certainly, management server can also turn nature mouth according to aminated polyepichlorohydrin method
For inline mouth.
That is, the network apparatus cluster is abstracted into a big home router, outer network interface is wan mouthfuls, eventually
Port is the port of PC (one kind of terminal) online.In the specific implementation, administrator can configure and control according to business demand
Wan mouthfuls and terminal port realize the control to whole network device clusters by shirtsleeve operation.Network equipment collection after polymerization
Group may be considered a virtual large-scale home router, is easily managed, greatly reduces and want to the technical capability of administrator
It asks.After network equipment virtualization polymerization, administrator need not pay close attention to the topological relation formed between arbitrary network equipment, only need to safeguard
Directly related port (i.e. the terminal port of network apparatus cluster) with end user.In addition, only being needed after network equipment polymerization
One main equipment and management server are responsible for keep-alive, so that server is under the same conditions, the managed networks number of devices of support
Amount multiplication, is effectively reduced input cost.
In a preferred embodiment of the invention, before main equipment receives the first management connection request that branch equipment is sent,
Method further include: main equipment receives the request for building link that branch equipment is sent;Request for building link carries user name and password;
Branch equipment is verified according to user name and password;If verification result be pass through, main equipment establish with branch equipment it
Between communication link.
In another preferred embodiment of the invention, main equipment receives the request for building link that newly-increased branch equipment is sent,
Newly-increased branch equipment is verified according to the request for building link that newly-increased branch equipment is sent, if verification result is to pass through,
Establish the communication link between main equipment and newly-increased branch equipment;
Or, main equipment receives the request for building link from newly-increased branch equipment of branch equipment forwarding, according to from new
The request for building link for increasing branch equipment verifies newly-increased branch equipment, if verification result is to pass through, to branch equipment
Transmission is proved to be successful message, and instruction branch equipment establishes the communication link between newly-increased branch equipment.
In the specific implementation, branch equipment before initiating the connection the request of management server, can also be initialized, be built
Vertical and communication link.Certainly, in newly-increased branch equipment, it is also desirable to establish the communication link of the newly-increased branch equipment.With reference to figure
6, specifically includes the following steps:
201, branch equipment initializes, and chooses SVI 1 as dialing mouth, and generate PPPOE and establish request, and to main equipment
It sends PPPOE and establishes request.
It is assumed here that the corresponding message ID in each port is vlan 1, thus branch equipment choose it is corresponding with vlan 1
Port -- SVI 1 is as dialing mouth.Here it is above-mentioned request for building link that PPPOE, which establishes request, wherein the user name of institute's band,
Password is appointed with main equipment in advance, so that main equipment verifies branch equipment.
202, branch equipment is connected with the downlink port of main equipment.
In the specific implementation, the PPPOE that main equipment parses branch equipment transmission first establishes request, the use wherein carried is obtained
Name in an account book, password judge whether the user name, password are the user name made an appointment, password.If so, foundation and branch equipment
Between PPPOE communication link.Further, branch equipment can establish PPPOE communication chain by its SVI 1 and main equipment
Road, by this
PPPOE communication link and main equipment realize intercommunication.
When branch equipment detects the port for having activated PPPOE and connecting with main equipment, which can be changed to trunk
Mode, and it is set as the inline mouth of network apparatus cluster, other port attributes are constant.
If 203, increasing branch equipment newly is connected to the downlink port of main polymerization unit, 201 are gone to step, if newly
Increase branch equipment and be connected to branch equipment, then gos to step 204.
That is, establishing and requesting to main equipment PPPOE when newly-increased branch equipment is directly connect with main equipment, master is set
The standby PPPOE communication link established between the newly-increased branch equipment.If newly-increased branch equipment is connect with branch equipment, then
PPPOE foundation request is transmitted to main equipment and verified by the branch equipment being connected through.
204, it increases branch equipment newly and PPPOE foundation request is transparent to by main equipment by branch equipment.
In the specific implementation, branch equipment A is connect with newly-increased branch equipment if main equipment is connect with branch equipment A, increases newly and divide
Branch equipment is docked with the port of branch equipment A first, and then branch equipment A receives the PPPOE that newly-increased branch equipment is sent and establishes
Request, and the PPPOE is established into request and is forwarded to main equipment.Certainly, the branch being spaced between main equipment and newly-increased branch equipment
Equipment is not limited solely to one, can have it is multiple, in the specific implementation, can be by multiple branch equipments between the two step by step
The PPPOE of the newly-increased branch equipment establishes request.
It should be noted that the connection between main equipment and branch equipment is physical connection here, and it is exemplary, it can be logical
Cross cable connection.
205, main equipment establishes the PPPOE communication link that instruction branch equipment is established between newly-increased branch equipment.
In the specific implementation, main equipment parses the PPPOE that newly-increased branch equipment is sent first establishes request, acquisition is wherein carried
User name, password, judge whether the user name, password are the user name made an appointment, password.If so, will be proved to be successful
Message is sent to the branch equipment connecting with newly-increased branch equipment, and the subsequent branch equipment is established between newly-increased branch equipment
PPPOE communication link.Certainly, trunk mode is set by the port that newly-increased branch equipment establishes PPPOE communication link, and set
It is set to inline mouth.
Exemplary, if main equipment is connect with branch equipment A, branch equipment A is connect with newly-increased branch equipment, main equipment verifying
Success backward bifurcation equipment A transmission is proved to be successful message.Branch equipment A foundation is communicated with the PPPOE between newly-increased branch equipment
Link.Certainly, the branch equipment being spaced between main equipment and newly-increased branch equipment is not limited solely to one, can have it is multiple,
In the specific implementation, this can be forwarded to be proved to be successful message step by step by multiple branch equipments between the two extremely increases branch newly with this
The branch equipment of equipment connection.
As it can be seen that, according to above-mentioned process, can simply converge to the virtual large-scale family of separate unit again when newly-increased branch equipment
Use router.
It is above-mentioned mainly from main equipment, the course of work of management server angle to scheme provided in an embodiment of the present invention into
Introduction is gone.It is understood that main equipment, management server are in order to realize the above functions, it comprises execute each function
Corresponding hardware configuration and/or software module.Those skilled in the art should be readily appreciated that, in conjunction with disclosed herein
Each exemplary unit and algorithm steps of embodiment description, the present invention can be with the combination shape of hardware or hardware and computer software
Formula is realized.Some functions is executed in a manner of hardware or computer software driving hardware actually, depends on technical solution
Specific application and design constraint.Professional technician can realize each specific application using distinct methods
Described function, but such implementation should not be considered as beyond the scope of the present invention.
The embodiment of the present invention can carry out functional module to main equipment, management server according to above method example and draw
Point, for example, each functional module of each function division can be corresponded to, two or more functions can also be integrated in one
In a processing module.Above-mentioned integrated module both can take the form of hardware realization, can also be using software function module
Form is realized.It should be noted that being schematical, only a kind of logic function to the division of module in the embodiment of the present invention
It divides, there may be another division manner in actual implementation.
In the case where each function division of use correspondence each functional module, Fig. 7 shows involved in above-described embodiment
And main equipment a kind of possible structural schematic diagram, main equipment includes: receiving unit 301, cache unit 302, transmission unit
303.Receiving unit 301 is for supporting main equipment to execute the process 101 in Fig. 5;Cache unit 302 is for supporting main equipment to execute
Process 102 in Fig. 5;Transmission unit 303 is for supporting main equipment to execute the process 103 in Fig. 5.Wherein, the above method is implemented
All related contents for each step that example is related to can quote the function description of corresponding function module, and details are not described herein.
Using integrated unit, one kind that Fig. 8 shows main equipment involved in above-described embodiment can
The structural schematic diagram of energy.Main equipment may include: processor 401, communication interface 402 and memory 403.Communication interface 402 is used
In the communication for supporting main equipment and other network entities.Memory 403, for storing the program code for executing the present invention program,
And execution is controlled by processor 401.The processor 401 is right for executing the program code stored in the memory 403
The movement of main equipment carries out control management, for example, processor 401 is used to that main equipment to be supported to execute the process 101-103 in Fig. 5,
And/or other processes for techniques described herein.
Wherein, processor 401 can be general central processor (CPU), microprocessor, application-specific integrated circuit
(application-specific integrated circuit, ASIC) or other programmable logic device, transistor are patrolled
Collect device, hardware component or any combination thereof.It may be implemented or execute various in conjunction with described in the disclosure of invention
Illustrative logic block, module and circuit.Communication interface 402 can be communication port, either can be transceiver or receipts
Power Generation Road etc..Memory 403 can be read-only memory (read-only memory, ROM) or can store static information and refer to
The other kinds of static storage device enabled, random access memory (random access memory, RAM) or can store
The other kinds of dynamic memory of information and instruction, is also possible to Electrically Erasable Programmable Read-Only Memory
(Electrically Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact
Disc Read-Only Memory, CD-ROM) or other optical disc storages, optical disc storage (including compression optical disc, laser disc, light
Dish, Digital Versatile Disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in carry or
Store have instruction or data structure form desired program code and can by any other medium of computer access, but
It is without being limited thereto.Memory, which can be, to be individually present, and is connected by bus with processor.Memory can also be integrated with processor
Together.
In the case where each function division of use correspondence each functional module, Fig. 9 shows involved in above-described embodiment
And management server a kind of possible structural schematic diagram, management server includes: receiving unit 501, determination unit 502.
Receiving unit 501 is for supporting management server to execute the process 104 in Fig. 5, and determination unit 502 is for supporting management server
Execute the process 105 in Fig. 5.All related contents for each step that above method embodiment is related to can quote corresponding function
The function description of energy module, details are not described herein.
Using integrated unit, Figure 10 shows one of management server involved in above-described embodiment
The possible structural schematic diagram of kind.Management server may include: processor 601, communication interface 602 and memory 603.Communication connects
Mouth 602 is for supporting the communication of management server Yu other network entities.Memory 603 executes the present invention program for storing
Program code, and execution is controlled by processor 601.The processor 601 is used to execute to store in the memory 603
Program code.Processor 601 is for carrying out control management to the movement of management server, for example, processor 601 is used for stay pipe
Reason server executes the process 104,105 in Fig. 5, and/or other processes for techniques described herein.
Wherein, processor 601, can be general central processor (CPU), microprocessor, application-specific integrated circuit
(application-specific integrated circuit, ASIC) or other programmable logic device, transistor are patrolled
Collect device, hardware component or any combination thereof.It may be implemented or execute various in conjunction with described in the disclosure of invention
Illustrative logic block, module and circuit.Communication interface 602 can be communication port, either can be transceiver or receipts
Power Generation Road etc..Memory 603 can be read-only memory (read-only memory, ROM) or can store static information and refer to
The other kinds of static storage device enabled, random access memory (random access memory, RAM) or can store
The other kinds of dynamic memory of information and instruction, is also possible to Electrically Erasable Programmable Read-Only Memory
(Electrically Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact
Disc Read-Only Memory, CD-ROM) or other optical disc storages, optical disc storage (including compression optical disc, laser disc, light
Dish, Digital Versatile Disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in carry or
Store have instruction or data structure form desired program code and can by any other medium of computer access, but
It is without being limited thereto.Memory, which can be, to be individually present, and is connected by bus with processor.Memory can also be integrated with processor
Together.
The step of method in conjunction with described in the disclosure of invention or algorithm can realize in a manner of hardware, can also
It is realized in a manner of being to execute software instruction by processor.Software instruction can be made of corresponding software module, software mould
Block can be stored on RAM, flash memory, ROM, Erasable Programmable Read Only Memory EPROM (Erasable Programmable ROM,
EPROM), Electrically Erasable Programmable Read-Only Memory (Electrically EPROM, EEPROM), register, hard disk, movement are hard
In the storage medium of disk, CD-ROM (CD-ROM) or any other form well known in the art.A kind of illustrative storage
Medium couples to enable a processor to from the read information, and can be written to the storage medium and believe to processor
Breath.Certainly, storage medium is also possible to the component part of processor.Pocessor and storage media can be located in ASIC.In addition,
The ASIC can be located in core network interface equipment.Certainly, pocessor and storage media can also be used as discrete assembly and be present in
In core network interface equipment.
Through the above description of the embodiments, it is apparent to those skilled in the art that, for description
It is convenienct and succinct, only the example of the division of the above functional modules, in practical application, can according to need and will be upper
It states function distribution to be completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, to complete
All or part of function described above.The specific work process of the device of foregoing description can be implemented with reference to preceding method
Corresponding process in example, details are not described herein.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module
The component shown can be a physical module or multiple physical modules, it can and it is in one place, or may be distributed over
Multiple and different places.Some or all of the modules therein can be selected to realize this embodiment scheme according to the actual needs
Purpose.In addition, each functional module in each embodiment of the present invention can integrate in a processing module, it is also possible to each
A module physically exists alone, and can also be integrated in a module with two or more modules.Above-mentioned integrated module was both
It can take the form of hardware realization, can also be realized in the form of software function module.
If the integrated module is realized in the form of software function module and sells or use as independent product
When, it can store in a read/write memory medium.Based on this understanding, technical solution of the present invention is substantially in other words
The all or part of the part that contributes to existing technology or the technical solution can embody in the form of software products
Come, which is stored in a storage medium, including some instructions are used so that equipment (it can be single-chip microcontroller,
Chip etc.) or processor (processor) perform all or part of the steps of the method described in the various embodiments of the present invention.And it is aforementioned
Storage medium include: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory
The various media that can store program code such as (RAM, Random Access Memory), magnetic or disk.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (9)
1. a kind of network device management method characterized by comprising
Main equipment receives the first management connection request of at least one branch equipment transmission;Wherein, every one first management connection is asked
It asks and is sent by each branch equipment, for requesting management server and each branch equipment to establish connection, every one first management connects
Connect the network port description information that request includes branch equipment corresponding with the first management connection request;
Main equipment caching the first management connection request, and agency is generated according to the first management connection request and is asked
It asks, the proxy requests include the network port description information that every one first management connects corresponding each branch equipment;
The main equipment reports the proxy requests to the management server, indicates the management server according to the agency
It requests to determine network apparatus cluster;Wherein, the network apparatus cluster includes the main equipment and every one first management
The corresponding branch equipment of connection request.
2. the method according to claim 1, wherein the method also includes:
The main equipment sends the second management connection request to the management server, and the second management connection request carries institute
The network port description information for stating main equipment, make the management server according to the network port description information of the main equipment with
The main equipment establishes connection.
3. according to the method described in claim 2, it is characterized in that, the network port of the branch equipment include uplink port,
Downlink port, the network port of the main equipment include uplink port, downlink port,
The outer network interface of the network apparatus cluster is the uplink port of the main equipment;The terminal port of the network apparatus cluster is
Described every one first manages the port in the non-inline mouth of the corresponding branch equipment of connection request in addition to natural mouth;
Wherein, the non-inline mouth is not set up the uplink port of PPPOE communication link and do not set up under PPPOE communication link
Row port, the nature mouth is the uplink port not being set and the downlink port not being set.
4. the method according to claim 1, wherein the method also includes:
The main equipment receives the request for building link that newly-increased branch equipment is sent, the chain sent according to the newly-increased branch equipment
Road establish request the newly-increased branch equipment is verified, if verification result be pass through, establish the main equipment with it is described
PPPOE communication link between newly-increased branch equipment;Or,
The main equipment receives the request for building link from the newly-increased branch equipment of the branch equipment forwarding, according to institute
It states the request for building link from the newly-increased branch equipment to verify the newly-increased branch equipment, if verification result is logical
Cross, be then proved to be successful message to branch equipment transmission, indicate the branch equipment establish with the newly-increased branch equipment it
Between PPPOE communication link.
5. a kind of network device management method characterized by comprising
Management server receives the proxy requests that main equipment is sent;The proxy requests include every one first management connection request pair
The network port description information for each branch equipment answered;
The management server determines network apparatus cluster according to the network port description information of each branch equipment;The net
Network device clusters include the main equipment and the corresponding branch equipment of every one first management connection request.
6. according to the method described in claim 5, it is characterized in that, the management server receives the generation that the main equipment is sent
Before reason request, the method also includes:
The management server receives the second management connection request that the main equipment is sent, and the second management connection request is taken
Network port description information with the main equipment;
The management server establishes connection according to the network port description information and the main equipment of the main equipment.
7. according to the method described in claim 6, it is characterized in that, the network port of the branch equipment include uplink port,
Downlink port, the network port of the main equipment include uplink port, downlink port,
After the management server determines network apparatus cluster according to the network port description information of each branch equipment, institute
State method further include:
The uplink port of the main equipment is defined as the outer network interface of the network apparatus cluster by the management server, will be described
Every one first port definition managed in the non-inline mouth of the corresponding branch equipment of connection request in addition to natural mouth is the network
The terminal port of device clusters;Wherein, the non-inline mouth is not set up the uplink port of PPPOE communication link and do not set up
The downlink port of PPPOE communication link, the nature mouth is the uplink port not being set and the downlink port not being set.
8. a kind of main equipment characterized by comprising
Receiving unit, for receiving the first management connection request of at least one branch equipment transmission;Wherein, every one first management
Connection request is sent by each branch equipment, for requesting management server and each branch equipment establishes connection, every one first
Management connection request includes the network port description information of branch equipment corresponding with the first management connection request;
Cache unit generates agency for caching the first management connection request, and according to the first management connection request
Request, the proxy requests include the network port description information that every one first management connects corresponding each branch equipment;
Transmission unit indicates the management server according to for reporting the proxy requests to the management server
Proxy requests determine network apparatus cluster;Wherein, the network apparatus cluster includes the main equipment and described every one first
Manage the corresponding branch equipment of connection request.
9. a kind of management server characterized by comprising
Receiving unit, for receiving the proxy requests of main equipment transmission;The proxy requests include that every one first management connection is asked
Seek the network port description information of corresponding each branch equipment;
Determination unit, for determining network apparatus cluster according to the network port description information of each branch equipment;The net
Network device clusters include the main equipment and the corresponding branch equipment of every one first management connection request.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610863534.6A CN106411588B (en) | 2016-09-29 | 2016-09-29 | A kind of network device management method, main equipment and management server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610863534.6A CN106411588B (en) | 2016-09-29 | 2016-09-29 | A kind of network device management method, main equipment and management server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106411588A CN106411588A (en) | 2017-02-15 |
CN106411588B true CN106411588B (en) | 2019-10-25 |
Family
ID=59229483
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610863534.6A Active CN106411588B (en) | 2016-09-29 | 2016-09-29 | A kind of network device management method, main equipment and management server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106411588B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108259211B (en) * | 2017-05-11 | 2021-08-24 | 新华三信息技术有限公司 | Equipment management method and device |
CN107257319A (en) * | 2017-05-16 | 2017-10-17 | 上海斐讯数据通信技术有限公司 | A kind of long establishment of connection method, communication means and set up communication system |
CN108846287A (en) * | 2018-06-26 | 2018-11-20 | 北京奇安信科技有限公司 | A kind of method and device of detection loophole attack |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1505322A (en) * | 2002-12-04 | 2004-06-16 | ��Ϊ��������˾ | A management method of network device |
CN1885858A (en) * | 2005-06-24 | 2006-12-27 | 中国长城计算机深圳股份有限公司 | Method for carrying out cluster management on network equipment based on SNMP protocol |
CN1996880A (en) * | 2006-11-24 | 2007-07-11 | 华为技术有限公司 | Method and network device of the self-adapted management network device |
CN103004157B (en) * | 2011-07-21 | 2015-03-11 | 华为技术有限公司 | Interface register method and device for network device to join cluster system |
CN105119934A (en) * | 2015-09-11 | 2015-12-02 | 北京星网锐捷网络技术有限公司 | Deployment method of virtual private network branch, headquarter equipment and branch equipment |
-
2016
- 2016-09-29 CN CN201610863534.6A patent/CN106411588B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1505322A (en) * | 2002-12-04 | 2004-06-16 | ��Ϊ��������˾ | A management method of network device |
CN1885858A (en) * | 2005-06-24 | 2006-12-27 | 中国长城计算机深圳股份有限公司 | Method for carrying out cluster management on network equipment based on SNMP protocol |
CN1996880A (en) * | 2006-11-24 | 2007-07-11 | 华为技术有限公司 | Method and network device of the self-adapted management network device |
CN103004157B (en) * | 2011-07-21 | 2015-03-11 | 华为技术有限公司 | Interface register method and device for network device to join cluster system |
CN105119934A (en) * | 2015-09-11 | 2015-12-02 | 北京星网锐捷网络技术有限公司 | Deployment method of virtual private network branch, headquarter equipment and branch equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106411588A (en) | 2017-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109672612A (en) | API gateway system | |
CN109600768A (en) | Management method, equipment and the system of network slice | |
CN106411588B (en) | A kind of network device management method, main equipment and management server | |
US20110035248A1 (en) | Distributed Service Platform Computing with a Guaranteed Quality of Service | |
CN104639497B (en) | Remotely access configuration method, remote access method, device and system | |
CN107483390A (en) | A kind of cloud rendering web deployment subsystem, system and cloud rendering platform | |
CN104579887A (en) | Cloud gateway as well as cloud gateway creation and configuration system and method | |
CN108667638A (en) | A kind of network service configuration method and network management device | |
CN108833251A (en) | Method and apparatus for controlling the network interconnection | |
CN114422010B (en) | Protocol testing method of satellite communication simulation platform based on network virtualization | |
CN113259272B (en) | Flow management method, device and equipment based on virtual gateway | |
Mahtout et al. | Using machine learning for intent-based provisioning in high-speed science networks | |
CN109039764A (en) | A kind of network parameter configuration method of distributed memory system | |
CN102170366B (en) | Method, device and system for communicating with single board | |
CN109039709A (en) | A kind of mobile wireless network emulation and experiment porch based on virtualization | |
CN109391503A (en) | A kind of network slice management method and device | |
CN111464622A (en) | Volume mapping processing method and device in distributed storage system | |
CN106506182A (en) | A kind of method and system of configuration PTN business | |
Wang et al. | MR-Edge: A MapReduce-based protocol for IoT Edge computing with resource constraints | |
CN105245376A (en) | SDN (Software Defined Network) based residence community network control system | |
CN105871676B (en) | The method for connecting network and system of distal end virtual machine in a kind of desktop cloud | |
CN104717176B (en) | A kind of authority control method, system and server | |
CN109814973A (en) | A kind of implementation method of desktop cloud platform, system and server | |
WO2022222371A1 (en) | Fc-ae-1553 network optimization method and system | |
CN115499432A (en) | Family terminal computing resource management system and computing resource scheduling method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |