WO2010034214A1 - Method of installing network element, network element, dhcp server and network system - Google Patents

Method of installing network element, network element, dhcp server and network system Download PDF

Info

Publication number
WO2010034214A1
WO2010034214A1 PCT/CN2009/073043 CN2009073043W WO2010034214A1 WO 2010034214 A1 WO2010034214 A1 WO 2010034214A1 CN 2009073043 W CN2009073043 W CN 2009073043W WO 2010034214 A1 WO2010034214 A1 WO 2010034214A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
network
dhcp server
network management
dhcp
Prior art date
Application number
PCT/CN2009/073043
Other languages
French (fr)
Chinese (zh)
Inventor
陈建群
乔黔
陈昀
刘峰
李晓东
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2010034214A1 publication Critical patent/WO2010034214A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]

Definitions

  • Network element installation method Network element, network element, DHCP server and network system
  • the present invention relates to the field of communications, and in particular, to a method for installing a network element, a network element, a DHCP server, and a network system. Background technique
  • the installation of the network element is a very expensive part of the network construction process.
  • the software personnel complete the initial configuration of the network element.
  • the initial configuration of the network element is complicated. At present, operators have requested that the network element installation can achieve one inbound completion. One pit stop means that the installation of the network element can be completed by an engineering personnel once at the site. Therefore, how to implement automatic configuration and installation of network elements becomes the key to a one-stop installation.
  • the automatic configuration scheme adopted by the industry mostly uses the Dynamic Host Configuration Protocol (DHCP) for interaction, and uses the serial number SN/KEY for authentication.
  • the network element sends a DHCP client request (DHCP client request) to the DHCP server through the service interface to request the initial configuration.
  • DHCP server is a logical concept. It can be integrated on other network elements, such as the gateway network element. Is a separate server.
  • the DHCP client request may use the SN of the NE as the unique identifier, or may use the KEY input by the engineering personnel as the unique identifier, and transmit it through the Option field in the DHCP Protocol Data Unit (DHCP PDU).
  • DHCP PDU DHCP Protocol Data Unit
  • the DHCP server After receiving the DHCP client request, the DHCP server authenticates the SN/KEY in the request. If the authentication succeeds, it returns a DHCP server response packet (DHCP sever response packet) to the network element.
  • the network structure of operators is diverse, and it is required to support some network elements to access through third-party networks and to perform unified management.
  • Accessing through a third-party network is a concept that is independent of the self-organizing network.
  • the self-organizing network means that all network elements, including the network element to be installed, the gateway network element, and the DHCP server, are all inside a carrier network and are connected through a third-party network.
  • the DHCP server also Located in this other carrier network.
  • it is an ad hoc network or a third-party network, it can be a Layer 2 network, that is, packets are forwarded at Layer 2 or Layer 3 networks, that is, packets are forwarded at Layer 3.
  • the embodiment of the invention provides a network element installation method, a network element, a DHCP server and a network system, which can implement the installation of a single inbound network element in a simple, convenient, flexible and low-cost manner, and can support the third-party network scenario.
  • One inbound network element installation is provided.
  • a method for installing a network element according to an embodiment of the present invention includes:
  • the embodiment of the invention further provides a network element, where the network element includes:
  • a first sending module configured to send a DHCP client request message to the DHCP server, where the DHCP client request message carries the hardware address of the network management interface of the network element to be installed;
  • a first receiving module configured to receive a DHCP server response message returned by the DHCP server, where the DHCP server is configured according to a hardware address of the network management interface of the network element to be installed After the network element to be installed is authenticated, the device sends a response message to the DHCP server.
  • the installation module is configured to install the network element to be installed according to the configuration information carried in the response message of the DHCP server.
  • the invention also provides a DHCP server, the server comprising:
  • a receiving module configured to receive a DHCP client request packet sent by the network element to be installed, where the DHCP client request packet carries a hardware address of the network management interface of the network element to be installed;
  • An authentication module configured to authenticate the to-be-installed network element according to the hardware address of the network management interface of the network element to be installed;
  • a sending module configured to send a DHCP server response message to the to-be-installed network element after the authentication module passes the authentication of the to-be-installed network element.
  • the embodiment of the invention further provides a network system, where the network system includes a network element to be installed and a DHCP server, where:
  • the network element to be installed is configured to send a DHCP client request message to the DHCP server, where the DHCP client request message carries the hardware address of the network management interface of the network element to be installed;
  • the DHCP server is configured to authenticate the network element to be installed according to the hardware address of the network management interface of the network element to be installed.
  • the embodiment of the present invention does not require the network element to store an additional SN number, and does not require the engineering personnel to input the KEY parameter on site, thereby reducing the manufacturing cost and installation cost of the network element.
  • the communication line carrying the management information can be inserted into any service interface, which also improves the flexibility of the engineering installation. It also supports one-stop network element installation in a third-party network scenario.
  • FIG. 1 is a flowchart of a method for installing a network element according to an embodiment of the present invention
  • FIG. 2 is a packet for obtaining configuration information by sending a DHCP client request according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a format of a DHCP PDU according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a network element to be installed according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a network according to another embodiment of the present invention.
  • FIG. 6 is a timing diagram of a communication data flow of a network element installation method according to another embodiment of the present invention
  • FIG. 7 is a schematic diagram of a network according to another embodiment of the present invention.
  • FIG. 8 is a timing diagram of a communication data flow of a network element installation method according to another embodiment of the present invention
  • FIG. 9 is a schematic diagram of a network element according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of a network element according to another embodiment of the present invention.
  • FIG. 11 is a schematic diagram of a DHCP server according to an embodiment of the present invention.
  • FIG. 12 is a schematic diagram of a DHCP server according to another embodiment of the present invention.
  • FIG. 13 is a schematic diagram of a network system according to an embodiment of the present invention.
  • FIG. 14 is a schematic diagram of a network system according to another embodiment of the present invention. detailed description
  • An embodiment of the present invention provides a network element installation method, a network element, and a network system, where the method includes: sending a DHCP client request message to a DHCP server, where the DHCP client request message carries the network element to be installed a network management interface hardware address; receiving a DHCP server response message returned by the DHCP server, where the DHCP server returns to the network element according to the hardware management address of the network management interface to be installed, and then returns the The DHCP server responds to the message; the network element to be installed is installed according to the configuration information carried in the response message of the DHCP server, and the inbound network element installation can be implemented simply, conveniently, flexibly, and at low cost, and can support the punch-through number.
  • FIG. 1 is a schematic flowchart of a method according to an embodiment of the present invention.
  • the method includes: 101: Sending a DHCP client request packet to a DHCP server, where the DHCP client request packet carries the network management of the network element to be installed. Interface hardware address;
  • the packet is a broadcast packet.
  • the DHCP relay agent receives the broadcast packet, the DHCP relay agent receives the broadcast packet.
  • the broadcast packet is converted into a unicast packet and sent to the DHCP server (DHCP sever).
  • Figure 2 shows the packet encapsulation format of a DHCP client requesting configuration information.
  • the destination address of the link layer protocol is filled with the broadcast MAC address, and the source address SMAC is filled with the MAC address of the service interface for sending packets.
  • the format of the DHCP PDU is shown in Figure 3.
  • the "Chaddr" field in the DHCP PDU is the client.
  • the hardware address (client hardware address) field is filled in with the hardware address of the network management interface of the network element to be installed.
  • the schematic diagram of the network element to be installed includes a network management interface 41 and n service interfaces 42, a service module 43, and a management module 44.
  • the service module 43 performs the processing of the service through the service interface 42.
  • the network management system directly connects to the network element through the network management interface for management, that is, the management module 44 and the network management interface 41 are connected.
  • the network element is generally managed by transmitting the management message through the service interface 42, that is, the management module 44 and the service interface 42 are connected.
  • the hardware address of the network management interface is filled in the "Chaddr" field, and the hardware address of the network management interface may be a network management interface MAC address or other hardware address, which is not limited by the present invention. Since hardware address allocation is globally unique, it is guaranteed that it will not conflict with other addresses.
  • the management module 44 of the network element shown in FIG. 4 sends a DHCP client request through any service interface 42
  • the "Chaddr" field in the DHCP PDU fills in the MAC address "MAC0" of the network management interface 41.
  • the DHCP server and the network management only need to store a network management interface hardware address, and do not need to store each service interface.
  • the MAC address also reduces the workload of the authentication comparison.
  • the number of service interfaces of a network element to be installed When the amount is large, the beneficial effect is more significant, and the engineering personnel can insert the communication line carrying the management information into any service interface when installing, which also improves the flexibility of the engineering installation.
  • Step 102 Receive a DHCP server response message returned by the DHCP server, where the DHCP server returns a response to the DHCP server according to the hardware address of the network management interface of the network element to be installed. Message
  • the DHCP server stores the pre-planned network management interface hardware address and configuration information of the corresponding service interface. If the NE to be installed is connected to the gateway NE through a third-party network, the DHCP server is also located in the third-party network. The DHCP server also stores the configuration information required for the NE to pass through the third-party network.
  • the DHCP server After receiving the DHCP client request packet, the DHCP server compares the hardware address of the network management interface of the network element to be installed carried in the "chaddr" field of the packet with the hardware address of the network management interface of the network element to be installed.
  • the NE is authenticated. After the authentication is passed, the DHCP server response packet is sent to the NE to be installed.
  • the DHCP server response packet carries the DCN (Data Communication Network) configuration information and the gateway NE corresponding to the NE to be installed. IP address, etc. If the NE to be installed is connected to the gateway NE through a third-party network, the DHCP server response packet carries the configuration information required for the NE to be installed through the third-party network.
  • DCN Data Communication Network
  • the DHCP server responds.
  • the packet carries the IP address of the service interface of the NE to be installed.
  • the DHCP server response message has the same format as the DHCP client request message, and the information to be returned can be carried in the Options field of the DHCP PDU, which is not limited in this embodiment of the present invention.
  • the DHCP relay agent encapsulates the link layer destination address DMAC of the DHCP server response message according to the content of the client hardware address Chaddr field of the DHCP PDU, and fills in the link layer destination address DMAC of the DHCP server response message as the to-be-installed network.
  • the network management interface hardware address of the element is not limited to the content of the client hardware address Chaddr field of the DHCP PDU.
  • the network element to be installed receives DHCP through a service interface that sends a DHCP client request packet.
  • Server response message ;
  • the network element service interface to be installed not only identifies the MAC address of the interface but also identifies the network management Interface hardware address to receive management packets entering from this interface.
  • the network management interface hardware address may be stored in the network element, or the service interface may directly go to the network management interface to read the network management interface hardware address, which is not limited by the embodiment of the present invention, and various specific implementation manners are protected by the present invention.
  • Determining by comparing the link layer destination address of the received DHCP server response packet with the stored or read network management interface hardware address of the to-be-installed network element, determining a link layer of the DHCP server response packet Whether the destination address is the hardware address of the network management interface of the NE to be installed.
  • the network element to be installed is configured according to the configuration information in the response message of the DHCP server, and may be configured by the management module of the network element to be installed according to the configuration information in the response message of the DHCP server;
  • the network element to be installed sends a network management connection confirmation request message to the network management system. Specifically, after the network element to be installed is configured according to the configuration information in the response message of the DHCP server, the network element is sent to the gateway network element. After receiving the NMS connection confirmation request packet of the NE to be installed, the gateway NE applies to the NMS for authentication.
  • the network management connection request message carries the network management interface hardware address of the network element to be installed.
  • the network management connection confirmation request packet may be an IP packet, and the network management interface hardware address of the network element to be installed is carried in the payload area of the IP packet, and may also be other packets, which is in the embodiment of the present invention. This is not limited;
  • the network management system Receiving, by the network management system, the hardware address of the network management interface of the network element to be installed on the network to be installed After the acknowledgment information is passed, the network element to be installed is connected to the network management system.
  • the network management system stores the pre-planned network element identifier to be installed.
  • the embodiment of the present invention is a network management interface hardware address and corresponding authentication information. Specifically, after the network management device authenticates the network management interface address of the network element to be installed carried in the request packet, the network management system returns the confirmation information to the gateway network element, and the gateway network element returns a confirmation message to the network element to be installed. After receiving the confirmation information of the gateway NE, the device indicates that the device has been connected to the NMS in some way. The installation is successful.
  • the indication methods include, but are not limited to, lighting the panel indicator, the horn sounding indication, and indicating through the LCD.
  • a method for installing a network element in the embodiment of the present invention does not require the network element to store an additional SN number, and does not require the engineering personnel to input the KEY parameter on site, thereby reducing the manufacturing cost and installation cost of the network element.
  • the communication line carrying the management information can be inserted into any service interface, which also improves the flexibility of engineering installation. Moreover, it can support one inbound network element installation in a third-party network scenario.
  • the network diagram is shown in another embodiment of the present invention.
  • the remote NE to be installed passes through a third-layer third-party network, which may be a third-party IP network or other three-layer network.
  • a three-party network that connects to the gateway network element.
  • the DHCP server stores the pre-planned network element identifiers to be installed.
  • the network management interface hardware address and the network element are required to pass through the third-party network configuration information and other configuration information.
  • the DHCP relay agent After receiving the broadcast request message, the DHCP relay agent converts the broadcast request message into a unicast message and sends the message to the DHCP server.
  • the DHCP server After receiving the DHCP client request message, the DHCP server obtains the network management interface hardware address of the network element to be installed and the stored network to be installed according to the "chaddr" field of the request message. The hardware address of the network management interface of the element is compared, and the network element to be installed is authenticated. After the authentication is passed, the device returns.
  • the DHCP server responds to the packet, and carries the IP address of the service interface of the network element to be installed in the response message of the DHCP server, the configuration information of the third-party network, the IP address of the gateway network element, and the configuration information of the DCN.
  • the DHCP relay agent returns the DHCP server response message to the network element to be installed.
  • 605 After the network element to be installed completes the configuration according to the configuration information in the response message of the DHCP server, the network management device sends a network management connection confirmation request message to the gateway network element. ;
  • the gateway network element After receiving the network management connection confirmation request message of the network element to be installed, the gateway network element applies for authentication to the network management.
  • the network management device After the network management device authenticates the hardware address of the network management interface of the network element to be installed carried in the packet, the network management device returns a confirmation information to the gateway network element.
  • the gateway network element returns a confirmation message to the network element to be installed.
  • the network element to be installed receives the confirmation information of the gateway network element, the network element is connected to the network management system in a certain manner, and the installation is successful.
  • the indication methods include, but are not limited to, lighting the panel indicator, the horn sounding indication, and indicating through the liquid crystal display.
  • a method for installing a network element in the embodiment of the present invention does not require the network element to store an additional SN number, and does not require the engineering personnel to input the KEY parameter on site, thereby reducing the manufacturing cost and installation cost of the network element.
  • the communication line carrying the management information can be inserted into any service interface, which also improves the flexibility of engineering installation. Moreover, it can support one inbound network element installation in a third-party network scenario.
  • a network diagram is shown in another embodiment of the present invention.
  • a remote NE to be installed is connected to a gateway network element through a carrier layer 2 self-component group network.
  • the network server has a pre-planned network element identifier to be installed on the DHCP server.
  • the embodiment of the present invention is a network management interface hardware address and configuration information, and the network management system stores a pre-planned network element identifier to be installed. Interface hardware address, and corresponding authentication information.
  • the DHCP relay agent After receiving the broadcast request message, the DHCP relay agent converts the broadcast request message into a unicast message and sends the message to the DHCP server.
  • the DHCP server After receiving the DHCP client request message, the DHCP server compares the hardware address of the network management interface of the network element to be installed carried in the "chaddr" field of the request message with the hardware address of the network management interface of the network element to be installed. The network element is installed for authentication. After the authentication is passed, the DHCP server responds to the packet, and the DHCP server response packet carries the IP address of the gateway NE corresponding to the NE to be installed, and the DCN configuration information.
  • the DHCP relay agent returns the DHCP server response packet to the network element to be installed.
  • the network management system After the network element to be installed is configured according to the configuration information in the response message of the DHCP server, the network management system sends a confirmation message to the gateway network element.
  • the gateway network element After receiving the network management connection confirmation request packet of the network element to be installed, the gateway network element applies for authentication to the network management.
  • the network management device After the network management device authenticates the hardware address of the network management interface of the network element to be installed carried in the packet, the network management device returns a confirmation message to the gateway network element.
  • the gateway network element returns a confirmation message to the network element to be installed.
  • the network element to be installed receives the confirmation information of the gateway network element, the network element is connected to the network management system in a certain manner, and the installation is successful.
  • the indication methods include, but are not limited to, lighting the panel indicator, the horn sounding indication, and indicating through the liquid crystal display.
  • a method for installing a network element in the embodiment of the present invention does not require the network element to store an additional SN number, and does not require the engineering personnel to input the KEY parameter on site, thereby reducing the manufacturing cost and installation cost of the network element.
  • the communication line carrying the management information can be inserted into any service interface, which also improves the flexibility of engineering installation.
  • Embodiment 4 As shown in FIG. 9, a network element is provided in the embodiment of the present invention.
  • the network element includes: a first sending module 91, configured to send a DHCP client request packet to a DHCP server, where the DHCP client request packet carries The hardware address of the network management interface of the network element to be installed;
  • the first receiving module 92 is configured to receive the DHCP server response message returned by the DHCP server, where the DHCP server authenticates the to-be-installed network element according to the hardware address of the network management interface of the network element to be installed. Returning the DHCP server response message;
  • the installation module 93 is configured to install the to-be-installed network element according to the configuration information carried in the DHCP server response packet.
  • the network element includes a first sending module 91, a first receiving module 92, and an installation included in the network element of the embodiment shown in FIG. Outside the module 93, the network element further includes:
  • the determining module 104 is configured to determine whether the link layer destination address of the DHCP server response packet is a network management interface hardware address of the network element to be installed.
  • the installation module 93 is configured to install the network element to be installed according to the configuration information carried in the response message of the DHCP server when the determination result of the determination module 104 is YES.
  • a configuration module configured to perform configuration according to configuration information in the response message of the DHCP server
  • a second sending module configured to send a network management connection confirmation request message to the network management, where the network management connection confirmation request message carries the hardware address of the network management interface of the network element to be installed;
  • a second receiving module configured to receive, by the network management device, the confirmation information that the network element to be installed is authenticated according to the hardware address of the network management interface of the network element to be installed;
  • the indication module is configured to: after the second receiving module receives the confirmation information, instruct the network element to be installed to communicate with the network management.
  • a network element in the embodiment of the present invention does not require the network element to store an additional SN number, and does not require an engineer to input the KEY parameter on site, thereby reducing the manufacturing cost and installation cost of the network element.
  • the communication line carrying the management information can be inserted into any service interface, which also improves the flexibility of the engineering installation. Moreover, it can support one inbound network element installation in a third-party network scenario.
  • a DHCP server is provided in the embodiment of the present invention, where the DHCP server includes:
  • the receiving module 111 is configured to receive a DHCP client request packet sent by the network element to be installed, where the DHCP client request packet carries the hardware address of the network management interface of the network element to be installed.
  • the authentication module 112 is configured to authenticate the network element to be installed according to the hardware address of the network management interface of the network element to be installed.
  • the sending module 113 is configured to send a DHCP server response message to the to-be-installed network element after the authentication module 112 authenticates the to-be-installed network element.
  • a DHCP server is provided in the DHCP server.
  • the DHCP server includes the receiving module 111, the authentication module 112, and the sending module 113 included in the DHCP server of the previous embodiment. Also includes:
  • the storage module 124 is configured to store a network management interface hardware address of the network element to be installed
  • the authentication module 112 is configured to: according to the network management interface hardware address of the network element to be installed carried in the DHCP client request message, The hardware address of the network management interface of the network element to be installed stored in the storage module is compared, and the network element to be installed is authenticated.
  • a DHCP server in the embodiment of the present invention does not require the network element to store an additional SN number, and does not require an engineer to input the KEY parameter on site, thereby reducing the manufacturing cost and installation cost of the network element.
  • the communication line carrying the management information can be inserted into any service interface, which also improves the flexibility of the engineering installation. Moreover, it can support one inbound network element installation in a third-party network scenario.
  • a network system is provided in the embodiment of the present invention, where the network system includes a network element 131 to be installed and a DHCP server 132, where:
  • the network element 131 to be installed is configured to send a DHCP client request message to the DHCP server, where the DHCP client request message carries the network management interface hardware address of the network element to be installed; the DHCP server 132 is configured to use The network management interface hardware address of the network element to be installed authenticates the network element to be installed.
  • the system includes a network element to be installed and a DHCP server, including the network management unit 143, where the system includes a network management unit 143, where:
  • the network element 131 to be installed is further configured to: after receiving the DHCP sever response message sent by the DHCP server, the configuration is performed according to the configuration information in the response message of the DHCP server, and is used to The network management system 143 sends a network management connection confirmation request message, where the network management connection confirmation request message carries the hardware address of the network management interface of the network element to be installed.
  • the network management system 143 is configured to authenticate the network element to be installed according to the hardware address of the network management interface of the network element to be installed.
  • a network system of the embodiment of the present invention does not require the network element to store an additional SN number, and does not require an engineer to input the KEY parameter on site, thereby reducing the manufacturing cost and installation cost of the network element.
  • the communication line carrying the management information can be inserted into any service interface, which also improves the flexibility of the engineering installation.
  • it can support one inbound network element installation in a third-party network scenario. All or part of the technical solutions provided by the above embodiments may be implemented by software programming, and the software program is stored in a readable storage medium such as a hard disk, an optical disk or a floppy disk in a computer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

