CN106411588A - Network device management method, master device and management server - Google Patents

Network device management method, master device and management server Download PDF

Info

Publication number
CN106411588A
CN106411588A CN201610863534.6A CN201610863534A CN106411588A CN 106411588 A CN106411588 A CN 106411588A CN 201610863534 A CN201610863534 A CN 201610863534A CN 106411588 A CN106411588 A CN 106411588A
Authority
CN
China
Prior art keywords
equipment
management
port
network
branch
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.)
Granted
Application number
CN201610863534.6A
Other languages
Chinese (zh)
Other versions
CN106411588B (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.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks 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 Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN201610863534.6A priority Critical patent/CN106411588B/en
Publication of CN106411588A publication Critical patent/CN106411588A/en
Application granted granted Critical
Publication of CN106411588B publication Critical patent/CN106411588B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/046Network management architectures or arrangements comprising network management agents or mobile agents therefor

Abstract

The invention provides a network device management method, a master device and a management server, and relates to the field of communication. A plurality of network devices are integrated into a cluster, the management server manages the master device in the cluster to manage other devices in the cluster, thereby greatly relieving the processing burden of the management server. The network device management method comprises the following steps: the master device receives first management connection requests (each first management connection request comprises network port description information of a branch device corresponding to the first management connection request) sent by at least one branch device, caches the first management connection requests, and generates proxy requests (comprising the network port description information of each branch device corresponding to the first management connection requests) according to the first management connection requests; and the proxy requests are reported to the management server to indicate the management server to determine a network device cluster (comprising the master device and the branch device corresponding to each first management connection request) according to the proxy requests.

Description

A kind of network device management method, main equipment and management server
Technical field
The present invention relates to the communications field, more particularly, to a kind of network device management method, main equipment and management server.
Background technology
At present, terminal needs by some network equipments (such as:Router) carry out access network, simultaneously as dissimilar Terminal online way to manage different, the network of dissimilar varying number therefore, under a regional environment, can be disposed Equipment carries the Network of different terminals.With the development of network data communication, the quantity of the terminal of access network is also therewith Substantial increase, the quantity carrying the network equipment of terminal network business also rolls up.
In 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 the basic network configuration of the process network equipment, monitoring network device state etc..
But, the quantity with the network equipment gets more and more, and type becomes increasingly complex, and management server is individually to each net Network equipment is managed, and leads to cost more and more higher, brings great Business Processing pressure also to the management server being in high in the clouds Power.
Content of the invention
The present invention implements to provide a kind of network device management method, main equipment and management server, by the multiple stage network equipment Aggregate into a cluster, management server is by being managed to the main equipment in cluster, it is possible to achieve to other in cluster The management of equipment, significantly reduces management servers process load.
For reaching above-mentioned purpose, embodiments of the invention adopt the following technical scheme that:
In a first aspect, disclosing a kind of network device management method, including:
Main equipment receives the first management connection request of at least one branch equipment transmission;Wherein, every one first management connects Connect request to be sent by each branch equipment, be connected for asking management server to be set up with each branch equipment, each first pipe Reason connection request includes the network port description information with the described first management corresponding branch equipment of connection request;
Described main equipment caching described first manages connection request, and generates agency according to the described first management connection request Request, described proxy requests include the network port description information that every one first management connects corresponding each branch equipment;
Described main equipment reports described proxy requests to described management server, indicates described management server according to described Proxy requests determine network apparatus cluster;Wherein, described network apparatus cluster includes described main equipment and described every one first The management corresponding branch equipment of connection request.
In conjunction with a first aspect, in the first possible implementation of first aspect, described main equipment receives at least one Before the first management connection request that individual branch equipment sends, methods described also includes:
Described main equipment sends the second management connection request to described management server, and described second management connection request is taken With the network port description information of described main equipment, make described management server according to the network port description letter of described main equipment Breath is set up with described main equipment and is connected.
In conjunction with the first possible implementation of first aspect, in the possible implementation of the second of first aspect In, the network port of described branch equipment includes uplink port, downlink port, and the network port of described main equipment includes upstream ends Mouth, downlink port,
The outer network interface of described network apparatus cluster is the uplink port of described main equipment, the terminal of described network apparatus cluster Mouth is the port in addition to natural mouth in the non-inline mouth of described every one first management corresponding branch equipment of connection request;Described non- Inline mouth is not set up the uplink port of PPPOE communication link and the downlink port not setting up PPPOE communication link, described nature Mouth is the uplink port not being set and the downlink port not being set.
In conjunction with a first aspect, in the third possible implementation of first aspect, methods described also includes:
Described main equipment receives the request for building link that newly-increased branch equipment sends, and is sent according to described newly-increased branch equipment Request for building link described newly-increased branch equipment is verified, if the result is to pass through, set up described main equipment with PPPOE communication link between described newly-increased branch equipment;Or,
Described main equipment receives the request for building link from described newly-increased branch equipment that described branch equipment forwards, root According to the described request for building link from described newly-increased branch equipment, described newly-increased branch equipment is verified, if the result It is to pass through, then sends to described branch equipment and be proved to be successful message, the described branch equipment of instruction is set up and set with described newly-increased branch PPPOE communication link between standby.
Second aspect, discloses a kind of network device management method, including:
Management server receives the proxy requests that main equipment sends;Described proxy requests include every one first management connection please Seek the network port description information of corresponding each branch equipment;
Described management server determines network apparatus cluster according to the network port description information of each branch equipment;Institute State network apparatus cluster and include described main equipment and described every one first management corresponding branch equipment of connection request.
In conjunction with second aspect, in the first possible implementation of second aspect, described management server receives institute Before stating the proxy requests of main equipment transmission, methods described also includes:
Described management server receives the second management connection request that described main equipment sends, and described second management connects please Seek the network port description information carrying described main equipment;
Described management server is set up with described main equipment according to the network port description information of described main equipment and is connected.
In conjunction with the first possible implementation of second aspect, in the first possible implementation of second aspect In, the network port of described branch equipment includes uplink port, downlink port, and the network port of described main equipment includes upstream ends Mouth, downlink port,
Described management server according to the network port description information of each branch equipment determine network apparatus cluster it Afterwards, methods described also includes:
The uplink port of described main equipment is defined as the outer network interface of described network apparatus cluster by described management server, will In the non-inline mouth of described every one first management corresponding branch equipment of connection request, the port definition in addition to natural mouth is described The terminal port of network apparatus cluster;Wherein, described 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, described natural mouth is the uplink port not being set and the downlink port not being set.
The third aspect, discloses a kind of main equipment, including:
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, is connected for asking management server to be set up with each branch equipment, each First management connection request includes the network port description information with the described first management corresponding branch equipment of connection request;
Buffer unit, for caching described first management connection request, and generates according to the described first management connection request Proxy requests, described proxy requests include the network port description letter that every one first management connects corresponding each branch equipment Breath;
Transmitting element, for reporting described proxy requests to described management server, indicate described management server according to Described proxy requests determine network apparatus cluster;Wherein, described network apparatus cluster includes described main equipment and described each The first management corresponding branch equipment of connection request.
In conjunction with the third aspect, in the first possible implementation of the third aspect, described transmitting element is additionally operable to, Before described receiving unit receives the first management connection request of at least one branch equipment transmission, send out to described management server Send the second management connection request, described second management connection request carries the network port description information of described main equipment, makes institute State management server and set up with described main equipment according to the network port description information of described main equipment and be connected.
In conjunction with the first possible implementation of the third aspect, in the possible implementation of the second of the third aspect In, the network port of described branch equipment includes uplink port, downlink port, and the network port of described main equipment includes upstream ends Mouth, downlink port,
The outer network interface of described network apparatus cluster is the uplink port of described main equipment, the terminal of described network apparatus cluster Mouth is the port in addition to natural mouth in the non-inline mouth of described every one first management corresponding branch equipment of connection request;Described non- Inline mouth is not set up the uplink port of PPPOE communication link and the downlink port not setting up PPPOE communication link, described 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, also include authentication unit, set up list Unit,
Described receiving unit is additionally operable to, and receives the request for building link that newly-increased branch equipment sends;
Described authentication unit is used for, and the request for building link according to described newly-increased branch equipment transmission is to described newly-increased branch Equipment is verified;
Described unit of setting up is used for, if the result of described authentication unit is to pass through, sets up described main equipment and institute State the PPPOE communication link between newly-increased branch equipment;
Or,
Described receiving unit is used for, and receives the link establishment from described newly-increased branch equipment that described branch equipment forwards Request;
Described authentication unit is used for, according to the described request for building link from described newly-increased branch equipment to described newly-increased Branch equipment is verified;
Described transmitting element is additionally operable to, and sends to described branch equipment and is proved to be successful message, indicates that described branch equipment is built PPPOE communication link between vertical and described newly-increased branch equipment.
Fourth aspect, discloses a kind of management server, including:
Receiving unit, for receiving the proxy requests of main equipment transmission;Described proxy requests include every one first management even Connect the network port description information asking corresponding each branch equipment;
Determining unit, determines network apparatus cluster for the network port description information according to each branch equipment;Institute State network apparatus cluster and include described main equipment and described every one first management corresponding branch equipment of connection request.
In conjunction with fourth aspect, in the first possible implementation of fourth aspect, also include setting up unit,
Described receiving unit is additionally operable to, and before receiving the proxy requests that described main equipment sends, receives described main equipment The the second management connection request sending, described second management connection request carries the network port description information of described main equipment;
Described unit of setting up is used for, and the network port description information according to described main equipment is set up even with described main equipment Connect.
In conjunction with the first possible implementation of fourth aspect, in the possible implementation of the second of fourth aspect In, the network port of described branch equipment includes uplink port, downlink port, and the network port of described main equipment includes upstream ends Mouth, downlink port,
Described determining unit is additionally operable to, and determines network equipment collection according to the network port description information of each branch equipment After group, the uplink port of described main equipment is defined as the outer network interface of described network apparatus cluster, by described each first pipe In the non-inline mouth of the reason corresponding branch equipment of connection request, the port definition in addition to natural mouth is described network apparatus cluster Terminal port;Wherein, described non-inline mouth is not set up the uplink port of PPPOE communication link and do not set up PPPOE communication link Downlink port, described natural mouth is the uplink port not being set and the downlink port not being set.
Network device management method provided in an embodiment of the present invention, main equipment and management server, main equipment intercepts branch The management connection request that equipment is initiated to management equipment, and network port description information therein is buffered in locally.In addition, it is 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 a network apparatus cluster, and this cluster includes main equipment and all requests and management Server sets up each branch equipment connecting, and defines outer network interface, the terminal port of this network apparatus cluster further.This cluster can So that by this outer network interface connection network, terminal can pass through this terminal port access network.So, a main equipment and pipe are only needed Reason server keep-alive, it is possible to realize the management to multiple network equipments, significantly reduces management servers process load.With When, in server under the same conditions, the quantity multiplication of the managed networks equipment of support, significantly reduce input cost.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, acceptable Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is existing network device management schematic diagram;
Fig. 2 is network equipment connection diagram;
Fig. 3 is the Organization Chart of management system provided in an embodiment of the present invention;
Fig. 4 is that network port function provided in an embodiment of the present invention divides schematic diagram;
Fig. 5 is the schematic flow sheet of network device management method provided in an embodiment of the present invention;
Fig. 6 is the schematic flow sheet of the communication link setting up LA Management Room provided in an embodiment of the present invention;
Fig. 7 is the structured flowchart of main equipment provided in an embodiment of the present invention;
Fig. 8 is another structured flowchart of main equipment provided in an embodiment of the present invention;
Fig. 9 is the structured flowchart of management server provided in an embodiment of the present invention;
Figure 10 is another structured flowchart of management server provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes.
At present, increasing terminal needs access network to obtain data resource, and so, the network carrying terminal online sets Standby also grow with each passing day, such as:Router, access point etc..Every network equipment of prior art is individually set up with snmp management server Connect, the basic network configuration of the network equipment and the monitoring state to the network equipment can be processed based on SNMP.Specifically Ground, as shown in figure 1, keeper passes through snmp management server Configuration network equipment, it can in addition contain in equipment mib (management letter Breath storehouse) node read the network equipment relevant information.
Whole manage during, operation is complex, and can not across wide area network establishments connect (i.e. snmp management server and Each network equipment must be under same LAN), application scenario is relatively limited to be disposed it is difficult to complete complex configuration. Meanwhile, if the quantity of the network equipment is more, very big service processing pressure is caused to snmp management server.Meanwhile, it is subject to It is limited to limited bandwidth resources, the quantity of the network equipment that same server can manage is also limited.
The principle of the embodiment of the present invention is:Management server will be many according to the network port description information that main equipment reports The platform network equipment aggregates into a network apparatus cluster, and this cluster includes main equipment and all requests are built with management server Vertical each branch equipment connecting, defines outer network interface, the terminal port of this network apparatus cluster further.This cluster can pass through this Individual outer network interface connection network, terminal can pass through this terminal port access network.So, a main equipment and management server are only needed Responsible keep-alive so that server under the same conditions, the multiplication of the quantity of the managed networks equipment of support, effectively reduce input Cost.Meanwhile, server system resources and bandwidth resources are saved.
Firstly, it is necessary to explanation, with reference to Fig. 2, the network equipment is (such as:Main equipment in the embodiment of the present invention, branch set Standby) the network port uplink port (outside mouth) and downlink port (inside mouth) are generally divided into according to data flow.Net PPPOE (Point to Point Protocol Over can be set up by uplink port, downlink port between network equipment Ethernet, the peer-peer protocol on Ethernet) link, by PPPOE communication link data message.Example, 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 set up PPPOE communication link, And for example the downlink port (port 3) of the network equipment 2 and the uplink port (port 1) of the network equipment 3 set up PPPOE communication link.
The present invention provides a kind of management system, as shown in figure 3, described management system includes:Management server is set with network Standby cluster, described network apparatus cluster includes main equipment and at least one branch equipment.Wherein, main equipment and branch equipment it Between connection be physical connection, example, can be to be connected by netting twine.Here, so-called branch equipment, that is, with management server The network equipment not being directly connected to, can be directly connected to main equipment it is also possible to be connected with other branch equipment.
Wherein, main equipment undertakes the primary outlet effect of this network apparatus cluster, i.e. other points in this network apparatus cluster The equipment of propping up can pass through main equipment accessing external network, undertakes the interconnection work with outer net.Further, by the upstream ends of this main equipment Mouth is defined as this outer network interface.
With reference to Fig. 3, branch equipment is connected with main equipment, or is connected with other branch equipment.
In addition, management server can by this network apparatus cluster between branch equipment interconnective port (build The port of vertical PPPOE communication link) it is defined as inline mouth, port interconnective between main equipment and branch equipment is also defined For inline mouth.The port identity of this inline mouth is set to trunk pattern.Generally, the type of message that the port of the network equipment is supported Can be vlan Class1~type 4094, port is not only restricted to the message of a certain type for trunk pattern i.e. this port here, The message of any one type in (receive or forward) vlan Class1~type 4094 can be identified.
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.Or it is also possible to will be incited somebody to action according to aminated polyepichlorohydrin method Natural mouth is converted into inline mouth.Here non-inline mouth is the port that each branch equipment does not set up PPPOE communication link, permissible It is downlink port or uplink port.
In addition, by the network port (including uplink port, downlink port) of main equipment, branch equipment in the embodiment of the present invention Divide according to function or state:With reference to Fig. 4, main equipment, the network port of branch equipment can be divided into inline mouth, outer net Mouth, non-inline mouth.Wherein, inline mouth is all ports setting up PPPOE communication link, can be equipment uplink port or under Row port, after activation PPPOE communication link, port is changed to trunk pattern.Outer network interface is the uplink port of main equipment.Non- Inline mouth includes nature mouth and terminal port, and natural mouth is 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 can also be set, i.e. the type of the discernible message in port.In the present invention In embodiment, a message ID can be negotiated in advance, each port (is included after determining network apparatus cluster by management server The downlink port of the downlink port of main equipment, uplink port and branch equipment, uplink port) message ID be arranged to same Message ID.
The embodiment of the present invention provides a kind of network device management method, as shown in figure 5, method comprises the following steps:
101st, main equipment receives the first management connection request of at least one branch equipment transmission, wherein, each first pipe Reason connection request is sent by each branch equipment, for asking the foundation of management server and each branch equipment to be connected, every 1 the One management connection request includes the network port description information with the described first management corresponding branch equipment of 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 are illustrated to refer to Fig. 2, will not be described here.
In implementing, with reference to the management system shown in Fig. 3, branch equipment is not directly connected with management server foundation, But the main equipment being connected with management server establishes connection, or establish even with other branch equipment being connected main equipment Connect.Generally, the management connection request that branch equipment can be initiated transmits to main equipment, by main equipment by this 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 of branch equipment, can't forward to management server.That is, main equipment is by branch First management connection request of equipment intercepts, and is buffered in local, the first management connection request unification to each branch equipment It is managed.Here, the connection between main equipment and branch equipment can be to carry out physical connection by netting twine etc., 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, up Port corresponding message ID is arranged to the pattern decided through consultation in advance.As:vlan 1.Carry out accessory ID network using puppy parc to set The interface attributes of the network equipment in standby cluster, versatility is good, low for equipment requirements.
Subsequently, main equipment pass through uplink port to described management server send second management connection request, described second Management connection request carries the network port description information of described main equipment, so that described management server is according to described main equipment Network port description information and described main equipment set up and be connected.That is, main equipment connects to network and to management server Initiate docking, set up with management server after being connected, each branch equipment could be acted on behalf of and initiate to connect to management server.Separately Outward, the PPPOE message activation that main equipment can also be opened based on downlink port is monitored, that is, serve as PPPOE server.
102nd, the described first management connection request of main equipment caching, and agency is generated according to the described first management connection request Request, described 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 the first management connection request of each branch equipment transmission, all first management connection requests further according to caching include Network port description information generate proxy requests.
In addition, the network port description information in the proxy requests generating is the branch sending the first management connection request setting Standby network port description information, that is, only branch equipment has initiated the request of connection management server and main equipment has intercepted it The the first management connection request sending, then can be buffered in the network port description information of this branch equipment locally.
103rd, main equipment reports proxy requests to management server, and instruction management server determines according to described proxy requests Network apparatus cluster;Wherein, described network apparatus cluster includes described main equipment and described every one first management connection request Corresponding branch equipment.
It should be noted that here main equipment report be initiate connection management server the branch equipment of request net Network port description information, so, management server can will initiate connection request (first pipe when defining network apparatus cluster Reason connection request) branch equipment take into account.If there being new branch equipment to add, then this newly-increased branch equipment needs to lead to Cross the request that main equipment initiates connection management server, management server so could be made to be increased to network equipment collection Group.
104th, management server receives the proxy requests that main equipment sends.
Described proxy requests carry the network port description of every one first management corresponding each branch equipment of connection request Information.
105th, management server determines network apparatus cluster according to the network port description information of each branch equipment;Institute State network apparatus cluster and include described main equipment and described every one first management corresponding branch equipment of connection request.
In implementing, management server parses the proxy requests that main equipment sends, and gets the network-side wherein carrying Mouth description information.In fact, management equipment is the network port information according to the branch equipment initiating the first management connection request Definition network apparatus cluster, asks in addition it is also necessary to initiating the first management by main equipment and connecting when having new branch equipment to add Ask, so that this newly-increased branch equipment is included into network apparatus cluster by management server.
Further, main equipment can also send the second management connection request by its uplink port to management server, Described second management connection request carries the network port description information of described main equipment, and so, management server just gets The description information of the network port of main equipment (including uplink port, downlink port) and the network port (bag of branch equipment Include uplink port, downlink port) description information.Further, management server is it is also possible that state the uplink port of main equipment It is defined as the outer network interface of described network apparatus cluster, described every one first management corresponding branch equipment of connection request is non-interior In connection mouth, the port definition in addition to natural mouth is the terminal port of described network apparatus cluster.
It should be noted that non-inline mouth does not set up the interface of PPPOE communication link, can be uplink port, also may be used To be downlink port.Described natural mouth is the port not being set, and can be uplink port or downlink port.
In implementing, management server will have PPPOE shape in the network equipment of the network apparatus cluster of above-mentioned determination The port of state all qualitative for inline mouth.By qualitative for the uplink port of main equipment for this regional network (i.e. described network apparatus cluster) Outer network interface, is directly connected to outer net.By qualitative for all non-inline mouths of branch equipment for nature mouth.Natural mouth is arranged through artificial Afterwards, terminal port can be switched to, surf the Net for terminal and use.Certainly, management server, also dependent on aminated polyepichlorohydrin method, nature mouth is turned For inline mouth.
That is, this network apparatus cluster is abstracted into a big home router, outer network interface is wan mouth, eventually Port is the port that PC (one kind of terminal) surfs the Net.In implementing, keeper can configure and control according to business demand Wan mouth 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 it is easy to management, and greatly reducing the technical capability to keeper will Ask.After network equipment virtualization polymerization, keeper need not pay close attention to the topological relation being formed between arbitrary network equipment, only needs to safeguard The port (i.e. the terminal port of network apparatus cluster) directly related with end user.In addition, after network equipment polymerization, only needing One main equipment and management server be responsible for keep-alive so that server 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 sends, Method also includes:Main equipment receives the request for building link that branch equipment sends;Request for building link carries user name and password; According to user name and password, branch equipment is verified;If the result is to pass through, main equipment then set up with branch equipment it Between communication link.
In another preferred embodiment of the present invention, main equipment receives the request for building link that newly-increased branch equipment sends, According to the request for building link that newly-increased branch equipment sends, newly-increased branch equipment is verified, if the result is to pass through, Set up 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 that branch equipment forwards, according to from new The request for building link increasing branch equipment is verified to newly-increased branch equipment, if the result is to pass through, to branch equipment Transmission is proved to be successful message, and instruction branch equipment is set up and increased the communication link between branch equipment newly.
In implementing, branch equipment, before initiating the request of connection management server, can also be initialized, be built Stand and communication link.Certainly, in newly-increased branch equipment it is also desirable to set up the communication link of this newly-increased branch equipment.With reference to figure 6, specifically include following steps:
201st, branch equipment initialization, chooses SVI 1 as dialing mouth, and generates PPPOE and set up request, and to main equipment Send PPPOE and set up request.
It is assumed here that each port corresponding message ID is vlan 1, therefore branch equipment selection is corresponding with vlan 1 Port -- SVI 1 is as dialing mouth.Here it is above-mentioned request for building link that PPPOE sets up request, the user name that wherein carried, Password is appointed with main equipment in advance, so that main equipment is verified to branch equipment.
202nd, branch equipment is connected with the downlink port of main equipment.
In implementing, the PPPOE that main equipment parses branch equipment transmission first sets up request, obtains the use wherein carrying Name in an account book, password, judge whether this user name, password are user name, the password made an appointment.If so, then set up and branch equipment Between PPPOE communication link.Further, branch equipment can set up PPPOE communication chain by its SVI 1 with main equipment Road, by this
PPPOE communication link and main equipment realize intercommunication.
When branch equipment and main equipment detect the port that have activated PPPOE connection, this port can be changed to trunk Pattern, and it is set to the inline mouth of network apparatus cluster, other port attributes are constant.
If 203 newly-increased branch equipment are connected to the downlink port of main polymerization unit, jump to step 201, if newly Increase branch equipment and be connected to branch equipment, then jump to step 204.
That is, when newly-increased branch equipment is directly connected with main equipment, setting up request to main equipment PPPOE, master sets The standby PPPOE communication link set up and this newly-increased branch equipment between.If newly-increased branch equipment is connected with branch equipment, then PPPOE is set up request and is transmitted to main equipment and verified by the branch equipment being connected through.
204th, PPPOE is set up request by branch equipment and is transparent to main equipment by newly-increased branch equipment.
In implementing, if main equipment is connected with branch equipment A, branch equipment A is connected with newly-increased branch equipment, increases newly and divides The equipment of propping up is docked with the port of branch equipment A first, and then branch equipment A receives the PPPOE foundation that newly-increased branch equipment sends Ask, and this PPPOE set up request to be 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 multiple, in implementing, can by multiple branch equipment therebetween step by step The PPPOE of this newly-increased branch equipment sets up request.
It should be noted that the connection between main equipment and branch equipment is physical connection here, example, can be logical Cross netting twine to connect.
205th, main equipment is set up instruction branch equipment and is set up and increase the PPPOE communication link between branch equipment newly.
In implementing, main equipment parses the PPPOE foundation request that newly-increased branch equipment sends first, obtains and wherein carries User name, password, judge whether this user name, password are user name, the password made an appointment.If so, then will be proved to be successful Message is sent to the branch equipment being connected with newly-increased branch equipment, and subsequently this branch equipment is set up and increased newly between branch equipment PPPOE communication link.Certainly, the port newly-increased branch equipment being set up PPPOE communication link is set to trunk pattern, and sets It is set to inline mouth.
Example, if main equipment is connected with branch equipment A, branch equipment A is connected with newly-increased branch equipment, and main equipment is verified Successful backward bifurcation device A sends and is proved to be successful message.Branch equipment A is set up and is increased the PPPOE between branch equipment newly and communicate Link.Certainly, between main equipment and newly-increased branch equipment, the branch equipment at interval is not limited solely to one, can have multiple, In implementing, can by multiple branch equipment therebetween forward step by step this be proved to be successful message to this newly-increased branch The branch equipment that equipment connects.
It can be seen that, during newly-increased branch equipment, according to above-mentioned flow process, you can simply converge to the virtual large-scale family of separate unit again Use router.
Above-mentioned mainly from the angle of main equipment, the course of work of management server, scheme provided in an embodiment of the present invention is entered Go introduction.It is understood that main equipment, management server, in order to realize above-mentioned functions, it comprises each function of execution Corresponding hardware configuration and/or software module.Those skilled in the art should be readily appreciated that, in conjunction with disclosed herein The unit of each example of embodiment description and algorithm steps, the present invention can be with the combination shape of hardware or hardware and computer software Formula is realizing.Certain function to execute in the way of hardware or computer software drive hardware actually, depending on technical scheme Application-specific and design constraint.Professional and technical personnel can use different methods to each specific application realize Described function, but this realize it is not considered that beyond the scope of this invention.
The embodiment of the present invention can carry out functional module and draw to main equipment, management server according to said method example Point, for example, it is possible to each function corresponding divides each functional module it is also possible to two or more functions are integrated in one In individual processing module.Above-mentioned integrated module both can be to be realized in the form of hardware, it would however also be possible to employ software function module Form is realized.It should be noted that being schematic to the division of module in the embodiment of the present invention, only a kind of logic function Divide, actual can have other dividing mode when realizing.
In the case of dividing each functional module using each function corresponding, Fig. 7 shows involved in above-described embodiment And main equipment a kind of possible structural representation, main equipment includes:Receiving unit 301, buffer unit 302, transmitting element 303.Receiving unit 301 is used for supporting that main equipment executes the process 101 in Fig. 5;Buffer unit 302 is used for supporting that main equipment executes Process 102 in Fig. 5;Transmitting element 303 is used for supporting that main equipment executes the process 103 in Fig. 5.Wherein, said method is implemented All related contents of each step that example is related to all can quote the function description of corresponding function module, will not be described here.
In the case of using integrated unit, Fig. 8 shows that one kind of involved main equipment in above-described embodiment can The structural representation of energy.Main equipment can include:Processor 401, communication interface 402 and memory 403.Communication interface 402 is used In the communication supporting main equipment and other network entities.Memory 403, for the program code of storage execution the present invention program, And execution is controlled by processor 401.Described processor 401 is used for executing the program code of storage in described memory 403, right The action of main equipment is controlled managing, and for example, processor 401 is used for supporting that main equipment executes process 101-103 in Fig. 5, And/or the other processes for techniques described herein.
Wherein, processor 401 can be general central processor (CPU), microprocessor, ASIC (application-specific integrated circuit, ASIC) or other PLDs, transistor are patrolled Collect device, hardware component or its any combination.It can be realized or execute with reference to various described by the disclosure of invention Exemplary logic block, module and circuit.Communication interface 402 can be COM1, or can be transceiver or receipts Power Generation Road etc..Memory 403 can be read-only storage (read-only memory, ROM) or can store static information and refer to The other kinds of static storage device of order, random access memory (random access memory, RAM) or can store The other kinds of dynamic memory of information and instruction or EEPROM (Electrically Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-Only Memory, CD-ROM) or other optical disc storage, laser disc storage (inclusion compression laser 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 Storage have instruction or data structure form desired program code and can by any other medium of computer access, but Not limited to this.Memory can be individually present, and is connected with processor by bus.Memory can also be integrated with processor Together.
In the case of dividing each functional module using each function corresponding, Fig. 9 shows involved in above-described embodiment And management server a kind of possible structural representation, management server includes:Receiving unit 501, determining unit 502. Receiving unit 501 is used for supporting that management server executes the process 104 in Fig. 5, determining unit 502 is used for supporting management server Process 105 in execution Fig. 5.All related contents of each step that said method embodiment is related to all can quote corresponding work( The function description of energy module, will not be described here.
In the case of using integrated unit, Figure 10 shows of involved management server in above-described embodiment Plant possible structural representation.Management server can include:Processor 601, communication interface 602 and memory 603.Communication connects Mouth 602 is used for supporting the communication of management server and other network entities.Memory 603, for storage execution the present invention program Program code, and execution is controlled by processor 601.Described processor 601 is used for executing storage in described memory 603 Program code.Processor 601 is used for the action of management server being controlled manage, and for example, processor 601 is used for stay pipe Reason server executes the process 104,105 in Fig. 5, and/or the other processes for techniques described herein.
Wherein, processor 601, can be general central processor (CPU), microprocessor, ASIC (application-specific integrated circuit, ASIC) or other PLDs, transistor are patrolled Collect device, hardware component or its any combination.It can be realized or execute with reference to various described by the disclosure of invention Exemplary logic block, module and circuit.Communication interface 602 can be COM1, or can be transceiver or receipts Power Generation Road etc..Memory 603 can be read-only storage (read-only memory, ROM) or can store static information and refer to The other kinds of static storage device of order, random access memory (random access memory, RAM) or can store The other kinds of dynamic memory of information and instruction or EEPROM (Electrically Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-Only Memory, CD-ROM) or other optical disc storage, laser disc storage (inclusion compression laser 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 Storage have instruction or data structure form desired program code and can by any other medium of computer access, but Not limited to this.Memory can be individually present, and is connected with processor by bus.Memory can also be integrated with processor Together.
Step in conjunction with the method described by the disclosure of invention or algorithm can be realized in the way of hardware, also may be used By be by computing device software instruction in the way of realizing.Software instruction can be made up 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), EEPROM (Electrically EPROM, EEPROM), register, hard disk, movement are hard In the storage medium of disk, read-only optical disc (CD-ROM) or any other form well known in the art.A kind of exemplary storage Medium couples are to processor, thus enabling a processor to from this read information, and can write letter to this storage medium Breath.Certainly, storage medium can also be the part of processor.Processor and storage medium may be located in ASIC.In addition, This ASIC may be located in core network interface equipment.Certainly, processor and storage medium can also be present in as discrete assembly In core network interface equipment.
Through the above description of the embodiments, those skilled in the art can be understood that, for description Convenient and succinct, only it is illustrated with the division of above-mentioned each functional module, in practical application, can as desired will be upper State function distribution to be completed by different functional modules, the internal structure of device will be divided into different functional modules, to complete All or part of function described above.The specific work process of the device of foregoing description, may be referred to preceding method and implements Corresponding process in example, will not be described here.
The described module illustrating as separating component can be or may not be physically separate, show as module The part showing can be a physical module or multiple physical module, you can with positioned at a place, or can also be distributed to Multiple different places.Some or all of module therein can be selected according to the actual needs to realize this embodiment scheme Purpose.In addition, can be integrated in a processing module or each in each functional module in each embodiment of the present invention Individual module is individually physically present it is also possible to two or more modules are integrated in a module.Above-mentioned integrated module was both Can be to be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.
If described integrated module is realized and as independent production marketing or use using in the form of software function module When, can be stored in a read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part that prior art is contributed or all or part of this technical scheme can be embodied in the form of software product Come, this software product is stored in a storage medium, including some instructions with so that equipment (can be single-chip microcomputer, Chip etc.) or processor (processor) execute each embodiment methods described of the present invention all or part of step.And it is aforementioned Storage medium include:USB flash disk, portable hard drive, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, all should contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should described be defined by scope of the claims.

Claims (9)

1. a kind of network device management method is it is characterised in that include:
Main equipment receives the first management connection request of at least one branch equipment transmission;Wherein, every one first management connects and asks Ask and sent by each branch equipment, be connected for asking management server to be set up with each branch equipment, every one first management is even Connect request and include the network port description information with the described first management corresponding branch equipment of connection request;
Described main equipment caching described first manages connection request, and please according to the described first management connection request generation agency Ask, described proxy requests include the network port description information that every one first management connects corresponding each branch equipment;
Described main equipment reports described proxy requests to described management server, indicates described management server according to described agency Request determines network apparatus cluster;Wherein, described network apparatus cluster includes described main equipment and described every one first management The corresponding branch equipment of connection request.
2. method according to claim 1 is it is characterised in that methods described also includes:
Described main equipment sends the second management connection request to described management server, and described second management connection request carries institute State the network port description information of main equipment, make described management server according to the network port description information of described main equipment with Described main equipment is set up and is connected.
3. method according to claim 2 it is characterised in that the network port of described branch equipment include uplink port, Downlink port, the network port of described main equipment includes uplink port, downlink port,
The outer network interface of described network apparatus cluster is the uplink port of described main equipment;The terminal port of described network apparatus cluster is Port in addition to natural mouth in the non-inline mouth of described every one first management corresponding branch equipment of connection request;
Wherein, described 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, described natural mouth is the uplink port not being set and the downlink port not being set.
4. method according to claim 1 is it is characterised in that methods described also includes:
Described main equipment receives the request for building link that newly-increased branch equipment sends, the chain being sent according to described newly-increased branch equipment Road set up request described newly-increased branch equipment is verified, if the result is to pass through, set up described main equipment with described PPPOE communication link between newly-increased branch equipment;Or,
Described main equipment receives the request for building link from described newly-increased branch equipment that described branch equipment forwards, according to institute State the request for building link from described newly-increased branch equipment described newly-increased branch equipment to be verified, if the result is logical Cross, then send to described branch equipment and be proved to be successful message, the described branch equipment of instruction set up with described newly-increased branch equipment it Between PPPOE communication link.
5. a kind of network device management method is it is characterised in that include:
Management server receives the proxy requests that main equipment sends;Described proxy requests include every one first management connection request pair The network port description information of each branch equipment answered;
Described management server determines network apparatus cluster according to the network port description information of each branch equipment;Described net Network device clusters include described main equipment and described every one first management corresponding branch equipment of connection request.
6. method according to claim 5 is it is characterised in that described management server receives the generation that described main equipment sends Before reason request, methods described also includes:
Described management server receives the second management connection request that described main equipment sends, and described second management connection request is taken Network port description information with described main equipment;
Described management server is set up with described main equipment according to the network port description information of described main equipment and is connected.
7. method according to claim 6 it is characterised in that the network port of described branch equipment include uplink port, Downlink port, the network port of described main equipment includes uplink port, downlink port,
After described management server determines network apparatus cluster according to the network port description information of each branch equipment, institute Method of stating also includes:
The uplink port of described main equipment is defined as the outer network interface of described network apparatus cluster by described management server, will be described In the non-inline mouth of every one first management corresponding branch equipment of connection request, the port definition in addition to natural mouth is described network The terminal port of device clusters;Wherein, described 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, described natural mouth is the uplink port not being set and the downlink port not being set.
8. a kind of main equipment is it is characterised in that include:
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, is connected for asking management server to be set up with each branch equipment, every one first Management connection request includes the network port description information with the described first management corresponding branch equipment of connection request;
Buffer unit, for caching described first management connection request, and generates agency according to the described first management connection request Request, described proxy requests include the network port description information that every one first management connects corresponding each branch equipment;
Transmitting element, for reporting described proxy requests to described management server, indicates described management server according to described Proxy requests determine network apparatus cluster;Wherein, described network apparatus cluster includes described main equipment and described every one first The management corresponding branch equipment of connection request.
9. a kind of management server is it is characterised in that include:
Receiving unit, for receiving the proxy requests of main equipment transmission;Described proxy requests include every one first management connection please Seek the network port description information of corresponding each branch equipment;
Determining unit, determines network apparatus cluster for the network port description information according to each branch equipment;Described net Network device clusters include described main equipment and described every one first management corresponding branch equipment of connection request.
CN201610863534.6A 2016-09-29 2016-09-29 A kind of network device management method, main equipment and management server Active CN106411588B (en)

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 true CN106411588A (en) 2017-02-15
CN106411588B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107257319A (en) * 2017-05-16 2017-10-17 上海斐讯数据通信技术有限公司 A kind of long establishment of connection method, communication means and set up communication system
CN108259211A (en) * 2017-05-11 2018-07-06 紫光华山信息技术有限公司 A kind of device management method and device
CN109753806A (en) * 2018-06-26 2019-05-14 360企业安全技术(珠海)有限公司 Server protection method and device

Citations (5)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259211A (en) * 2017-05-11 2018-07-06 紫光华山信息技术有限公司 A kind of device 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
CN109753806A (en) * 2018-06-26 2019-05-14 360企业安全技术(珠海)有限公司 Server protection method and device
CN109753806B (en) * 2018-06-26 2024-01-19 奇安信安全技术(珠海)有限公司 Server protection method and device

Also Published As

Publication number Publication date
CN106411588B (en) 2019-10-25

Similar Documents

Publication Publication Date Title
CN105159781B (en) Adjust the method, apparatus and intelligent terminal of intelligent terminal application network speed
CN104519458B (en) A kind of method of network connection, terminal, wireless router and system
CN105103506A (en) Network function virtualization method and device
CN105119787B (en) A kind of public internet access system and method based on software definition
CN104579887A (en) Cloud gateway as well as cloud gateway creation and configuration system and method
WO2017084450A1 (en) Method and system for cloud management
WO2020199686A1 (en) Method and system for providing edge service, and computing device
CN104994079A (en) Access request processing method, access request processing device and acceleration server
US20230080588A1 (en) Mqtt protocol simulation method and simulation device
CN113259272B (en) Flow management method, device and equipment based on virtual gateway
CN106411588A (en) Network device management method, master device and management server
CN110493337A (en) Data access method, gateway, system, storage medium and device
CN108234149A (en) Network request management method and device
CN109039764A (en) A kind of network parameter configuration method of distributed memory system
CN102571440B (en) A kind of network management operation method and system
CN110233750B (en) Private cloud management system and method
CN106506182A (en) A kind of method and system of configuration PTN business
CN105357239A (en) Method and device for providing service, and method and device for acquiring service
CN103108046A (en) Cloud terminal virtual machine login method and cloud terminal virtual machine login device and cloud terminal virtual machine login system
CN102845042B (en) The aggregation of bandwidth system and method for the multiple movable physical interface of a kind of application layer
CN107666401A (en) A kind of configuration information obtaining method and terminal
CN108234165A (en) A kind of method and apparatus that gateway is configured
CN115499432A (en) Family terminal computing resource management system and computing resource scheduling method
WO2015079122A1 (en) Service provisioning and activation in telecommunications network
Xu et al. Minimizing multi-controller deployment cost in software-defined networking

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