WO2016019645A1 - Method and system for turning on a data communication network, and storage medium - Google Patents

Method and system for turning on a data communication network, and storage medium Download PDF

Info

Publication number
WO2016019645A1
WO2016019645A1 PCT/CN2014/090462 CN2014090462W WO2016019645A1 WO 2016019645 A1 WO2016019645 A1 WO 2016019645A1 CN 2014090462 W CN2014090462 W CN 2014090462W WO 2016019645 A1 WO2016019645 A1 WO 2016019645A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
address
management
access network
dcn
Prior art date
Application number
PCT/CN2014/090462
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 WO2016019645A1 publication Critical patent/WO2016019645A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks

Definitions

  • the present invention relates to a related art for a data communication network (DCN) in a Packet Transport Network (DTN), and more particularly to a DCN provisioning method and system, and a storage medium.
  • DCN data communication network
  • DTN Packet Transport Network
  • the DCN For a newly opened PTN device network, after all the physical layers of the device are successfully connected, the DCN must be enabled first, so that the maintenance personnel can use the EMS (Element Management System) of the telecom operator to each NE (NE). , Net Element) telecom services for remote centralized deployment and monitoring.
  • EMS Element Management System
  • NE NE
  • Net Element telecom services for remote centralized deployment and monitoring.
  • IGP internal gateway-way protocol
  • OSPF Open Shortest Path First
  • IP Internet Protocol
  • the DCN management address usually needs to be manually specified or dependent on the special The device is assigned.
  • the latest device manufacturer's DCN solution has added the function of automatically generating IP addresses.
  • the generation rules of IPs of various vendors lack unified planning.
  • the IP addresses of different device vendors may conflict, and a device that mixes different device vendors cannot be satisfied.
  • the need for the automatic opening of the DCN network affects the flexible planning of the operator network.
  • the network management system is usually deployed on high-performance computers or other visual control systems, and does not participate in IGP routing learning of the device network.
  • the method directly senses the device information in the network, and needs to manually create a logical network element in the network management system.
  • the embodiment of the present invention is expected to provide a DCN opening method and system, which can automatically open a data communication network, and has high efficiency and high reliability.
  • An embodiment of the present invention provides a method for opening a data communication network DCN, where the method includes:
  • the access network element and the non-access network element respectively generate an IP address management network protocol IP address according to the preset management address generation rule, configure the network element management IP address to the management loopback interface, and create an open type of the DCN.
  • Ethernet sub-interface After determining the status of the Ethernet interface to meet the preset conditions, create an Ethernet sub-interface, generate an IP address routing table of the DCN, and configure the NE information to the OSPF routing protocol.
  • the network element management system EMS parses the network element information sent by the access network element, creates a logical network element corresponding to the non-access network element, and establishes a connection with the non-access network element.
  • the method further includes: creating the access network element and the non-access network element. DCN network management instance and management loopback interface.
  • the management address generation rule includes: determining whether the network element supports the network element identification NEID mapping into the network element management IP address, and if so, mapping the NEID to the network element management IP address; if not, the network element is not supported.
  • the media access control MAC address is mapped to the network element management IP address.
  • the creating an Ethernet sub-interface and generating a DCN IP address routing table includes: creating a point-to-point type Ethernet sub-interface, binding the Ethernet sub-interface to a virtual local area network VLAN, and configuring the OSPF routing protocol, And generating an IP address routing table of the DCN according to the OSPF routing protocol, where the IP address of the Ethernet sub-interface is a method of renting a DCN management address.
  • the method further includes: configuring a route between the access network element and the EMS, re-provisioning the route to the OSPF routing protocol, and designating the EMS side. The route to each network element.
  • the method further includes: creating a logical network element corresponding to the access network element, and establishing a connection between the EMS and the access network element, where The access network element sends each network element information to the EMS.
  • the embodiment of the present invention further provides a DCN-enabled system, where the system includes: an access network element, a non-access network element, and an EMS;
  • the access network element and the non-access network element are respectively configured to generate an network element management IP address according to the preset management address generation rule, configure the network element management IP address to the management loopback interface, and create a DCN.
  • OSPF routing instance
  • Ethernet interface status meets the preset condition, creating an Ethernet sub-interface, generating a DCN IP address routing table, and configuring the network element information to the OSPF routing protocol;
  • the EMS is configured to parse each network element information sent by the access network element, create a logical network element corresponding to the non-access network element, and establish a connection with the non-access network element.
  • the access network element and the non-access network element are respectively configured to create a DCN network management instance and a management loopback interface.
  • the management address generation rule includes: determining whether the network element supports the NEID mapping into the network element management IP address, and if yes, mapping the NEID to the network element management IP address; if not, mapping the network element MAC address to The NE manages the IP address.
  • the access network element and the non-access network element respectively create an Ethernet sub-interface
  • the IP address routing table for generating the DCN includes: the access network element and the non-access network element respectively create a peer-to-peer type Ethernet
  • the network sub-interface binds the Ethernet sub-interface to the VLAN and configures the OSPF routing protocol to generate an IP address routing table of the DCN according to the OSPF routing protocol.
  • the IP address of the Ethernet sub-interface is leased by the DCN. The way the address is managed.
  • the access network element is further configured to configure a route between the access network element and the EMS, and re-advertise the route to the OSPF routing protocol;
  • system further comprises a gateway
  • the EMS is further configured to specify a route of the EMS to the gateway;
  • the gateway is configured to specify a route from the gateway to each network element.
  • the EMS is further configured to create a logical network element corresponding to the access network element, and establish a connection between the EMS and the access network element;
  • the access network element is further configured to send each network element information to the EMS.
  • a storage medium having stored therein a computer program configured to perform the aforementioned data communication network DCN activation method.
  • the access network element and the non-access network element respectively generate an IP address management IP address according to a preset management address generation rule, and configure the network element management IP address to be managed.
  • the loopback interface create an OSPF route instance of the DCN. If the Ethernet interface status meets the preset conditions, create an Ethernet sub-interface, generate a DCN IP address routing table, and configure the NE information to the OSPF routing protocol.
  • the network element information sent by the access network element is parsed, the logical network element corresponding to the non-access network element is created, and a connection with the non-access network element is established. In this way, the data communication network can be automatically opened, which saves a lot of manpower and financial costs, improves user satisfaction, and has high efficiency and high reliability.
  • FIG. 1 is a schematic flowchart of a DCN opening method according to an embodiment of the present invention.
  • FIG. 2 is a network topology diagram of a DCN according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a method for opening a DCN according to Embodiment 2 of the present invention.
  • FIG. 4 is a schematic structural diagram of a DCN open system according to an embodiment of the present invention.
  • the access network element and the non-access network element respectively generate an IP address management IP address according to the preset management address generation rule, and configure the network element management IP address to the management loopback interface, and Create an OSPF route instance of the DCN. If the Ethernet interface status meets the preset conditions, create an Ethernet sub-interface, generate an IP address routing table of the DCN, and configure the NE information to the OSPF routing protocol.
  • the EMS resolves the access NE.
  • Each of the network element information creates a logical network element corresponding to the non-access network element, and establishes a connection with the non-access network element;
  • the network element information includes network element information of the access network element and the non-access network element.
  • FIG. 1 is a schematic flowchart of a DCN activation method according to an embodiment of the present invention. As shown in FIG. 1 , the DCN activation method in this embodiment includes:
  • Step 101 The access network element and the non-access network element respectively generate an IP address management IP address according to the preset management address generation rule, configure the network element management IP address to the management loopback interface, and create DCN OSPF. Routing instance
  • the method further includes: the access network element and the non-access network element respectively create a DCN network management instance and a management loopback interface;
  • the DCN network management instance refers to a dedicated DCN virtual route forwarding (VRF) instance created for the DCN network, which can isolate the management route and service route of the PTN network to avoid mutual interference.
  • VRF virtual route forwarding
  • the management address generation rule includes: determining whether the network element supports NE ID (Net Elemet Identification) mapping into a network element management IP address, and if supported, mapping the NEID to an network element management IP address. If not supported, the network element access control (MAC) address is mapped to the network element management IP address;
  • NE ID Network Elemet Identification
  • MAC network element access control
  • the access network element and the non-access network element respectively generate the network element management IP address according to the preset management address generation rule: the access network element and the non-access network element respectively determine whether the NEID is supported by the NEID generation network element management.
  • IP address if supported, directly maps its own NEID to a network element.
  • Management IP address if not supported, map its own MAC address to the NE management IP address;
  • the NEID is a unique digitized identifier of the network element, and the length is 4 bytes, which is written by each vendor when the device generates the shipment.
  • the NEID definition rule in the embodiment of the present invention is as follows:
  • the device NEID is defined as 4 bytes, 32 bit serial number, NEID is currently defined to use 24 bits, where BIT [20 ⁇ 27] is reserved, the first 4 bytes of the first byte are used to identify the device type, and the remaining bytes are 20 The bits are used to identify the device hardware serial number.
  • NEID supports non-volatile storage. For devices with storage space on the backplane, NEID can be saved in the non-volatile memory of the backplane. For devices with no storage space on the backplane, it is stored in the non-volatile storage of the main control board of the device. In space
  • the network element management IP address is planned into three segments in bytes from high to low:
  • the first segment the device manufacturer number, occupies the first byte of the IPv4 address, and the operator specifies a fixed number for different telecommunication device vendors according to network requirements;
  • the second segment the device model, which occupies the upper 4 bits of the second byte of the IPv4 address, and is allocated by the device manufacturer for the PTN devices of different models;
  • the third sector the IP address sequence number, which occupies the lower four bits, the third byte, and the fourth byte of the second byte of the IPv4 address.
  • the network can support 0xfffff, which is 1048575, which can fully meet the network needs of telecom operators.
  • the network element management IP address is generated according to the NEID:
  • the first segment of the network element management IP address a fixed value defined by the telecommunication operator for each device manufacturer;
  • the second section of the network management IP address the serial number of the device in the NEID;
  • the third section of the network management IP address the 20Bit effective device sequence number of the NEID;
  • the generation rule of the network element management IP address according to the network element MAC address is:
  • the first section of the network element management IP address a fixed value defined by the telecommunications carrier for each equipment manufacturer;
  • the second section of the network management IP address This section is fixed to 0 to distinguish the NEID generation.
  • an OSPF routing instance of the DCN is created, and the management loopback interface can be configured to an OSPF routing protocol to enable route negotiation between the network elements.
  • the management loopback interface uses a 32-bit mask.
  • Step 102 After determining that the status of the Ethernet interface meets the preset condition, create an Ethernet sub-interface, generate an IP address routing table of the DCN, and configure the network element information to the OSPF routing protocol.
  • the preset condition means that the Ethernet interface status is UP
  • the method includes: the access network element and the non-access network element periodically detect the state of the Ethernet interface, and when the status of the Ethernet interface is UP, create a point-to-point type Ethernet sub-interface, and bind the Ethernet sub-interface.
  • the interface is connected to a virtual local area network (VLAN) and configured to an OSPF routing protocol, and generates an IP address routing table of the DCN according to the OSPF routing protocol, so that routing between the network elements is available; wherein the Ethernet sub-interface
  • VLAN virtual local area network
  • the IP address of the interface adopts the method of renting the DCN management address.
  • the access network element can obtain the network element information of each network element in the DCN domain in its own OSPF database.
  • the network element information includes: an NEID, a network element MAC address, an element management IPv4 address, a network element device vendor identifier, and a network element type.
  • the OSPF routing protocol uses the special type10 type of Opaque LSA to carry the NE information for flooding.
  • the LSA ID is defined as 200.255.238.0, where 200 is the opaque type and 255.238.0 (ffee00) is the instance information.
  • the Opaque LSA carries the following NE information in the TLV format:
  • NE device vendor ID Type: 0x8000; Length: ID name string length;
  • NE model Type: 0x8001; Length: Model name string length;
  • NE MAC Type: 0x8002; Length: 6 bytes;
  • NEID Type: 0x8003; Length: 4 bytes;
  • NEIP IPv4 Type: 0x8004; Length: 4 bytes.
  • the method further includes: configuring a route between the access network element and the EMS, re-provisioning the route to the OSPF routing protocol, and designating the EMS side. Routing to each network element; thus, clearing the route between the EMS and the entire PTN network element;
  • the EMS side includes an EMS and a gateway
  • the routing of the specified EMS side to each network element includes: specifying a route from the EMS to the gateway, and routing of the gateway to each network element.
  • Step 103 The EMS parses the network element information sent by the access network element, creates a logical network element corresponding to the non-access network element, and establishes a connection with the non-access network element.
  • the method further includes: creating a logical network element corresponding to the access network element, and establishing a connection between the EMS and the access network element, where the access network element sends each network element information to the EMS;
  • the establishing the connection between the EMS and the access network element is specifically: establishing a TCP/IP connection between the EMS and the access network element;
  • the sending, by the access network element, the information of each network element to the EMS includes: the access network element actively sends the whole Each network element information of the DCN network is sent to the EMS; or the access network element receives the network element information request sent by the EMS, and sends the network element information of the entire DCN network to the EMS.
  • the step further includes: the EMS parses the information of each network element sent by the access network element, and obtains the network element management IP address, the network element type, the network element MAC address, or the NEID of each network element, and creates and disconnects
  • the logical network element corresponding to the incoming network element establishes a connection with the non-access network element according to the standard TCP/IP protocol, that is, establishes a TCP/IP connection with the non-access network element; thus, the EMS can implement the Management of all network elements.
  • the network includes an EMS, a gateway, and five network elements NEA to E.
  • the NE A is an access network element, and the NE B to E are non-
  • the access network element may be one or more access network elements, and the non-access network element may be one or more.
  • FIG. 3 is a schematic flowchart of a method for opening a DCN according to Embodiment 2 of the present invention.
  • a method for opening a DCN according to an embodiment of the present invention includes:
  • Step 301 The access network element and the non-access network element respectively create a DCN network management instance and a management loopback interface.
  • the DCN network management instance refers to a dedicated DCN VRF instance created for the DCN network, which can isolate the management route and service route of the PTN network to avoid mutual interference;
  • the DCN VRF instance is automatically created, the management loopback interface loopback 1023 is created, and the management loopback interface is bound to the DCN VPN.
  • Step 302 Generate an IP address management IP address according to the preset management address generation rule, configure the network element management IP address to the management loopback interface, and create an OSPF routing instance of the DCN.
  • the management address generation rule includes: determining whether the network element supports the mapping of the NEID to the network element management IP address, and if so, mapping the NEID to the network element management IP address; if not, mapping the network element MAC address to the network element Management IP address;
  • the access network element and the non-access network element respectively generate the network element management IP address according to the preset management address generation rule: the access network element and the non-access network element respectively determine whether the NEID is supported by the NEID generation network element management. IP address, if supported, directly maps the NEID to the NE management IP address; if not, maps its own MAC address to the NE management IP address;
  • NE A to C support NEID mapping to the network element management IP address
  • NE D and NEE do not support NEID mapping into the network element management IP address
  • the operator allocates the network element management IP first byte value to be 131 (decimal
  • the four bits of the identifier assigned by the manufacturer for NE A are 0001 (binary), and the identifier assigned to NE B to E is 0002 (binary), and each network element is continuously allocated 8 MAC addresses.
  • each network element The generated NE management IP addresses are as follows:
  • NE A Generate 131.17.1.1 according to NEID;
  • NE B generates 131.33.1.5 according to NEID
  • NE C generates 131.33.1.4 according to NEID
  • NE D generates 131.0.36.32 according to the MAC address of the network element
  • NE E generates 131.0.38.32 according to the MAC address of the network element
  • an OSPF routing instance of the DCN is created, and the management loopback interface can be configured to an OSPF routing protocol to enable route negotiation between the network elements.
  • the management loopback interface uses a 32-bit mask.
  • Step 303 Detecting the status of the Ethernet interface, determining whether the status of the Ethernet interface meets the preset condition, when the preset condition is met, step 304 is performed; when the preset condition is not met, step 303 is performed;
  • the detecting the status of the Ethernet interface is to periodically detect the status of the Ethernet interface
  • the preset condition is that the Ethernet interface status is UP, and the non-compliant preset condition means that the Ethernet interface status is DOWN.
  • Step 304 Create an Ethernet sub-interface, and generate an IP address routing table of the DCN.
  • the step specifically includes: the access network element and the non-access network element respectively create a peer-to-peer type Ethernet a network sub-interface, which binds the Ethernet sub-interface to a VLAN and is configured to an OSPF routing protocol, and generates an IP address routing table of the DCN according to the OSPF routing protocol, so that routing between the network elements is available; wherein the Ethernet The IP address of the sub-interface is in the manner of renting the DCN management address.
  • the 4094 point-to-point type Ethernet sub-interface is automatically created and bound to VLAN 4094.
  • the specific creation is as follows:
  • Ethernet sub-interface gei_1/1.4094, gei_1/3.4094 is created by default on NE A;
  • Ethernet sub-interface gei_1/3.4094, gei_1/2.4094 is created by default on NE B.
  • Ethernet sub-interface gei_1/2.4094 is created by default on NE C.
  • Ethernet sub-interface gei_1/1.4094, gei_1/2.4094 is created by default on NE D;
  • Ethernet sub-interface gei_1/2.4094 is created by default on NE E.
  • the Ethernet sub-interface created above is bound to the DCNVPN and configured to the OSPF routing protocol.
  • the access NE and the non-access NE perform routing learning according to the OSPF routing protocol to generate an IP address routing table of the DCN.
  • the routes between the network elements can pass.
  • Step 305 Configure the network element information to the OSPF routing protocol to perform flooding of the entire network of the DCN.
  • the access network element and the non-access network element respectively configure the network element information to the OSPF routing protocol, so that when the OSPF routing protocol works normally, the extended LSA including the network element information is flooded in the DCN domain.
  • the access network element can obtain the network element information of each network element in the DCN domain in its own OSPF database.
  • the network element information includes: an NEID, a network element MAC address, an element management IPv4 address, a network element device vendor identifier, and a network element type.
  • the NE information configured by each network element to the OSPF routing protocol is as follows:
  • the NEID of 0.0.0.0 indicates that the device of this type does not support NEID, and the value is invalid.
  • step 305 and step 303-step 304 are interchangeable.
  • Step 306 Configure a route between the access NE and the EMS, and re-advertise the route to the OSPF routing protocol, and specify the route from the EMS side to each network element.
  • the route between the access network element and the EMS is configured, and the route is re-advertised to the OSPF routing protocol through OSPF route redistribution, and the route from the EMS side to each network element is specified; thus, the EMS and the entire PTN network network are opened. Routing between the elements; wherein the EMS side includes an EMS and a gateway;
  • the EMS is in the network segment 10.0.0.0.0/255.255.0.0 and is not directly connected to the DCN network. You need to add a static route.
  • the destination network segment is 10.8.0.0 and the hop is 255.255.0.0.
  • the next hop is 194.194. Static route of 194.1, and republish the static route to the OSPF routing protocol;
  • the first byte of the management IP address of the NE generated by the NE is specified.
  • the route configuration on the EMS is simplified. Specify the following:
  • EMS destination network segment 131.0.0.0, mask 255.0.0.0, next hop for gateway device 10.8.63.144;
  • Gateway device destination network segment 131.0.0.0, mask 255.0.0.0, next hop is the access port of the access network element 194.194.194.123.
  • Step 307 Create a logical network element corresponding to the access network element, and establish a connection between the EMS and the access network element.
  • the establishing the connection between the EMS and the access network element is specifically: establishing a TCP/IP connection between the EMS and the access network element.
  • Step 308 The access network element sends each network element information to the EMS.
  • the step specifically includes: the access network element actively sends information about each network element of the entire DCN network.
  • the access network element receives the NE information request sent by the EMS, and sends the NE information of the entire DCN network to the EMS.
  • Step 309 The EMS parses the network element information sent by the access network element, creates a logical network element corresponding to the non-access network element, and establishes a connection with the non-access network element.
  • the specific steps include: the EMS parses the information of each network element sent by the access network element, and obtains the network element management IP address, the network element type, the network element MAC address, or the NEID of each network element, and creates a logic corresponding to the non-access network element.
  • the network element establishes a connection with the non-access network element according to the standard TCP/IP protocol, that is, establishes a TCP/IP connection with the non-access network element; thus, the EMS can implement management of all network elements.
  • Step 310 End the processing flow.
  • the DCN open system component of the embodiment of the present invention includes: an access network element 41, a non-access network element 42 and an EMS 43;
  • the element 41 may be one or more, and the non-access network element 42 may be one or more;
  • the access network element 41 and the non-access network element 42 are respectively configured to generate an network element management IP address according to a preset management address generation rule, and configure the network element management IP address to the management loopback interface, and Create an OSPF route instance of the DCN.
  • Ethernet interface status meets the preset condition, creating an Ethernet sub-interface, generating a DCN IP address routing table, and configuring the network element information to the OSPF routing protocol;
  • the EMS 43 is configured to parse each network element information sent by the access network element 41, create a logical network element corresponding to the non-access network element 42, and establish a connection with the non-access network element 42.
  • the access network element 41 and the non-access network element 42 are respectively configured to create a DCN network management instance and a management loopback interface.
  • the DCN network management instance refers to a dedicated DCN VRF instance created for the DCN network, which can isolate the management route and service route of the PTN network to avoid mutual interference.
  • the management address generation rule includes: determining whether the network element supports the NEID mapping into the network element management IP address, and if yes, mapping the NEID to the network element management IP address; if not, the network element MAC address is not supported. Mapping to an NE management IP address;
  • the access network element 41 and the non-access network element 42 respectively generate the network element management IP address according to the preset management address generation rule, and the access network element 41 and the non-access network element 42 respectively determine whether Supports NEID to generate an IP address management IP address. If supported, directly maps the NEID to the NE management IP address; if not, maps its own MAC address to the NE management IP address;
  • the access network element 41 and the non-access network element respectively create an OSPF routing instance of the DCN, and then configure the management loopback interface to the OSPF routing protocol to enable route negotiation between the network elements.
  • the management loopback interface uses a 32-bit mask.
  • the preset condition is that the Ethernet interface status is UP;
  • the access network element 41 and the non-access network element 42 respectively create an Ethernet sub-interface.
  • the IP address routing table for generating the DCN includes: the access network element 41 and the non-access network element 42 respectively create a peer-to-peer type Ethernet.
  • the network sub-interface binds the Ethernet sub-interface to the VLAN and configures the OSPF routing protocol to generate an IP address routing table of the DCN according to the OSPF routing protocol.
  • the IP address of the Ethernet sub-interface is leased by the DCN. The way the address is managed;
  • the access network element 41 and the non-access network element 42 respectively configure the network element information to the OSPF routing protocol, so that when the OSPF routing protocol works normally, the extended LSA including the network element information is flooded in the DCN domain.
  • the flooding in which the access network element obtains the network element information of each network element in the DCN domain in its own OSPF database;
  • the network element information includes: an NEID, a network element MAC address, an element management IPv4 address, a network element device manufacturer identifier, and a network element type.
  • the access network element 41 is further configured to configure a route between the access network element and the EMS, and re-advertise the route to the OSPF routing protocol;
  • system further includes a gateway 44;
  • the EMS 43 is further configured to specify a route of the EMS 43 to the gateway 44;
  • the gateway 44 is configured to specify a route from the gateway 44 to each network element.
  • the EMS 43 is further configured to create a logical network element corresponding to the access network element 41, and establish a TCP/IP connection between the EMS 43 and the access network element 41.
  • the access network element 41 is further configured to send each network element information to the EMS 43.
  • the EMS 43 parses the network element information sent by the access network element 41, creates a logical network element corresponding to the non-access network element 42, and establishes a connection with the non-access network element 42.
  • the EMS 43 analyzes the network element information sent by the access network element 41, and obtains the network element management IP address, the network element type, the network element MAC address, or the NEID of each network element, and creates a logical network element corresponding to the non-access network element 42.
  • the connection with the non-access network element 42 is established according to the standard TCP/IP protocol, that is, the TCP/IP connection with the non-access network element 42 is established; thus, the EMS 43 can implement management of all network elements.
  • Both the access network element 41 and the non-access network element 42 in the embodiment of the present invention may be PTN devices.
  • the embodiment of the invention further describes a storage medium in which a computer program is stored, the computer program being configured to execute the data communication network DCN activation method of the foregoing embodiment.
  • the access network element and the non-access network element respectively generate an IP address management IP address according to the preset management address generation rule, configure the network element management IP address to the management loopback interface, and create a DCN.
  • OSPF routing instance when the Ethernet interface status meets the preset conditions, an Ethernet sub-interface is created, the DCN IP address routing table is generated, and the NE information is configured to the OSPF routing protocol; the EMS resolves the network sent by the access NE.
  • Meta information created corresponding to non-access network elements Logical network element and establish a connection with the non-access network element. It can automatically open the data communication network, save a lot of manpower and financial costs, improve user satisfaction, and has high efficiency and reliability.

Landscapes

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

Abstract

Disclosed in the embodiments of the present invention is a method for turning on a data communication network (DCN), said method comprising: on the basis of preset rules for generating a management address, access network elements and non-access network elements respectively generate a network element management IP address, configuring said network element management IP address to manage a loopback interface, and create an OSPF routing instance of the DCN; when it is determined that the Ethernet interface status meets preset conditions, creating an Ethernet sub-interface, generating an IP address routing table of the DCN, and configuring network element information to an OSPF routing protocol; and an EMS parses every network element information sent by the access network elements, creates a logical network element corresponding to the non-access network elements, and creates a connection between non-access network elements. Also disclosed in the embodiments of the present invention are a system for turning on a DCN, and a storage medium.

Description

一种数据通信网络开通方法及系统、存储介质Data communication network opening method and system, and storage medium 技术领域Technical field
本发明涉及分组传送网(PTN,Packet Transport Network)中数据通信网络(DCN,Data Communication Network)开通的相关技术,尤其涉及一种DCN开通方法及系统、存储介质。The present invention relates to a related art for a data communication network (DCN) in a Packet Transport Network (DTN), and more particularly to a DCN provisioning method and system, and a storage medium.
背景技术Background technique
对于一个新开局的PTN设备网络,所有设备物理层连接成功之后,首先需要开通DCN,这样维护人员就可以通过电信运营商的网元管理系统(EMS,Element Management System)对各个网元(NE,Net Element)的电信业务进行远程的集中部署和监控。随着PTN设备网络部署规模的不断增大,开通DCN网络的人力成本也在日益升高。For a newly opened PTN device network, after all the physical layers of the device are successfully connected, the DCN must be enabled first, so that the maintenance personnel can use the EMS (Element Management System) of the telecom operator to each NE (NE). , Net Element) telecom services for remote centralized deployment and monitoring. As the scale of PTN equipment network deployment continues to increase, the labor costs for opening DCN networks are also increasing.
目前,业内通常采用内置内部网关协议(IGP,Internal Gate-way Protocol)路由实例,如:通过开放式最短路径优先(OSPF,Open Shortest Path First)自举的方法来自动建立各个网元间的DCN通道,提高DCN开通的效率,但是,目前的DCN网络还无法做到真正的全自动开通。DCN网中的每个网元必须具有唯一的互联网协议(IP,Internet Protocol)地址,即网元的DCN管理地址,用于与网管服务器通讯,但目前DCN管理地址通常还需要人工指定或依赖特殊的设备进行分配。At present, the industry usually adopts an internal gateway-way protocol (IGP) routing instance, such as: Open Shortest Path First (OSPF) bootstrap method to automatically establish DCN between each network element. Channels, improve the efficiency of DCN opening, but the current DCN network can not achieve true automatic opening. Each network element in the DCN network must have a unique Internet Protocol (IP) address, that is, the DCN management address of the network element, used to communicate with the network management server. However, the DCN management address usually needs to be manually specified or dependent on the special The device is assigned.
最新的设备厂商的DCN解决方案中增加了IP地址自动生成的功能,但是,各厂商IP的生成规则缺乏统一规划,不同设备厂商间的IP地址可能出现冲突,无法满足一个混合了不同设备厂商设备的DCN网络自动开通的需求,影响了运营商网络的灵活规划。此外,网管系统通常部署在高性能计算机或其他可视化控制系统上,并不参与设备网络的IGP路由学习,无 法直接感知网络中的设备信息,需要人工的方式在网管系统中创建逻辑网元。The latest device manufacturer's DCN solution has added the function of automatically generating IP addresses. However, the generation rules of IPs of various vendors lack unified planning. The IP addresses of different device vendors may conflict, and a device that mixes different device vendors cannot be satisfied. The need for the automatic opening of the DCN network affects the flexible planning of the operator network. In addition, the network management system is usually deployed on high-performance computers or other visual control systems, and does not participate in IGP routing learning of the device network. The method directly senses the device information in the network, and needs to manually create a logical network element in the network management system.
发明内容Summary of the invention
为解决上述技术问题,本发明实施例期望提供一种DCN开通方法及系统,能够自动开通数据通信网络,且效率高、可靠性强。In order to solve the above technical problem, the embodiment of the present invention is expected to provide a DCN opening method and system, which can automatically open a data communication network, and has high efficiency and high reliability.
本发明实施例提供了一种数据通信网络DCN开通方法,所述方法包括:An embodiment of the present invention provides a method for opening a data communication network DCN, where the method includes:
接入网元和非接入网元分别依据预置的管理地址生成规则生成网元管理互联网协议IP地址,将所述网元管理IP地址配置到管理环回接口上,并创建DCN的开放式最短路径优先OSPF路由实例;The access network element and the non-access network element respectively generate an IP address management network protocol IP address according to the preset management address generation rule, configure the network element management IP address to the management loopback interface, and create an open type of the DCN. The shortest path first OSPF routing instance;
确定以太网接口状态符合预设条件时,创建以太网子接口,生成DCN的IP地址路由表,并将网元信息配置至OSPF路由协议;After determining the status of the Ethernet interface to meet the preset conditions, create an Ethernet sub-interface, generate an IP address routing table of the DCN, and configure the NE information to the OSPF routing protocol.
网元管理系统EMS解析接入网元发送的各网元信息,创建与非接入网元对应的逻辑网元,并建立与非接入网元之间的连接。The network element management system EMS parses the network element information sent by the access network element, creates a logical network element corresponding to the non-access network element, and establishes a connection with the non-access network element.
上述方案中,所述接入网元和非接入网元分别依据预置的管理地址生成规则生成网元管理IP地址之前,所述方法还包括:接入网元和非接入网元创建DCN网管实例及管理环回接口。In the foregoing solution, before the access network element and the non-access network element respectively generate the network element management IP address according to the preset management address generation rule, the method further includes: creating the access network element and the non-access network element. DCN network management instance and management loopback interface.
上述方案中,所述管理地址生成规则包括:判断网元是否支持网元身份标识NEID映射成网元管理IP地址,如果支持,将NEID映射成网元管理IP地址;如果不支持,将网元介质访问控制MAC地址映射成网元管理IP地址。In the above solution, the management address generation rule includes: determining whether the network element supports the network element identification NEID mapping into the network element management IP address, and if so, mapping the NEID to the network element management IP address; if not, the network element is not supported. The media access control MAC address is mapped to the network element management IP address.
上述方案中,所述创建以太网子接口,生成DCN的IP地址路由表包括:创建点对点类型的以太网子接口,绑定所述以太网子接口至虚拟局域网VLAN,并配置到OSPF路由协议,依据所述OSPF路由协议生成DCN的IP地址路由表;其中,所述以太网子接口的IP地址采用租用DCN管理地址的方式。 In the foregoing solution, the creating an Ethernet sub-interface and generating a DCN IP address routing table includes: creating a point-to-point type Ethernet sub-interface, binding the Ethernet sub-interface to a virtual local area network VLAN, and configuring the OSPF routing protocol, And generating an IP address routing table of the DCN according to the OSPF routing protocol, where the IP address of the Ethernet sub-interface is a method of renting a DCN management address.
上述方案中,所述将网元信息配置至OSPF路由协议之后,所述方法还包括:配置接入网元与EMS间的路由,将所述路由重发布至OSPF路由协议中,并指定EMS侧到各网元的路由。In the above solution, after the network element information is configured to the OSPF routing protocol, the method further includes: configuring a route between the access network element and the EMS, re-provisioning the route to the OSPF routing protocol, and designating the EMS side. The route to each network element.
上述方案中,EMS解析接入网元发送的各网元信息之前,所述方法还包括:创建接入网元对应的逻辑网元,并建立EMS与所述接入网元的连接,所述接入网元发送各网元信息至所述EMS。In the above solution, before the EMS parses the information about the network element that is sent by the network element, the method further includes: creating a logical network element corresponding to the access network element, and establishing a connection between the EMS and the access network element, where The access network element sends each network element information to the EMS.
本发明实施例还提供了一种DCN开通系统,所述系统包括:接入网元、非接入网元及EMS;其中,The embodiment of the present invention further provides a DCN-enabled system, where the system includes: an access network element, a non-access network element, and an EMS;
所述接入网元和非接入网元,分别配置为依据预置的管理地址生成规则生成网元管理IP地址,将所述网元管理IP地址配置到管理环回接口上,并创建DCN的OSPF路由实例;The access network element and the non-access network element are respectively configured to generate an network element management IP address according to the preset management address generation rule, configure the network element management IP address to the management loopback interface, and create a DCN. OSPF routing instance;
并在确定以太网接口状态符合预设条件时,创建以太网子接口,生成DCN的IP地址路由表,并将网元信息配置至OSPF路由协议;And determining that the Ethernet interface status meets the preset condition, creating an Ethernet sub-interface, generating a DCN IP address routing table, and configuring the network element information to the OSPF routing protocol;
所述EMS,配置为解析接入网元发送的各网元信息,创建与非接入网元对应的逻辑网元,并建立与非接入网元之间的连接。The EMS is configured to parse each network element information sent by the access network element, create a logical network element corresponding to the non-access network element, and establish a connection with the non-access network element.
上述方案中,所述接入网元和非接入网元,还分别配置为创建DCN网管实例及管理环回接口。In the above solution, the access network element and the non-access network element are respectively configured to create a DCN network management instance and a management loopback interface.
上述方案中,所述管理地址生成规则包括:判断网元是否支持NEID映射成网元管理IP地址,如果支持,将NEID映射成网元管理IP地址;如果不支持,将网元MAC地址映射成网元管理IP地址。In the above solution, the management address generation rule includes: determining whether the network element supports the NEID mapping into the network element management IP address, and if yes, mapping the NEID to the network element management IP address; if not, mapping the network element MAC address to The NE manages the IP address.
上述方案中,所述接入网元和非接入网元分别创建以太网子接口,生成DCN的IP地址路由表包括:所述接入网元和非接入网元分别创建点对点类型的以太网子接口,绑定所述以太网子接口至VLAN,并配置到OSPF路由协议,依据所述OSPF路由协议生成DCN的IP地址路由表;其中,所述以太网子接口的IP地址采用租用DCN管理地址的方式。 In the above solution, the access network element and the non-access network element respectively create an Ethernet sub-interface, and the IP address routing table for generating the DCN includes: the access network element and the non-access network element respectively create a peer-to-peer type Ethernet The network sub-interface binds the Ethernet sub-interface to the VLAN and configures the OSPF routing protocol to generate an IP address routing table of the DCN according to the OSPF routing protocol. The IP address of the Ethernet sub-interface is leased by the DCN. The way the address is managed.
上述方案中,所述接入网元,还配置为配置接入网元与EMS间的路由,将所述路由重发布至OSPF路由协议中;In the above solution, the access network element is further configured to configure a route between the access network element and the EMS, and re-advertise the route to the OSPF routing protocol;
相应的,所述系统还包括网关;Correspondingly, the system further comprises a gateway;
所述EMS,还配置为指定所述EMS到所述网关的路由;The EMS is further configured to specify a route of the EMS to the gateway;
所述网关,配置为指定所述网关到各网元的路由。The gateway is configured to specify a route from the gateway to each network element.
上述方案中,所述EMS,还配置为创建接入网元对应的逻辑网元,并建立EMS与所述接入网元的连接;In the above solution, the EMS is further configured to create a logical network element corresponding to the access network element, and establish a connection between the EMS and the access network element;
所述接入网元,还配置为发送各网元信息至所述EMS。The access network element is further configured to send each network element information to the EMS.
一种存储介质,所述存储介质中存储有计算机程序,所述计算机程序配置为执行前述的数据通信网络DCN开通方法。A storage medium having stored therein a computer program configured to perform the aforementioned data communication network DCN activation method.
本发明实施例所提供的DCN开通方法及系统,接入网元和非接入网元分别依据预置的管理地址生成规则生成网元管理IP地址,将所述网元管理IP地址配置到管理环回接口上,并创建DCN的OSPF路由实例;确定以太网接口状态符合预设条件时,创建以太网子接口,生成DCN的IP地址路由表,并将网元信息配置至OSPF路由协议;EMS解析接入网元发送的各网元信息,创建与非接入网元对应的逻辑网元,并建立与非接入网元之间的连接。如此,能够自动开通数据通信网络,节省了大量人力、财力成本,提高了用户满意度,且效率高、可靠性强。In the DCN-opening method and system provided by the embodiment of the present invention, the access network element and the non-access network element respectively generate an IP address management IP address according to a preset management address generation rule, and configure the network element management IP address to be managed. On the loopback interface, create an OSPF route instance of the DCN. If the Ethernet interface status meets the preset conditions, create an Ethernet sub-interface, generate a DCN IP address routing table, and configure the NE information to the OSPF routing protocol. The network element information sent by the access network element is parsed, the logical network element corresponding to the non-access network element is created, and a connection with the non-access network element is established. In this way, the data communication network can be automatically opened, which saves a lot of manpower and financial costs, improves user satisfaction, and has high efficiency and high reliability.
附图说明DRAWINGS
图1为本发明实施例一DCN开通方法流程示意图;1 is a schematic flowchart of a DCN opening method according to an embodiment of the present invention;
图2为本发明实施例DCN的网络拓扑图;2 is a network topology diagram of a DCN according to an embodiment of the present invention;
图3为本发明实施例二DCN开通方法流程示意图;3 is a schematic flowchart of a method for opening a DCN according to Embodiment 2 of the present invention;
图4为本发明实施例DCN开通系统组成结构示意图。 FIG. 4 is a schematic structural diagram of a DCN open system according to an embodiment of the present invention.
具体实施方式detailed description
在本发明实施例中,接入网元和非接入网元分别依据预置的管理地址生成规则生成网元管理IP地址,将所述网元管理IP地址配置到管理环回接口上,并创建DCN的OSPF路由实例;确定以太网接口状态符合预设条件时,创建以太网子接口,生成DCN的IP地址路由表,并将网元信息配置至OSPF路由协议;EMS解析接入网元发送的各网元信息,创建与非接入网元对应的逻辑网元,并建立与非接入网元之间的连接;In the embodiment of the present invention, the access network element and the non-access network element respectively generate an IP address management IP address according to the preset management address generation rule, and configure the network element management IP address to the management loopback interface, and Create an OSPF route instance of the DCN. If the Ethernet interface status meets the preset conditions, create an Ethernet sub-interface, generate an IP address routing table of the DCN, and configure the NE information to the OSPF routing protocol. The EMS resolves the access NE. Each of the network element information creates a logical network element corresponding to the non-access network element, and establishes a connection with the non-access network element;
其中,所述网元信息包括接入网元和非接入网元的网元信息。The network element information includes network element information of the access network element and the non-access network element.
图1为本发明实施例一DCN开通方法流程示意图,如图1所示,本实施例DCN开通方法包括:1 is a schematic flowchart of a DCN activation method according to an embodiment of the present invention. As shown in FIG. 1 , the DCN activation method in this embodiment includes:
步骤101:接入网元和非接入网元分别依据预置的管理地址生成规则生成网元管理IP地址,将所述网元管理IP地址配置到管理环回接口上,并创建DCN的OSPF路由实例;Step 101: The access network element and the non-access network element respectively generate an IP address management IP address according to the preset management address generation rule, configure the network element management IP address to the management loopback interface, and create DCN OSPF. Routing instance
本步骤之前,所述方法还包括:接入网元和非接入网元分别创建DCN网管实例及管理环回接口;Before the step, the method further includes: the access network element and the non-access network element respectively create a DCN network management instance and a management loopback interface;
这里,所述DCN网管实例指为DCN网络创建的专用DCN虚拟路由转发(VRF,Virtual Route Forwarding)实例,可以将PTN网络的管理路由和业务路由隔离,避免相互干扰。Here, the DCN network management instance refers to a dedicated DCN virtual route forwarding (VRF) instance created for the DCN network, which can isolate the management route and service route of the PTN network to avoid mutual interference.
作为一种实现方式,所述管理地址生成规则包括:判断网元是否支持网元身份标识(NEID,Net Elemet Identification)映射成网元管理IP地址,如果支持,将NEID映射成网元管理IP地址;如果不支持,将网元介质访问控制(MAC,Media Access Control)地址映射成网元管理IP地址;As an implementation manner, the management address generation rule includes: determining whether the network element supports NE ID (Net Elemet Identification) mapping into a network element management IP address, and if supported, mapping the NEID to an network element management IP address. If not supported, the network element access control (MAC) address is mapped to the network element management IP address;
相应的,接入网元和非接入网元分别依据预置的管理地址生成规则生成网元管理IP地址包括:接入网元和非接入网元分别判断自身是否支持NEID生成网元管理IP地址,如果支持,直接将自身的NEID映射成网元 管理IP地址;如果不支持,将自身的MAC地址映射成网元管理IP地址;Correspondingly, the access network element and the non-access network element respectively generate the network element management IP address according to the preset management address generation rule: the access network element and the non-access network element respectively determine whether the NEID is supported by the NEID generation network element management. IP address, if supported, directly maps its own NEID to a network element. Management IP address; if not supported, map its own MAC address to the NE management IP address;
其中,所述NEID为网元的唯一数字化标识,长度为4字节,由各厂商在设备生成发货时写入,本发明实施例中NEID定义规则如下:The NEID is a unique digitized identifier of the network element, and the length is 4 bytes, which is written by each vendor when the device generates the shipment. The NEID definition rule in the embodiment of the present invention is as follows:
设备NEID定义为4字节,32 bit序列号,NEID目前定义使用24 bit,其中BIT[20~27]保留,第1个字节前4个bit用于标识设备类型,剩下字节的20个bit用于标识设备硬件序列号。NEID支持非易失存储,对于背板存在存储空间的设备,NEID要求能保存在背板非易失存储器中;对于背板没有存储空间的设备,则保存在设备主控板的非易失存储空间中;The device NEID is defined as 4 bytes, 32 bit serial number, NEID is currently defined to use 24 bits, where BIT [20 ~ 27] is reserved, the first 4 bytes of the first byte are used to identify the device type, and the remaining bytes are 20 The bits are used to identify the device hardware serial number. NEID supports non-volatile storage. For devices with storage space on the backplane, NEID can be saved in the non-volatile memory of the backplane. For devices with no storage space on the backplane, it is stored in the non-volatile storage of the main control board of the device. In space
所述网元管理IP地址按字节从高位到低位规划成三个区段:The network element management IP address is planned into three segments in bytes from high to low:
第一区段:设备厂商号,占用IPv4地址的第一字节,由运营商根据网络要求为不同的电信设备商指定固定的号码;The first segment: the device manufacturer number, occupies the first byte of the IPv4 address, and the operator specifies a fixed number for different telecommunication device vendors according to network requirements;
第二区段:设备型号,占用IPv4地址第二字节的高4bit,由设备厂商为各自不同型号的PTN设备进行分配;The second segment: the device model, which occupies the upper 4 bits of the second byte of the IPv4 address, and is allocated by the device manufacturer for the PTN devices of different models;
第三区段:IP地址序列号,占用IPv4地址第二字节的低四bit、第三字节和第四字节。理论上,对于同一厂商同一款PTN设备,网络最大可以支持0xfffff,即1048575台,完全能够满足电信运营商的网络需求。The third sector: the IP address sequence number, which occupies the lower four bits, the third byte, and the fourth byte of the second byte of the IPv4 address. In theory, for the same PTN device of the same manufacturer, the network can support 0xfffff, which is 1048575, which can fully meet the network needs of telecom operators.
作为一种实现方式,当网元支持NEID生成网元管理IP地址,将NEID映射成网元管理IP地址时,所述网元管理IP地址按照NEID的生成规则为:As an implementation manner, when the network element supports the NEID to generate the network element management IP address and the NEID is mapped to the network element management IP address, the network element management IP address is generated according to the NEID:
网元管理IP地址第一区段:为电信运营商为各设备厂商定义的固定值;The first segment of the network element management IP address: a fixed value defined by the telecommunication operator for each device manufacturer;
网元管理IP地址第二区段:为NEID中的设备序列号;The second section of the network management IP address: the serial number of the device in the NEID;
网元管理IP地址第三区段:为NEID的低位的20Bit有效设备序列编号;The third section of the network management IP address: the 20Bit effective device sequence number of the NEID;
当网元不支持NEID生成网元管理IP地址,将网元MAC地址映射成网元管理IP地址时,所述网元管理IP地址按照网元MAC地址的生成规则为: When the network element does not support the NEID to generate the network element management IP address and the network element MAC address is mapped to the network element management IP address, the generation rule of the network element management IP address according to the network element MAC address is:
网元管理IP地址第一区段:由电信运营商为各设备厂商定义的固定值;The first section of the network element management IP address: a fixed value defined by the telecommunications carrier for each equipment manufacturer;
网元管理IP地址第二区段:此区段固定填写为0,用以区分NEID生成的情况;The second section of the network management IP address: This section is fixed to 0 to distinguish the NEID generation.
网元管理IP地址第三区段:忽略MAC地址的厂商号部分,即前3个字节,仅使用MAC地址的后三个字节进行映射,后3字节表示厂商号内部硬件编号,该编号在厂商内部唯一。由于每台设备通常需要连续的占用多个MAC地址,因此将MAC地址的后三字节进行按照二进制右移N个bit位后,拷贝低24bit到第三区段中。其中右移的bit位数N=log2(M),M为该款设备占用MAC地址的位移数。The third section of the network management IP address: the vendor number part of the MAC address is ignored, that is, the first 3 bytes, only the last three bytes of the MAC address are used for mapping, and the last 3 bytes represent the internal hardware number of the vendor number. The number is unique within the manufacturer. Since each device usually needs to occupy multiple MAC addresses in succession, the last three bytes of the MAC address are shifted to the right by N bits, and then the lower 24 bits are copied to the third sector. The bit number of the right shift is N=log2(M), and M is the number of displacements of the MAC address occupied by the device.
作为一种实现方式,创建DCN的OSPF路由实例,进而可将所述管理环回接口配置至OSPF路由协议,开启网元间的路由协商;As an implementation manner, an OSPF routing instance of the DCN is created, and the management loopback interface can be configured to an OSPF routing protocol to enable route negotiation between the network elements.
其中,所述管理环回接口采用32位掩码。The management loopback interface uses a 32-bit mask.
步骤102:确定以太网接口状态符合预设条件时,创建以太网子接口,生成DCN的IP地址路由表,并将网元信息配置至OSPF路由协议;Step 102: After determining that the status of the Ethernet interface meets the preset condition, create an Ethernet sub-interface, generate an IP address routing table of the DCN, and configure the network element information to the OSPF routing protocol.
这里,所述预设条件指以太网接口状态为UP;Here, the preset condition means that the Ethernet interface status is UP;
本步骤具体包括:接入网元和非接入网元分别定时检测以太网接口状态,当所述以太网接口状态为UP时,创建点对点类型的以太网子接口,绑定所述以太网子接口至虚拟局域网(VLAN,Virtual Local Area Network),并配置到OSPF路由协议,依据所述OSPF路由协议生成DCN的IP地址路由表,使各网元间路由可通;其中,所述以太网子接口的IP地址采用租用DCN管理地址的方式;The method includes: the access network element and the non-access network element periodically detect the state of the Ethernet interface, and when the status of the Ethernet interface is UP, create a point-to-point type Ethernet sub-interface, and bind the Ethernet sub-interface. The interface is connected to a virtual local area network (VLAN) and configured to an OSPF routing protocol, and generates an IP address routing table of the DCN according to the OSPF routing protocol, so that routing between the network elements is available; wherein the Ethernet sub-interface The IP address of the interface adopts the method of renting the DCN management address.
所述将网元信息配置至OSPF路由协议,以使所述OSPF路由协议正常工作时,将包含有网元信息的扩展链路状态配置(LSA,Link-State Advertisement)在DCN域内进行泛洪,进而使接入网元在自身的OSPF数据库中可以获得DCN域内各网元的网元信息; And configuring the network element information to the OSPF routing protocol, so that when the OSPF routing protocol works normally, the extended link state configuration (LSA) including the network element information is flooded in the DCN domain. The access network element can obtain the network element information of each network element in the DCN domain in its own OSPF database.
其中,所述网元信息包括:NEID、网元MAC地址、网元管理IPv4地址、网元设备厂商标识及网元类型;The network element information includes: an NEID, a network element MAC address, an element management IPv4 address, a network element device vendor identifier, and a network element type.
所述OSPF路由协议使用特殊的type10型的Opaque LSA承载网元信息进行泛洪;这里,LSA ID定义为200.255.238.0,其中200为opaque type,255.238.0(ffee00)为instance信息The OSPF routing protocol uses the special type10 type of Opaque LSA to carry the NE information for flooding. Here, the LSA ID is defined as 200.255.238.0, where 200 is the opaque type and 255.238.0 (ffee00) is the instance information.
Opaque LSA中通过TLV格式携带以下网元信息:The Opaque LSA carries the following NE information in the TLV format:
网元设备厂商标识:类型:0x8000;长度:标识名称字符串长度;NE device vendor ID: Type: 0x8000; Length: ID name string length;
网元型号:类型:0x8001;长度:型号名称字符串长度;NE model: Type: 0x8001; Length: Model name string length;
网元MAC:类型:0x8002;长度:6字节;NE MAC: Type: 0x8002; Length: 6 bytes;
NEID:类型:0x8003;长度:4字节;NEID: Type: 0x8003; Length: 4 bytes;
NEIP IPv4:类型:0x8004;长度:4字节。NEIP IPv4: Type: 0x8004; Length: 4 bytes.
作为一种实现方式,将网元信息配置至OSPF路由协议之后,所述方法还包括:配置接入网元与EMS间的路由,将所述路由重发布至OSPF路由协议中,并指定EMS侧到各网元的路由;如此,打通EMS与整个PTN网络网元间的路由;As an implementation manner, after the network element information is configured to the OSPF routing protocol, the method further includes: configuring a route between the access network element and the EMS, re-provisioning the route to the OSPF routing protocol, and designating the EMS side. Routing to each network element; thus, clearing the route between the EMS and the entire PTN network element;
其中,所述EMS侧包括EMS及网关;The EMS side includes an EMS and a gateway;
所述指定EMS侧到各网元的路由包括:指定EMS到网关的路由,及所述网关到各网元的路由。The routing of the specified EMS side to each network element includes: specifying a route from the EMS to the gateway, and routing of the gateway to each network element.
步骤103:EMS解析接入网元发送的各网元信息,创建与非接入网元对应的逻辑网元,并建立与非接入网元之间的连接;Step 103: The EMS parses the network element information sent by the access network element, creates a logical network element corresponding to the non-access network element, and establishes a connection with the non-access network element.
本步骤之前,所述方法还包括:创建接入网元对应的逻辑网元,并建立EMS与所述接入网元的连接,所述接入网元发送各网元信息至EMS;Before the step, the method further includes: creating a logical network element corresponding to the access network element, and establishing a connection between the EMS and the access network element, where the access network element sends each network element information to the EMS;
这里,所述建立EMS与所述接入网元的连接具体为:建立EMS与所述接入网元的TCP/IP连接;Here, the establishing the connection between the EMS and the access network element is specifically: establishing a TCP/IP connection between the EMS and the access network element;
所述接入网元发送各网元信息至EMS包括:所述接入网元主动发送整 个DCN网络的各网元信息至EMS;或者,接入网元收到EMS发送的网元信息请求,发送整个DCN网络的各网元信息至EMS。The sending, by the access network element, the information of each network element to the EMS includes: the access network element actively sends the whole Each network element information of the DCN network is sent to the EMS; or the access network element receives the network element information request sent by the EMS, and sends the network element information of the entire DCN network to the EMS.
作为一种实现方式,本步骤还包括:EMS解析接入网元发送的各网元信息,获得各网元的网元管理IP地址、网元类型、网元MAC地址或NEID,创建与非接入网元对应的逻辑网元,依据标准的TCP/IP协议建立与非接入网元之间的连接,即建立与非接入网元之间的TCP/IP连接;如此,EMS可实现对所有网元的管理。As an implementation manner, the step further includes: the EMS parses the information of each network element sent by the access network element, and obtains the network element management IP address, the network element type, the network element MAC address, or the NEID of each network element, and creates and disconnects The logical network element corresponding to the incoming network element establishes a connection with the non-access network element according to the standard TCP/IP protocol, that is, establishes a TCP/IP connection with the non-access network element; thus, the EMS can implement the Management of all network elements.
图2为本发明实施例DCN的网络拓扑图,如图2所示,包括EMS、网关,及NE A~E五个网元,其中,NE A为接入网元,NE B~E为非接入网元,在实际应用中,接入网元可以为一个或多个,非接入网元可以为一个或多个。2 is a network topology diagram of a DCN according to an embodiment of the present invention. As shown in FIG. 2, the network includes an EMS, a gateway, and five network elements NEA to E. The NE A is an access network element, and the NE B to E are non- The access network element may be one or more access network elements, and the non-access network element may be one or more.
图3为本发明实施例二DCN开通方法流程示意图,结合图2、图3,本发明实施例DCN开通方法包括:FIG. 3 is a schematic flowchart of a method for opening a DCN according to Embodiment 2 of the present invention. In combination with FIG. 2 and FIG. 3, a method for opening a DCN according to an embodiment of the present invention includes:
步骤301:接入网元和非接入网元分别创建DCN网管实例及管理环回接口;Step 301: The access network element and the non-access network element respectively create a DCN network management instance and a management loopback interface.
这里,所述DCN网管实例指为DCN网络创建的专用DCN VRF实例,可以将PTN网络的管理路由和业务路由隔离,避免相互干扰;Here, the DCN network management instance refers to a dedicated DCN VRF instance created for the DCN network, which can isolate the management route and service route of the PTN network to avoid mutual interference;
在本实施例中,接入网元和非接入网元上电运行后,分别自动创建DCN VRF实例,创建管理环回接口loopback1023,并将所述管理环回接口绑定到DCN VPN。In this embodiment, after the access network element and the non-access network element are powered on, the DCN VRF instance is automatically created, the management loopback interface loopback 1023 is created, and the management loopback interface is bound to the DCN VPN.
步骤302:依据预置的管理地址生成规则生成网元管理IP地址,将所述网元管理IP地址配置到管理环回接口上,并创建DCN的OSPF路由实例;Step 302: Generate an IP address management IP address according to the preset management address generation rule, configure the network element management IP address to the management loopback interface, and create an OSPF routing instance of the DCN.
这里,所述管理地址生成规则包括:判断网元是否支持NEID映射成网元管理IP地址,如果支持,将NEID映射成网元管理IP地址;如果不支持,将网元MAC地址映射成网元管理IP地址; Here, the management address generation rule includes: determining whether the network element supports the mapping of the NEID to the network element management IP address, and if so, mapping the NEID to the network element management IP address; if not, mapping the network element MAC address to the network element Management IP address;
相应的,接入网元和非接入网元分别依据预置的管理地址生成规则生成网元管理IP地址包括:接入网元和非接入网元分别判断自身是否支持NEID生成网元管理IP地址,如果支持,直接将NEID映射成网元管理IP地址;如果不支持,将自身的MAC地址映射成网元管理IP地址;Correspondingly, the access network element and the non-access network element respectively generate the network element management IP address according to the preset management address generation rule: the access network element and the non-access network element respectively determine whether the NEID is supported by the NEID generation network element management. IP address, if supported, directly maps the NEID to the NE management IP address; if not, maps its own MAC address to the NE management IP address;
本实施例中,NE A~C支持NEID映射成网元管理IP地址,NE D和NEE不支持NEID映射成网元管理IP地址;运营商分配的网元管理IP首字节数值为131(十进制),厂商为NE A分配的标识的4个bit为0001(二进制),为NE B~E分配的标识为0002(二进制),每个网元连续分配8个MAC地址,此时,各网元生成的网元管理IP地址分别为:In this embodiment, NE A to C support NEID mapping to the network element management IP address, NE D and NEE do not support NEID mapping into the network element management IP address; the operator allocates the network element management IP first byte value to be 131 (decimal The four bits of the identifier assigned by the manufacturer for NE A are 0001 (binary), and the identifier assigned to NE B to E is 0002 (binary), and each network element is continuously allocated 8 MAC addresses. At this time, each network element The generated NE management IP addresses are as follows:
NE A:根据NEID生成131.17.1.1;NE A: Generate 131.17.1.1 according to NEID;
NE B:根据NEID生成131.33.1.5;NE B: generates 131.33.1.5 according to NEID;
NE C:根据NEID生成131.33.1.4;NE C: generates 131.33.1.4 according to NEID;
NE D:根据网元MAC地址生成131.0.36.32;NE D: generates 131.0.36.32 according to the MAC address of the network element;
NE E:根据网元MAC地址生成131.0.38.32;NE E: generates 131.0.38.32 according to the MAC address of the network element;
作为一种实现方式,创建DCN的OSPF路由实例,进而可将所述管理环回接口配置至OSPF路由协议,开启网元间的路由协商;As an implementation manner, an OSPF routing instance of the DCN is created, and the management loopback interface can be configured to an OSPF routing protocol to enable route negotiation between the network elements.
其中,所述管理环回接口采用32位掩码。The management loopback interface uses a 32-bit mask.
步骤303:检测以太网接口状态,判断所述以太网接口状态是否符合预设条件,当符合预设条件时,执行步骤304;当不符合预设条件时,执行步骤303;Step 303: Detecting the status of the Ethernet interface, determining whether the status of the Ethernet interface meets the preset condition, when the preset condition is met, step 304 is performed; when the preset condition is not met, step 303 is performed;
这里,所述检测以太网接口状态为定时检测以太网接口状态;Here, the detecting the status of the Ethernet interface is to periodically detect the status of the Ethernet interface;
所述预设条件指以太网接口状态为UP,所述不符合预设条件指以太网接口状态为DOWN。The preset condition is that the Ethernet interface status is UP, and the non-compliant preset condition means that the Ethernet interface status is DOWN.
步骤304:创建以太网子接口,生成DCN的IP地址路由表;Step 304: Create an Ethernet sub-interface, and generate an IP address routing table of the DCN.
本步骤具体包括:接入网元和非接入网元分别创建点对点类型的以太 网子接口,绑定所述以太网子接口至VLAN并配置到OSPF路由协议,依据所述OSPF路由协议生成DCN的IP地址路由表,使各网元间路由可通;其中,所述以太网子接口的IP地址采用租用DCN管理地址的方式;The step specifically includes: the access network element and the non-access network element respectively create a peer-to-peer type Ethernet a network sub-interface, which binds the Ethernet sub-interface to a VLAN and is configured to an OSPF routing protocol, and generates an IP address routing table of the DCN according to the OSPF routing protocol, so that routing between the network elements is available; wherein the Ethernet The IP address of the sub-interface is in the manner of renting the DCN management address.
本实施例中,当所述以太网接口状态为UP时,自动创建4094点对点类型以太网子接口,绑定VLAN 4094,具体创建如下:In this embodiment, when the status of the Ethernet interface is Up, the 4094 point-to-point type Ethernet sub-interface is automatically created and bound to VLAN 4094. The specific creation is as follows:
NE A上默认创建以太网子接口gei_1/1.4094,gei_1/3.4094;The Ethernet sub-interface gei_1/1.4094, gei_1/3.4094 is created by default on NE A;
NE B上默认创建以太网子接口gei_1/3.4094,gei_1/2.4094;The Ethernet sub-interface gei_1/3.4094, gei_1/2.4094 is created by default on NE B.
NE C上默认创建以太网子接口gei_1/2.4094;The Ethernet sub-interface gei_1/2.4094 is created by default on NE C.
NE D上默认创建以太网子接口gei_1/1.4094,gei_1/2.4094;The Ethernet sub-interface gei_1/1.4094, gei_1/2.4094 is created by default on NE D;
NE E上默认创建以太网子接口gei_1/2.4094;The Ethernet sub-interface gei_1/2.4094 is created by default on NE E.
将上述创建的以太网子接口绑定至DCNVPN并配置到OSPF路由协议,接入网元和非接入网元依据所述OSPF路由协议进行路由学习,生成DCN的IP地址路由表;如此,使各网元间的路由可通。The Ethernet sub-interface created above is bound to the DCNVPN and configured to the OSPF routing protocol. The access NE and the non-access NE perform routing learning according to the OSPF routing protocol to generate an IP address routing table of the DCN. The routes between the network elements can pass.
步骤305:将网元信息配置至OSPF路由协议进行DCN的全网泛洪;Step 305: Configure the network element information to the OSPF routing protocol to perform flooding of the entire network of the DCN.
这里,接入网元和非接入网元分别将网元信息配置至OSPF路由协议,以使所述OSPF路由协议正常工作时,将包含有网元信息的扩展LSA在DCN域内进行泛洪,进而使接入网元在自身的OSPF数据库中可以获得DCN域内各网元的网元信息;Here, the access network element and the non-access network element respectively configure the network element information to the OSPF routing protocol, so that when the OSPF routing protocol works normally, the extended LSA including the network element information is flooded in the DCN domain. The access network element can obtain the network element information of each network element in the DCN domain in its own OSPF database.
其中,所述网元信息包括:NEID、网元MAC地址、网元管理IPv4地址、网元设备厂商标识及网元类型;The network element information includes: an NEID, a network element MAC address, an element management IPv4 address, a network element device vendor identifier, and a network element type.
本实施例中,各网元向OSPF路由协议配置的网元信息如下:In this embodiment, the NE information configured by each network element to the OSPF routing protocol is as follows:
NE A:NE A:
厂商标识:XXXManufacturer ID: XXX
网元标识:NE ANE ID: NE A
网元MAC地址:00d0.d001.1101 NE MAC address: 00d0.d001.1101
NEID:16.1.1.1NEID: 16.1.1.1
网元管理IP:131.17.1.1NE management IP: 131.17.1.1
NE B:NE B:
厂商标识:XXXManufacturer ID: XXX
网元标识:NE BNE ID: NE B
网元MAC地址:00d0.d001.5101NE MAC address: 00d0.d001.5101
NEID:32.1.1.5NEID: 32.1.1.5
网元管理IP:131.33.1.5NE management IP: 131.33.1.5
NE C:NE C:
厂商标识:XXXManufacturer ID: XXX
网元标识:NE CNE ID: NE C
网元MAC地址:00d0.d001.4101NE MAC address: 00d0.d001.4101
NEID:0.0.0.0NEID: 0.0.0.0
网元管理IP:131.33.1.4NE management IP: 131.33.1.4
NE D:NE D:
厂商标识:XXXManufacturer ID: XXX
网元标识:NE DNE ID: NE D
网元MAC地址:00d0.d001.2101NE MAC address: 00d0.d001.2101
NEID:0.0.0.0NEID: 0.0.0.0
网元管理IP:131.0.36.32NE management IP: 131.0.36.32
NE E:NE E:
厂商标识:XXXManufacturer ID: XXX
网元标识:NE ENE ID: NE E
网元MAC地址:00d0.d001.3101NE MAC address: 00d0.d001.3101
NEID:0.0.0.0 NEID: 0.0.0.0
网元管理IP:131.0.38.32NE management IP: 131.0.38.32
其中,NEID为0.0.0.0时表示该类型的设备还不支持NEID,该值无效。The NEID of 0.0.0.0 indicates that the device of this type does not support NEID, and the value is invalid.
需要说明的是,步骤305与步骤303-步骤304的操作顺序可互换。It should be noted that the sequence of operations of step 305 and step 303-step 304 is interchangeable.
步骤306:配置接入网元与EMS间的路由,将所述路由重发布至OSPF路由协议中,并指定EMS侧到各网元的路由;Step 306: Configure a route between the access NE and the EMS, and re-advertise the route to the OSPF routing protocol, and specify the route from the EMS side to each network element.
这里,配置接入网元与EMS间的路由,通过OSPF路由重分配将所述路由重发布至OSPF路由协议中,并指定EMS侧到各网元的路由;如此,打通EMS与整个PTN网络网元间的路由;其中,所述EMS侧包括EMS及网关;Here, the route between the access network element and the EMS is configured, and the route is re-advertised to the OSPF routing protocol through OSPF route redistribution, and the route from the EMS side to each network element is specified; thus, the EMS and the entire PTN network network are opened. Routing between the elements; wherein the EMS side includes an EMS and a gateway;
本实施例中,EMS处于10.8.0.0/255.255.0.0网段中,不与DCN网络直接相连,需要增加一条静态路由;配置目的网段为10.8.0.0掩码255.255.0.0下一跳为194.194.194.1的静态路由,并将该静态路由重发布到OSPF路由协议中;In this embodiment, the EMS is in the network segment 10.0.0.0.0/255.255.0.0 and is not directly connected to the DCN network. You need to add a static route. The destination network segment is 10.8.0.0 and the hop is 255.255.0.0. The next hop is 194.194. Static route of 194.1, and republish the static route to the OSPF routing protocol;
指定EMS和网关设备到各网元的路由,网元生成的网元管理IP地址的首字节都是指定的,EMS上路由配置得到了简化,按照下述方式指定:Specifies the route from the EMS and the gateway device to each NE. The first byte of the management IP address of the NE generated by the NE is specified. The route configuration on the EMS is simplified. Specify the following:
EMS:目的网段131.0.0.0,掩码255.0.0.0,下一跳为网关设备10.8.63.144;EMS: destination network segment 131.0.0.0, mask 255.0.0.0, next hop for gateway device 10.8.63.144;
网关设备:目的网段131.0.0.0,掩码255.0.0.0,下一跳为接入网元的接入口194.194.194.123。Gateway device: destination network segment 131.0.0.0, mask 255.0.0.0, next hop is the access port of the access network element 194.194.194.123.
步骤307:创建接入网元对应的逻辑网元,并建立EMS与所述接入网元的连接;Step 307: Create a logical network element corresponding to the access network element, and establish a connection between the EMS and the access network element.
这里,所述建立EMS与所述接入网元的连接具体为:建立EMS与所述接入网元的TCP/IP连接。Here, the establishing the connection between the EMS and the access network element is specifically: establishing a TCP/IP connection between the EMS and the access network element.
步骤308:接入网元发送各网元信息至EMS;Step 308: The access network element sends each network element information to the EMS.
本步骤具体包括:所述接入网元主动发送整个DCN网络的各网元信息 至EMS,或者,接入网元收到EMS发送的网元信息请求,发送整个DCN网络的各网元信息至EMS。The step specifically includes: the access network element actively sends information about each network element of the entire DCN network. To the EMS, the access network element receives the NE information request sent by the EMS, and sends the NE information of the entire DCN network to the EMS.
步骤309:EMS解析接入网元发送的各网元信息,创建与非接入网元对应的逻辑网元,并建立与非接入网元之间的连接;Step 309: The EMS parses the network element information sent by the access network element, creates a logical network element corresponding to the non-access network element, and establishes a connection with the non-access network element.
本步骤具体包括:EMS解析接入网元发送的各网元信息,获得各网元的网元管理IP地址、网元类型、网元MAC地址或NEID,创建与非接入网元对应的逻辑网元,依据标准的TCP/IP协议建立与非接入网元之间的连接,即建立与非接入网元之间的TCP/IP连接;如此,EMS可实现对所有网元的管理。The specific steps include: the EMS parses the information of each network element sent by the access network element, and obtains the network element management IP address, the network element type, the network element MAC address, or the NEID of each network element, and creates a logic corresponding to the non-access network element. The network element establishes a connection with the non-access network element according to the standard TCP/IP protocol, that is, establishes a TCP/IP connection with the non-access network element; thus, the EMS can implement management of all network elements.
步骤310:结束本次处理流程。Step 310: End the processing flow.
图4为本发明实施例DCN开通系统组成结构示意图,如图4所示,本发明实施例DCN开通系统组成包括:接入网元41、非接入网元42及EMS43;所述接入网元41可以为一个或多个,所述非接入网元42可以为一个或多个;其中,4 is a schematic structural diagram of a DCN open system according to an embodiment of the present invention. As shown in FIG. 4, the DCN open system component of the embodiment of the present invention includes: an access network element 41, a non-access network element 42 and an EMS 43; The element 41 may be one or more, and the non-access network element 42 may be one or more;
所述接入网元41和非接入网元42,分别配置为依据预置的管理地址生成规则生成网元管理IP地址,将所述网元管理IP地址配置到管理环回接口上,并创建DCN的OSPF路由实例;The access network element 41 and the non-access network element 42 are respectively configured to generate an network element management IP address according to a preset management address generation rule, and configure the network element management IP address to the management loopback interface, and Create an OSPF route instance of the DCN.
并在确定以太网接口状态符合预设条件时,创建以太网子接口,生成DCN的IP地址路由表,并将网元信息配置至OSPF路由协议;And determining that the Ethernet interface status meets the preset condition, creating an Ethernet sub-interface, generating a DCN IP address routing table, and configuring the network element information to the OSPF routing protocol;
所述EMS43,配置为解析接入网元41发送的各网元信息,创建与非接入网元42对应的逻辑网元,并建立与非接入网元42之间的连接。The EMS 43 is configured to parse each network element information sent by the access network element 41, create a logical network element corresponding to the non-access network element 42, and establish a connection with the non-access network element 42.
作为一种实现方式,所述接入网元41和非接入网元42,还分别配置为创建DCN网管实例及管理环回接口;As an implementation manner, the access network element 41 and the non-access network element 42 are respectively configured to create a DCN network management instance and a management loopback interface.
这里,所述DCN网管实例指为DCN网络创建的专用DCN VRF实例,可以将PTN网络的管理路由和业务路由隔离,避免相互干扰。 Here, the DCN network management instance refers to a dedicated DCN VRF instance created for the DCN network, which can isolate the management route and service route of the PTN network to avoid mutual interference.
作为一种实现方式,所述管理地址生成规则包括:判断网元是否支持NEID映射成网元管理IP地址,如果支持,将NEID映射成网元管理IP地址;如果不支持,将网元MAC地址映射成网元管理IP地址;As an implementation manner, the management address generation rule includes: determining whether the network element supports the NEID mapping into the network element management IP address, and if yes, mapping the NEID to the network element management IP address; if not, the network element MAC address is not supported. Mapping to an NE management IP address;
相应的,所述接入网元41和非接入网元42分别依据预置的管理地址生成规则生成网元管理IP地址包括:接入网元41和非接入网元42分别判断自身是否支持NEID生成网元管理IP地址,如果支持,直接将NEID映射成网元管理IP地址;如果不支持,将自身的MAC地址映射成网元管理IP地址;Correspondingly, the access network element 41 and the non-access network element 42 respectively generate the network element management IP address according to the preset management address generation rule, and the access network element 41 and the non-access network element 42 respectively determine whether Supports NEID to generate an IP address management IP address. If supported, directly maps the NEID to the NE management IP address; if not, maps its own MAC address to the NE management IP address;
所述接入网元41和非接入网元分别创建DCN的OSPF路由实例,进而可将所述管理环回接口配置至OSPF路由协议,开启网元间的路由协商;The access network element 41 and the non-access network element respectively create an OSPF routing instance of the DCN, and then configure the management loopback interface to the OSPF routing protocol to enable route negotiation between the network elements.
其中,所述管理环回接口采用32位掩码。The management loopback interface uses a 32-bit mask.
作为一种实现方式,所述预设条件指以太网接口状态为UP;As an implementation manner, the preset condition is that the Ethernet interface status is UP;
所述接入网元41和非接入网元42分别创建以太网子接口,生成DCN的IP地址路由表包括:所述接入网元41和非接入网元42分别创建点对点类型的以太网子接口,绑定所述以太网子接口至VLAN,并配置到OSPF路由协议,依据所述OSPF路由协议生成DCN的IP地址路由表;其中,所述以太网子接口的IP地址采用租用DCN管理地址的方式;The access network element 41 and the non-access network element 42 respectively create an Ethernet sub-interface. The IP address routing table for generating the DCN includes: the access network element 41 and the non-access network element 42 respectively create a peer-to-peer type Ethernet. The network sub-interface binds the Ethernet sub-interface to the VLAN and configures the OSPF routing protocol to generate an IP address routing table of the DCN according to the OSPF routing protocol. The IP address of the Ethernet sub-interface is leased by the DCN. The way the address is managed;
所述接入网元41和非接入网元42分别将网元信息配置至OSPF路由协议,以使所述OSPF路由协议正常工作时,将包含有网元信息的扩展LSA在DCN域内进行泛洪,进而使接入网元在自身的OSPF数据库中可以获得DCN域内各网元的网元信息;The access network element 41 and the non-access network element 42 respectively configure the network element information to the OSPF routing protocol, so that when the OSPF routing protocol works normally, the extended LSA including the network element information is flooded in the DCN domain. The flooding, in which the access network element obtains the network element information of each network element in the DCN domain in its own OSPF database;
其中,所述网元信息包括:NEID、网元MAC地址、网元管理IPv4地址、网元设备厂商标识及网元类型。The network element information includes: an NEID, a network element MAC address, an element management IPv4 address, a network element device manufacturer identifier, and a network element type.
作为一种实现方式,所述接入网元41,还配置为配置接入网元与EMS间的路由,将所述路由重发布至OSPF路由协议中; As an implementation manner, the access network element 41 is further configured to configure a route between the access network element and the EMS, and re-advertise the route to the OSPF routing protocol;
相应地,所述系统还包括网关44;Correspondingly, the system further includes a gateway 44;
所述EMS43,还配置为指定所述EMS43到所述网关44的路由;The EMS 43 is further configured to specify a route of the EMS 43 to the gateway 44;
所述网关44,配置为指定所述网关44到各网元的路由。The gateway 44 is configured to specify a route from the gateway 44 to each network element.
作为一种实现方式,所述EMS43,还配置为创建接入网元41对应的逻辑网元,并建立EMS43与所述接入网元41的TCP/IP连接;As an implementation manner, the EMS 43 is further configured to create a logical network element corresponding to the access network element 41, and establish a TCP/IP connection between the EMS 43 and the access network element 41.
所述接入网元41,还配置为发送各网元信息至所述EMS43。The access network element 41 is further configured to send each network element information to the EMS 43.
作为一种实现方式,所述EMS43解析接入网元41发送的各网元信息,创建与非接入网元42对应的逻辑网元,并建立与非接入网元42之间的连接包括:EMS43解析接入网元41发送的各网元信息,获得各网元的网元管理IP地址、网元类型、网元MAC地址或NEID,创建与非接入网元42对应的逻辑网元,依据标准的TCP/IP协议建立与非接入网元42之间的连接,即建立与非接入网元42之间的TCP/IP连接;如此,EMS43可实现对所有网元的管理。As an implementation manner, the EMS 43 parses the network element information sent by the access network element 41, creates a logical network element corresponding to the non-access network element 42, and establishes a connection with the non-access network element 42. The EMS 43 analyzes the network element information sent by the access network element 41, and obtains the network element management IP address, the network element type, the network element MAC address, or the NEID of each network element, and creates a logical network element corresponding to the non-access network element 42. The connection with the non-access network element 42 is established according to the standard TCP/IP protocol, that is, the TCP/IP connection with the non-access network element 42 is established; thus, the EMS 43 can implement management of all network elements.
本发明实施例中所述接入网元41和非接入网元42均可以为PTN设备。Both the access network element 41 and the non-access network element 42 in the embodiment of the present invention may be PTN devices.
本发明实施例还记载了一种存储介质,所述存储介质中存储有计算机程序,所述计算机程序配置为执行前述实施例的数据通信网络DCN开通方法。The embodiment of the invention further describes a storage medium in which a computer program is stored, the computer program being configured to execute the data communication network DCN activation method of the foregoing embodiment.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.
工业实用性Industrial applicability
本发明中,接入网元和非接入网元分别依据预置的管理地址生成规则生成网元管理IP地址,将所述网元管理IP地址配置到管理环回接口上,并创建DCN的OSPF路由实例;确定以太网接口状态符合预设条件时,创建以太网子接口,生成DCN的IP地址路由表,并将网元信息配置至OSPF路由协议;EMS解析接入网元发送的各网元信息,创建与非接入网元对应 的逻辑网元,并建立与非接入网元之间的连接。能够自动开通数据通信网络,节省大量人力、财力成本,提高用户满意度,且效率高、可靠性强。 In the present invention, the access network element and the non-access network element respectively generate an IP address management IP address according to the preset management address generation rule, configure the network element management IP address to the management loopback interface, and create a DCN. OSPF routing instance; when the Ethernet interface status meets the preset conditions, an Ethernet sub-interface is created, the DCN IP address routing table is generated, and the NE information is configured to the OSPF routing protocol; the EMS resolves the network sent by the access NE. Meta information, created corresponding to non-access network elements Logical network element and establish a connection with the non-access network element. It can automatically open the data communication network, save a lot of manpower and financial costs, improve user satisfaction, and has high efficiency and reliability.

Claims (13)

  1. 一种数据通信网络DCN开通方法,包括:A method for opening a data communication network DCN, comprising:
    接入网元和非接入网元分别依据预置的管理地址生成规则生成网元管理互联网协议IP地址,将所述网元管理IP地址配置到管理环回接口上,并创建DCN的开放式最短路径优先OSPF路由实例;The access network element and the non-access network element respectively generate an IP address management network protocol IP address according to the preset management address generation rule, configure the network element management IP address to the management loopback interface, and create an open type of the DCN. The shortest path first OSPF routing instance;
    确定以太网接口状态符合预设条件时,创建以太网子接口,生成DCN的IP地址路由表,并将网元信息配置至OSPF路由协议;After determining the status of the Ethernet interface to meet the preset conditions, create an Ethernet sub-interface, generate an IP address routing table of the DCN, and configure the NE information to the OSPF routing protocol.
    网元管理系统EMS解析接入网元发送的各网元信息,创建与非接入网元对应的逻辑网元,并建立与非接入网元之间的连接。The network element management system EMS parses the network element information sent by the access network element, creates a logical network element corresponding to the non-access network element, and establishes a connection with the non-access network element.
  2. 根据权利要求1所述方法,其中,所述接入网元和非接入网元分别依据预置的管理地址生成规则生成网元管理IP地址之前,所述方法还包括:接入网元和非接入网元创建DCN网管实例及管理环回接口。The method according to claim 1, wherein the method further comprises: accessing the network element and before the access network element and the non-access network element respectively generate the network element management IP address according to the preset management address generation rule. The non-access NE creates an instance of the DCN NMS and manages the loopback interface.
  3. 根据权利要求1或2所述方法,其中,所述管理地址生成规则包括:判断网元是否支持网元身份标识NEID映射成网元管理IP地址,如果支持,将NEID映射成网元管理IP地址;如果不支持,将网元介质访问控制MAC地址映射成网元管理IP地址。The method according to claim 1 or 2, wherein the management address generation rule comprises: determining whether the network element supports the network element identity NEID mapping into a network element management IP address, and if so, mapping the NEID to the network element management IP address. If not supported, map the NE media access control MAC address to the NE management IP address.
  4. 根据权利要求1或2所述方法,其中,所述创建以太网子接口,生成DCN的IP地址路由表包括:创建点对点类型的以太网子接口,绑定所述以太网子接口至虚拟局域网VLAN,并配置到OSPF路由协议,依据所述OSPF路由协议生成DCN的IP地址路由表;其中,所述以太网子接口的IP地址采用租用DCN管理地址的方式。The method according to claim 1 or 2, wherein the creating an Ethernet sub-interface, generating an IP address routing table of the DCN comprises: creating an Ethernet sub-interface of a point-to-point type, and binding the Ethernet sub-interface to a virtual local area network VLAN And configuring an OSPF routing protocol, and generating an IP address routing table of the DCN according to the OSPF routing protocol; wherein the IP address of the Ethernet sub-interface adopts a method of renting a DCN management address.
  5. 根据权利要求1或2所述方法,其中,所述将网元信息配置至OSPF路由协议之后,所述方法还包括:配置接入网元与EMS间的路由,将所述路由重发布至OSPF路由协议中,并指定EMS侧到各网元的路由。The method according to claim 1 or 2, wherein after the configuring the network element information to the OSPF routing protocol, the method further comprises: configuring a route between the access network element and the EMS, and re-publishing the route to OSPF In the routing protocol, the route from the EMS side to each NE is specified.
  6. 根据权利要求1或2所述方法,其中,EMS解析接入网元发送的各 网元信息之前,所述方法还包括:创建接入网元对应的逻辑网元,并建立EMS与所述接入网元的连接,所述接入网元发送各网元信息至所述EMS。The method according to claim 1 or 2, wherein the EMS parses each of the transmissions sent by the access network element Before the network element information, the method further includes: creating a logical network element corresponding to the access network element, and establishing a connection between the EMS and the access network element, where the access network element sends each network element information to the EMS .
  7. 一种DCN开通系统,包括:接入网元、非接入网元及EMS;其中,A DCN-enabled system includes: an access network element, a non-access network element, and an EMS; wherein
    所述接入网元和非接入网元,分别配置为依据预置的管理地址生成规则生成网元管理IP地址,将所述网元管理IP地址配置到管理环回接口上,并创建DCN的OSPF路由实例;The access network element and the non-access network element are respectively configured to generate an network element management IP address according to the preset management address generation rule, configure the network element management IP address to the management loopback interface, and create a DCN. OSPF routing instance;
    并在确定以太网接口状态符合预设条件时,创建以太网子接口,生成DCN的IP地址路由表,并将网元信息配置至OSPF路由协议;And determining that the Ethernet interface status meets the preset condition, creating an Ethernet sub-interface, generating a DCN IP address routing table, and configuring the network element information to the OSPF routing protocol;
    所述EMS,配置为解析接入网元发送的各网元信息,创建与非接入网元对应的逻辑网元,并建立与非接入网元之间的连接。The EMS is configured to parse each network element information sent by the access network element, create a logical network element corresponding to the non-access network element, and establish a connection with the non-access network element.
  8. 根据权利要求7所述系统,其中,所述接入网元和非接入网元,还分别配置为创建DCN网管实例及管理环回接口。The system of claim 7, wherein the access network element and the non-access network element are further configured to create a DCN network management instance and a management loopback interface.
  9. 根据权利要求7或8所述系统,其中,所述管理地址生成规则包括:判断网元是否支持NEID映射成网元管理IP地址,如果支持,将NEID映射成网元管理IP地址;如果不支持,将网元MAC地址映射成网元管理IP地址。The system according to claim 7 or 8, wherein the management address generation rule comprises: determining whether the network element supports mapping of the NEID to the network element management IP address, and if so, mapping the NEID to the network element management IP address; if not supported Map the network element MAC address to the NE management IP address.
  10. 根据权利要求7或8所述系统,其中,所述接入网元和非接入网元分别创建以太网子接口,生成DCN的IP地址路由表包括:所述接入网元和非接入网元分别创建点对点类型的以太网子接口,绑定所述以太网子接口至VLAN,并配置到OSPF路由协议,依据所述OSPF路由协议生成DCN的IP地址路由表;其中,所述以太网子接口的IP地址采用租用DCN管理地址的方式。The system according to claim 7 or 8, wherein the access network element and the non-access network element respectively create an Ethernet sub-interface, and the IP address routing table for generating the DCN includes: the access network element and the non-access The network element respectively creates a point-to-point type Ethernet sub-interface, binds the Ethernet sub-interface to the VLAN, and configures an OSPF routing protocol to generate a DCN IP address routing table according to the OSPF routing protocol. The IP address of the sub-interface is the way to lease the DCN management address.
  11. 根据权利要求7或8所述系统,其中,所述接入网元,还配置为配置接入网元与EMS间的路由,将所述路由重发布至OSPF路由协议中;The system of claim 7 or 8, wherein the access network element is further configured to configure a route between the access network element and the EMS, and re-advertise the route to the OSPF routing protocol;
    相应地,所述系统还包括网关; Correspondingly, the system further comprises a gateway;
    所述EMS,还配置为指定所述EMS到所述网关的路由;The EMS is further configured to specify a route of the EMS to the gateway;
    所述网关,配置为指定所述网关到各网元的路由。The gateway is configured to specify a route from the gateway to each network element.
  12. 根据权利要求7或8所述系统,其中,所述EMS,还配置为创建接入网元对应的逻辑网元,并建立EMS与所述接入网元的连接;The system of claim 7 or 8, wherein the EMS is further configured to create a logical network element corresponding to the access network element, and establish a connection between the EMS and the access network element;
    所述接入网元,还配置为发送各网元信息至所述EMS。The access network element is further configured to send each network element information to the EMS.
  13. 一种存储介质,所述存储介质中存储有计算机程序,所述计算机程序配置为执行权利要求1至6任一项所述的数据通信网络DCN开通方法。 A storage medium storing a computer program configured to perform the data communication network DCN activation method according to any one of claims 1 to 6.
PCT/CN2014/090462 2014-08-07 2014-11-06 Method and system for turning on a data communication network, and storage medium WO2016019645A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410387464.2A CN105337754B (en) 2014-08-07 2014-08-07 Data communication network opening method and system
CN201410387464.2 2014-08-07

Publications (1)

Publication Number Publication Date
WO2016019645A1 true WO2016019645A1 (en) 2016-02-11

Family

ID=55263074

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/090462 WO2016019645A1 (en) 2014-08-07 2014-11-06 Method and system for turning on a data communication network, and storage medium

Country Status (2)

Country Link
CN (1) CN105337754B (en)
WO (1) WO2016019645A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112333014A (en) * 2020-10-26 2021-02-05 中国联合网络通信集团有限公司 Device management method and communication apparatus

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105721324A (en) * 2016-05-04 2016-06-29 重庆金美通信有限责任公司 Routing protocol self-adaptation method
CN107769939B (en) * 2016-08-17 2020-03-20 华为技术有限公司 Network element management method, network management, gateway network element and system in data communication network
CN106972884A (en) * 2017-04-12 2017-07-21 东华大学 A kind of DCN tests and guard method based on optical transfer network
CN108134705B (en) * 2017-12-29 2021-07-09 北京华为数字技术有限公司 DCN management method, network element and computer storage medium
CN110784329B (en) * 2018-07-30 2022-04-12 成都鼎桥通信技术有限公司 Method and system for routing terminal equipment of LTE network
CN110351141B (en) * 2019-07-12 2022-05-17 Ut斯达康通讯有限公司 Flexe interface management method, device and network element
CN113726916B (en) * 2020-05-25 2023-02-03 华为技术有限公司 Method for configuring IP address of network equipment and related equipment
CN114553831B (en) * 2020-11-25 2023-09-08 华为技术有限公司 Method and system related to sending management IP address

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7187653B2 (en) * 2002-12-13 2007-03-06 Bellsouth Intellectual Property Corporation Method and system for performing a logical loopback test
CN101141281A (en) * 2006-09-06 2008-03-12 中兴通讯股份有限公司 Network management and non-gateway network element communicating method
US20100146086A1 (en) * 2008-12-09 2010-06-10 The Go Daddy Group, Inc. Using routing protocols to migrate a hosted account
CN101984581A (en) * 2010-11-04 2011-03-09 中兴通讯股份有限公司 Method and system for opening data communication network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7187653B2 (en) * 2002-12-13 2007-03-06 Bellsouth Intellectual Property Corporation Method and system for performing a logical loopback test
CN101141281A (en) * 2006-09-06 2008-03-12 中兴通讯股份有限公司 Network management and non-gateway network element communicating method
US20100146086A1 (en) * 2008-12-09 2010-06-10 The Go Daddy Group, Inc. Using routing protocols to migrate a hosted account
CN101984581A (en) * 2010-11-04 2011-03-09 中兴通讯股份有限公司 Method and system for opening data communication network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112333014A (en) * 2020-10-26 2021-02-05 中国联合网络通信集团有限公司 Device management method and communication apparatus
CN112333014B (en) * 2020-10-26 2022-08-02 中国联合网络通信集团有限公司 Device management method and communication apparatus

Also Published As

Publication number Publication date
CN105337754B (en) 2020-04-10
CN105337754A (en) 2016-02-17

Similar Documents

Publication Publication Date Title
WO2016019645A1 (en) Method and system for turning on a data communication network, and storage medium
US10757008B2 (en) Flow specification protocol-based communications method, device, and system
US10652101B2 (en) System and method for managing site-to-site VPNs of a cloud managed network
US11212210B2 (en) Selective route exporting using source type
CN103997414B (en) Generate method and the network control unit of configuration information
US10263808B2 (en) Deployment of virtual extensible local area network
TW202026896A (en) Asynchronous object manager in a network routing environment
US8385353B2 (en) Connectivity fault management (CFM) auto-provisioning using virtual private LAN service (VPLS) auto-discovery
US9344333B2 (en) Automating network build-out in self building networks
CN107592270B (en) FlowSpec message processing method, device and system
JP6193473B2 (en) Computer-implemented method, computer program product and computer
US11374974B2 (en) Security enforcement for virtual gateways
US11469998B2 (en) Data center tenant network isolation using logical router interconnects for virtual network route leaking
WO2020010557A1 (en) Implementation of service function chain on basis of software-defined network
US20130212241A1 (en) System and method for operating network based on network virtualization
CN105830500A (en) Topology discovery based on sctp/x2 snooping
US10749733B2 (en) Apparatus and method for controlling network device based on network service in communication system
US20190215191A1 (en) Deployment Of Virtual Extensible Local Area Network
CN108886494A (en) The method and apparatus established and kept using the pseudo-wire of Intermediate System-to-Intermediate System (IS-IS)
WO2014132958A1 (en) Communication system, control device, communication method and program
Wu et al. YANG data model for L3VPN service delivery
CN105530109A (en) Method, router and system for realizing network element plugging and management
JP5911620B2 (en) Virtual network management server and edge router
CN106571993A (en) Data transmission method, data transmission device and data transmission system
KR102385707B1 (en) SDN network system by a host abstraction and implemented method therefor

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: 14899400

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: 14899400

Country of ref document: EP

Kind code of ref document: A1