A method for installing the network element is provided, the method comprises: transmitting a DHCP client requesting message which carrying a network administer hardware address for a network element to be installed to a DHCP server; receiving a DHCP server responding message from the DHCP server, where the DCHP server responding message is returned after the DHCP server authenticated and passed the network element to be installed according to the network administer hardware address of the network element to be installed; installing the network element to be installed according to a configuration information carried by the DHCP server responding message.

Description

一种网元的安装方法、 网元、 DHCP服务器和网络系统 技术领域  Network element installation method, network element, DHCP server and network system
本发明涉及通信领域, 特别有关于一种网元的安装方法、 网元、 DHCP 服务器和网络系统。 背景技术  The present invention relates to the field of communications, and in particular, to a method for installing a network element, a network element, a DHCP server, and a network system. Background technique
网元的安装是网络建设过程中费用非常高的一部分, 除了包括由硬件人 员完成网元的布线等, 还包括由软件人员完成网元的初始配置, 其中, 网元 的初始配置比较复杂。 目前运营商纷纷要求网元安装能够达到一次进站完 成。 一次进站, 指的是由一个工程人员到现场一次即能够完成网元的安装。 因此, 如何实现网元的自动配置安装, 就成为一次进站安装的关键。  The installation of the network element is a very expensive part of the network construction process. In addition to the completion of the network element cabling by the hardware personnel, the software personnel complete the initial configuration of the network element. The initial configuration of the network element is complicated. At present, operators have requested that the network element installation can achieve one inbound completion. One pit stop means that the installation of the network element can be completed by an engineering personnel once at the site. Therefore, how to implement automatic configuration and installation of network elements becomes the key to a one-stop installation.
目前业界采用的自动配置方案多是采用动态主机配置协议 (Dynamic Host Configuration Protocol DHCP)进行交互, 使用网元序列号 (Serial Number SN)/KEY进行认证。 网元通过业务接口向 DHCP服务器发送 DHCP客户请 求(DHCP client请求), 去请求初始化配置, 这里 DHCP服务器是一个逻辑 的概念, 它既可以集成在其他网元上, 比如网关网元上, 也可以是一单独的 服务器。 DHCP客户请求中可能采用网元的 SN作为唯一标识, 也可能采用 工程人员现场输入的 KEY 作为唯一标识, 并通过 DHCP 协议数据单元 (DHCP Protocol Data Unit, DHCP PDU)中的 Option字段进行传输,当 DHCP 服务器收到 DHCP客户请求之后,对请求中的 SN/KEY进行认证,若认证通 过, 则向网元返回 DHCP服务器响应报文 (DHCP sever响应报文)。  At present, the automatic configuration scheme adopted by the industry mostly uses the Dynamic Host Configuration Protocol (DHCP) for interaction, and uses the serial number SN/KEY for authentication. The network element sends a DHCP client request (DHCP client request) to the DHCP server through the service interface to request the initial configuration. Here, the DHCP server is a logical concept. It can be integrated on other network elements, such as the gateway network element. Is a separate server. The DHCP client request may use the SN of the NE as the unique identifier, or may use the KEY input by the engineering personnel as the unique identifier, and transmit it through the Option field in the DHCP Protocol Data Unit (DHCP PDU). After receiving the DHCP client request, the DHCP server authenticates the SN/KEY in the request. If the authentication succeeds, it returns a DHCP server response packet (DHCP sever response packet) to the network element.
目前运营商的网络结构多样, 要求能够支持部分网元通过第三方网络进 行接入并能进行统一管理。 通过第三方网络进行接入是和自组网相对的概 念, 自组网是指所有网元包括待安装网元、 网关网元、 DHCP服务器都在一 个运营商网络内部,通过第三方网络进行接入是指待安装网元在接入某个运 营商网络的网关网元时, 中间需要经过其他运营商的网络, DHCP服务器也 位于该其他运营商网络中。 但是无论是自组网, 还是第三方网络, 都可以是 二层网络, 即报文在二层转发, 或者三层网络, 即报文在三层转发。 At present, the network structure of operators is diverse, and it is required to support some network elements to access through third-party networks and to perform unified management. Accessing through a third-party network is a concept that is independent of the self-organizing network. The self-organizing network means that all network elements, including the network element to be installed, the gateway network element, and the DHCP server, are all inside a carrier network and are connected through a third-party network. When the network element to be installed is connected to the gateway network element of a certain carrier network, the network needs to pass through the network of other carriers. The DHCP server also Located in this other carrier network. However, whether it is an ad hoc network or a third-party network, it can be a Layer 2 network, that is, packets are forwarded at Layer 2 or Layer 3 networks, that is, packets are forwarded at Layer 3.
在对现有技术的研究和实践过程中, 本发明的发明人发现现有技术存在 以下问题:  In the course of research and practice of the prior art, the inventors of the present invention found that the prior art has the following problems:
当存在第三方网络的场景下, 由于 Option 字段是用户自定义的, 没有 一个公共组织保证其取值的唯一性, 因此, 在存在第三方网络的情况下就有 可能跟其他网元的取值冲突。 此外, 上述方案要求网元存储一个标识自身的 SN号, 或者是要求工程人员现场输入一个 KEY值, 都增加了网元的制造成 本和安装成本。 发明内容  In the scenario where a third-party network exists, because the Option field is user-defined, there is no public organization that guarantees the uniqueness of its value. Therefore, in the case of a third-party network, it may be associated with other network elements. conflict. In addition, the above solution requires the network element to store an SN number that identifies itself, or requires the engineer to input a KEY value on site, which increases the manufacturing cost and installation cost of the network element. Summary of the invention
本发明实施例提供一种网元的安装方法、 网元、 DHCP服务器和网络系 统, 能够简单、 方便、 灵活、 低成本的实现一次进站网元安装, 并能支持穿 通第三方网络场景下的一次进站网元安装。  The embodiment of the invention provides a network element installation method, a network element, a DHCP server and a network system, which can implement the installation of a single inbound network element in a simple, convenient, flexible and low-cost manner, and can support the third-party network scenario. One inbound network element installation.
本发明实施例提供的一种网元的安装方法, 所述方法包括:  A method for installing a network element according to an embodiment of the present invention, where the method includes:
向 DHCP服务器发送 DHCP客户请求报文, 所述 DHCP客户请求报文 中携带所述待安装网元的网管接口硬件地址;  Sending a DHCP client request message to the DHCP server, where the DHCP client request message carries the network management interface hardware address of the network element to be installed;
接收所述 DHCP服务器返回的 DHCP服务器响应报文,其中,所述 DHCP 服务器根据所述待安装网元的网管接口硬件地址对所述待安装网元认证通 过后, 返回所述 DHCP服务器响应报文;  Receiving a DHCP server response message returned by the DHCP server, wherein the DHCP server returns the DHCP server response message after the network element of the network element interface to be installed is authenticated by the network device to be installed. ;
根据所述 DHCP服务器响应报文携带的配置信息, 安装所述待安装网 元。  And installing the to-be-installed network element according to the configuration information carried in the DHCP server response packet.
本发明实施例还提供一种网元, 所述网元包括:  The embodiment of the invention further provides a network element, where the network element includes:
第一发送模块, 用于向 DHCP服务器发送 DHCP客户请求报文, 所述 DHCP客户请求报文中携带所述待安装网元的网管接口硬件地址;  a first sending module, configured to send a DHCP client request message to the DHCP server, where the DHCP client request message carries the hardware address of the network management interface of the network element to be installed;
第一接收模块, 用于接收所述 DHCP服务器返回的 DHCP服务器响应 报文, 其中,所述 DHCP服务器根据所述待安装网元的网管接口硬件地址对 所述待安装网元认证通过后, 返回所述 DHCP服务器响应报文; 安装模块,用于根据所述 DHCP服务器响应报文携带的配置信息, 安装 所述待安装网元。 a first receiving module, configured to receive a DHCP server response message returned by the DHCP server, where the DHCP server is configured according to a hardware address of the network management interface of the network element to be installed After the network element to be installed is authenticated, the device sends a response message to the DHCP server. The installation module is configured to install the network element to be installed according to the configuration information carried in the response message of the DHCP server.
本发明还提供一种 DHCP服务器, 所述服务器包括:  The invention also provides a DHCP server, the server comprising:
接收模块,用于接收待安装网元发送的 DHCP客户请求报文,所述 DHCP 客户请求报文中携带所述待安装网元的网管接口硬件地址;  a receiving module, configured to receive a DHCP client request packet sent by the network element to be installed, where the DHCP client request packet carries a hardware address of the network management interface of the network element to be installed;
认证模块,用于根据所述待安装网元的网管接口硬件地址对所述待安装 网元进行认证;  An authentication module, configured to authenticate the to-be-installed network element according to the hardware address of the network management interface of the network element to be installed;
发送模块, 用于当所述认证模块对所述待安装网元认证通过后, 向所述 待安装网元发送 DHCP服务器响应报文。  And a sending module, configured to send a DHCP server response message to the to-be-installed network element after the authentication module passes the authentication of the to-be-installed network element.
本发明实施例还提供一种网络系统, 所述网络系统包括待安装网元和 DHCP服务器, 其中:  The embodiment of the invention further provides a network system, where the network system includes a network element to be installed and a DHCP server, where:
所述待安装网元, 用于向所述 DHCP服务器发送 DHCP客户请求报文, 所述 DHCP客户请求报文中携带所述待安装网元的网管接口硬件地址;  The network element to be installed is configured to send a DHCP client request message to the DHCP server, where the DHCP client request message carries the hardware address of the network management interface of the network element to be installed;
所述 DHCP服务器,用于根据所述待安装网元的网管接口硬件地址对所 述待安装网元进行认证。  The DHCP server is configured to authenticate the network element to be installed according to the hardware address of the network management interface of the network element to be installed.
应用本发明实施例, 无需要求网元存储额外的 SN号, 也无需工程人员 现场输入 KEY参数, 降低了网元的制造成本和安装成本。 另外, 工程人员 安装的时候可以将承载管理信息的通信线路插在任意业务接口上, 也提高了 工程安装的灵活性。而且能够支持穿通第三方网络场景下的一次进站网元安 装。 附图说明  The embodiment of the present invention does not require the network element to store an additional SN number, and does not require the engineering personnel to input the KEY parameter on site, thereby reducing the manufacturing cost and installation cost of the network element. In addition, when the engineer is installed, the communication line carrying the management information can be inserted into any service interface, which also improves the flexibility of the engineering installation. It also supports one-stop network element installation in a third-party network scenario. DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 并不构成对本发明的限定。 在附图中:  The drawings described herein are provided to provide a further understanding of the invention and are in no way of limitation. In the drawing:
图 1是本发明一实施例的一种网元的安装方法的流程图;  1 is a flowchart of a method for installing a network element according to an embodiment of the present invention;
图 2是本发明一实施例的通过发送 DHCP客户请求获取配置信息的报文 封装格式示意图; 2 is a packet for obtaining configuration information by sending a DHCP client request according to an embodiment of the present invention; Schematic diagram of the package format;
图 3是本发明一实施例的 DHCP PDU的格式示意图;  3 is a schematic diagram of a format of a DHCP PDU according to an embodiment of the present invention;
图 4是本发明一实施例的待安装网元的结构示意图;  4 is a schematic structural diagram of a network element to be installed according to an embodiment of the present invention;
图 5是本发明另一实施例所示的网络示意图;  FIG. 5 is a schematic diagram of a network according to another embodiment of the present invention; FIG.
图 6是本发明另一实施例所示的网元安装方法通信数据流时序图; 图 7是本发明另一实施例所示的网络示意图;  6 is a timing diagram of a communication data flow of a network element installation method according to another embodiment of the present invention; FIG. 7 is a schematic diagram of a network according to another embodiment of the present invention;
图 8是本发明另一实施例所示的网元安装方法通信数据流时序图; 图 9是本发明一实施例提供的一种网元的示意图;  FIG. 8 is a timing diagram of a communication data flow of a network element installation method according to another embodiment of the present invention; FIG. 9 is a schematic diagram of a network element according to an embodiment of the present invention;
图 10是本发明另一实施例提供的一种网元的示意图;  FIG. 10 is a schematic diagram of a network element according to another embodiment of the present invention;
图 11是本发明一实施例提供的一种 DHCP服务器的示意图;  FIG. 11 is a schematic diagram of a DHCP server according to an embodiment of the present invention;
图 12是本发明另一实施例提供的一种 DHCP服务器的示意图; 图 13是本发明一实施例提供的一种网络系统的示意图;  FIG. 12 is a schematic diagram of a DHCP server according to another embodiment of the present invention; FIG. 13 is a schematic diagram of a network system according to an embodiment of the present invention;
图 14是本发明另一实施例提供的一种网络系统的示意图。 具体实施方式  FIG. 14 is a schematic diagram of a network system according to another embodiment of the present invention. detailed description
本发明实施例提供一种网元的安装方法、 网元和网络系统, 所述方法包 括: 向 DHCP服务器发送 DHCP客户请求报文, 所述 DHCP客户请求报文 中携带所述待安装网元的网管接口硬件地址;接收所述 DHCP服务器返回的 DHCP服务器响应报文, 其中, 所述 DHCP服务器根据所述待安装网元的网 管接口硬件地址对所述待安装网元认证通过后,返回所述 DHCP服务器响应 报文; 根据所述 DHCP服务器响应报文携带的配置信息, 安装所述待安装网 元, 能够简单、 方便、 灵活、 低成本的实现一次进站网元安装, 并能支持穿 通第三方网络场景下的一次进站网元安装。  An embodiment of the present invention provides a network element installation method, a network element, and a network system, where the method includes: sending a DHCP client request message to a DHCP server, where the DHCP client request message carries the network element to be installed a network management interface hardware address; receiving a DHCP server response message returned by the DHCP server, where the DHCP server returns to the network element according to the hardware management address of the network management interface to be installed, and then returns the The DHCP server responds to the message; the network element to be installed is installed according to the configuration information carried in the response message of the DHCP server, and the inbound network element installation can be implemented simply, conveniently, flexibly, and at low cost, and can support the punch-through number. One inbound network element installation in a three-party network scenario.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行 清楚、 完整的描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作 出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。 实施例一、 The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention. Embodiment 1
图 1为本实施例的方法流程示意图, 参见图 1详细说明, 该方法包括: 101: 向 DHCP服务器发送 DHCP客户请求报文, 所述 DHCP客户请求 报文中携带所述待安装网元的网管接口硬件地址;  FIG. 1 is a schematic flowchart of a method according to an embodiment of the present invention. The method includes: 101: Sending a DHCP client request packet to a DHCP server, where the DHCP client request packet carries the network management of the network element to be installed. Interface hardware address;
待安装网元启动后,可以选择任意一个可用的业务接口发送 DHCP客户 请求报文获取配置信息, 该报文为广播报文, DHCP 中继代理(DHCP relay agent) 收到广播报文之后, 将广播报文转换为单播报文, 发送给 DHCP服 务器 (DHCP sever)  After the NE is started, you can select any available service interface to send DHCP client request packets to obtain configuration information. The packet is a broadcast packet. After the DHCP relay agent receives the broadcast packet, the DHCP relay agent receives the broadcast packet. The broadcast packet is converted into a unicast packet and sent to the DHCP server (DHCP sever).
通过发送 DHCP客户请求获取配置信息的报文封装格式如图 2所示。 其中,链路层协议的目的地址 DMAC填写的是广播 MAC,源地址 SMAC 填写的是发送报文业务接口的 MAC, DHCP PDU的格式如图 3所示, DHCP PDU中 "Chaddr"字段, 即客户硬件地址 (client hardware address) 字段中 填写的是所述待安装网元的网管接口硬件地址。  Figure 2 shows the packet encapsulation format of a DHCP client requesting configuration information. The destination address of the link layer protocol is filled with the broadcast MAC address, and the source address SMAC is filled with the MAC address of the service interface for sending packets. The format of the DHCP PDU is shown in Figure 3. The "Chaddr" field in the DHCP PDU is the client. The hardware address (client hardware address) field is filled in with the hardware address of the network management interface of the network element to be installed.
如图 4所示, 为所述待安装网元的结构示意图, 包括一个网管接口 41 和 n个业务接口 42、 业务模块 43和管理模块 44。 业务模块 43通过业务接 口 42进行业务的处理, 理想情况下, 网管直接通过网管接口连接到网元进 行管理, 即管理模块 44和网管接口 41连接。 但是, 由于多数待安装网元地 理位置非常分散, 所以一般都要通过业务接口 42传送管理报文对网元进行 管理, 即管理模块 44和业务接口 42连接。 本发明实施例在 "Chaddr"字段 中填写网管接口硬件地址,该网管接口硬件地址可以为网管接口 MAC地址, 或者其他硬件地址, 本发明对此不进行限定。 由于硬件地址分配都是全球唯 一, 因此可以保证不会与其他地址冲突。 图 4所示的网元的管理模块 44通 过任意业务接口 42发送 DHCP客户请求时, DHCP PDU中的 "Chaddr"字 段均填写网管接口 41的 MAC地址 "MAC0"。 而且, DHCP服务器和网管 中只需存储一个网管接口硬件地址即可, 而不需要存储各个业务接口的 As shown in FIG. 4, the schematic diagram of the network element to be installed includes a network management interface 41 and n service interfaces 42, a service module 43, and a management module 44. The service module 43 performs the processing of the service through the service interface 42. Ideally, the network management system directly connects to the network element through the network management interface for management, that is, the management module 44 and the network management interface 41 are connected. However, since most of the network elements to be installed are geographically dispersed, the network element is generally managed by transmitting the management message through the service interface 42, that is, the management module 44 and the service interface 42 are connected. In the embodiment of the present invention, the hardware address of the network management interface is filled in the "Chaddr" field, and the hardware address of the network management interface may be a network management interface MAC address or other hardware address, which is not limited by the present invention. Since hardware address allocation is globally unique, it is guaranteed that it will not conflict with other addresses. When the management module 44 of the network element shown in FIG. 4 sends a DHCP client request through any service interface 42, the "Chaddr" field in the DHCP PDU fills in the MAC address "MAC0" of the network management interface 41. Moreover, the DHCP server and the network management only need to store a network management interface hardware address, and do not need to store each service interface.
MAC 地址, 也减少了认证比较的工作量, 当一个待安装网元的业务接口数 量较多时, 其有益效果更为显著, 而且工程人员安装的时候可以将承载管理 信息的通信线路插在任意业务接口上, 也提高了工程安装的灵活性。 The MAC address also reduces the workload of the authentication comparison. The number of service interfaces of a network element to be installed. When the amount is large, the beneficial effect is more significant, and the engineering personnel can insert the communication line carrying the management information into any service interface when installing, which also improves the flexibility of the engineering installation.
102: 接收所述 DHCP服务器返回的 DHCP服务器响应报文, 其中, 所 述 DHCP服务器根据所述待安装网元的网管接口硬件地址对所述待安装网 元认证通过后, 返回所述 DHCP服务器响应报文;  Step 102: Receive a DHCP server response message returned by the DHCP server, where the DHCP server returns a response to the DHCP server according to the hardware address of the network management interface of the network element to be installed. Message
DHCP服务器上存储有预先规划好的网管接口硬件地址,与相应业务接 口配置信息。 如果待安装网元通过第三方网络连接到网关网元, 在这种情况 下, DHCP服务器也位于第三方网络内, DHCP服务器上还存储有待安装网 元穿通第三方网络所需的配置信息。  The DHCP server stores the pre-planned network management interface hardware address and configuration information of the corresponding service interface. If the NE to be installed is connected to the gateway NE through a third-party network, the DHCP server is also located in the third-party network. The DHCP server also stores the configuration information required for the NE to pass through the third-party network.
DHCP服务器收到所述 DHCP客户请求报文之后,根据报文的" chaddr" 字段中携带的待安装网元的网管接口硬件地址和存储的待安装网元的网管 接口硬件地址进行比较, 对待安装网元进行认证, 认证通过后, 向待安装网 元返回 DHCP服务器响应报文, DHCP服务器响应报文中携带 DCN (Data Communication Network数据通信网) 相关配置信息、 待安装网元对应的网 关网元 IP地址等。如果待安装网元通过第三方网络连接到网关网元, DHCP 服务器响应报文中还携带待安装网元穿通第三方网络所需的配置信息。如果 待安装网元、 DHCP服务器和网元网元是在三层自组网络内或者待安装网元 通过三层第三方网络连接到网关网元, 即报文通过三层转发, 则 DHCP服务 器响应报文中还携带待安装网元的业务接口 IP地址。 DHCP服务器响应报 文具有和 DHCP 客户请求报文相同的格式, 而这些需返回的信息可以放在 DHCP PDU的 Options字段中携带, 本发明实施例对此不加以限定。  After receiving the DHCP client request packet, the DHCP server compares the hardware address of the network management interface of the network element to be installed carried in the "chaddr" field of the packet with the hardware address of the network management interface of the network element to be installed. The NE is authenticated. After the authentication is passed, the DHCP server response packet is sent to the NE to be installed. The DHCP server response packet carries the DCN (Data Communication Network) configuration information and the gateway NE corresponding to the NE to be installed. IP address, etc. If the NE to be installed is connected to the gateway NE through a third-party network, the DHCP server response packet carries the configuration information required for the NE to be installed through the third-party network. If the NE, DHCP server, and NE NE are to be connected to the gateway NE through a Layer 3 third-party network, that is, the packet is forwarded through Layer 3, the DHCP server responds. The packet carries the IP address of the service interface of the NE to be installed. The DHCP server response message has the same format as the DHCP client request message, and the information to be returned can be carried in the Options field of the DHCP PDU, which is not limited in this embodiment of the present invention.
DHCP中继代理根据 DHCP PDU的客户硬件地址 Chaddr字段的内容来 封装 DHCP服务器响应报文的链路层目的地址 DMAC, 即将 DHCP服务器 响应报文的链路层目的地址 DMAC填写为所述待安装网元的网管接口硬件 地址。  The DHCP relay agent encapsulates the link layer destination address DMAC of the DHCP server response message according to the content of the client hardware address Chaddr field of the DHCP PDU, and fills in the link layer destination address DMAC of the DHCP server response message as the to-be-installed network. The network management interface hardware address of the element.
所述待安装网元通过发送 DHCP客户请求报文的业务接口接收 DHCP 服务器响应报文; The network element to be installed receives DHCP through a service interface that sends a DHCP client request packet. Server response message;
判断所述 DHCP服务器响应报文的链路层目的地址是否是所述待安装 网元的网管接口硬件地址; 所述待安装网元业务接口除了识别本接口的 MAC 地址之外, 还要识别网管接口硬件地址, 以接收从本接口进入的管理 报文。 具体可以在该网元中存储网管接口硬件地址, 或者由业务接口直接去 网管接口上读取网管接口硬件地址, 本发明实施例对此不进行限定, 其各种 具体实现方式均在本发明保护范围之内。通过对接收的所述 DHCP服务器响 应报文的链路层目的地址和存储的或读取的所述待安装网元的网管接口硬 件地址进行比较,判断所述 DHCP服务器响应报文的链路层目的地址是否是 所述待安装网元的网管接口硬件地址。  Determining whether the link layer destination address of the DHCP server response packet is the network management interface hardware address of the network element to be installed; the network element service interface to be installed not only identifies the MAC address of the interface but also identifies the network management Interface hardware address to receive management packets entering from this interface. Specifically, the network management interface hardware address may be stored in the network element, or the service interface may directly go to the network management interface to read the network management interface hardware address, which is not limited by the embodiment of the present invention, and various specific implementation manners are protected by the present invention. Within the scope. Determining, by comparing the link layer destination address of the received DHCP server response packet with the stored or read network management interface hardware address of the to-be-installed network element, determining a link layer of the DHCP server response packet Whether the destination address is the hardware address of the network management interface of the NE to be installed.
若是, 转发所述 DHCP服务器响应报文到所述待安装网元的管理模块; 否则, 丢弃所述 DHCP服务器响应报文;  If yes, forwarding the DHCP server response message to the management module of the network element to be installed; otherwise, discarding the DHCP server response message;
103: 根据所述 DHCP服务器响应报文携带的配置信息, 安装所述待安 装网元。  103: Install the to-be-installed network element according to the configuration information carried in the DHCP server response packet.
所述待安装网元根据所述 DHCP 服务器响应报文中的配置信息进行配 置,具体的可以由所述待安装网元的管理模块根据所述 DHCP服务器响应报 文中的配置信息进行配置;  The network element to be installed is configured according to the configuration information in the response message of the DHCP server, and may be configured by the management module of the network element to be installed according to the configuration information in the response message of the DHCP server;
所述待安装网元向网管发送网管连接确认请求报文, 具体的, 所述待安 装网元根据 DHCP服务器响应报文中的配置信息完成配置之后,发送网管连 接确认请求报文给网关网元; 网关网元收到待安装网元的网管连接确认请求 报文之后, 向网管申请认证;  The network element to be installed sends a network management connection confirmation request message to the network management system. Specifically, after the network element to be installed is configured according to the configuration information in the response message of the DHCP server, the network element is sent to the gateway network element. After receiving the NMS connection confirmation request packet of the NE to be installed, the gateway NE applies to the NMS for authentication.
所述网管连接确认请求报文中携带所述待安装网元的网管接口硬件地 址。 所述网管连接确认请求报文可以为 IP报文, 所述待安装网元的网管接 口硬件地址携带在所述 IP报文中的净荷区, 也可以为其他报文, 本发明实 施例对此不加以限定;  The network management connection request message carries the network management interface hardware address of the network element to be installed. The network management connection confirmation request packet may be an IP packet, and the network management interface hardware address of the network element to be installed is carried in the payload area of the IP packet, and may also be other packets, which is in the embodiment of the present invention. This is not limited;
接收到网管根据所述待安装网元的网管接口硬件地址对所述待安装网 元认证通过的确认信息后, 指示所述待安装网元与网管连通。 Receiving, by the network management system, the hardware address of the network management interface of the network element to be installed on the network to be installed After the acknowledgment information is passed, the network element to be installed is connected to the network management system.
网管上存储有预先规划好的待安装网元标识, 本发明实施例为网管接口 硬件地址, 与相应认证信息。 具体的, 网管根据网管连接确认请求报文中携 带的待安装网元的网管接口硬件地址进行认证之后,返回确认信息给网关网 元, 网关网元返回确认信息给待安装网元, 待安装网元收到网关网元的确认 信息后, 则通过某种方式指示已经跟网管联通, 安装成功。 指示方式包括但 不限于点亮面板指示灯, 喇叭鸣响指示, 以及通过液晶显示屏指示等。  The network management system stores the pre-planned network element identifier to be installed. The embodiment of the present invention is a network management interface hardware address and corresponding authentication information. Specifically, after the network management device authenticates the network management interface address of the network element to be installed carried in the request packet, the network management system returns the confirmation information to the gateway network element, and the gateway network element returns a confirmation message to the network element to be installed. After receiving the confirmation information of the gateway NE, the device indicates that the device has been connected to the NMS in some way. The installation is successful. The indication methods include, but are not limited to, lighting the panel indicator, the horn sounding indication, and indicating through the LCD.
本发明实施例的一种网元的安装方法,无需要求网元存储额外的 SN号, 也无需工程人员现场输入 KEY参数, 降低了网元的制造成本和安装成本。 另外, 工程人员安装的时候可以将承载管理信息的通信线路插在任意业务接 口上, 也提高了工程安装的灵活性。 而且能够支持穿通第三方网络场景下的 一次进站网元安装。  A method for installing a network element in the embodiment of the present invention does not require the network element to store an additional SN number, and does not require the engineering personnel to input the KEY parameter on site, thereby reducing the manufacturing cost and installation cost of the network element. In addition, when the engineer is installed, the communication line carrying the management information can be inserted into any service interface, which also improves the flexibility of engineering installation. Moreover, it can support one inbound network element installation in a third-party network scenario.
实施例二、  Embodiment 2
如图 5所示, 为本发明另一实施例所示的网络示意图, 在本实施例中, 远端待安装网元通过三层第三方网络, 具体可以为第三方 IP 网络或其他三 层第三方网络, 连接到网关网元。 DHCP服务器上存储有预先规划好的待安 装网元标识, 本发明实施例为网管接口硬件地址, 与网元穿通第三方网络新 需的配置信息和其他配置信息, 网管上则存储有预先规划好的待安装网元标 识, 本发明实施例为网管接口硬件地址, 与相应认证信息。 待安装网元安装 上电之后, 通信数据流如图 6所示, 该方法包括:  As shown in FIG. 5, the network diagram is shown in another embodiment of the present invention. In this embodiment, the remote NE to be installed passes through a third-layer third-party network, which may be a third-party IP network or other three-layer network. A three-party network that connects to the gateway network element. The DHCP server stores the pre-planned network element identifiers to be installed. In the embodiment of the present invention, the network management interface hardware address and the network element are required to pass through the third-party network configuration information and other configuration information. The network element identifier to be installed, the hardware address of the network management interface, and the corresponding authentication information. After the NE is installed, after the power is turned on, the communication data flow is as shown in Figure 6. The method includes:
601: 待安装网元上电后, 选择任意一个可用的业务接口发送 DHCP客 户请求报文;  601: After the network element to be installed is powered on, select any available service interface to send a DHCP client request message.
602: DHCP 中继代理收到广播请求报文之后, 将广播请求报文转换为 单播报文, 发送给 DHCP服务器;  602: After receiving the broadcast request message, the DHCP relay agent converts the broadcast request message into a unicast message and sends the message to the DHCP server.
603: DHCP服务器收到 DHCP 客户请求报文之后, 根据请求报文的 "chaddr"字段中携带的待安装网元的网管接口硬件地址和存储的待安装网 元的网管接口硬件地址进行比较, 对待安装网元进行认证, 认证通过后返回603: After receiving the DHCP client request message, the DHCP server obtains the network management interface hardware address of the network element to be installed and the stored network to be installed according to the "chaddr" field of the request message. The hardware address of the network management interface of the element is compared, and the network element to be installed is authenticated. After the authentication is passed, the device returns.
DHCP服务器响应报文, 并在 DHCP服务器响应报文中携带待安装网元的 业务接口 IP地址, 穿通第三方网络的配置信息, 网关网元 IP地址, DCN相 关配置信息等; The DHCP server responds to the packet, and carries the IP address of the service interface of the network element to be installed in the response message of the DHCP server, the configuration information of the third-party network, the IP address of the gateway network element, and the configuration information of the DCN.
604: DHCP 中继代理把 DHCP服务器响应报文返回给待安装网元; 605: 待安装网元根据 DHCP服务器响应报文中的配置信息完成配置之 后, 发送网管连接确认请求报文给网关网元;  604: The DHCP relay agent returns the DHCP server response message to the network element to be installed. 605: After the network element to be installed completes the configuration according to the configuration information in the response message of the DHCP server, the network management device sends a network management connection confirmation request message to the gateway network element. ;
606: 网关网元收到待安装网元的网管连接确认请求报文之后, 向网管 申请认证;  606: After receiving the network management connection confirmation request message of the network element to be installed, the gateway network element applies for authentication to the network management.
607: 网管对报文中携带的待安装网元的网管接口硬件地址进行认证之 后, 返回确认信息给网关网元;  607: After the network management device authenticates the hardware address of the network management interface of the network element to be installed carried in the packet, the network management device returns a confirmation information to the gateway network element.
608: 网关网元返回确认信息给待安装网元。  608: The gateway network element returns a confirmation message to the network element to be installed.
根据本实施例, 若待安装网元收到网关网元的确认信息, 则通过某种方 式指示已经跟网管联通,安装成功。指示方式包括但不限于点亮面板指示灯, 喇叭鸣响指示, 以及通过液晶显示屏指示等。  According to the embodiment, if the network element to be installed receives the confirmation information of the gateway network element, the network element is connected to the network management system in a certain manner, and the installation is successful. The indication methods include, but are not limited to, lighting the panel indicator, the horn sounding indication, and indicating through the liquid crystal display.
本发明实施例的一种网元的安装方法,无需要求网元存储额外的 SN号, 也无需工程人员现场输入 KEY参数, 降低了网元的制造成本和安装成本。 另外, 工程人员安装的时候可以将承载管理信息的通信线路插在任意业务接 口上, 也提高了工程安装的灵活性。 而且能够支持穿通第三方网络场景下的 一次进站网元安装。  A method for installing a network element in the embodiment of the present invention does not require the network element to store an additional SN number, and does not require the engineering personnel to input the KEY parameter on site, thereby reducing the manufacturing cost and installation cost of the network element. In addition, when the engineer is installed, the communication line carrying the management information can be inserted into any service interface, which also improves the flexibility of engineering installation. Moreover, it can support one inbound network element installation in a third-party network scenario.
实施例三、  Embodiment 3
如图 7所示, 为本发明另一实施例所示的网络示意图, 在本实施例中, 远端待安装网元通过运营商二层自组分组网络连接到网关网元。 DHCP服务 器上存储有预先规划好的待安装网元标识, 本发明实施例为网管接口硬件地 址, 与配置信息, 网管上则存储有预先规划好的待安装网元标识, 本发明实 施例为网管接口硬件地址, 与相应认证信息。 待安装网元安装上电之后, 通 信数据流如图 8所示, 该方法包括: As shown in FIG. 7 , a network diagram is shown in another embodiment of the present invention. In this embodiment, a remote NE to be installed is connected to a gateway network element through a carrier layer 2 self-component group network. The network server has a pre-planned network element identifier to be installed on the DHCP server. The embodiment of the present invention is a network management interface hardware address and configuration information, and the network management system stores a pre-planned network element identifier to be installed. Interface hardware address, and corresponding authentication information. After the NE is installed and powered on, The data flow is shown in Figure 8, and the method includes:
801: 待安装网元上电后, 选择任意一个可用的业务接口发送 DHCP客 户请求报文;  801: After the network element to be installed is powered on, select any available service interface to send a DHCP client request message.
802: DHCP 中继代理收到广播请求报文之后, 将广播请求报文转换为 单播报文, 发送给 DHCP服务器;  802: After receiving the broadcast request message, the DHCP relay agent converts the broadcast request message into a unicast message and sends the message to the DHCP server.
803: DHCP服务器收到 DHCP 客户请求报文之后, 根据请求报文的 "chaddr"字段中携带的待安装网元的网管接口硬件地址和存储的待安装网 元的网管接口硬件地址进行比较, 对待安装网元进行认证, 认证通过后返回 DHCP服务器响应报文, 并在 DHCP服务器响应报文中携带待安装网元对 应的网关网元 IP地址, DCN相关配置信息等;  803: After receiving the DHCP client request message, the DHCP server compares the hardware address of the network management interface of the network element to be installed carried in the "chaddr" field of the request message with the hardware address of the network management interface of the network element to be installed. The network element is installed for authentication. After the authentication is passed, the DHCP server responds to the packet, and the DHCP server response packet carries the IP address of the gateway NE corresponding to the NE to be installed, and the DCN configuration information.
804: DHCP 中继代理把 DHCP服务器响应报文返回给待安装网元; 804: The DHCP relay agent returns the DHCP server response packet to the network element to be installed.
805: 待安装网元根据 DHCP服务器响应报文中的配置信息完成配置之 后, 发送网管连接确认请求报文给网关网元; 805: After the network element to be installed is configured according to the configuration information in the response message of the DHCP server, the network management system sends a confirmation message to the gateway network element.
806: 网关网元收到待安装网元的网管连接确认请求报文之后, 向网管 申请认证;  806: After receiving the network management connection confirmation request packet of the network element to be installed, the gateway network element applies for authentication to the network management.
807: 网管对报文中携带的待安装网元的网管接口硬件地址进行认证之 后, 返回确认信息给网关网元;  807: After the network management device authenticates the hardware address of the network management interface of the network element to be installed carried in the packet, the network management device returns a confirmation message to the gateway network element.
808: 网关网元返回确认信息给待安装网元。  808: The gateway network element returns a confirmation message to the network element to be installed.
根据本实施例, 若待安装网元收到网关网元的确认信息, 则通过某种方 式指示已经跟网管联通,安装成功。指示方式包括但不限于点亮面板指示灯, 喇叭鸣响指示, 以及通过液晶显示屏指示等。  According to the embodiment, if the network element to be installed receives the confirmation information of the gateway network element, the network element is connected to the network management system in a certain manner, and the installation is successful. The indication methods include, but are not limited to, lighting the panel indicator, the horn sounding indication, and indicating through the liquid crystal display.
本发明实施例的一种网元的安装方法,无需要求网元存储额外的 SN号, 也无需工程人员现场输入 KEY参数, 降低了网元的制造成本和安装成本。 另外, 工程人员安装的时候可以将承载管理信息的通信线路插在任意业务接 口上, 也提高了工程安装的灵活性。  A method for installing a network element in the embodiment of the present invention does not require the network element to store an additional SN number, and does not require the engineering personnel to input the KEY parameter on site, thereby reducing the manufacturing cost and installation cost of the network element. In addition, when the engineer is installed, the communication line carrying the management information can be inserted into any service interface, which also improves the flexibility of engineering installation.
实施例四、 如图 9所示, 为本发明实施例提供的一种网元, 该网元包括: 第一发送模块 91, 用于向 DHCP服务器发送 DHCP客户请求报文, 所 述 DHCP客户请求报文中携带所述待安装网元的网管接口硬件地址; Embodiment 4 As shown in FIG. 9, a network element is provided in the embodiment of the present invention. The network element includes: a first sending module 91, configured to send a DHCP client request packet to a DHCP server, where the DHCP client request packet carries The hardware address of the network management interface of the network element to be installed;
第一接收模块 92, 用于接收所述 DHCP服务器返回的 DHCP服务器响 应报文, 其中, 所述 DHCP服务器根据所述待安装网元的网管接口硬件地址 对所述待安装网元认证通过后, 返回所述 DHCP服务器响应报文;  The first receiving module 92 is configured to receive the DHCP server response message returned by the DHCP server, where the DHCP server authenticates the to-be-installed network element according to the hardware address of the network management interface of the network element to be installed. Returning the DHCP server response message;
安装模块 93, 用于根据所述 DHCP服务器响应报文携带的配置信息, 安装所述待安装网元。  The installation module 93 is configured to install the to-be-installed network element according to the configuration information carried in the DHCP server response packet.
如图 10所示, 为本发明另一实施例提供的一种网元, 该网元除了包括 图 9所示实施例的网元所包括的第一发送模块 91、 第一接收模块 92、 安装 模块 93外, 该网元还包括:  As shown in FIG. 10, a network element is provided. The network element includes a first sending module 91, a first receiving module 92, and an installation included in the network element of the embodiment shown in FIG. Outside the module 93, the network element further includes:
判断模块 104, 用于判断所述 DHCP服务器响应报文的链路层目的地址 是否是所述待安装网元的网管接口硬件地址;  The determining module 104 is configured to determine whether the link layer destination address of the DHCP server response packet is a network management interface hardware address of the network element to be installed.
所述安装模块 93用于当所述判断模块 104的判断结果为是时, 根据所 述 DHCP服务器响应报文携带的配置信息, 安装所述待安装网元。  The installation module 93 is configured to install the network element to be installed according to the configuration information carried in the response message of the DHCP server when the determination result of the determination module 104 is YES.
上述两实施例的网元, 其中, 所述安装模块 93具体包括:  The network element of the foregoing two embodiments, where the installation module 93 specifically includes:
配置模块, 用于根据所述 DHCP 服务器响应报文中的配置信息进行配 置;  a configuration module, configured to perform configuration according to configuration information in the response message of the DHCP server;
第二发送模块, 用于向网管发送网管连接确认请求报文, 所述网管连接 确认请求报文中携带所述待安装网元的网管接口硬件地址;  a second sending module, configured to send a network management connection confirmation request message to the network management, where the network management connection confirmation request message carries the hardware address of the network management interface of the network element to be installed;
第二接收模块,用于接收网管根据所述待安装网元的网管接口硬件地址 对所述待安装网元认证通过的确认信息;  a second receiving module, configured to receive, by the network management device, the confirmation information that the network element to be installed is authenticated according to the hardware address of the network management interface of the network element to be installed;
指示模块, 用于在所述第二接收模块接收到所述确认信息后, 指示所述 待安装网元与网管连通。  The indication module is configured to: after the second receiving module receives the confirmation information, instruct the network element to be installed to communicate with the network management.
本发明实施例的一种网元, 其各模块的具体实施过程与方法实施例中的 相关描述属于同一发明构思, 可以参见方法实施例, 这里不再详细描述。 本发明实施例的一种网元, 无需要求网元存储额外的 SN号, 也无需工 程人员现场输入 KEY参数, 降低了网元的制造成本和安装成本。 另外, 工 程人员安装的时候可以将承载管理信息的通信线路插在任意业务接口上, 也 提高了工程安装的灵活性。而且能够支持穿通第三方网络场景下的一次进站 网元安装。 For a network element in the embodiment of the present invention, the specific implementation process of each module is related to the related description in the method embodiment. For details, refer to the method embodiment, which is not described in detail herein. A network element in the embodiment of the present invention does not require the network element to store an additional SN number, and does not require an engineer to input the KEY parameter on site, thereby reducing the manufacturing cost and installation cost of the network element. In addition, when the engineer is installed, the communication line carrying the management information can be inserted into any service interface, which also improves the flexibility of the engineering installation. Moreover, it can support one inbound network element installation in a third-party network scenario.
实施例五、  Embodiment 5
如图 11所示, 为本发明实施例提供的一种 DHCP服务器, 该 DHCP服 务器包括:  As shown in FIG. 11, a DHCP server is provided in the embodiment of the present invention, where the DHCP server includes:
接收模块 111, 用于接收待安装网元发送的 DHCP客户请求报文, 所述 DHCP客户请求报文中携带所述待安装网元的网管接口硬件地址;  The receiving module 111 is configured to receive a DHCP client request packet sent by the network element to be installed, where the DHCP client request packet carries the hardware address of the network management interface of the network element to be installed.
认证模块 112, 用于根据所述待安装网元的网管接口硬件地址对所述待 安装网元进行认证;  The authentication module 112 is configured to authenticate the network element to be installed according to the hardware address of the network management interface of the network element to be installed.
发送模块 113,用于当所述认证模块 112对所述待安装网元认证通过后, 向所述待安装网元发送 DHCP服务器响应报文。  The sending module 113 is configured to send a DHCP server response message to the to-be-installed network element after the authentication module 112 authenticates the to-be-installed network element.
如图 12所示,为本发明另一实施例提供的一种 DHCP服务器,该 DHCP 服务器除了包括上一实施例 DHCP服务器所包括的接收模块 111、 认证模块 112、 发送模块 113外, 该 DHCP服务器还包括:  As shown in FIG. 12, a DHCP server is provided in the DHCP server. The DHCP server includes the receiving module 111, the authentication module 112, and the sending module 113 included in the DHCP server of the previous embodiment. Also includes:
存储模块 124, 用于存储所述待安装网元的网管接口硬件地址; 所述认证模块 112, 用于根据所述 DHCP客户请求报文中携带的待安装 网元的网管接口硬件地址和所述存储模块中存储的待安装网元的网管接口 硬件地址进行比较, 对所述待安装网元进行认证。  The storage module 124 is configured to store a network management interface hardware address of the network element to be installed, and the authentication module 112 is configured to: according to the network management interface hardware address of the network element to be installed carried in the DHCP client request message, The hardware address of the network management interface of the network element to be installed stored in the storage module is compared, and the network element to be installed is authenticated.
本发明实施例的一种 DHCP服务器,其各模块的具体实施过程与方法实 施例中的相关描述属于同一发明构思, 可以参见方法实施例, 这里不再详细 描述。  For a DHCP server in the embodiment of the present invention, the specific implementation process of each module and the related description in the method embodiment belong to the same inventive concept. For details, refer to the method embodiment, which is not described in detail herein.
本发明实施例的一种 DHCP服务器, 无需要求网元存储额外的 SN号, 也无需工程人员现场输入 KEY参数, 降低了网元的制造成本和安装成本。 另外, 工程人员安装的时候可以将承载管理信息的通信线路插在任意业务接 口上, 也提高了工程安装的灵活性。 而且能够支持穿通第三方网络场景下的 一次进站网元安装。 A DHCP server in the embodiment of the present invention does not require the network element to store an additional SN number, and does not require an engineer to input the KEY parameter on site, thereby reducing the manufacturing cost and installation cost of the network element. In addition, when the engineer is installed, the communication line carrying the management information can be inserted into any service interface, which also improves the flexibility of the engineering installation. Moreover, it can support one inbound network element installation in a third-party network scenario.
实施例六、  Embodiment 6
如图 13所示, 为本发明实施例提供的一种网络系统, 该网络系统包括 待安装网元 131和 DHCP服务器 132, 其中:  As shown in FIG. 13, a network system is provided in the embodiment of the present invention, where the network system includes a network element 131 to be installed and a DHCP server 132, where:
所述待安装网元 131用于向所述 DHCP服务器发送 DHCP客户请求报 文, 所述 DHCP客户请求报文中携带所述待安装网元的网管接口硬件地址; 所述 DHCP服务器 132用于根据所述待安装网元的网管接口硬件地址对 所述待安装网元进行认证。  The network element 131 to be installed is configured to send a DHCP client request message to the DHCP server, where the DHCP client request message carries the network management interface hardware address of the network element to be installed; the DHCP server 132 is configured to use The network management interface hardware address of the network element to be installed authenticates the network element to be installed.
如图 14所示, 为本发明另一实施例提供的一种网络系统, 该系统除了 包括上一实施例系统所包括的待安装网元和 DHCP服务器外,该系统还包括 网管 143, 其中:  As shown in FIG. 14, a network system is provided. The system includes a network element to be installed and a DHCP server, including the network management unit 143, where the system includes a network management unit 143, where:
所述待安装网元 131, 还用于在接收到所述 DHCP服务器认证通过后发 送的 DHCP sever 响应报文后, 根据所述 DHCP服务器响应报文中的配置信 息进行配置, 并用于向所述网管 143发送网管连接确认请求报文, 所述网管 连接确认请求报文中携带所述待安装网元的网管接口硬件地址;  The network element 131 to be installed is further configured to: after receiving the DHCP sever response message sent by the DHCP server, the configuration is performed according to the configuration information in the response message of the DHCP server, and is used to The network management system 143 sends a network management connection confirmation request message, where the network management connection confirmation request message carries the hardware address of the network management interface of the network element to be installed.
所述网管 143用于根据所述待安装网元的网管接口硬件地址对所述待安 装网元进行认证。  The network management system 143 is configured to authenticate the network element to be installed according to the hardware address of the network management interface of the network element to be installed.
本发明实施例的一种网络系统, 其各模块的具体实施过程与方法实施例 中的相关描述属于同一发明构思,可以参见方法实施例,这里不再详细描述。  For a network system of the embodiment of the present invention, the specific implementation process of each module and the related description in the method embodiment belong to the same inventive concept. For details, refer to the method embodiment, which is not described in detail herein.
本发明实施例的一种网络系统, 无需要求网元存储额外的 SN号, 也无 需工程人员现场输入 KEY参数, 降低了网元的制造成本和安装成本。 另外, 工程人员安装的时候可以将承载管理信息的通信线路插在任意业务接口上, 也提高了工程安装的灵活性。而且能够支持穿通第三方网络场景下的一次进 站网元安装。 以上实施例提供的技术方案中的全部或部分内容可以通过软件编程实 现, 其软件程序存储在可读取的存储介质中, 存储介质例如: 计算机中的硬 盘、 光盘或软盘。 A network system of the embodiment of the present invention does not require the network element to store an additional SN number, and does not require an engineer to input the KEY parameter on site, thereby reducing the manufacturing cost and installation cost of the network element. In addition, when the engineer is installed, the communication line carrying the management information can be inserted into any service interface, which also improves the flexibility of the engineering installation. Moreover, it can support one inbound network element installation in a third-party network scenario. All or part of the technical solutions provided by the above embodiments may be implemented by software programming, and the software program is stored in a readable storage medium such as a hard disk, an optical disk or a floppy disk in a computer.
最后应当说明的是:以上实施例仅用以说明本发明的技术方案而非对其 限制; 尽管参照实施例对本发明进行了详细的说明, 所属领域的普通技术人 员应当理解: 依然可以对本发明的具体实施方式进行修改或者对部分技术特 征进行等同替换; 而不脱离本发明技术方案的精神, 其均应涵盖在本发明请 求保护的技术方案范围当中。  It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not to be construed as limiting thereof; while the present invention has been described in detail with reference to the embodiments, those of ordinary skill in the art DETAILED DESCRIPTION OF THE INVENTION Modifications or equivalents of some of the technical features are included; without departing from the spirit of the technical solution of the present invention, it should be included in the scope of the technical solutions claimed in the present invention.

