TWI602416B - IP allocation method for automatic construction of telecommunication network - Google Patents
IP allocation method for automatic construction of telecommunication network Download PDFInfo
- Publication number
- TWI602416B TWI602416B TW104133618A TW104133618A TWI602416B TW I602416 B TWI602416 B TW I602416B TW 104133618 A TW104133618 A TW 104133618A TW 104133618 A TW104133618 A TW 104133618A TW I602416 B TWI602416 B TW I602416B
- Authority
- TW
- Taiwan
- Prior art keywords
- network
- ems server
- address
- lldp packet
- information
- Prior art date
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Description
本發明係關於一種用於電信網路自動佈建的IP分配方法,特別是可適用在頻內(in-band)/頻外(out-of-band)網路管理架構中,且不透過DHCP(Dynamic Host Configuration Protocol,動態主機設定通訊協定)伺服器來分配IP位址給網路元件(Network Element,NE,以下稱NE)的方法。 The present invention relates to an IP allocation method for automatic deployment of a telecommunication network, and particularly applicable to an in-band/out-of-band network management architecture without using DHCP. (Dynamic Host Configuration Protocol) A method of assigning an IP address to a network element (NE, NE, hereinafter referred to as NE).
在習知技術中,當進行電信網路佈設時,需要對每一個新增加的網路元件進行設定,使得該網路元件受到中央主控端(例如元件管理系統)的控制管理。 In the prior art, when telecommunications network deployment is performed, each newly added network component needs to be set such that the network component is under the control and management of a central host (for example, a component management system).
然而,對大量的該網路元件進行設定時,則需要耗費相當多的人力與時間,亦即人力與時間的成本隨著該網路元件的安裝數量呈現等比例的上升。此外,業主同時還需要付擔昂貴的教育訓練成本,以訓練人員進行該網路元件的佈設。 However, when a large number of the network components are set, it takes a lot of manpower and time, that is, the cost of manpower and time increases in proportion to the number of installed network components. In addition, the owner also needs to pay expensive educational training costs to train personnel to deploy the network components.
傳統上,當該網路元件的需求度提高時,除增加人力支援外,亦可拉長佈設的時間。然而,以長遠觀看,大量的該人力需求僅是暫時性而非持續長久的,以及過長的佈設時間會造成使用者的撻伐與減緩電信網路的成長,故上述方式都是很耗費成本以及沒有效率的。 Traditionally, when the demand for the network component is increased, in addition to increasing the manpower support, the deployment time can be lengthened. However, in the long run, a large amount of this manpower demand is only temporary rather than lasting, and too long deployment time will cause users to slash and slow down the growth of the telecommunications network, so the above methods are very costly and Inefficient.
因此,雖然網路元件完成實體線路架設後,在軟體上能完成自動設定係可解決上述缺失,然而在進行自動設定之前,必須先取得元件管理伺 服器位址資訊,及元件本身可使用的連線位址,這些建置過程以傳統的方式是很耗費成本以及沒有效率的。 Therefore, although the network component can complete the automatic setting after the physical circuit is set up, the above-mentioned missing can be solved. However, before the automatic setting, the component management must be obtained. Server address information, and the wiring addresses that the components themselves can use, are traditionally expensive and inefficient.
為了解決上述的缺失,本發明係提出一種IP位址分配方法配合LLDP群播封包,在不使用DHCP伺服器且可跨IP網段的狀況下,完成自動電信網路佈建,用以解決習知技術中缺失。 In order to solve the above-mentioned shortcomings, the present invention provides an IP address allocation method and an LLDP group broadcast packet, and the automatic telecommunication network deployment is completed without using a DHCP server and across the IP network segment. Missing in knowing technology.
本發明之一目的係提供用於電信網路自動佈建的IP分配方法,提供新置入電信網路中的網路元件可輕易地與元件管理系統(Element Management System,EMS)伺服器建立連線,用以達到快速且自動化佈建電信網路的目的。 One object of the present invention is to provide an IP allocation method for automatic deployment of a telecommunication network, which provides a network element newly placed in a telecommunication network that can be easily connected to an Element Management System (EMS) server. Line, for the purpose of fast and automated construction of telecommunications networks.
本發明之另一目的係根據上述方法,提供在電信網路中置入新的該網路元件時,係可藉由已成功連線至該元件管理系統伺服器的其它網路元件的引導,輕易地且成功地連線至該元件管理系統伺服器。 Another object of the present invention is to provide guidance for other network elements that have been successfully wired to the component management system server when a new network component is placed in the telecommunications network, in accordance with the above method. Easily and successfully connect to the component management system server.
本發明之再一目的係根據上述方法,於該網路元件欲進行連線至該元件管理系統伺服器時,可以不透過DHCP伺服器即可分配IP位址給新加入的NE,同時避免掉DHCP伺服器在分配IP位址時,無法跨越網段來進行管理的缺點。 According to the above method, when the network component is to be connected to the component management system server, the IP address can be allocated to the newly added NE without the DHCP server, and the network is avoided. When the DHCP server allocates an IP address, it cannot manage the network segment.
本發明之又一目的係根據上述方法,在建置完整網路前,預先規劃每個網路區間所要使用的IP網域資訊,並將該等資訊與連結到管理設備所需的資訊,一同設定到區間的邊緣網路元件(通常為LAN或VLAN邊界的設備)。 Another object of the present invention is to pre-plan the IP domain information to be used in each network interval and to construct the information together with the information required to link to the management device, according to the above method. Set the edge network element to the interval (usually a device with a LAN or VLAN boundary).
本發明之又一目的係根據上述方法,在利用LLDP封包進行群播時,該LLDP(Link Layer Discovery Protocol連結層發現協議)封包 的內容除了IP網域資訊及管理設備的連結資訊外,還會夾帶著最近連結到管理設備的timestamp,作為其他設備收到該LLDP封包時的更新依據,使得NE在發送群播前會先確認其擁有的資訊是否為最即時的,並在只有在最即時的狀況下,才會將資訊夾帶入LLDP封包中,進而供群播的發送。 According to another aspect of the present invention, the LLDP (Link Layer Discovery Protocol) packet is encapsulated when the multicast is performed by using the LLDP packet. In addition to the IP domain information and the connection information of the management device, the content will also be tagged with the timestamp that is recently connected to the management device, as the update basis for other devices to receive the LLDP packet, so that the NE will confirm before sending the multicast packet. Whether the information it has is the most immediate, and only in the most immediate situation, will the information folder be brought into the LLDP packet, and then sent for the group broadcast.
本發明之又一目的係根據上述方法,使該EMS伺服器更新在該EMS伺服器中該NE有效(active)或無效(inactive)的標記狀態,且被設定成有效的NE,才會發送LLDP的群播封包。 Still another object of the present invention is to enable the EMS server to update the flag status of the NE active or inactive in the EMS server according to the above method, and set the valid NE to send the LLDP. The multicast packet.
為達到上述目的或其它目的,本發明係提供一種用於電信網路自動佈建的IP分配方法,係用於在頻內(in-band)/頻外(out-of-band)網路管理架構中佈建具有複數網路元件與元件管理系統伺服器,該方法包含:一預先配置步驟,係配置複數網路區間及各該網路區間所使用的IP網域,並將各區間所屬之IP範圍的資訊及該EMS伺服器的IP網域夾帶在LLDP的封包中,用以連同該LLDP封包的timestamp資訊一起進行群播(Multicast);一EMS伺服器連接步驟,一網路元件係透過該LLDP封包的接收以取得該EMS伺服器的IP網域資訊,該LLDP封包包含目前所位處之網路區間的隨機IP位址區間及指定IP位址區間的資訊,該網路元件藉由該EMS伺服器的IP網域資訊連接該EMS伺服器;及一EMS伺服器註冊步驟,係於該網路元件接收到該EMS伺服器的確認註冊封包後,取得該EMS伺服器所派發之指定IP位址區段內的一指定IP位址的資訊(亦即在指派後會實際用來運作使用的IP位址,而非暫時性IP位址),並更新該網路元件的IP位址為該指定IP位址以重新建立該網路元件與該EMS伺服器間的一網路連線路徑,其中該網路元件並於與該EMS伺服器透過該指定IP位址連線後,並將該網路元件的LLDP封包廣播狀態更新為有效以進行該網路元件所屬之LLDP封包的群播,其中該網路元件所屬之LLDP封包係包含 該EMS伺服器的IP網域資訊、該網路元件的IP網域資訊、以及該網路元件被更新時的時間戳記(timestamp)。 To achieve the above object or other objects, the present invention provides an IP allocation method for automatic deployment of a telecommunication network, which is used for in-band/out-of-band network management. A multi-network element and component management system server is deployed in the architecture, and the method includes: a pre-configuration step of configuring a plurality of network intervals and IP domains used in each of the network sections, and each zone belongs to The information of the IP range and the IP domain of the EMS server are entrained in the LLDP packet for multicasting together with the timestamp information of the LLDP packet; an EMS server connection step, a network component is transmitted through Receiving the LLDP packet to obtain IP domain information of the EMS server, where the LLDP packet includes a random IP address interval of the network interval currently located and a specified IP address interval, the network component is The EMS server's IP domain information is connected to the EMS server; and an EMS server registration step is performed after the network component receives the confirmation registration packet of the EMS server, and obtains the designation of the EMS server. Within the IP address section Specify the IP address information (that is, the IP address that will actually be used after the assignment, not the temporary IP address), and update the IP address of the network element to the specified IP address to re- Establishing a network connection path between the network component and the EMS server, wherein the network component is connected to the EMS server through the specified IP address, and the LLDP packet of the network component is encapsulated The broadcast status is updated to be effective for the multicast of the LLDP packet to which the network element belongs, wherein the LLDP packet to which the network element belongs includes The IP domain information of the EMS server, the IP domain information of the network element, and the timestamp when the network element is updated.
與習知技術相較,本發明之電信網路自動佈建的IP分配方法係可提供NE可自行地連線至EMS伺服器,並且經由該EMS伺服器對該NE進行設定而建立兩者之間的連線路徑。 Compared with the prior art, the IP distribution method automatically constructed by the telecommunication network of the present invention can provide the NE to connect to the EMS server by itself, and set the NE through the EMS server to establish both. The connection path between.
此外,當該NE係成功地與該EMS伺服器建立連線之後,又可將連線成功的訊息透過鏈接層發現協議(LLDP)封包傳送給其它的NE,使得其它的NE係可藉由解析該封包中所附加IP位址之網域即該EMS伺服器之IP位址而可成功地連線至該EMS伺服器。 In addition, after the NE system successfully establishes a connection with the EMS server, the successfully connected message can be transmitted to other NEs through a Link Layer Discovery Protocol (LLDP) packet, so that other NE systems can be resolved by The domain of the IP address attached to the packet is the IP address of the EMS server and can be successfully connected to the EMS server.
S100~S300‧‧‧方法步驟 S100~S300‧‧‧ method steps
S101~S105‧‧‧方法步驟 S101~S105‧‧‧ method steps
S300~S307‧‧‧方法步驟 S300~S307‧‧‧ method steps
13‧‧‧邊緣NE 13‧‧‧Edge NE
14‧‧‧邊緣NE 14‧‧‧Edge NE
15‧‧‧邊緣NE 15‧‧‧Edge NE
16‧‧‧邊緣NE 16‧‧‧Edge NE
17‧‧‧邊緣NE 17‧‧‧Edge NE
18‧‧‧邊緣NE 18‧‧‧Edge NE
19‧‧‧NE 19‧‧‧NE
20‧‧‧表格 20‧‧‧Form
21‧‧‧欄位(網路區間名稱) 21‧‧‧ field (network section name)
22‧‧‧欄位(IP網域) 22‧‧‧ Field (IP domain)
IPC-VLAN‧‧‧位址資訊 IPC-VLAN‧‧‧ address information
IPS6-VLAN‧‧‧位址資訊 IPS6-VLAN‧‧‧ address information
IPS7-VLAN‧‧‧位址資訊 IPS7-VLAN‧‧‧ address information
圖1係本發明一實施例中之電信網路自動佈建之IP分配方法的方法流程圖;圖2係本發明一實施例中之電信網路自動佈建之IP分配方法的預先配置步驟預先配置步驟;圖3係本發明一實施例中之顯示VLAN網路及LLDP封包在網路上群播的範圍;圖4係本發明一實施例中之顯示EMS伺服器中資料庫存放的預先設定;圖5係本發明一實施例中之EMS伺服器連接與註冊的方法流程圖。 1 is a flowchart of a method for automatically allocating an IP network of a telecommunication network according to an embodiment of the present invention; FIG. 2 is a pre-configuration step of an IP allocation method for automatically deploying a telecommunication network according to an embodiment of the present invention. FIG. 3 is a diagram showing the range of displaying the VLAN network and the LLDP packet on the network in an embodiment of the present invention; FIG. 4 is a preset setting of displaying the data inventory in the EMS server according to an embodiment of the present invention; FIG. 5 is a flow chart of a method for connecting and registering an EMS server in an embodiment of the present invention.
為充分瞭解本發明之目的、特徵及功效,茲藉由下述具體之實施例,並配合所附之圖式,對本發明做一詳細說明,說明如後: In order to fully understand the objects, features and advantages of the present invention, the present invention will be described in detail by the following specific embodiments and the accompanying drawings.
本發明係透過對網路環境的一預先配置步驟來預先規劃網路的相關配置,使得網路元件(network element,後續稱NE)及網路區間的邊緣網路元 件(或稱尾端終端節點(Trail Termination Point)),能與元件管理系統伺服器(Element Management System Server,EMS Server,後續稱EMS伺服器)快速且成功地進行連線。 The present invention pre-plans the relevant configuration of the network through a pre-configuration step of the network environment, so that the network element (network element, subsequently referred to as NE) and the edge network element of the network interval A piece (or Trail Termination Point) that can be quickly and successfully connected to an Element Management System Server (EMS Server, hereinafter referred to as an EMS server).
請參考第1圖,係本發明一實施例中之電信網路自動佈建之IP分配方法的方法流程圖,本發明之電信網路佈建方法包含:預先配置步驟S100、EMS伺服器連接步驟200、及EMS伺服器註冊步驟S300。 Please refer to FIG. 1 , which is a flowchart of a method for automatically configuring an IP address of a telecommunication network according to an embodiment of the present invention. The telecommunication network deployment method of the present invention includes: a pre-configuration step S100, and an EMS server connection step. 200, and the EMS server registration step S300.
該預先配置步驟S100係配置複數網路區間及各該網路區間所使用的IP網域,並將各區間所屬之IP範圍的資訊及該EMS伺服器的IP網域夾帶在Link Layer Discovery Protocol(LLDP)的封包中,用以連同該LLDP封包的時間戳記資訊一起進行群播(Multicast)。 The pre-configuration step S100 configures a plurality of network intervals and IP domains used in each of the network sections, and the information of the IP range to which each section belongs and the IP domain of the EMS server are carried in the Link Layer Discovery Protocol ( In the packet of LLDP, the multicast is used together with the timestamp information of the LLDP packet.
於該EMS Server連接步驟200中,NE係透過該LLDP封包的接收以取得該EMS伺服器的IP網域資訊,該LLDP封包包含目前所位處之網路區間的隨機IP位址區間及指定IP位址區間的資訊,該NE藉由該EMS伺服器的IP網域資訊連接該EMS伺服器。 In the EMS Server connection step 200, the NE obtains the IP domain information of the EMS server by receiving the LLDP packet, where the LLDP packet includes a random IP address interval and a specified IP of the network interval currently located. Information of the address interval, the NE is connected to the EMS server by the IP domain information of the EMS server.
該EMS伺服器註冊步驟S300係於該NE接收到該EMS伺服器的確認註冊封包後,取得該EMS伺服器所派發之指定IP位址區段內的一指定IP位址的資訊,並更新該NE的IP位址為該指定IP位址以重新建立該NE與該EMS伺服器間的一網路連線路徑,其中該NE並於與該EMS伺服器透過該指定IP位址連線後,並將該NE的LLDP封包廣播狀態更新為有效(active)以進行該NE所屬之LLDP封包的群播,其中該NE所屬之LLDP封包係包含該EMS Server的IP網域資訊、該網路元件的IP網域資訊、以及該NE被更新時的時間戳記。 The EMS server registration step S300 is to obtain information about a specified IP address in a specified IP address segment dispatched by the EMS server after the NE receives the confirmation registration packet of the EMS server, and update the information. The IP address of the NE is the designated IP address to re-establish a network connection path between the NE and the EMS server, wherein the NE is connected to the EMS server through the specified IP address. And updating the broadcast status of the LLDP packet of the NE to be active to perform the multicast broadcast of the LLDP packet to which the NE belongs, where the LLDP packet to which the NE belongs includes the IP domain information of the EMS Server, and the network component. IP domain information and the timestamp when the NE was updated.
接著請參考第2圖,係本發明一實施例中之電信網路自動佈建之IP分配方法的預先配置步驟方法流程圖。於第2圖中,在建立整個電信網路前,係如步驟S101所示,進行網路環境規畫,預先規畫每個網路區間要使用的IP網域。每一個網路單元(NE)可為一數據交換器。完成步驟S101的規劃後,如步驟S102所示,每個網路區間之IP網域的配置資訊被紀錄且存放在EMS伺服器上的 資料庫裡。可同時參閱第3及4圖,第3圖係為所存放之內容的例子,第4圖之元件符號20代表的是該內容的表格,欄位21為網路區間的名稱,欄位22為網路區間所使用的IP網域。以表格20而言,分別有一個C-VLAN(500)及兩個S-VLAN(60和70)在LLDP的協定中,不同層次的網路區間會使用不同的群播位址,於database中的資料係可載明網路區間的層次,如C-VLAN(500)的IP網域為16.16.x.0/16,而兩個S-VLAN(60、70)的IP網域為16.16.x.0/24。 Next, please refer to FIG. 2, which is a flowchart of a pre-configuration step method of an IP allocation method for automatically deploying a telecommunication network in an embodiment of the present invention. In FIG. 2, before the entire telecommunication network is established, as shown in step S101, network environment planning is performed, and an IP domain to be used in each network section is pre-planned. Each network element (NE) can be a data switch. After the planning of step S101 is completed, as shown in step S102, the configuration information of the IP domain of each network interval is recorded and stored on the EMS server. In the database. See also Figures 3 and 4 at the same time. Figure 3 is an example of the contents stored. The symbol 20 of Figure 4 represents the table of contents, field 21 is the name of the network section, and field 22 is The IP domain used by the network interval. In Table 20, there is a C-VLAN (500) and two S-VLANs (60 and 70) respectively. In the LLDP protocol, different network segments use different multicast addresses in the database. The data can indicate the level of the network interval. For example, the IP domain of C-VLAN (500) is 16.16.x.0/16, and the IP domain of two S-VLANs (60, 70) is 16.16. X.0/24.
接著下一步驟S103,係將網路區間使用的IP網域設定到該網路區間邊緣內的兩個NE上,亦即將各該網路區間所被配置的IP網域的兩端值分別設定至各該網路區間內的二NE中,以作為各該網路區間內用來定義出網路區間的兩個邊緣NE。以FIG.4中所舉例的網路來說,該網路包含一個C-VLAN(500)及位於該C-VLAN(500)中的兩個S-VLAN(60、70)。在這樣的網路架構下,C-VLAN(500)之網路區間的邊緣NEs分別為邊緣NE13及邊緣NE18,而S-VLAN(60)之網路區間的邊緣NEs分別為邊緣NE14、邊緣NE15且S-VLAN(70)之網路區間的邊緣NEs分別為邊緣NE16、邊緣NE17。 Next, in the next step S103, the IP domain used in the network section is set to two NEs in the edge of the network section, that is, the two ends of the IP domain configured in each network section are respectively set. To the two NEs in each of the network sections, as the two edges NE used to define the network interval in each of the network sections. In the network illustrated in FIG. 4, the network includes a C-VLAN (500) and two S-VLANs (60, 70) located in the C-VLAN (500). In such a network architecture, the edge NEs of the network section of the C-VLAN (500) are the edge NE13 and the edge NE18, respectively, and the edge NEs of the network section of the S-VLAN (60) are the edge NE14 and the edge NE15, respectively. And the edge NEs of the network section of the S-VLAN (70) are the edge NE16 and the edge NE17, respectively.
在步驟S103完成後,即完成邊緣NEs的設定,接著進行步驟S104,把完成設定的這些邊緣NEs開始在網路上運行,並將這些邊緣NEs中的LLDP封包廣播狀態由預設的無效(inactive)修改成有效(active)。被改成無效狀態的邊緣NEs即會開始發送LLDP封包,而這些封包將承載以下資訊:(1)網路區間所使用的IP網域,即該邊緣網路元件的IP網域資訊(2)連結到EMS伺服器的資訊,即該EMS伺服器的IP網域資訊(3)發送該LLDP封包的時間戳記(timestamp)。開始發送LLDP封包後即完成該預先配置步驟。 After the step S103 is completed, the setting of the edge NEs is completed, and then step S104 is performed to start the edge NEs that are set to start running on the network, and the LLDP packet broadcast status in the edge NEs is preset by inactive. Change to active. The edge NEs that are changed to the invalid state will start to send LLDP packets, and these packets will carry the following information: (1) The IP domain used in the network interval, that is, the IP domain information of the edge network component (2) The information linked to the EMS server, that is, the IP domain information of the EMS server (3) sends the timestamp of the LLDP packet. This pre-configuration step is completed after the LLDP packet is sent.
第4圖係顯示在這些區間中所傳送的LLDP封包內容。舉例來說,圖中C-VLAN(500)區間內之邊緣NE13發送到邊緣NE18的LLDP封包中,使用的群播位址為LLDP所定義的“Nearest non-TPMR bridge”層級的“01-80-C2-00-00-03”。“01-80-C2-00-00-03”係為邊緣NE13的實體位址(MAC address)。該層級的群播位址在LLDP定義下可穿透S-VLAN進行傳送。本發明 係使這個群播LLDP的封包,夾帶著該C-VLAN所使用的IP網域的資訊,如位址資訊IPC-VLAN所示,使用的為16.16.0.0/16,透過群播,將該IP網域資訊告知整個C-VLAN網路區間內之各個NE,如C-VLAN及S-VLAN網路區間的邊緣NE(14~17),該等邊緣NE亦可稱為邊緣切換器。 Figure 4 shows the contents of the LLDP packets transmitted in these intervals. For example, the edge NE13 in the C-VLAN (500) interval is sent to the LLDP packet of the edge NE18, and the multicast address used is "01-80" of the "Nearest non-TPMR bridge" level defined by LLDP. -C2-00-00-03". "01-80-C2-00-00-03" is the MAC address of the edge NE13. The hierarchical multicast address can be transmitted through the S-VLAN under the definition of LLDP. this invention The packet of the multicast LLDP is encapsulated with the information of the IP domain used by the C-VLAN, as indicated by the address information IPC-VLAN, which is 16.16.0.0/16, and the IP is transmitted through the multicast. The domain information informs each NE in the entire C-VLAN network interval, such as the edge NE (14~17) of the C-VLAN and the S-VLAN network interval, and these edge NEs may also be referred to as edge switchers.
FIG.4中之IPS6-VLAN係顯示在S-VLAN(60)網路區間中所傳送的IP網域資訊,係為16.16.64.0/24,而IPS7-VLAN係顯示在S-VLAN(70)網路區間中所傳送的IP網域資訊,係為16.16.63.0/24。這些資訊在完成該預先配置步驟後,是由S-VLAN網路區間之邊緣設備(NE)所發送,使用的群播位址為LLDP所定義的“Nearest bridge”層級的“01-80-C2-00-00-0E”,且夾帶在LLDP群播封包之中,透過群播,將該IP網域資訊告知整個S-VLAN網路區間內之每個NE,如NE19。其中該“01-80-C2-00-00-0E”舉例來說係為邊緣NE16或邊緣NE17的實體位址(MAC address)。 The IPS6-VLAN in FIG. 4 shows the IP domain information transmitted in the S-VLAN (60) network interval, which is 16.16.64.0/24, and the IPS7-VLAN is displayed in the S-VLAN (70). The IP domain information transmitted in the network interval is 16.16.63.0/24. After completing the pre-configuration step, the information is sent by the edge device (NE) of the S-VLAN network interval. The multicast address used is "01-80-C2" of the "Nearest bridge" level defined by LLDP. -00-00-0E", and is entrained in the LLDP multicast packet. Through the multicast, the IP domain information is notified to each NE in the entire S-VLAN network interval, such as NE19. The "01-80-C2-00-00-0E" is, for example, a physical address (MAC address) of the edge NE16 or the edge NE17.
接著請參閱第5圖,係本發明一實施例中之EMS伺服器連接與註冊的方法流程圖。如步驟S300所示,新加入網路的NE,會等待接收LLDP的封包,以取得封包內夾帶關於網路的訊息。由於LLDP封包是Layer2的封包,所以新加入的NE不需要預先設定IP位址。 Next, please refer to FIG. 5, which is a flowchart of a method for connecting and registering an EMS server according to an embodiment of the present invention. As shown in step S300, the NE newly added to the network waits for the LLDP packet to be received to obtain a message about the network carried in the packet. Since the LLDP packet is a packet of Layer 2, the newly added NE does not need to be preset with an IP address.
接著步驟S301,係顯示NE收到群播的LLDP封包,會先比較LLDP封包內的時間戳記與NE裡資訊記錄的時間戳記的新舊,只有收到時間戳記為新的LLDP封包,才會使用封包內夾帶的網路資訊來取代既有之NE內的設定(亦即進入下一步驟S302)。如果收到的LLDP封包內的時間戳記較舊,則回到步驟S300繼續收取下一個LLDP封包。 Next, in step S301, it is displayed that the NE receives the LLDP packet of the multicast broadcast, and compares the time stamp in the LLDP packet with the old time stamp of the information record in the NE, and only uses the time stamp as the new LLDP packet. The network information entrained in the packet replaces the setting in the existing NE (ie, proceeds to the next step S302). If the time stamp in the received LLDP packet is older, then returning to step S300 to continue to collect the next LLDP packet.
接著步驟S302,該NE從LLDP封包中取得夾帶的網路資訊,包括EMS伺服器的連結資訊及該LLDP封包所代表之網路區間所使用的IP網域,將這些資訊存入NE裡的記錄中,並更新這份記錄的時間戳記成為該NE將來群播LLDP封包時所夾帶的時間戳記。因此,於此步驟中,該NE取得該EMS伺服器的IP網域資訊,該LLDP封包內之IP網域資訊包含隨機IP位址區間及指定IP位址 區間的資訊。以圖4為例,在S-VLAN(70)的網路區間中,網際網路協定位址例如為16.16.63.0至16.16.63.255,於此步驟S302中係將網路位址中之16.16.63.0至16.16.63.20設定為隨機IP位址區間;以及將網路位址中之16.16.63.21至16.16.63.255設定為指定(assigned)IP位址區間。 Next, in step S302, the NE obtains the entrapped network information from the LLDP packet, including the link information of the EMS server and the IP domain used by the network segment represented by the LLDP packet, and stores the information in the NE record. And update the timestamp of this record to become the timestamp of the NE when it broadcasts the LLDP packet in the future. Therefore, in this step, the NE obtains the IP domain information of the EMS server, and the IP domain information in the LLDP packet includes a random IP address interval and a specified IP address. Interval information. Taking FIG. 4 as an example, in the network interval of the S-VLAN (70), the Internet Protocol address is, for example, 16.16.63.0 to 16.16.63.255, and in step S302, the network address is 16.16. 63.0 to 16.16.63.20 is set to the random IP address range; and 16.16.63.21 to 16.16.63.255 in the network address is set to the designated (addressed) IP address range.
接著步驟S303,係設定NE的IP位址。該NE係自該隨機IP位址區間中選取一個網路IP位址以暫時地作為該NE的本地位址,以及使該NE透過所選取的該網路IP位址連接至該電信網路中的該EMS伺服器。 Next, in step S303, the IP address of the NE is set. The NE selects a network IP address from the random IP address interval to temporarily serve as the local address of the NE, and causes the NE to connect to the telecommunication network through the selected network IP address. The EMS server.
接著步驟S304,具有該本地位址的該NE根據夾帶在LLDP封包中的連接資訊(包含EMS伺服器的IP網域資訊)登錄至該EMS伺服器,以在該NE與該EMS伺服器之間建立網路連線路徑。 Next, in step S304, the NE having the local address is logged into the EMS server according to the connection information (including the IP domain information of the EMS server) entrained in the LLDP packet, to be between the NE and the EMS server. Establish a network connection path.
接著步驟S305,成功連接到EMS伺服器後,NE會對EMS伺服器發出註冊訊息,告知EMS伺服器該NE已經準備接受伺服器的管理。接收到註冊訊息的EMS伺服器,會根據目前所位處之網路區間,於該網路區間之IP網域中之指定IP位址區間裡,挑選未使用的IP位址,作為該NE可使用的IP位址,並發送訊息告知該NE。 Next, in step S305, after successfully connecting to the EMS server, the NE sends a registration message to the EMS server, informing the EMS server that the NE is ready to accept the management of the server. The EMS server that receives the registration message selects an unused IP address in the specified IP address range of the IP network domain of the network interval according to the current network interval, as the NE can Use the IP address and send a message to inform the NE.
接著步驟S306,係該EMS伺服器透過該網路連線路徑發送一更新封包,該NE根據該更新封包重新設定該NE的IP位址。例如以前述例子說明,自指定位址區間(16.16.63.21至16.16.63.255)中任意選取一個位址。 Next, in step S306, the EMS server sends an update packet through the network connection path, and the NE resets the IP address of the NE according to the update packet. For example, as described in the foregoing example, an address is arbitrarily selected from a specified address interval (16.16.63.21 to 16.16.63.255).
接著步驟S307,在該NE登錄至該EMS伺服器之後,將該網路元件的LLDP封包廣播狀態更新為有效以進行該網路元件所屬之LLDP封包的群播,其中該網路元件所屬之LLDP封包係包含該EMS伺服器的IP網域資訊、該網路元件的IP網域資訊、以及該網路元件被更新時的時間戳記(timestamp)。進而開始向鄰近的其他NEs發送。完成步驟S307後,流程將返回步驟S300。 Next, in step S307, after the NE logs in to the EMS server, the LLDP packet broadcast status of the network element is updated to be effective for performing the multicast of the LLDP packet to which the network element belongs, where the LLDP of the network element belongs. The packet contains the IP domain information of the EMS server, the IP domain information of the network element, and the timestamp when the network element is updated. In turn, it starts to send to other NEs in the vicinity. After completing step S307, the flow returns to step S300.
另外,若該NE並未成功地註冊至該EMS伺服器時,則執行步驟S308,該步驟S308係指出該網路元件(NE)無法註冊至該EMS伺服器,並將該NE的LLDP封包廣播狀態更新為無效,以停止發送LLDP封包。 In addition, if the NE is not successfully registered to the EMS server, step S308 is performed, which indicates that the network element (NE) cannot register to the EMS server, and broadcasts the LLDP packet of the NE. The status is updated to be invalid to stop sending LLDP packets.
接著步驟S309,該NE將等待一預設時間後,判斷在這個預設時間內是否有收到任何來自其他NE的LLDP封包,如果有收到新的LLDP封包,則回到步驟S301,進行比對封包中的timestamp。如果在該預設時間內中沒收到LLDP封包,則回到步驟S303,重新在該隨機IP位址區間中挑選另一IP位址進行與該EMS伺服器的連接。 Next, in step S309, the NE waits for a preset time to determine whether any LLDP packets from other NEs are received within the preset time. If a new LLDP packet is received, the process returns to step S301 to perform a comparison. For the timestamp in the packet. If the LLDP packet is not received within the preset time, the process returns to step S303, and another IP address is selected in the random IP address interval to perform connection with the EMS server.
綜上所述,本發明之電信網路佈建方法係預先進行複數網路區間及各該網路區間之IP網域的配置,,進一步地說,該等配置係被設定至各網路區間的邊緣NE中,這些NEs設定完成後即被佈置到通信網路(telecommunication network)上。完成事先的配置後,將可在不需要DHCP伺服器的情況下佈建電信網路,也無須使用傳統之逐一設定的方法去佈建電信網路。本發明揭露之電信網路佈建方法使該等網路元件(NEs)可透過對LLDP封包的接收與解析而自行連線至EMS伺服器,並且經由該EMS伺服器對該網路元件進行指定IP位址的設定而建立兩者之間的連線路徑。 In summary, the telecommunication network deployment method of the present invention pre-configures the complex network interval and the IP domain of each of the network segments, and further, the configurations are set to each network interval. In the edge NE, these NEs are arranged to be placed on the telecommunication network after the setting is completed. Once the pre-configuration is complete, the telecommunications network can be deployed without the need for a DHCP server, and there is no need to use traditional one-by-one methods to build a telecommunications network. The telecommunications network deployment method disclosed in the present invention enables the network elements (NEs) to be self-wired to the EMS server through the reception and parsing of the LLDP packet, and the network component is specified via the EMS server. The setting of the IP address establishes a connection path between the two.
此外,當該網路元件(NE)係成功地與該EMS伺服器建立連線之後,該網路元件(NE)使用的IP網域、連結該EMS伺服器的資訊以及資訊更新時的時間戳記,又可透過LLDP封包群播(multicast)給其它的網路元件(NEs),使得其它的網路元件係可藉由解析該LLDP封包而獲得的資訊中亦成功地連線至該EMS伺服器。 In addition, when the network element (NE) successfully establishes a connection with the EMS server, the IP domain used by the network element (NE), the information linking the EMS server, and the time stamp when the information is updated. In addition, the LLDP packet can be multicast to other network elements (NEs), so that other network components can be successfully connected to the EMS server by the information obtained by parsing the LLDP packet. .
本發明在上文中已以較佳實施例揭露,然熟習本項技術者應理解的是,該實施例僅用於描繪本發明,而不應解讀為限制本發明之範圍。應注意的是,舉凡與該實施例等效之變化與置換,均應設為涵蓋於本發明之範疇內。因此,本發明之保護範圍當以申請專利範圍所界定者為準。 The invention has been described above in terms of the preferred embodiments, and it should be understood by those skilled in the art that the present invention is not intended to limit the scope of the invention. It should be noted that variations and permutations equivalent to those of the embodiments are intended to be included within the scope of the present invention. Therefore, the scope of protection of the present invention is defined by the scope of the patent application.
S100~S300‧‧‧方法步驟 S100~S300‧‧‧ method steps
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW104133618A TWI602416B (en) | 2015-10-14 | 2015-10-14 | IP allocation method for automatic construction of telecommunication network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW104133618A TWI602416B (en) | 2015-10-14 | 2015-10-14 | IP allocation method for automatic construction of telecommunication network |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201714445A TW201714445A (en) | 2017-04-16 |
TWI602416B true TWI602416B (en) | 2017-10-11 |
Family
ID=59256624
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW104133618A TWI602416B (en) | 2015-10-14 | 2015-10-14 | IP allocation method for automatic construction of telecommunication network |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI602416B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201320659A (en) * | 2011-11-11 | 2013-05-16 | Fiber Logic Communications Inc | Telecommunication network deployment method |
CN102857377B (en) * | 2012-09-12 | 2015-08-05 | 南车株洲电力机车研究所有限公司 | The online topological automatic generation method of a kind of train network |
-
2015
- 2015-10-14 TW TW104133618A patent/TWI602416B/en active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201320659A (en) * | 2011-11-11 | 2013-05-16 | Fiber Logic Communications Inc | Telecommunication network deployment method |
CN102857377B (en) * | 2012-09-12 | 2015-08-05 | 南车株洲电力机车研究所有限公司 | The online topological automatic generation method of a kind of train network |
Also Published As
Publication number | Publication date |
---|---|
TW201714445A (en) | 2017-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10103982B2 (en) | System and method for automatic routing of dynamic host configuration protocol (DHCP) traffic | |
CN102461073B (en) | Method and apparatus for accommodating duplicate MAC addresses | |
US9137198B2 (en) | Centralized configuration with dynamic distributed address management | |
CN102025798B (en) | Address allocation processing method, device and system | |
US9705845B2 (en) | Network access device and method for automatically establishing connection to a wide area network | |
US9455866B2 (en) | Auto-configuration of network devices | |
CN107438016A (en) | Network management, equipment, system and storage medium | |
CN102257772A (en) | Method, device and system for service configuration | |
CN107769939B (en) | Network element management method, network management, gateway network element and system in data communication network | |
CN102394950A (en) | Method and system for IP address distribution of network security terminal under home gateway | |
CN109561033A (en) | The method and device of multicast replication in Overlay network | |
CN112769965B (en) | IP address management and distribution method, device and system | |
CN104158920A (en) | A DHCP management system of a CMC apparatus | |
US20220311733A1 (en) | Communication device and communication system | |
CN105610996A (en) | DHCP (Dynamic Host Configuration Protocol) conflict detecting method and device applied to switch | |
US9979693B2 (en) | IP allocation method for use in telecommunication network automatic construction | |
CN104243190A (en) | Method and network device for achieving Bonjour services | |
CN105979202B (en) | Data transmission method and device | |
CN106878480A (en) | A kind of DHCP service process sharing method and device | |
CN104618942A (en) | Base station and PTN (Packet Transport Network) networking based automatic startup method thereof and RNC (Radio Network Controller) | |
US20120269092A1 (en) | Auto-configuration of network devices | |
CN102594839A (en) | Method for distinguishing pseudo dynamic host configuration protocol (DHCP) servers and switchboards | |
CN103401954A (en) | Implementation method of virtual DHCP (dynamic host configuration protocol) | |
CN104486193B (en) | A kind of method and device for establishing network node interconnection | |
CN104104749A (en) | Method and device for allocating tunnel IP addresses |