Claims

权利要求书 Claim
1、 一种网元的安装方法, 其特征在于, 所述方法包括:  A method for installing a network element, the method comprising:
向 DHCP服务器发送 DHCP客户请求报文, 所述 DHCP客户请求报文 中携带所述待安装网元的网管接口硬件地址;  Sending a DHCP client request message to the DHCP server, where the DHCP client request message carries the network management interface hardware address of the network element to be installed;
接收所述 DHCP服务器返回的 DHCP服务器响应报文,其中,所述 DHCP 服务器根据所述待安装网元的网管接口硬件地址对所述待安装网元认证通 过后, 返回所述 DHCP服务器响应报文;  Receiving a DHCP server response message returned by the DHCP server, wherein the DHCP server returns the DHCP server response message after the network element of the network element interface to be installed is authenticated by the network device to be installed. ;
根据所述 DHCP服务器响应报文携带的配置信息, 安装所述待安装网 元。  And installing the to-be-installed network element according to the configuration information carried in the DHCP server response packet.
2、 如权利要求 1所述的方法, 其特征在于, 所述待安装网元的网管接 口硬件地址, 携带在所述 DHCP客户请求报文中的客户硬件地址 Chaddr字 段中。  2. The method according to claim 1, wherein the hardware address of the network management interface of the network element to be installed is carried in the client hardware address Chaddr field in the DHCP client request message.
3、 如权利要求 1所述的方法, 其特征在于, 根据所述 DHCP服务器响 应报文携带的配置信息, 安装所述待安装网元具体为:  The method according to claim 1, wherein the installing the network element to be installed according to the configuration information carried in the response message of the DHCP server is:
判断所述 DHCP服务器响应报文的链路层目的地址是否是所述待安装 网元的网管接口硬件地址;  Determining, by the DHCP server, whether the link layer destination address of the response packet is the network management interface hardware address of the to-be-installed network element;
若是, 根据所述 DHCP服务器响应报文携带的配置信息, 安装所述待安 装网元。  If yes, the network element to be installed is installed according to the configuration information carried in the DHCP server response packet.
4、 如权利要求 1所述的方法, 其特征在于, 根据所述 DHCP服务器响 应报文携带的配置信息, 安装所述待安装网元具体包括:  The method of claim 1, wherein the installing the network element to be installed according to the configuration information carried in the DHCP server response message comprises:
根据所述 DHCP服务器响应报文中的配置信息进行配置;  And configuring according to the configuration information in the DHCP server response packet;
向网管发送网管连接确认请求报文,所述网管连接确认请求报文中携带 所述待安装网元的网管接口硬件地址;  Sending a network management connection confirmation request message to the network management, where the network management connection confirmation request message carries the hardware address of the network management interface of the network element to be installed;
接收到网管根据所述待安装网元的网管接口硬件地址对所述待安装网 元认证通过的确认信息后, 指示所述待安装网元与网管连通。  After receiving the acknowledgment message that the network management interface of the network element to be installed is authenticated by the network management interface, the network management unit indicates that the network element to be installed is connected to the network management system.
5、 如权利要求 4所述的方法, 其特征在于, 向网管发送网管连接确认 请求报文具体为: 通过网关网元向网管发送网管连接确认请求报文; 如果所述待安装网元通过第三方网络连接到网关网元,所述 DHCP服务 器响应报文中携带的内容包括穿通所述第三方网络的配置信息和所述网关 网元 IP地址; 如果所述待安装网元和 DHCP服务器、 网关网元在自组网内, 所述 DHCP服务器响应报文中携带的内容包括所述待安装网元对应的网关 网元 IP地址。 5. The method according to claim 4, wherein the network management connection confirmation is sent to the network management The request message is specifically: sending, by the gateway network element, a network management connection confirmation request message to the network management; if the network element to be installed is connected to the gateway network element by using the third-party network, the content carried in the response message of the DHCP server includes the punch-through The configuration information of the third-party network and the IP address of the gateway network element; if the network element to be installed and the DHCP server and the gateway network element are in the self-organizing network, the content carried in the response message of the DHCP server includes The IP address of the gateway NE corresponding to the installed NE is mentioned.
6、 一种网元, 其特征在于, 所述网元包括:  A network element, wherein the network element includes:
第一发送模块, 用于向 DHCP服务器发送 DHCP客户请求报文, 所述 DHCP客户请求报文中携带所述待安装网元的网管接口硬件地址;  a first sending module, configured to send a DHCP client request message to the DHCP server, where the DHCP client request message carries the hardware address of the network management interface of the network element to be installed;
第一接收模块, 用于接收所述 DHCP服务器返回的 DHCP服务器响应 报文, 其中,所述 DHCP服务器根据所述待安装网元的网管接口硬件地址对 所述待安装网元认证通过后, 返回所述 DHCP服务器响应报文;  a first receiving module, configured to receive a DHCP server response message returned by the DHCP server, where the DHCP server returns to the network element to be installed according to the hardware address of the network management interface of the network element to be installed, and then returns The DHCP server responds to the message;
安装模块,用于根据所述 DHCP服务器响应报文携带的配置信息, 安装 所述待安装网元。  The installation module is configured to install the network element to be installed according to the configuration information carried in the DHCP server response packet.
7、 如权利要求 6所述的网元, 其特征在于, 所述网元还包括: 判断模块,用于判断所述第一接收模块接收的 DHCP服务器响应报文的 链路层目的地址是否是所述待安装网元的网管接口硬件地址;  The network element according to claim 6, wherein the network element further includes: a determining module, configured to determine whether a link layer destination address of the DHCP server response packet received by the first receiving module is The hardware address of the network management interface of the network element to be installed;
所述安装模块,用于当所述判断模块的判断结果为是时,根据所述 DHCP 服务器响应报文携带的配置信息, 安装所述待安装网元。  The installation module is configured to: when the determining result of the determining module is yes, install the network element to be installed according to the configuration information carried in the response message of the DHCP server.
8、 如权利要求 6所述的网元, 其特征在于, 所述安装模块具体包括: 配置模块, 用于根据所述 DHCP 服务器响应报文中的配置信息进行配 置;  The network element according to claim 6, wherein the installation module specifically includes: a configuration module, configured to perform configuration according to configuration information in a response message of the DHCP server;
第二发送模块, 用于向网管发送网管连接确认请求报文, 所述网管连接 确认请求报文中携带所述待安装网元的网管接口硬件地址;  a second sending module, configured to send a network management connection confirmation request message to the network management, where the network management connection confirmation request message carries the hardware address of the network management interface of the network element to be installed;
第二接收模块,用于接收网管根据所述待安装网元的网管接口硬件地址 对所述待安装网元认证通过的确认信息; 指示模块, 用于在所述第二接收模块接收到所述确认信息后, 指示所述 待安装网元与网管连通。 The second receiving module is configured to receive, by the network management device, the confirmation information that the network element to be installed is authenticated according to the hardware address of the network management interface of the network element to be installed; The indication module is configured to: after the second receiving module receives the confirmation information, indicate that the to-be-installed network element is in communication with the network management.
9、 一种 DHCP服务器, 其特征在于, 所述服务器包括:  A DHCP server, wherein the server comprises:
接收模块,用于接收待安装网元发送的 DHCP客户请求报文,所述 DHCP 客户请求报文中携带所述待安装网元的网管接口硬件地址;  a receiving module, configured to receive a DHCP client request packet sent by the network element to be installed, where the DHCP client request packet carries a hardware address of the network management interface of the network element to be installed;
认证模块,用于根据所述待安装网元的网管接口硬件地址对所述待安装 网元进行认证;  An authentication module, configured to authenticate the to-be-installed network element according to the hardware address of the network management interface of the network element to be installed;
发送模块, 用于当所述认证模块对所述待安装网元认证通过后, 向所述 待安装网元发送 DHCP服务器响应报文。  And a sending module, configured to send a DHCP server response message to the to-be-installed network element after the authentication module passes the authentication of the to-be-installed network element.
10、 一种网络系统, 其特征在于, 所述系统包括待安装网元和 DHCP服 务器, 其中:  A network system, wherein the system includes a network element to be installed and a DHCP server, where:
所述待安装网元, 用于向所述 DHCP服务器发送 DHCP客户请求报文, 所述 DHCP客户请求报文中携带所述待安装网元的网管接口硬件地址;  The network element to be installed is configured to send a DHCP client request message to the DHCP server, where the DHCP client request message carries the hardware address of the network management interface of the network element to be installed;
所述 DHCP服务器,用于根据所述待安装网元的网管接口硬件地址对所 述待安装网元进行认证。  The DHCP server is configured to authenticate the network element to be installed according to the hardware address of the network management interface of the network element to be installed.
11、 如权利要求 10所述的系统, 其特征在于, 所述系统还包括网管, 所述待安装网元,还用于在接收到所述 DHCP服务器认证通过后发送的 The system of claim 10, wherein the system further comprises a network management unit, wherein the network element to be installed is further configured to send after receiving the authentication of the DHCP server.
DHCP服务器响应报文后,根据所述 DHCP服务器响应报文中的配置信息进 行配置, 并用于向所述网管发送网管连接确认请求报文, 所述网管连接确认 请求报文中携带所述待安装网元的网管接口硬件地址; After the DHCP server responds to the packet, it is configured according to the configuration information in the DHCP server response packet, and is configured to send a network management connection confirmation request packet to the network management, where the network management connection confirmation request packet carries the to-be-installed Network management interface hardware address of the network element;
所述网管,用于根据所述待安装网元的网管接口硬件地址对所述待安装 网元进行认证。  The network management system is configured to authenticate the to-be-installed network element according to the hardware address of the network management interface of the network element to be installed.
PCT/CN2009/073043 2008-09-27 2009-08-03 Method of installing network element, network element, dhcp server and network system WO2010034214A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2008102165145A CN101686150B (en) 2008-09-27 2008-09-27 Installation method of network element, network element, DHCP server and network system
CN200810216514.5 2008-09-27

Publications (1)

Publication Number Publication Date
WO2010034214A1 true WO2010034214A1 (en) 2010-04-01

Family

ID=42049135

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/073043 WO2010034214A1 (en) 2008-09-27 2009-08-03 Method of installing network element, network element, dhcp server and network system

Country Status (2)

Country Link
CN (1) CN101686150B (en)
WO (1) WO2010034214A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2536248A4 (en) * 2010-05-13 2016-08-03 Zte Corp Method and system for implementing network element self-discovery

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447977B (en) * 2010-10-13 2014-11-05 中兴通讯股份有限公司 Intelligent network equipment self networking system and method
CN102624746B (en) * 2012-04-10 2015-10-21 中兴通讯股份有限公司 Detect the method for two ends, tunnel GRE head configuration, source, destination and system
CN106301855B (en) * 2015-06-05 2020-07-31 南京中兴软件有限责任公司 Network management system deployment method and device and network management system
CN105933142A (en) * 2016-04-08 2016-09-07 邦彦技术股份有限公司 Network element management method and device
CN109218055B (en) * 2017-07-04 2021-07-30 上海诺基亚贝尔软件有限公司 Method and device for rapidly configuring network element equipment for plug and play
CN109039719B (en) * 2018-07-20 2022-02-08 安徽皖通邮电股份有限公司 Method for realizing self-opening of CPE (customer premises equipment)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050114492A1 (en) * 2003-10-31 2005-05-26 Peter Arberg DHCP proxy in a subscriber environment
US20080059623A1 (en) * 2006-09-05 2008-03-06 Won-Jong Yang Management system and method of network elements using simple network management protocol
CN101188514A (en) * 2007-11-09 2008-05-28 华为技术有限公司 Method, device and system for automatically discovering network element device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6957276B1 (en) * 2000-10-23 2005-10-18 Microsoft Corporation System and method of assigning and reclaiming static addresses through the dynamic host configuration protocol
CN101051996B (en) * 2006-06-16 2010-12-08 华为技术有限公司 Device, system and method for realizing ether net passing through mobile IP

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050114492A1 (en) * 2003-10-31 2005-05-26 Peter Arberg DHCP proxy in a subscriber environment
US20080059623A1 (en) * 2006-09-05 2008-03-06 Won-Jong Yang Management system and method of network elements using simple network management protocol
CN101188514A (en) * 2007-11-09 2008-05-28 华为技术有限公司 Method, device and system for automatically discovering network element device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2536248A4 (en) * 2010-05-13 2016-08-03 Zte Corp Method and system for implementing network element self-discovery

Also Published As

Publication number Publication date
CN101686150B (en) 2012-07-04
CN101686150A (en) 2010-03-31

Similar Documents

Publication Publication Date Title
CN107836104B (en) Method and system for internet communication with machine equipment
WO2019085803A1 (en) Method, device and system for internet of things communication
ES2539259T3 (en) Method, device and system for multimedia data transmission based on a higher level server (OTT)
EP2214383B1 (en) Automatically releasing resources reserved for subscriber devices within a broadband access network
US8767737B2 (en) Data center network system and packet forwarding method thereof
US9143479B2 (en) DHCP proxy in a subscriber environment
US8285875B2 (en) Synchronizing resource bindings within computer network
WO2010034214A1 (en) Method of installing network element, network element, dhcp server and network system
CN107786613B (en) Broadband remote access server BRAS forwarding implementation method and device
JP4664143B2 (en) Packet transfer apparatus, communication network, and packet transfer method
WO2013185644A1 (en) Method and device thereof for automatically finding and configuring virtual network
WO2011041967A1 (en) Method for anonymous communication, method for registration, method and system for trasmitting and receiving information
WO2015003566A1 (en) Method, device and system for transmitting packet in multicast domain name system
CA2413570A1 (en) Address resolution method for a virtual private network, and customer edge device for implementing the method
WO2009094928A1 (en) A method and equipment for transmitting a message based on the layer-2 tunnel protocol
WO2012034456A1 (en) Method for obtaining dns and tunnel gateway device
WO2012106935A1 (en) Data communication network configuration method, gateway element and data communication system
WO2015085788A1 (en) Method and apparatus for processing dynamic host configuration protocol message
WO2012155867A1 (en) Packet sending method and access controller
JP2011508551A (en) Apparatus and method for simultaneously accessing multiple wireless networks
WO2014000565A1 (en) Method for establishing channel for managing ipv4 terminal and network gateway
WO2023125151A1 (en) Data migration system, method and apparatus for internet-of-things device, and storage medium
WO2011140919A1 (en) Method, device, server and system for accessing service wholesale network
WO2014190687A1 (en) Method, device and system for allocating phone number
KR20120055694A (en) User access method, system and access server, access device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09815583

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09815583

Country of ref document: EP

Kind code of ref document: A1