WO2015070611A1 - Network element device and method for controlling network element device to join network - Google Patents
Network element device and method for controlling network element device to join network Download PDFInfo
- Publication number
- WO2015070611A1 WO2015070611A1 PCT/CN2014/080655 CN2014080655W WO2015070611A1 WO 2015070611 A1 WO2015070611 A1 WO 2015070611A1 CN 2014080655 W CN2014080655 W CN 2014080655W WO 2015070611 A1 WO2015070611 A1 WO 2015070611A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- element device
- network element
- network
- protocol packet
- network management
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000004891 communication Methods 0.000 claims abstract description 41
- 230000004913 activation Effects 0.000 claims description 3
- 238000007726 management method Methods 0.000 description 221
- 238000010586 diagram Methods 0.000 description 10
- 238000012423 maintenance Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000002715 modification method Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/44—Star or tree networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
Definitions
- the present invention relates to the field of data communications, and in particular, to a method for controlling a network element device to join a network and a network element device.
- the sending network management packet has a dedicated network management channel, and the network management channel generally uses a specific network management channel vlan information for processing, so that the network-related packets related to the network management are carried by the vlan.
- Information which makes the network management channel become a dedicated business.
- the vlan information of the preset NMS channel that is added to the NE device may be inconsistent with the vlan information of the deployed NMS channel.
- the vlan information of the preset NMS channel that is newly added to the NE device is modified so that the vlan information of the two devices is the same.
- the modification mode 2 modifies the vlan information of the deployed NMS channel so that the vlan information of the two devices is maintained. Consistent. If the above-mentioned modification mode 2 is adopted, if the deployed network management channel vlan is occupied by other services, if the deployed network management channel vlan information is modified, it is obvious that all the network device network management systems based on the deployed network management channel are required. The channel vlan information is reset, which is very cumbersome to manage and the maintenance cost is also huge.
- the prior art solution generally includes: 1. planning a network-wide unified network management channel vlan information for the network as a whole; 2. if the newly added device If the vlan information of the preset network management channel is inconsistent with the vlan information of the unified network management channel of the entire network, the newly added device must be modified accordingly before the new device is added to the network, so that the vlan information of the newly added network management channel meets the requirements of the entire network.
- the embodiments of the present invention provide a method for controlling a network element device to join a network, and a network element device, which is configured to automatically establish a network management system for configuring a network management channel vlan information of a new network element device without manual intervention. aisle. According to an aspect of the present invention, a method for controlling a network element device to join a network is provided.
- the method includes: the network element device sends a first protocol packet to a network element device of a first-level node, where the first protocol packet is not carried. a virtual local area network vlan information of the network management channel; the network element device receives the second protocol message sent by the upper-level node network element device according to the first protocol packet, and is carried according to the second protocol packet.
- the network management channel vlan information establishes a communication connection with the network management server, where the network channel vlan information carried in the second protocol packet is used by the upper-level node network element device for the next-level node network element device, and the network management channel is established. Vlan information.
- the network element device receives the second protocol packet sent by the upper-level node network element device according to the first protocol packet, and establishes and manages the network management according to the vlan information carried in the second protocol packet.
- the method further includes: the network element device receiving the network management channel vlan information of the next-level node network element device of the network element device delivered by the network management server; Receiving a third protocol packet sent by the next-level node network element device of the network element device, where the third protocol packet does not carry the network management channel vlan information; the network element device according to the received third protocol packet
- the next-level node network element device of the network element device sends a fourth protocol packet, so that the next-level node network element device establishes communication with the network management server according to the network management channel vlan carried in the fourth protocol packet.
- the network management channel vlan information carried in the fourth protocol packet is the next-level node network element device that is received by the network element device from the network management server and is provided to the network element device.
- vlan information network management channel Preferably, the network device channel vlan information of the next-level node network element device of the network element device received by the network element device is opposite to or not the network management channel vlan information configured by the network element device.
- the network element device sends a first protocol packet to the first-level node network element device, and the step of the first protocol packet not carrying the virtual local area network vlan information of the network management channel includes: the network element device starting the link Layer protocol The network element device sends a first protocol packet to the network element device of the upper-level node of the network element device according to the activated link layer protocol, where the first protocol packet does not carry the network management channel vlan information.
- the method further includes: determining the network Whether the metadevice establishes a communication connection with the network management server.
- a network element device includes: a first transceiver module, an establishing module connected to the first transceiver module; wherein: the first transceiver module is configured to be upward
- the first-level node network element device sends the first protocol packet, where the first protocol packet does not carry the virtual local area network vlan information of the network management channel; and the first-level node network element device is configured according to the first protocol packet.
- the second protocol packet is sent, and the establishing module is configured to establish, according to the network management channel vlan information carried in the second protocol packet, a communication connection with the network management server, where the network channel vlan information carried by the second protocol packet is The vlan information of the network management channel is established for the network element device of the upper-level node to be provided by the network element device of the next-level node.
- the network element device further includes a second transceiver module, and a third transceiver module connected to the second transceiver module, wherein: the second transceiver module is configured to receive according to the network management channel established by the establishment module The network management channel vlan information of the next-level node network element device of the network element device delivered by the network management server; the third transceiver module is configured to send the next-level node network element device of the network element device The third protocol packet, the third protocol packet does not carry the network management channel vlan information; and is configured to send the fourth protocol to the next-level node network element device of the network element device according to the third protocol packet.
- the next-level node network element device establishes a communication connection with the network management server according to the network management channel vlan carried in the fourth protocol packet, where the network management channel vlan information carried in the fourth protocol packet is
- the vlan information of the network management channel is established for the next-level node network element device that is received by the network element device from the network management server and is provided to the network element device.
- the network management channel vlan information of the next-level node network element device of the network element device received by the second transceiver module is the same as or different from the vlan information configured by the network element device.
- the first transceiver module includes a startup unit and a first transceiver unit, and the activation unit is configured to start a link layer protocol of the network element device;
- the first transceiver unit is configured to send a first protocol packet to the upper-level node network element device of the network element device according to the activated link layer protocol, where the first protocol packet does not carry the network management channel vlan information.
- the network element device further includes a connection determining module with the first transceiver module, where the determining module is configured to determine before the first transceiver module sends the first protocol packet to the upper-level node network element device. Whether the network element device establishes a communication connection with the network management server.
- FIG. 1 is a schematic flow chart of a first embodiment of a method for controlling a network element device to join a network according to the present invention
- FIG. 2 is a schematic flowchart of a second embodiment of a method for controlling a network element device to join a network according to the present invention
- FIG. 4 is a schematic flowchart of a third embodiment of a method for controlling a network element device to join a network according to the present invention
- FIG. 4 is a schematic diagram of a network element device of the present invention
- FIG. 6 is a schematic structural diagram of a second embodiment of a network element device according to the present invention
- FIG. 7 is a schematic structural diagram of a first transceiver module of FIG. 5
- FIG. 8 is a network element device of the present invention
- FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for a network element to join a network according to the present invention, where the method includes: S10: The network element device sends a first protocol packet to the network element device of the upper-level node, where the first protocol packet does not carry the network management channel vlan information.
- the vlan in the vlan information of the NMS channel is an abbreviation of Virtual Local Area Network, which indicates a virtual local area network.
- the network element device is a switch or a router.
- the network management server is connected to at least one network element device.
- the network element device When the network element device is newly added to the network element device of the network, the network element device exchanges information with the upper-level node network element device connected thereto to establish a communication connection between the network element device and the network management server.
- the network element device joins the network for the first time, the network element device does not have the network management channel vlan information.
- the network element device sends the first protocol packet to the upper-level node network element device of the network element device, the network element device sends the first protocol packet according to the original protocol field.
- the network protocol channel vlan information is not carried.
- the network element device of the upper-level node of the network element device receives the first protocol packet sent by the network element device, the first protocol packet is parsed.
- the network element device When the network device does not carry the vlan information of the network management channel, it can be determined that the network element device is a newly added network element device. Therefore, the network element device of the upper-level node of the network element device needs to send the network management channel vlan to the network element device. The information is used to enable the network element device to configure the network management channel vlan information.
- S20 The network element device receives the second protocol packet sent by the upper-level node network element device according to the first protocol packet, and establishes communication with the network management server according to the network management channel vlan information carried in the second protocol packet.
- the network channel vlan information carried by the second protocol packet is used by the upper-level node network element device for the next-level node network element device, and the vlan information of the network management channel is established.
- the network element device receives the second protocol packet sent by the network element device of the upper-level node, where the second protocol packet carries the vlan information of the network management channel (that is, the upper-level node of the network element device)
- the network element device writes the network management channel vlan information in the user editable field of the second protocol packet, and the network management channel vlan information carried in the second protocol packet is used by the upper-level node network element device.
- the level node network element device establishes the vlan information of the network management channel, and the network element channel vlan information of the upper-level node network element device for the next-level node network element device is obtained by the upper-level node network element device from the network management server, or It is said that the network management server pre-sends to the upper-level node network element device for the upper-level node network element device to provide to the next-level node network element device.
- the network element device parses the second protocol packet to obtain the network management channel vlan information of the upper-layer node network element device, and uses the obtained network management channel vlan information as its own network management channel vlan information, and according to the network management
- the channel vlan information establishes a network management channel, so that the network element device establishes a communication connection with the network management server.
- the network element device carries the network management channel vlan information in the packets sent by the network management device. For example, when the network management channel vlan information is vlan 100, the network management channel established in the network management device is configured. All sent packets carry vlan 100.
- the network element device does not need to be configured with a network management channel vlan information in advance, and the network element device automatically obtains the network management channel vlan through the upper-level node network element device of the network element device.
- the information is used as the vlan information of the network management channel, and the network management channel is established according to the vlan information of the network management channel, so that the network element device establishes a communication connection with the network management server; the network management efficiency is greatly improved, the network management flexibility is improved, and the network is saved.
- FIG. 2 is a schematic flowchart diagram of a second embodiment of a method for controlling a network element device to join a network according to the present invention.
- the method further includes: S30, the network element device receiving, by the network element device, a next-level node network element of the network element device delivered by the network management server Network management channel vlan information of the device.
- the network management server can manage the network element device, and send the network management device of the next-level node network element device of the network element device to the network element device. Channel vlan information.
- the network element device receives the network management channel vlan information of the next-level node network element device of the network element device delivered by the network management device, and the network management channel of the next-level node network element device of the network element device.
- the vlan information may be the same as or different from the network management channel vlan information configured by the network element device.
- the network management channel vlan information of the network element device is vlan 100 (that is, the network element device is from the upper-level node network element device of the network element device).
- the vlan information of the network management channel is vlan 100
- the vlan information of the network management channel of the next-level node network element device of the network element device is vlan 200
- the network management channel vlan information of the network element device is vlan 100
- the network element device The network management channel vlan information of the next-level node network element device is also vlan 100; that is, the network management channel vlan information of the next-level node network element device of the network element device can be configured by the network management server according to actual needs, and the network management server is in network planning.
- the configuration is implemented to avoid conflicts between the vlan information of the network management channel and the service vlan information.
- the network management server can set the vlan information of the network management channel of the network element devices at different levels in the network step by step, or the same.
- S40 The network element device receives the third protocol packet sent by the network element device of the next-level node of the network element device, where the third protocol packet does not carry the network management channel vlan information.
- the network element device receives the third protocol packet sent by the next-level node network element device of the network element device, because the next level of the network element device The node network element device joins the network for the first time. Therefore, the next-level node network element device does not have the network management channel vlan information, and the next-level node network element is set.
- the device sends a third protocol packet to the NE device, it sends the packet according to the original protocol field. The vlan information of the network management channel is not carried.
- the network element device sends a fourth protocol packet to the next-level node network element device of the network element device according to the received third protocol packet, so that the next-level node network element device reports according to the fourth protocol.
- the network management channel vlan carried in the text establishes a communication connection with the network management server, wherein the network management channel vlan information carried in the fourth protocol packet is the next-level node network that the network element device receives from the network management server and provides the network element device to the network element device.
- Meta-device establish vlan information of the network management channel.
- the network element device parses the received third protocol packet, and when the third protocol packet does not carry the network management channel vlan information, it can be determined that the next-level node network element device is a newly added network element device. Therefore, the network element device sends a fourth protocol packet to the next-level node network element device, where the fourth protocol packet includes the next-level node network element device of the network element device received by the network element device from the network management server.
- the network management channel vlan information is configured to enable the next-level node network element device to be configured according to the received network management channel vlan information, and establish a communication connection with the network management server.
- the network element device can receive the network management channel vlan information of the next-level node network element device of the network element device from the network management server, and the network management channel vlan of the received next-level node network element device The information is sent to the next-level node network element device, so that the next-level node network element device performs the network management channel vlan information configuration; the network management channel vlan information of the next-level node network element device can be conveniently and flexibly configured, and the next The network management channel vlan information of the first-level network element device may be the same as or different from the network management channel vlan information of the network element device.
- the network management server may configure the network management channel vlan information of the network element devices of different levels to be configured step by step.
- the information can also be unified across the network, and can be flexibly configured according to actual needs.
- FIG. 3 is a schematic flowchart of step S10 in FIG. 1, and the step S10 includes:
- the network element device starts a link layer protocol.
- the network element device starts the link layer protocol, and the link layer protocol may be: LLDP protocol (Link Layer Discovery Protocol), PPPOE protocol (point-to-point protocol over Ethernet) Abbreviation) or vendor proprietary link layer protocol.
- LLDP protocol Link Layer Discovery Protocol
- PPPOE protocol point-to-point protocol over Ethernet
- vendor proprietary link layer protocol vendor proprietary link layer protocol. Because the link layer protocol does not need to rely on complex configuration information such as IP, it can be run by default when the network element device is configured with the backspace configuration.
- the network element device can be directly connected to the upper-level node network element device at the link layer. Perform information interaction.
- the network element device sends a first protocol packet to the network element device of the upper-level node of the network element device according to the activated link layer protocol, where the first protocol packet does not carry the network management channel vlan information.
- the network element device sends a first protocol packet to the network element device of the upper-level node of the network element device according to the activated link layer protocol.
- the network element device joins the network for the first time, the network element device does not have the network management channel vlan information.
- the network element device sends the first protocol packet to the upper-layer node network element device of the network element device, the network element device sends the first protocol packet according to the original protocol field, and does not carry the network management channel vlan information. Referring to FIG. 4, FIG. 4, FIG.
- FIG. 4 is a schematic flowchart diagram of a third embodiment of a method for controlling a network element device to join a network according to the present invention. Based on the foregoing second embodiment of the method for controlling a network element device to join a network, before the step S10, the method further includes:
- step S60 Determine whether the network element device establishes a communication connection with the network management server. If the network element device does not establish a communication connection with the network management server, step S10 is performed. In the step S60, it is determined whether the network element device establishes a communication connection with the network management server. Specifically, it can be determined whether the network element device is configured with the network management channel vlan information, and if the network element device has been configured with the network management channel vlan information, The network element device is considered to have established a communication connection with the network management server. If the network element device does not have the network management channel vlan information, the network element device is not connected to the network management server. Referring to FIG. 5, FIG.
- the network element device includes: a first transceiver module 10, and an establishing module 20 connected to the first transceiver module 10;
- the transceiver module 10 is configured to send a first protocol packet to the network element device of the first-level node, where the first protocol packet does not carry the virtual local area network vlan information of the network management channel; and the device is configured to be the upper-level node network element device according to the first a second protocol packet sent by the protocol packet, the establishing module 20, configured to establish a communication connection with the network management server by using the network management channel vlan information carried in the second protocol packet, where the second protocol packet carries the network
- the channel vlan information is used by the upper-level node network element device for the next-level node network element device, and the vlan information of the network management channel is established.
- the vlan in the vlan information of the NMS channel is an abbreviation of Virtual Local Area Network, which indicates a virtual local area network.
- the network element device is a switch or a router.
- the network management server is connected to at least one network element device.
- the network element device exchanges information with the upper-level node network element device connected thereto to establish a communication connection between the network element device and the network management server.
- the network element device joins the network for the first time, the network element device does not have the network management channel vlan information.
- the original protocol field is sent
- the first protocol packet is parsed, and the first protocol packet is parsed when the first-level node network element device of the network element device receives the first protocol packet sent by the network element device.
- the protocol packet does not carry the vlan information of the network management channel, it can be determined that the network element device is a newly added network element device. Therefore, the network element device of the upper-level node of the network element device needs to send the network management device to the network element device.
- the channel vlan information is configured to enable the network element device to configure the network management channel vlan information.
- the first transceiver module 10 of the network element device receives the second protocol packet sent by the network element device of the upper-level node, and the second protocol packet carries the vlan information of the network management channel (that is, the upper-level node of the network element device)
- the network element device writes the network management channel vlan information in the user editable field of the second protocol packet, and the network management channel vlan information carried in the second protocol packet is used by the upper-level node network element device.
- the level node network element device establishes the vlan information of the network management channel, and the network element channel vlan information of the upper-level node network element device for the next-level node network element device is obtained by the upper-level node network element device from the network management server, or It is said that the network management server pre-sends to the upper-level node network element device for the upper-level node network element device to provide to the next-level node network element device.
- the establishing module 20 of the network element device parses the second protocol packet to obtain the network management channel vlan information of the network element device of the upper-level node, and uses the obtained network management channel vlan information as its own network management channel vlan information.
- FIG. 6 is a schematic structural diagram of a second embodiment of a network element device according to the present invention.
- the network element device further includes a second transceiver module 30, a third transceiver module 40 connected to the second transceiver module 30, and the second transceiver module 30 is connected to the setup module 20,
- the second transceiver module 30 is configured to receive, according to the network management channel established by the establishing module, the network management channel vlan information of the network element device of the next-level node of the network element device delivered by the network management server;
- the third transceiver module 40 And configured to receive the third protocol packet sent by the network element device of the next-level node of the network element device, where the third protocol packet does not carry the network management channel vlan information; and is configured to send the network packet to the network according to the third protocol packet.
- the next-level node network element device of the meta-device sends a fourth protocol packet, so that the next-level node network element device establishes a communication connection with the network management server according to the network management channel vlan carried in the fourth protocol packet, where
- the network management channel vlan information carried in the fourth protocol packet is the next-level node network element device that the network element device receives from the network management server and is provided to the network element device, and the network management device is established.
- the vlan information is the next-level node network element device that the network element device receives from the network management server and is provided to the network element device, and the network management device is established.
- the vlan information is the next-level node network element device that the network element device receives from the network management server and is provided to the network element device, and the network management device is established.
- the vlan information After the network element device establishes a communication connection with the network management server, the network management server can manage the network element device, and send the network management channel v
- the network element receives the network management channel vlan information of the next-level node network element device of the network element device delivered by the network management server through the second transceiver module 30.
- the second transceiver module 30 of the network element device receives the network management channel vlan information of the next-level node network element device of the network element device delivered by the network management device, and the network management channel of the next-level node network element device of the network element device.
- the vlan information is the same as or different from the network management channel vlan information configured by the NE device.
- the network management channel vlan information of the network element device is vlan 100 (that is, the network element device is from the upper-level node network element device of the network element device).
- the vlan information of the network management channel is vlan 100
- the vlan information of the network management channel of the next-level node network element device of the network element device is vlan 200
- the network management channel vlan information of the network element device is vlan 100
- the network element device The network management channel vlan information of the next-level node network element device is also vlan 100; that is, the network management channel vlan information of the next-level node network element device of the network element device can be configured by the network management server according to actual needs, and the network management server is in network planning.
- the configuration is implemented to avoid conflicts between the vlan information of the network management channel and the service vlan information.
- the network management server can set the vlan information of the network management channel of the network element devices at different levels in the network step by step, or the same.
- the third transceiver module 40 of the network element device receives the third protocol packet sent by the next-level node network element device of the network element device, because the network The next-level node network element device of the meta-device joins the network for the first time. Therefore, the next-level node network element device does not have the network management channel vlan information, and the next-level node network element device sends the third protocol packet to the network element device. , sent according to the original protocol field, does not carry the network management channel vlan information.
- the third transceiver module 40 of the network element device parses the received third protocol packet. When the third protocol packet does not carry the network management channel vlan information, it can be determined that the next-level node network element device is a new one.
- the third network transceiver module 40 sends a fourth protocol packet to the next-level node network element device, where the fourth protocol packet includes the network element device received from the network management server.
- the vlan information of the network management channel of the next-level node network element device of the network element device is configured to enable the next-level node network element device to be configured according to the received network management channel vlan information, and establish a communication connection with the network management server. Referring to FIG. 7, FIG.
- the first transceiver module includes a startup unit 11 and a first transceiver unit 12, wherein: the startup unit 11 is configured to start the network element device.
- the first layer transceiver unit 12 is configured to send a first protocol packet to the network element device of the upper-level node of the network element device according to the activated link layer protocol, where the first protocol packet does not carry the network management channel. Vlan information.
- the network element is configured to start the link layer protocol by using the initiating unit 11.
- the link layer protocol may be: LLDP (Link Layer Discovery Protocol), PPP0E protocol (point-to-point protocol) Over Ethernet (abbreviation) or vendor proprietary link layer protocol.
- the link layer protocol does not need to rely on complex configuration information such as IP, it can be run by default when the network element device is turned on.
- the network element device can directly connect to the upper-level node network element device at the link layer. Perform information interaction.
- the first transceiver unit 12 of the network element device sends a first protocol packet to the network element device of the upper-level node of the network element device according to the activated link layer protocol. When the network element device joins the network for the first time, the network element device does not have the network element device.
- FIG. 8 is a schematic structural diagram of a third embodiment of a network element device according to the present invention. Based on the second embodiment of the network element device, the network element device further includes a connection determining module 50 connected to the first transceiver module 10, where the determining module 50 is configured to send the first transceiver module 10 to the upper-level node network element device. Before the first protocol packet, determine whether the network element device establishes a communication connection with the network management server.
- the determining module 50 determines whether the network element device establishes a communication connection with the network management server. Specifically, it is determined whether the network element device is configured with the network management channel vlan information, and if the network element device has been configured with the network management channel vlan information, the The network element device has established a communication connection with the network management server. If the network element device does not have the network management channel vlan information, the network element device does not establish a communication connection with the network management server.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Disclosed are a network element device and a method for controlling the network element device to join a network, the method comprising: a network element device sends a first protocol packet to an upper-level node network element device, the first protocol packet not carrying virtual local area network (vlan) information of a network management channel; the network element device receives a second protocol packet sent by the upper-level node network element device based on the first protocol packet, and establishes a communication connection with a network management server according to the vlan information of the network management channel carried by the second protocol packet, the vlan information of the network channel carried by the second protocol packet being the vlan information provided by the upper-level node network element device for the next-level node network element device thereof to establish a network management channel. In the present invention, the network element device automatically obtains the vlan information of the network management channel from the upper-level node network element device connected to the network element device as the vlan information of the network management channel of the network element device, and establishes a network management channel according to the vlan information of the network management channel thereof, thus allowing the network element device to establish a communication connection with the network management server.
Description
一种控制网元设备加入网络的方法及网元设备 技术领域 本发明涉及到数据通信领域, 特别涉及到一种控制网元设备加入网络的方法及网 元设备。 背景技术 一般情况下, 发送网管报文是具备一个专门的网管通道的, 而此网管通道一般要 使用一个特定的网管通道 vlan信息进行处理, 使得网络上与网管有关的报文都被携带 这个 vlan信息, 从而使得网管通道变成一个专署的业务。 而在网络进行配置、 部署以及扩容的时候, 新加入网元设备的预置网管通道 vlan 信息, 有可能与已经部署的网管通道 vlan信息是不一致的, 此时就需要采用: 修改方 式一、对新加入网元设备的预置网管通道 vlan信息进行修改, 以使得两者的 vlan信息 保持一致; 或者, 修改方式二、 对已经部署的网管通道 vlan信息进行修改, 以使得两 者的 vlan信息保持一致。 如果采用上述的修改方式二, 则在已经部署的网管通道 vlan被其他业务占用的时 候, 如果修改已经部署的网管通道 vlan信息, 显然需要对所有基于所述已经部署的网 管通道的在网设备网管通道 vlan信息进行重新设置, 管理起来非常麻烦并且维护成本 也非常巨大。 因此, 现有的技术方案中, 通常采用的是上述修改方式一, 这类现有技术方案通 常包括: 1、 为网络整体规划一个全网统一的网管通道 vlan信息; 2、 如果新加入的 设备的预置的网管通道 vlan信息与全网统一的网管通道 vlan信息不一致,则在新加入 设备上线前必须对新加入设备进行相应的修改, 使得新加入设备的网管通道 vlan信息 符合全网要求。 然而, 采用上述修改方式一的现有技术方案, 在对设备的网管通道 vlan信息进行 设置的过程中, 需要人工干预以使得新加入设备的网管通道 vlan信息与全网统一的网 管通道 vlan信息保持一致, 增加了维护成本。
发明内容 本发明实施例提供了一种控制网元设备加入网络的方法及网元设备, 旨在方便的 在无人工干预的情况下,自动为新的网元设备的配置网管通道 vlan信息建立网管通道。 根据本发明的一个方面,提供了一种控制网元设备加入网络的方法,该方法包括: 网元设备向上一级节点网元设备发送第一协议报文, 所述第一协议报文未携带网 管通道的虚拟局域网 vlan信息; 所述网元设备接收所述上一级节点网元设备根据所述第一协议报文发送的第二协 议报文, 并根据所述第二协议报文携带的网管通道 vlan信息建立与网管服务器的通信 连接, 其中, 所述第二协议报文携带的网络通道 vlan信息为所述上一级节点网元设备 供其下一级节点网元设备, 建立网管通道的 vlan信息。 优选地, 所述网元设备接收所述上一级节点网元设备根据所述第一协议报文发送 的第二协议报文, 并根据所述第二协议报文携带的 vlan信息建立与网管服务器的通信 连接的步骤之后, 该方法还包括: 所述网元设备接收所述网管服务器下发的所述网元设备的下一级节点网元设备的 网管通道 vlan信息; 所述网元设备接收所述网元设备的下一级节点网元设备发送的第三协议报文, 所 述第三协议报文未携带网管通道 vlan信息; 所述网元设备根据接收的第三协议报文向所述网元设备的下一级节点网元设备发 送第四协议报文, 以使所述下一级节点网元设备根据所述第四协议报文携带的网管通 道 vlan建立与网管服务器的通信连接, 其中, 所述第四协议报文携带的网管通道 vlan 信息为所述网元设备从网管服务器接收的提供给该网元设备的下一级节点网元设备, 建立网管通道的 vlan信息。 优选地, 所述网元设备从网管服务器接收的所述网元设备的下一级节点网元设备 的网管通道 vlan信息与所述网元设备配置的网管通道 vlan信息相冋或者不冋。 优选地, 所述网元设备向上一级节点网元设备发送第一协议报文, 所述第一协议 报文未携带网管通道的虚拟局域网 vlan信息的步骤包括: 所述网元设备启动链路层协议;
所述网元设备根据启动的链路层协议向所述网元设备的上一级节点网元设备发送 第一协议报文, 所述第一协议报文未携带网管通道 vlan信息。 优选地, 网元设备向上一级节点网元设备发送第一协议报文, 所述第一协议报文 未携带网管通道的虚拟局域网 vlan信息的的步骤之前, 该方法还包括: 判断所述网元设备是否与网管服务器建立通信连接。 根据本发明的另一个方面, 还提供了一种网元设备, 该网元设备包括: 第一收发 模块, 与所述第一收发模块连接的建立模块; 其中: 第一收发模块, 设置为向上一级节点网元设备发送第一协议报文, 所述第一协议 报文未携带网管通道的虚拟局域网 vlan信息; 及设置为所述上一级节点网元设备根据 所述第一协议报文发送的第二协议报文, 建立模块, 设置为根据所述第二协议报文携带的网管通道 vlan信息建立与网管服 务器的通信连接, 其中, 所述第二协议报文携带的网络通道 vlan信息为所述上一级节 点网元设备供其下一级节点网元设备, 建立网管通道的 vlan信息。 优选地, 所述网元设备还包括第二收发模块, 与所述第二收发模块连接的第三收 发模块, 其中: 所述第二收发模块, 设置为根据所述建立模块建立的网管通道接收所述网管服务 器下发的所述网元设备的下一级节点网元设备的网管通道 vlan信息; 所述第三收发模块, 设置为接收所述网元设备的下一级节点网元设备发送的第三 协议报文, 所述第三协议报文未携带网管通道 vlan信息; 及设置为根据所述第三协议 报文向所述网元设备的下一级节点网元设备发送第四协议报文, 以使所述下一级节点 网元设备根据所述第四协议报文携带的网管通道 vlan建立与网管服务器的通信连接, 其中, 所述第四协议报文携带的网管通道 vlan信息为所述网元设备从网管服务器接收 的提供给该网元设备的下一级节点网元设备, 建立网管通道的 vlan信息。 优选地, 所述第二收发模块从网管服务器接收的所述网元设备的下一级节点网元 设备的网管通道 vlan信息与所述网元设备配置的 vlan信息相同或者不同。 优选地, 所述第一收发模块包括启动单元和第一收发单元, 所述启动单元, 设置为启动所述网元设备的链路层协议;
第一收发单元, 设置为根据启动的链路层协议向所述网元设备的上一级节点网元 设备发送第一协议报文, 所述第一协议报文未携带网管通道 vlan信息。 优选地, 所述网元设备还包括与所述第一收发模块连接判断模块, 所述判断模块 设置为在所述第一收发模块向上一级节点网元设备发送第一协议报文前, 判断所述网 元设备是否与网管服务器建立通信连接。 采用本发明实施例提供的控制网元设备加入网络的方法及网元设备, 不需要人工 干预, 该网元设备自动从与该网元设备连接的上一级节点网元设备获取网管通道 vlan 信息作为自身的网管通道 vlan信息, 并根据该网管通道 vlan信息建立网管通道, 以使 得该网元设备与网管服务器建立通信连接。 附图说明 图 1为本发明的控制网元设备加入网络的方法的第一实施例流程示意图; 图 2为本发明的控制网元设备加入网络的方法的第二实施例流程示意图; 图 3为本发明的控制网元设备加入网络的方法的步骤 S10的具体流程示意图; 图 4为本发明的控制网元设备加入网络的方法的第三实施例流程示意图; 图 5为本发明的网元设备的第一实施例结构示意图; 图 6为本发明的网元设备的第二实施例结构示意图; 图 7为图 5中第一收发模块的具体结构示意图; 以及 图 8为本发明的网元设备的第三实施例结构示意图。 本发明目的的实现、 功能特点及优点将结合实施例, 参照附图做进一步说明。 具体实施方式 应当理解,此处所描述的具体实施例仅仅用以解释本发明, 并不用于限定本发明。 参照图 1, 图 1为本发明的控制网元设备加入网络的方法的第一实施例流程示意 图, 该方法包括:
S10、网元设备向该上一级节点网元设备发送第一协议报文,该第一协议报文未携 带网管通道 vlan信息。 该网管通道 vlan信息中的 vlan是 Virtual Local Area Network的缩写, 表示虚拟局 域网。 该网元设备是交换机或路由器。 在一个网络中, 网管服务器连接着至少一个在网 网元设备。 该网元设备为新加入该网络的网元设备时, 该网元设备通过与其连接的上 一级节点网元设备交互信息, 以建立该网元设备与网管服务器的通信连接。 该网元设 备初次加入网络时, 该网元设备没有网管通道 vlan信息, 该网元设备向网元设备的上 一级节点网元设备发送第一协议报文时, 按照原协议字段进行发送, 并未携带网管通 道 vlan信息, 当该网元设备的上一级节点网元设备接收到该网元设备发送的第一协议 报文时, 解析该第一协议报文, 当该第一协议报文未携带网管通道 vlan信息时, 可判 断出该网元设备是一个新加入的网元设备, 因此, 该网元设备的上一级节点网元设备 需要向该网元设备下发网管通道 vlan信息以使得该网元设备进行网管通道 vlan信息配 置。 S20、该网元设备接收该上一级节点网元设备根据该第一协议报文发送的第二协议 报文,并根据该第二协议报文携带的网管通道 vlan信息建立与网管服务器的通信连接, 其中, 该第二协议报文携带的网络通道 vlan信息为该上一级节点网元设备供其下一级 节点网元设备, 建立网管通道的 vlan信息。 在该步骤 S20中, 该网元设备接收上一级节点网元设备下发的第二协议报文, 该 第二协议报文携带了网管通道 vlan信息(即该网元设备的上一级节点网元设备在第二 协议报文的用户可编辑字段中写入了网管通道 vlan信息), 且该第二协议报文携带的 网管通道 vlan信息为该上一级节点网元设备供其下一级节点网元设备, 建立网管通道 的 vlan信息,该上一级节点网元设备供其下一级节点网元设备的网管通道 vlan信息是 该上一级节点网元设备从网管服务器获得, 或者说是由网管服务器预先发送给该上一 级节点网元设备以供该上一级节点网元设备提供给其下一级节点网元设备。 该网元设 备对该第二协议报文进行解析, 以得到该上一级节点网元设备的网管通道 vlan信息, 并将得到的网管通道 vlan信息作为自己的网管通道 vlan信息,并根据该网管通道 vlan 信息建立网管通道, 以使得该网元设备与网管服务器建立通信连接。 该网元设备与网 管服务器建立通信连接后, 该网元设备在其建立的网管通道发送的报文全部携带网管 通道 vlan信息, 如当网管通道 vlan信息为 vlan 100, 则在其建立的网管通道发送的报 文全部携带 vlan 100。
采用上述实施例, 不需要对网元设备预先设置一个网管通道 vlan信息, 也不需要 人工干预, 就可使得该网元设备自动通过该网元设备的上一级节点网元设备获取网管 通道 vlan信息作为自身的网管通道 vlan信息, 并根据该网管通道 vlan信息建立网管 通道, 以使得该网元设备与网管服务器建立通信连接; 大幅度的提高了网络管理效率, 提高网络管理灵活度, 节约网络开通和维护的成本。 参照图 2, 图 2为本发明的控制网元设备加入网络的方法的第二实施例流程示意 图。 基于上述控制网元设备加入网络的方法的第一实施例, 在步骤 S20之后, 该方法 还包括: S30、该网元设备接收该网管服务器下发的该网元设备的下一级节点网元设备的网 管通道 vlan信息。 在步骤 S20中, 网元设备与网管服务器建立通信连接后, 该网管服务器可对该网 元设备进行管理, 并对该网元设备下发该网元设备的下一级节点网元设备的网管通道 vlan信息。 在该步骤 S30中, 该网元设备接收该网管服务器下发的该网元设备的下一级节点 网元设备的网管通道 vlan信息,该网元设备的下一级节点网元设备的网管通道 vlan信 息可与该网元设备配置的网管通道 vlan 信息相同或不同, 如该网元设备的网管通道 vlan信息为 vlan 100 (即该网元设备从该网元设备的上一级节点网元设备获得网管通 道 vlan信息为 vlan 100), 该网元设备的下一级节点网元设备的网管通道 vlan信息为 vlan 200; 如该网元设备的网管通道 vlan信息为 vlan 100, 该网元设备的下一级节点网 元设备的网管通道 vlan信息也为 vlan 100; 即该网元设备的下一级节点网元设备的网 管通道 vlan信息可由网管服务器根据实际需要配置, 由该网管服务器在网络规划中进 行配置, 可避免网管通道 vlan信息和业务 vlan信息存在冲突的问题。该网管服务器可 对在网的各级网元设备的网管通道 vlan信息逐级设置不同, 也可以相同。 S40、该网元设备接收该网元设备的下一级节点网元设备发送的第三协议报文,该 第三协议报文未携带网管通道 vlan信息。 当该网元设备有下一级节点网元设备加入时, 该网元设备接收该网元设备的下一 级节点网元设备发送的第三协议报文, 因为该网元设备的下一级节点网元设备第一次 加入网络, 因此该下一级节点网元设备没有网管通道 vlan信息, 该下一级节点网元设
备向网元设备发送第三协议报文时,按照原协议字段进行发送,并未携带网管通道 vlan 信息。 TECHNICAL FIELD The present invention relates to the field of data communications, and in particular, to a method for controlling a network element device to join a network and a network element device. In the general situation, the sending network management packet has a dedicated network management channel, and the network management channel generally uses a specific network management channel vlan information for processing, so that the network-related packets related to the network management are carried by the vlan. Information, which makes the network management channel become a dedicated business. When the network is configured, deployed, or expanded, the vlan information of the preset NMS channel that is added to the NE device may be inconsistent with the vlan information of the deployed NMS channel. In this case, you need to use: The vlan information of the preset NMS channel that is newly added to the NE device is modified so that the vlan information of the two devices is the same. Alternatively, the modification mode 2 modifies the vlan information of the deployed NMS channel so that the vlan information of the two devices is maintained. Consistent. If the above-mentioned modification mode 2 is adopted, if the deployed network management channel vlan is occupied by other services, if the deployed network management channel vlan information is modified, it is obvious that all the network device network management systems based on the deployed network management channel are required. The channel vlan information is reset, which is very cumbersome to manage and the maintenance cost is also huge. Therefore, in the prior art solution, the foregoing modification manner 1 is generally adopted. The prior art solution generally includes: 1. planning a network-wide unified network management channel vlan information for the network as a whole; 2. if the newly added device If the vlan information of the preset network management channel is inconsistent with the vlan information of the unified network management channel of the entire network, the newly added device must be modified accordingly before the new device is added to the network, so that the vlan information of the newly added network management channel meets the requirements of the entire network. However, in the prior art solution of the foregoing modification method 1, in the process of setting the network management channel vlan information of the device, manual intervention is required to maintain the network management channel vlan information of the newly added device and the unified network management channel vlan information of the entire network. Consistent, increased maintenance costs. SUMMARY OF THE INVENTION The embodiments of the present invention provide a method for controlling a network element device to join a network, and a network element device, which is configured to automatically establish a network management system for configuring a network management channel vlan information of a new network element device without manual intervention. aisle. According to an aspect of the present invention, a method for controlling a network element device to join a network is provided. The method includes: the network element device sends a first protocol packet to a network element device of a first-level node, where the first protocol packet is not carried. a virtual local area network vlan information of the network management channel; the network element device receives the second protocol message sent by the upper-level node network element device according to the first protocol packet, and is carried according to the second protocol packet The network management channel vlan information establishes a communication connection with the network management server, where the network channel vlan information carried in the second protocol packet is used by the upper-level node network element device for the next-level node network element device, and the network management channel is established. Vlan information. Preferably, the network element device receives the second protocol packet sent by the upper-level node network element device according to the first protocol packet, and establishes and manages the network management according to the vlan information carried in the second protocol packet. After the step of the communication connection of the server, the method further includes: the network element device receiving the network management channel vlan information of the next-level node network element device of the network element device delivered by the network management server; Receiving a third protocol packet sent by the next-level node network element device of the network element device, where the third protocol packet does not carry the network management channel vlan information; the network element device according to the received third protocol packet The next-level node network element device of the network element device sends a fourth protocol packet, so that the next-level node network element device establishes communication with the network management server according to the network management channel vlan carried in the fourth protocol packet. The network management channel vlan information carried in the fourth protocol packet is the next-level node network element device that is received by the network element device from the network management server and is provided to the network element device. vlan information network management channel. Preferably, the network device channel vlan information of the next-level node network element device of the network element device received by the network element device is opposite to or not the network management channel vlan information configured by the network element device. Preferably, the network element device sends a first protocol packet to the first-level node network element device, and the step of the first protocol packet not carrying the virtual local area network vlan information of the network management channel includes: the network element device starting the link Layer protocol The network element device sends a first protocol packet to the network element device of the upper-level node of the network element device according to the activated link layer protocol, where the first protocol packet does not carry the network management channel vlan information. Preferably, before the step of transmitting, by the network element device, the first protocol packet to the first-level node network element device, where the first protocol packet does not carry the virtual local area network vlan information of the network management channel, the method further includes: determining the network Whether the metadevice establishes a communication connection with the network management server. According to another aspect of the present invention, a network element device is further provided, the network element device includes: a first transceiver module, an establishing module connected to the first transceiver module; wherein: the first transceiver module is configured to be upward The first-level node network element device sends the first protocol packet, where the first protocol packet does not carry the virtual local area network vlan information of the network management channel; and the first-level node network element device is configured according to the first protocol packet. The second protocol packet is sent, and the establishing module is configured to establish, according to the network management channel vlan information carried in the second protocol packet, a communication connection with the network management server, where the network channel vlan information carried by the second protocol packet is The vlan information of the network management channel is established for the network element device of the upper-level node to be provided by the network element device of the next-level node. Preferably, the network element device further includes a second transceiver module, and a third transceiver module connected to the second transceiver module, wherein: the second transceiver module is configured to receive according to the network management channel established by the establishment module The network management channel vlan information of the next-level node network element device of the network element device delivered by the network management server; the third transceiver module is configured to send the next-level node network element device of the network element device The third protocol packet, the third protocol packet does not carry the network management channel vlan information; and is configured to send the fourth protocol to the next-level node network element device of the network element device according to the third protocol packet. a message, so that the next-level node network element device establishes a communication connection with the network management server according to the network management channel vlan carried in the fourth protocol packet, where the network management channel vlan information carried in the fourth protocol packet is The vlan information of the network management channel is established for the next-level node network element device that is received by the network element device from the network management server and is provided to the network element device. Preferably, the network management channel vlan information of the next-level node network element device of the network element device received by the second transceiver module is the same as or different from the vlan information configured by the network element device. Preferably, the first transceiver module includes a startup unit and a first transceiver unit, and the activation unit is configured to start a link layer protocol of the network element device; The first transceiver unit is configured to send a first protocol packet to the upper-level node network element device of the network element device according to the activated link layer protocol, where the first protocol packet does not carry the network management channel vlan information. Preferably, the network element device further includes a connection determining module with the first transceiver module, where the determining module is configured to determine before the first transceiver module sends the first protocol packet to the upper-level node network element device. Whether the network element device establishes a communication connection with the network management server. The method for the network element device to be added to the network and the network element device provided by the embodiment of the present invention does not require manual intervention, and the network element device automatically obtains the network management channel vlan information from the upper-level node network element device connected to the network element device. As the network management channel vlan information, the network management channel is established according to the network management channel vlan information, so that the network element device establishes a communication connection with the network management server. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic flow chart of a first embodiment of a method for controlling a network element device to join a network according to the present invention; FIG. 2 is a schematic flowchart of a second embodiment of a method for controlling a network element device to join a network according to the present invention; FIG. 4 is a schematic flowchart of a third embodiment of a method for controlling a network element device to join a network according to the present invention; FIG. 4 is a schematic diagram of a network element device of the present invention; FIG. 6 is a schematic structural diagram of a second embodiment of a network element device according to the present invention; FIG. 7 is a schematic structural diagram of a first transceiver module of FIG. 5; and FIG. 8 is a network element device of the present invention; A schematic structural view of a third embodiment. The implementation, functional features, and advantages of the present invention will be further described with reference to the accompanying drawings. The specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. Referring to FIG. 1, FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for a network element to join a network according to the present invention, where the method includes: S10: The network element device sends a first protocol packet to the network element device of the upper-level node, where the first protocol packet does not carry the network management channel vlan information. The vlan in the vlan information of the NMS channel is an abbreviation of Virtual Local Area Network, which indicates a virtual local area network. The network element device is a switch or a router. In a network, the network management server is connected to at least one network element device. When the network element device is newly added to the network element device of the network, the network element device exchanges information with the upper-level node network element device connected thereto to establish a communication connection between the network element device and the network management server. When the network element device joins the network for the first time, the network element device does not have the network management channel vlan information. When the network element device sends the first protocol packet to the upper-level node network element device of the network element device, the network element device sends the first protocol packet according to the original protocol field. The network protocol channel vlan information is not carried. When the network element device of the upper-level node of the network element device receives the first protocol packet sent by the network element device, the first protocol packet is parsed. When the network device does not carry the vlan information of the network management channel, it can be determined that the network element device is a newly added network element device. Therefore, the network element device of the upper-level node of the network element device needs to send the network management channel vlan to the network element device. The information is used to enable the network element device to configure the network management channel vlan information. S20: The network element device receives the second protocol packet sent by the upper-level node network element device according to the first protocol packet, and establishes communication with the network management server according to the network management channel vlan information carried in the second protocol packet. The network channel vlan information carried by the second protocol packet is used by the upper-level node network element device for the next-level node network element device, and the vlan information of the network management channel is established. In the step S20, the network element device receives the second protocol packet sent by the network element device of the upper-level node, where the second protocol packet carries the vlan information of the network management channel (that is, the upper-level node of the network element device) The network element device writes the network management channel vlan information in the user editable field of the second protocol packet, and the network management channel vlan information carried in the second protocol packet is used by the upper-level node network element device. The level node network element device establishes the vlan information of the network management channel, and the network element channel vlan information of the upper-level node network element device for the next-level node network element device is obtained by the upper-level node network element device from the network management server, or It is said that the network management server pre-sends to the upper-level node network element device for the upper-level node network element device to provide to the next-level node network element device. The network element device parses the second protocol packet to obtain the network management channel vlan information of the upper-layer node network element device, and uses the obtained network management channel vlan information as its own network management channel vlan information, and according to the network management The channel vlan information establishes a network management channel, so that the network element device establishes a communication connection with the network management server. After the network element device establishes a communication connection with the network management server, the network element device carries the network management channel vlan information in the packets sent by the network management device. For example, when the network management channel vlan information is vlan 100, the network management channel established in the network management device is configured. All sent packets carry vlan 100. In the above embodiment, the network element device does not need to be configured with a network management channel vlan information in advance, and the network element device automatically obtains the network management channel vlan through the upper-level node network element device of the network element device. The information is used as the vlan information of the network management channel, and the network management channel is established according to the vlan information of the network management channel, so that the network element device establishes a communication connection with the network management server; the network management efficiency is greatly improved, the network management flexibility is improved, and the network is saved. The cost of opening and maintenance. Referring to FIG. 2, FIG. 2 is a schematic flowchart diagram of a second embodiment of a method for controlling a network element device to join a network according to the present invention. Based on the foregoing first embodiment of the method for controlling a network element device to join a network, after the step S20, the method further includes: S30, the network element device receiving, by the network element device, a next-level node network element of the network element device delivered by the network management server Network management channel vlan information of the device. In step S20, after the network element device establishes a communication connection with the network management server, the network management server can manage the network element device, and send the network management device of the next-level node network element device of the network element device to the network element device. Channel vlan information. In the step S30, the network element device receives the network management channel vlan information of the next-level node network element device of the network element device delivered by the network management device, and the network management channel of the next-level node network element device of the network element device The vlan information may be the same as or different from the network management channel vlan information configured by the network element device. For example, the network management channel vlan information of the network element device is vlan 100 (that is, the network element device is from the upper-level node network element device of the network element device). Obtaining the vlan information of the network management channel is vlan 100), the vlan information of the network management channel of the next-level node network element device of the network element device is vlan 200; if the network management channel vlan information of the network element device is vlan 100, the network element device The network management channel vlan information of the next-level node network element device is also vlan 100; that is, the network management channel vlan information of the next-level node network element device of the network element device can be configured by the network management server according to actual needs, and the network management server is in network planning. The configuration is implemented to avoid conflicts between the vlan information of the network management channel and the service vlan information. The network management server can set the vlan information of the network management channel of the network element devices at different levels in the network step by step, or the same. S40: The network element device receives the third protocol packet sent by the network element device of the next-level node of the network element device, where the third protocol packet does not carry the network management channel vlan information. When the network element device has the next-level node network element device, the network element device receives the third protocol packet sent by the next-level node network element device of the network element device, because the next level of the network element device The node network element device joins the network for the first time. Therefore, the next-level node network element device does not have the network management channel vlan information, and the next-level node network element is set. When the device sends a third protocol packet to the NE device, it sends the packet according to the original protocol field. The vlan information of the network management channel is not carried.
S50、该网元设备根据接收的第三协议报文向该网元设备的下一级节点网元设备发 送第四协议报文, 以使该下一级节点网元设备根据该第四协议报文携带的网管通道 vlan建立与网管服务器的通信连接, 其中, 该第四协议报文携带的网管通道 vlan信息 为该网元设备从网管服务器接收的提供给该网元设备的下一级节点网元设备, 建立网 管通道的 vlan信息。 该网元设备对接收的第三协议报文进行解析, 当该第三协议报文未携带网管通道 vlan信息时, 可判断出该下一级节点网元设备是一个新加入的网元设备, 因此, 该网 元设备向该下一级节点网元设备发送第四协议报文, 该第四协议报文包括该网元设备 从网管服务器接收的该网元设备的下一级节点网元设备的网管通道 vlan信息, 以使得 该下一级节点网元设备根据接收的网管通道 vlan信息进行配置, 与网管服务器建立通 信连接。 采用本发明实施例, 可使得该网元设备从网管服务器接收该网元设备的下一级节 点网元设备的网管通道 vlan信息, 并将该接收的下一级节点网元设备的网管通道 vlan 信息发送给下一级节点网元设备, 以使得该下一级节点网元设备进行网管通道 vlan信 息配置; 可方便灵活的对下一级节点网元设备的网管通道 vlan信息进行配置, 该下一 级节点网元设备的网管通道 vlan信息可与该网元设备的网管通道 vlan信息相同或不 同, 可由该网管服务器对各级网元设备的网管通道 vlan信息进行逐级配置不同的网管 通道 vlan信息, 也可以全网统一, 可灵活的根据实际需要进行配置。 参照图 3, 图 3为图 1中步骤 S10的具体流程示意图, 该步骤 S10包括: S50: The network element device sends a fourth protocol packet to the next-level node network element device of the network element device according to the received third protocol packet, so that the next-level node network element device reports according to the fourth protocol. The network management channel vlan carried in the text establishes a communication connection with the network management server, wherein the network management channel vlan information carried in the fourth protocol packet is the next-level node network that the network element device receives from the network management server and provides the network element device to the network element device. Meta-device, establish vlan information of the network management channel. The network element device parses the received third protocol packet, and when the third protocol packet does not carry the network management channel vlan information, it can be determined that the next-level node network element device is a newly added network element device. Therefore, the network element device sends a fourth protocol packet to the next-level node network element device, where the fourth protocol packet includes the next-level node network element device of the network element device received by the network element device from the network management server. The network management channel vlan information is configured to enable the next-level node network element device to be configured according to the received network management channel vlan information, and establish a communication connection with the network management server. According to the embodiment of the present invention, the network element device can receive the network management channel vlan information of the next-level node network element device of the network element device from the network management server, and the network management channel vlan of the received next-level node network element device The information is sent to the next-level node network element device, so that the next-level node network element device performs the network management channel vlan information configuration; the network management channel vlan information of the next-level node network element device can be conveniently and flexibly configured, and the next The network management channel vlan information of the first-level network element device may be the same as or different from the network management channel vlan information of the network element device. The network management server may configure the network management channel vlan information of the network element devices of different levels to be configured step by step. The information can also be unified across the network, and can be flexibly configured according to actual needs. Referring to FIG. 3, FIG. 3 is a schematic flowchart of step S10 in FIG. 1, and the step S10 includes:
511、 该网元设备启动链路层协议。 在该步骤 S11 中, 该网元设备启动链路层协议, 该链路层协议可以为: LLDP协 议 (Link Layer Discovery Protocol , 链路层发现协议)、 PPPOE 协议 (point-to-point protocol over Ethernet的简称)或厂商私有链路层协议。 由于链路层协议是不需要依赖 例如 IP等复杂配置信息的, 可以在网元设备开启后空配置的情况下默认运行, 该网元 设备可直接与上一级节点网元设备在链路层进行信息交互。 511. The network element device starts a link layer protocol. In the step S11, the network element device starts the link layer protocol, and the link layer protocol may be: LLDP protocol (Link Layer Discovery Protocol), PPPOE protocol (point-to-point protocol over Ethernet) Abbreviation) or vendor proprietary link layer protocol. Because the link layer protocol does not need to rely on complex configuration information such as IP, it can be run by default when the network element device is configured with the backspace configuration. The network element device can be directly connected to the upper-level node network element device at the link layer. Perform information interaction.
512、该网元设备根据启动的链路层协议向该网元设备的上一级节点网元设备发送 第一协议报文, 该第一协议报文未携带网管通道 vlan信息。
该网元设备根据启动的链路层协议向网元设备的上一级节点网元设备发送第一协 议报文, 该网元设备初次加入网络时, 该网元设备没有网管通道 vlan信息, 该网元设 备向网元设备的上一级节点网元设备发送第一协议报文时,按照原协议字段进行发送, 并未携带网管通道 vlan信息。 参照图 4, 图 4为本发明的控制网元设备加入网络的方法的第三实施例流程示意 图。 基于上述的控制网元设备加入网络的方法的第二实施例, 在步骤 S10之前, 该方 法还包括: 512. The network element device sends a first protocol packet to the network element device of the upper-level node of the network element device according to the activated link layer protocol, where the first protocol packet does not carry the network management channel vlan information. The network element device sends a first protocol packet to the network element device of the upper-level node of the network element device according to the activated link layer protocol. When the network element device joins the network for the first time, the network element device does not have the network management channel vlan information. When the network element device sends the first protocol packet to the upper-layer node network element device of the network element device, the network element device sends the first protocol packet according to the original protocol field, and does not carry the network management channel vlan information. Referring to FIG. 4, FIG. 4 is a schematic flowchart diagram of a third embodiment of a method for controlling a network element device to join a network according to the present invention. Based on the foregoing second embodiment of the method for controlling a network element device to join a network, before the step S10, the method further includes:
S60、判断该网元设备是否与网管服务器建立通信连接,若上述网元设备未与网管 服务器建立通信连接, 则执行步骤 S10。 在该步骤 S60中, 判断该网元设备是否与网管服务器建立通信连接, 具体的, 可 判断该网元设备是否配置有网管通道 vlan信息, 若该网元设备已配置有网管通道 vlan 信息, 则认为该网元设备已与网管服务器建立通信连接, 若该网元设备未配置网管通 道 vlan信息, 则认为该网元设备未与网管服务器建立通信连接。 参照图 5, 图 5为本发明的网元设备的第一实施例结构示意图, 该网元设备包括: 第一收发模块 10, 与该第一收发模块 10连接的建立模块 20; 其中: 第一收发模块 10, 设置为向上一级节点网元设备发送第一协议报文, 该第一协议 报文未携带网管通道的虚拟局域网 vlan信息; 及设置为该上一级节点网元设备根据该 第一协议报文发送的第二协议报文,; 建立模块 20,设置为该第二协议报文携带的网管通道 vlan信息建立与网管服务器 的通信连接, 其中, 该第二协议报文携带的网络通道 vlan信息为该上一级节点网元设 备供其下一级节点网元设备, 建立网管通道的 vlan信息。 该网管通道 vlan信息中的 vlan是 Virtual Local Area Network的缩写, 表示虚拟局 域网。 该网元设备是交换机或路由器。 在一个网络中, 网管服务器连接着至少一个在网 网元设备。 该网元设备为新加入该网络的网元设备时, 该网元设备通过与其连接的上 一级节点网元设备交互信息, 以建立该网元设备与网管服务器的通信连接。 该网元设 备初次加入网络时, 该网元设备没有网管通道 vlan信息, 该网元设备通过第一收发模 块 10向网元设备的上一级节点网元设备发送第一协议报文时,按照原协议字段进行发
送, 并未携带网管通道 vlan信息, 当该网元设备的上一级节点网元设备接收到该网元 设备发送的第一协议报文时, 解析该第一协议报文, 当该第一协议报文未携带网管通 道 vlan信息时, 可判断出该网元设备是一个新加入的网元设备, 因此, 该网元设备的 上一级节点网元设备需要向该网元设备下发网管通道 vlan信息以使得该网元设备进行 网管通道 vlan信息配置。 该网元设备的第一收发模块 10接收上一级节点网元设备下发的第二协议报文,该 第二协议报文携带了网管通道 vlan信息(即该网元设备的上一级节点网元设备在第二 协议报文的用户可编辑字段中写入了网管通道 vlan信息), 且该第二协议报文携带的 网管通道 vlan信息为该上一级节点网元设备供其下一级节点网元设备, 建立网管通道 的 vlan信息,该上一级节点网元设备供其下一级节点网元设备的网管通道 vlan信息是 该上一级节点网元设备从网管服务器获得, 或者说是由网管服务器预先发送给该上一 级节点网元设备以供该上一级节点网元设备提供给其下一级节点网元设备。 该网元设 备的建立模块 20对该第二协议报文进行解析,以得到该上一级节点网元设备的网管通 道 vlan信息, 并将得到的网管通道 vlan信息作为自己的网管通道 vlan信息, 并根据 该网管通道 vlan信息建立网管通道, 以使得该网元设备与网管服务器建立通信连接。 该网元设备与网管服务器建立通信连接后, 该网元设备在其建立的网管通道发送的报 文全部携带网管通道 vlan信息, 如当网管通道 vlan信息为 vlan 100, 则在其建立的网 管通道发送的报文全部携带 vlan 100。 参照图 6, 图 6为本发明的网元设备的第二实施例结构示意图。 基于上述网元设备的第一实施例, 该网元设备还包括第二收发模块 30, 与该第二 收发模块 30连接的第三收发模块 40, 该第二收发模块 30与建立模块 20连接, 其中: 该第二收发模块 30, 设置为根据该建立模块建立的网管通道接收该网管服务器下 发的该网元设备的下一级节点网元设备的网管通道 vlan信息; 该第三收发模块 40, 设置为接收该网元设备的下一级节点网元设备发送的第三协 议报文, 该第三协议报文未携带网管通道 vlan信息; 及设置为根据该第三协议报文向 该网元设备的下一级节点网元设备发送第四协议报文, 以使该下一级节点网元设备根 据该第四协议报文携带的网管通道 vlan建立与网管服务器的通信连接, 其中, 该第四 协议报文携带的网管通道 vlan信息为该网元设备从网管服务器接收的提供给该网元设 备的下一级节点网元设备, 建立网管通道的 vlan信息。 网元设备与网管服务器建立通信连接后,该网管服务器可对该网元设备进行管理, 并对该网元设备下发该网元设备的下一级节点网元设备的网管通道 vlan信息。该网元
设备通过第二收发模块 30 接收该网管服务器下发的网元设备的下一级节点网元设备 的网管通道 vlan信息。 该网元设备的第二收发模块 30 接收该网管服务器下发的该网元设备的下一级节 点网元设备的网管通道 vlan信息, 该网元设备的下一级节点网元设备的网管通道 vlan 信息可与该网元设备配置的网管通道 vlan信息相同或不同, 如该网元设备的网管通道 vlan信息为 vlan 100 (即该网元设备从该网元设备的上一级节点网元设备获得网管通 道 vlan信息为 vlan 100), 该网元设备的下一级节点网元设备的网管通道 vlan信息为 vlan 200; 如该网元设备的网管通道 vlan信息为 vlan 100, 该网元设备的下一级节点网 元设备的网管通道 vlan信息也为 vlan 100; 即该网元设备的下一级节点网元设备的网 管通道 vlan信息可由网管服务器根据实际需要配置, 由该网管服务器在网络规划中进 行配置, 可避免网管通道 vlan信息和业务 vlan信息存在冲突的问题。该网管服务器可 对在网的各级网元设备的网管通道 vlan信息逐级设置不同, 也可以相同。 当该网元设备有下一级节点网元设备加入时,该网元设备的第三收发模块 40接收 该网元设备的下一级节点网元设备发送的第三协议报文, 因为该网元设备的下一级节 点网元设备第一次加入网络, 因此该下一级节点网元设备没有网管通道 vlan信息, 该 下一级节点网元设备向网元设备发送第三协议报文时, 按照原协议字段进行发送, 并 未携带网管通道 vlan信息。 该网元设备的第三收发模块 40对接收的第三协议报文进行解析,当该第三协议报 文未携带网管通道 vlan信息时, 可判断出该下一级节点网元设备是一个新加入的网元 设备, 因此,该网元设备的第三收发模块 40向该下一级节点网元设备发送第四协议报 文, 该第四协议报文包括该网元设备从网管服务器接收的该网元设备的下一级节点网 元设备的网管通道 vlan信息, 以使得该下一级节点网元设备根据接收的网管通道 vlan 信息进行配置, 与网管服务器建立通信连接。 参照图 7, 图 7为图 5中第一收发模块的具体结构示意图, 该第一收发模块包括 启动单元 11和第一收发单元 12, 其中: 该启动单元 11, 设置为启动该网元设备的链路层协议; 第一收发单元 12, 设置为根据启动的链路层协议向该网元设备的上一级节点网元 设备发送第一协议报文, 该第一协议报文未携带网管通道 vlan信息。 该网元设置通过启动单元 11启动链路层协议, 该链路层协议可以为: LLDP协议 ( Link Layer Discovery Protocol,链路层发现协议 )、 PPP0E协议 ( point-to-point protocol
over Ethernet的简称) 或厂商私有链路层协议。 由于链路层协议是不需要依赖例如 IP 等复杂配置信息的, 可以在网元设备开启后空配置的情况下默认运行, 该网元设备可 直接与上一级节点网元设备在链路层进行信息交互。 该网元设备的第一收发单元 12 根据启动的链路层协议向网元设备的上一级节点 网元设备发送第一协议报文, 该网元设备初次加入网络时, 该网元设备没有网管通道 vlan信息, 该网元设备向网元设备的上一级节点网元设备发送第一协议报文时, 按照 原协议字段进行发送, 并未携带网管通道 vlan信息。 参照图 8, 图 8为本发明的网元设备的第三实施例结构示意图。 基于上述网元设备的第二实施例,该网元设备还包括与该第一收发模块 10连接判 断模块 50, 该判断模块 50设置为在该第一收发模块 10向上一级节点网元设备发送第 一协议报文前, 判断该网元设备是否与网管服务器建立通信连接。 该判断模块 50判断该网元设备是否与网管服务器建立通信连接, 具体的,可判断 该网元设备是否配置有网管通道 vlan信息,若该网元设备已配置有网管通道 vlan信息, 则认为该网元设备已与网管服务器建立通信连接, 若该网元设备未配置网管通道 vlan 信息, 则认为该网元设备未与网管服务器建立通信连接。 以上所述仅为本发明的优选实施例, 并非因此限制本发明的专利范围, 凡是利用 本发明说明书及附图内容所作的等效结构或等效流程变换, 或直接或间接运用在其他 相关的技术领域, 均同理包括在本发明的专利保护范围。
S60. Determine whether the network element device establishes a communication connection with the network management server. If the network element device does not establish a communication connection with the network management server, step S10 is performed. In the step S60, it is determined whether the network element device establishes a communication connection with the network management server. Specifically, it can be determined whether the network element device is configured with the network management channel vlan information, and if the network element device has been configured with the network management channel vlan information, The network element device is considered to have established a communication connection with the network management server. If the network element device does not have the network management channel vlan information, the network element device is not connected to the network management server. Referring to FIG. 5, FIG. 5 is a schematic structural diagram of a first embodiment of a network element device according to the present invention. The network element device includes: a first transceiver module 10, and an establishing module 20 connected to the first transceiver module 10; The transceiver module 10 is configured to send a first protocol packet to the network element device of the first-level node, where the first protocol packet does not carry the virtual local area network vlan information of the network management channel; and the device is configured to be the upper-level node network element device according to the first a second protocol packet sent by the protocol packet, the establishing module 20, configured to establish a communication connection with the network management server by using the network management channel vlan information carried in the second protocol packet, where the second protocol packet carries the network The channel vlan information is used by the upper-level node network element device for the next-level node network element device, and the vlan information of the network management channel is established. The vlan in the vlan information of the NMS channel is an abbreviation of Virtual Local Area Network, which indicates a virtual local area network. The network element device is a switch or a router. In a network, the network management server is connected to at least one network element device. When the network element device is newly added to the network element device of the network, the network element device exchanges information with the upper-level node network element device connected thereto to establish a communication connection between the network element device and the network management server. When the network element device joins the network for the first time, the network element device does not have the network management channel vlan information. When the network element device sends the first protocol packet to the upper-level node network element device of the network element device by using the first transceiver module 10, The original protocol field is sent The first protocol packet is parsed, and the first protocol packet is parsed when the first-level node network element device of the network element device receives the first protocol packet sent by the network element device. When the protocol packet does not carry the vlan information of the network management channel, it can be determined that the network element device is a newly added network element device. Therefore, the network element device of the upper-level node of the network element device needs to send the network management device to the network element device. The channel vlan information is configured to enable the network element device to configure the network management channel vlan information. The first transceiver module 10 of the network element device receives the second protocol packet sent by the network element device of the upper-level node, and the second protocol packet carries the vlan information of the network management channel (that is, the upper-level node of the network element device) The network element device writes the network management channel vlan information in the user editable field of the second protocol packet, and the network management channel vlan information carried in the second protocol packet is used by the upper-level node network element device. The level node network element device establishes the vlan information of the network management channel, and the network element channel vlan information of the upper-level node network element device for the next-level node network element device is obtained by the upper-level node network element device from the network management server, or It is said that the network management server pre-sends to the upper-level node network element device for the upper-level node network element device to provide to the next-level node network element device. The establishing module 20 of the network element device parses the second protocol packet to obtain the network management channel vlan information of the network element device of the upper-level node, and uses the obtained network management channel vlan information as its own network management channel vlan information. And establishing a network management channel according to the vlan information of the network management channel, so that the network element device establishes a communication connection with the network management server. After the network element device establishes a communication connection with the network management server, the network element device carries the network management channel vlan information in the packets sent by the network management device. For example, when the network management channel vlan information is vlan 100, the network management channel established in the network management device is configured. All sent packets carry vlan 100. Referring to FIG. 6, FIG. 6 is a schematic structural diagram of a second embodiment of a network element device according to the present invention. Based on the first embodiment of the network element device, the network element device further includes a second transceiver module 30, a third transceiver module 40 connected to the second transceiver module 30, and the second transceiver module 30 is connected to the setup module 20, The second transceiver module 30 is configured to receive, according to the network management channel established by the establishing module, the network management channel vlan information of the network element device of the next-level node of the network element device delivered by the network management server; the third transceiver module 40 And configured to receive the third protocol packet sent by the network element device of the next-level node of the network element device, where the third protocol packet does not carry the network management channel vlan information; and is configured to send the network packet to the network according to the third protocol packet. The next-level node network element device of the meta-device sends a fourth protocol packet, so that the next-level node network element device establishes a communication connection with the network management server according to the network management channel vlan carried in the fourth protocol packet, where The network management channel vlan information carried in the fourth protocol packet is the next-level node network element device that the network element device receives from the network management server and is provided to the network element device, and the network management device is established. The vlan information. After the network element device establishes a communication connection with the network management server, the network management server can manage the network element device, and send the network management channel vlan information of the next-level node network element device of the network element device to the network element device. The network element The device receives the network management channel vlan information of the next-level node network element device of the network element device delivered by the network management server through the second transceiver module 30. The second transceiver module 30 of the network element device receives the network management channel vlan information of the next-level node network element device of the network element device delivered by the network management device, and the network management channel of the next-level node network element device of the network element device The vlan information is the same as or different from the network management channel vlan information configured by the NE device. For example, the network management channel vlan information of the network element device is vlan 100 (that is, the network element device is from the upper-level node network element device of the network element device). Obtaining the vlan information of the network management channel is vlan 100), the vlan information of the network management channel of the next-level node network element device of the network element device is vlan 200; if the network management channel vlan information of the network element device is vlan 100, the network element device The network management channel vlan information of the next-level node network element device is also vlan 100; that is, the network management channel vlan information of the next-level node network element device of the network element device can be configured by the network management server according to actual needs, and the network management server is in network planning. The configuration is implemented to avoid conflicts between the vlan information of the network management channel and the service vlan information. The network management server can set the vlan information of the network management channel of the network element devices at different levels in the network step by step, or the same. When the network element device has the next-level node network element device, the third transceiver module 40 of the network element device receives the third protocol packet sent by the next-level node network element device of the network element device, because the network The next-level node network element device of the meta-device joins the network for the first time. Therefore, the next-level node network element device does not have the network management channel vlan information, and the next-level node network element device sends the third protocol packet to the network element device. , sent according to the original protocol field, does not carry the network management channel vlan information. The third transceiver module 40 of the network element device parses the received third protocol packet. When the third protocol packet does not carry the network management channel vlan information, it can be determined that the next-level node network element device is a new one. The third network transceiver module 40 sends a fourth protocol packet to the next-level node network element device, where the fourth protocol packet includes the network element device received from the network management server. The vlan information of the network management channel of the next-level node network element device of the network element device is configured to enable the next-level node network element device to be configured according to the received network management channel vlan information, and establish a communication connection with the network management server. Referring to FIG. 7, FIG. 7 is a schematic structural diagram of the first transceiver module of FIG. 5, the first transceiver module includes a startup unit 11 and a first transceiver unit 12, wherein: the startup unit 11 is configured to start the network element device. The first layer transceiver unit 12 is configured to send a first protocol packet to the network element device of the upper-level node of the network element device according to the activated link layer protocol, where the first protocol packet does not carry the network management channel. Vlan information. The network element is configured to start the link layer protocol by using the initiating unit 11. The link layer protocol may be: LLDP (Link Layer Discovery Protocol), PPP0E protocol (point-to-point protocol) Over Ethernet (abbreviation) or vendor proprietary link layer protocol. Since the link layer protocol does not need to rely on complex configuration information such as IP, it can be run by default when the network element device is turned on. The network element device can directly connect to the upper-level node network element device at the link layer. Perform information interaction. The first transceiver unit 12 of the network element device sends a first protocol packet to the network element device of the upper-level node of the network element device according to the activated link layer protocol. When the network element device joins the network for the first time, the network element device does not have the network element device. The network management channel vlan information, when the network element device sends the first protocol packet to the upper-level node network element device of the network element device, sends the first protocol packet according to the original protocol field, and does not carry the network management channel vlan information. Referring to FIG. 8, FIG. 8 is a schematic structural diagram of a third embodiment of a network element device according to the present invention. Based on the second embodiment of the network element device, the network element device further includes a connection determining module 50 connected to the first transceiver module 10, where the determining module 50 is configured to send the first transceiver module 10 to the upper-level node network element device. Before the first protocol packet, determine whether the network element device establishes a communication connection with the network management server. The determining module 50 determines whether the network element device establishes a communication connection with the network management server. Specifically, it is determined whether the network element device is configured with the network management channel vlan information, and if the network element device has been configured with the network management channel vlan information, the The network element device has established a communication connection with the network management server. If the network element device does not have the network management channel vlan information, the network element device does not establish a communication connection with the network management server. The above description is only the preferred embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent flow transformation made by the specification and the drawings of the present invention may be directly or indirectly applied to other related The technical field is equally included in the scope of patent protection of the present invention.
Claims
1. 一种控制网元设备加入网络的方法, 包括: A method for controlling a network element device to join a network, including:
网元设备向上一级节点网元设备发送第一协议报文, 所述第一协议报文未 携带网管通道的虚拟局域网 vlan信息; 所述网元设备接收所述上一级节点网元设备根据所述第一协议报文发送的 第二协议报文, 并根据所述第二协议报文携带的网管通道 vlan信息建立与网管 服务器的通信连接, 其中, 所述第二协议报文携带的网络通道 vlan信息为所述 上一级节点网元设备供其下一级节点网元设备, 建立网管通道的 vlan信息。 The network element device sends the first protocol packet to the upper-level node network element device, where the first protocol packet does not carry the virtual local area network vlan information of the network management channel; the network element device receives the upper-level node network element device according to the a second protocol packet sent by the first protocol packet, and establishing a communication connection with the network management server according to the network management channel vlan information carried in the second protocol packet, where the network carried by the second protocol packet is The channel vlan information is used by the upper-level node network element device for the next-level node network element device, and the vlan information of the network management channel is established.
2. 根据权利要求 1所述的方法, 其中, 所述网元设备接收所述上一级节点网元设 备根据所述第一协议报文发送的第二协议报文, 并根据所述第二协议报文携带 的 vlan信息建立与网管服务器的通信连接的歩骤之后, 该方法还包括: 所述网元设备接收所述网管服务器下发的所述网元设备的下一级节点网元 设备的网管通道 vlan信息; 所述网元设备接收所述网元设备的下一级节点网元设备发送的第三协议报 文, 所述第三协议报文未携带网管通道 vlan信息; 所述网元设备根据接收的第三协议报文向所述网元设备的下一级节点网元 设备发送第四协议报文, 以使所述下一级节点网元设备根据所述第四协议报文 携带的网管通道 vlan建立与网管服务器的通信连接, 其中, 所述第四协议报文 携带的网管通道 vlan信息为所述网元设备从网管服务器接收的提供给该网元设 备的下一级节点网元设备, 建立网管通道的 vlan信息。 The method according to claim 1, wherein the network element device receives a second protocol packet sent by the upper-level node network element device according to the first protocol packet, and according to the second After the vlan information carried in the protocol packet establishes a communication connection with the network management server, the method further includes: the network element device receiving the next-level node network element device of the network element device delivered by the network management server The network management channel vlan information; the network element device receives a third protocol packet sent by the network element device of the next-level node of the network element device, where the third protocol packet does not carry the network management channel vlan information; And the third device sends a fourth protocol packet to the next-level node network element device of the network element device according to the received third protocol packet, so that the next-level node network element device is configured according to the fourth protocol packet. The network management channel vlan is configured to establish a communication connection with the network management server, where the network management channel vlan information carried in the fourth protocol packet is received by the network element device from the network management server. Element node device at a network element device, the establishment of the network management channel vlan information.
3. 根据权利要求 2所述的方法, 其中, 所述网元设备从网管服务器接收的所述网 元设备的下一级节点网元设备的网管通道 vlan信息与所述网元设备配置的网管 通道 vlan信息相同或者不同。 The method according to claim 2, wherein the network element device receives the network management channel vlan information of the next-level node network element device of the network element device from the network management device, and the network management configured by the network element device The channel vlan information is the same or different.
4. 根据权利要求 3所述的方法, 其中, 所述网元设备向上一级节点网元设备发送 第一协议报文, 所述第一协议报文未携带网管通道的虚拟局域网 vlan信息的步 骤包括: 所述网元设备启动链路层协议;
所述网元设备根据启动的链路层协议向所述网元设备的上一级节点网元设 备发送第一协议报文, 所述第一协议报文未携带网管通道 vlan信息。 The method of claim 3, wherein the network element device sends a first protocol packet to the first-level node network element device, and the first protocol packet does not carry the virtual local area network vlan information of the network management channel. The method includes: the network element device starts a link layer protocol; The network element device sends a first protocol packet to the network element device of the upper-level node of the network element device according to the activated link layer protocol, where the first protocol packet does not carry the network management channel vlan information.
5. 根据权利要求 4所述的方法, 其中, 网元设备向上一级节点网元设备发送第一 协议报文, 所述第一协议报文未携带网管通道的虚拟局域网 vlan信息的的步骤 之前, 该方法还包括: 判断所述网元设备是否与网管服务器建立通信连接。 The method of claim 4, wherein the network element device sends the first protocol packet to the first-level node network element device, and the step of the first protocol packet does not carry the virtual local area network vlan information of the network management channel. The method further includes: determining whether the network element device establishes a communication connection with the network management server.
6. 一种网元设备, 包括: 第一收发模块, 与所述第一收发模块连接的建立模块; 其中: 第一收发模块, 设置为向上一级节点网元设备发送第一协议报文, 所述第 一协议报文未携带网管通道的虚拟局域网 vlan信息; 及设置为所述上一级节点 网元设备根据所述第一协议报文发送的第二协议报文; 建立模块, 设置为根据所述第二协议报文携带的网管通道 vlan信息建立与 网管服务器的通信连接, 其中, 所述第二协议报文携带的网络通道 vlan信息为 所述上一级节点网元设备供其下一级节点网元设备,建立网管通道的 vlan信息。 A network element device, comprising: a first transceiver module, and an establishing module connected to the first transceiver module; wherein: the first transceiver module is configured to send the first protocol packet to the network element device of the first-level node, The first protocol packet does not carry the virtual local area network vlan information of the network management channel; and the second protocol packet that is sent by the upper-level node network element device according to the first protocol packet; And establishing a communication connection with the network management server according to the network management channel vlan information carried in the second protocol packet, where the network channel vlan information carried in the second protocol packet is used by the upper-level node network element device The first-level node network element device establishes the vlan information of the network management channel.
7. 根据权利要求 6所述网元设备, 其中, 所述网元设备还包括第二收发模块, 与 所述第二收发模块连接的第三收发模块, 其中: The network element device of claim 6, wherein the network element device further comprises a second transceiver module, and a third transceiver module connected to the second transceiver module, wherein:
所述第二收发模块, 设置为根据所述建立模块建立的网管通道接收所述网 管服务器下发的所述网元设备的下一级节点网元设备的网管通道 vlan信息; 所述第三收发模块, 设置为接收所述网元设备的下一级节点网元设备发送 的第三协议报文, 所述第三协议报文未携带网管通道 vlan信息; 及设置为根据 所述第三协议报文向所述网元设备的下一级节点网元设备发送第四协议报文, 以使所述下一级节点网元设备根据所述第四协议报文携带的网管通道 vlan建立 与网管服务器的通信连接, 其中, 所述第四协议报文携带的网管通道 vlan信息 为所述网元设备从网管服务器接收的提供给该网元设备的下一级节点网元设 备, 建立网管通道的 vlan信息。 The second transceiver module is configured to receive, according to the network management channel established by the establishing module, the network management channel vlan information of the network element device of the next-level node of the network element device delivered by the network management server; a module, configured to receive a third protocol packet sent by the next-level node network element device of the network element device, where the third protocol packet does not carry the network management channel vlan information; and is configured to report according to the third protocol Sending a fourth protocol packet to the next-level node network element device of the network element device, so that the next-level node network element device establishes a network management server according to the network management channel vlan carried in the fourth protocol packet. The communication connection, wherein the network management channel vlan information carried in the fourth protocol packet is the next-level node network element device that the network element device receives from the network management server and is provided to the network element device, and the vlan of the network management channel is established. information.
8. 根据权利要求 7所述的网元设备, 其中, 所述第二收发模块从网管服务器接收 的所述网元设备的下一级节点网元设备的网管通道 vlan信息与所述网元设备配 置的 vlan信息相同或者不同。
根据权利要求 8所述的网元设备, 其中, 所述第一收发模块包括启动单元和第 一收发单元, 所述启动单元, 设置为启动所述网元设备的链路层协议; The network element device according to claim 7, wherein the second transceiver module receives the network management channel vlan information of the next-level node network element device of the network element device from the network management server, and the network element device The configured vlan information is the same or different. The network element device according to claim 8, wherein the first transceiver module comprises an activation unit and a first transceiver unit, and the activation unit is configured to start a link layer protocol of the network element device;
第一收发单元, 设置为根据启动的链路层协议向所述网元设备的上一级节 点网元设备发送第一协议报文, 所述第一协议报文未携带网管通道 vlan信息。 根据权利要求 9所述的网元设备, 其中, 所述网元设备还包括与所述第一收发 模块连接判断模块, 所述判断模块设置为在所述第一收发模块向上一级节点网 元设备发送第一协议报文前, 判断所述网元设备是否与网管服务器建立通信连 接。
The first transceiver unit is configured to send a first protocol packet to the upper-level node network element device of the network element device according to the activated link layer protocol, where the first protocol packet does not carry the network management channel vlan information. The network element device according to claim 9, wherein the network element device further includes a connection determining module with the first transceiver module, and the determining module is configured to be in a first-level node network element of the first transceiver module Before the device sends the first protocol packet, it determines whether the network element device establishes a communication connection with the network management server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
RU2016119261A RU2666309C1 (en) | 2013-11-14 | 2014-06-24 | Method for controlling network element to join network, and network element |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310574020.5A CN104639360B (en) | 2013-11-14 | 2013-11-14 | The method and network element device of network is added in a kind of control network element device |
CN201310574020.5 | 2013-11-14 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015070611A1 true WO2015070611A1 (en) | 2015-05-21 |
Family
ID=53056720
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/080655 WO2015070611A1 (en) | 2013-11-14 | 2014-06-24 | Network element device and method for controlling network element device to join network |
Country Status (4)
Country | Link |
---|---|
CN (1) | CN104639360B (en) |
MY (1) | MY175285A (en) |
RU (1) | RU2666309C1 (en) |
WO (1) | WO2015070611A1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113300876B (en) * | 2016-12-26 | 2022-09-02 | 华为技术有限公司 | DCN message processing method, network equipment and network system |
WO2018176471A1 (en) * | 2017-04-01 | 2018-10-04 | 华为技术有限公司 | Channel selection method and apparatus |
CN107231282A (en) * | 2017-07-21 | 2017-10-03 | 成都广达新网科技股份有限公司 | A kind of automatic method for getting through management passage based on LLDP |
CN107493188A (en) * | 2017-07-31 | 2017-12-19 | 江西山水光电科技股份有限公司 | A kind of DCN management methods of data communication network |
CN107995041A (en) * | 2017-12-12 | 2018-05-04 | 江西山水光电科技股份有限公司 | A kind of DCN management methods of PTN network |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101145950A (en) * | 2007-04-25 | 2008-03-19 | 中兴通讯股份有限公司 | A topology management method based on multi-service transmission node |
CN103095654A (en) * | 2011-10-31 | 2013-05-08 | 华为技术有限公司 | Virtual local area network (VLAN) configuration method, wireless access point and network control point |
CN103095508A (en) * | 2013-02-25 | 2013-05-08 | 杭州华三通信技术有限公司 | Business access method and edge device |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6414958B1 (en) * | 1998-11-30 | 2002-07-02 | Electronic Data Systems Corporation | Four-port secure ethernet VLAN switch supporting SNMP and RMON |
CN1272940C (en) * | 2003-04-07 | 2006-08-30 | 华为技术有限公司 | Virtual local area network access implementing method of digital user line user terminal |
US7296092B2 (en) * | 2004-06-30 | 2007-11-13 | Nokia, Inc. | Apparatus for inter-domain communications including a virtual switch for routing data packets between virtual interfaces of the virtual switch |
RU2417530C2 (en) * | 2005-01-14 | 2011-04-27 | Алькатель Люсен | System and method of monitoring end nodes using ethernet connectivity fault management (cfm) in access network |
US9282001B2 (en) * | 2007-03-05 | 2016-03-08 | Grid Net, Inc. | Policy based utility networking |
US8140654B2 (en) * | 2007-04-27 | 2012-03-20 | Futurewei Technologies, Inc. | Verifying management virtual local area network identifier provisioning consistency |
US8910234B2 (en) * | 2007-08-21 | 2014-12-09 | Schneider Electric It Corporation | System and method for enforcing network device provisioning policy |
US7975033B2 (en) * | 2007-10-23 | 2011-07-05 | Virtudatacenter Holdings, L.L.C. | System and method for initializing and maintaining a series of virtual local area networks contained in a clustered computer system |
US20090323672A1 (en) * | 2008-06-25 | 2009-12-31 | Vivek Gupta | Techniques to enable emergency services in an unauthenticated state on wireless networks |
CN101741678B (en) * | 2008-11-26 | 2012-02-29 | 华为技术有限公司 | Method, device and system for establishing virtual local area network |
CN102065018B (en) * | 2011-01-07 | 2014-12-17 | 中兴通讯股份有限公司 | Method and system for transmitting message |
US9331938B2 (en) * | 2012-04-13 | 2016-05-03 | Nicira, Inc. | Extension of logical networks across layer 3 virtual private networks |
RU128051U1 (en) * | 2012-06-18 | 2013-05-10 | Открытое Акционерное Общество "Научно-Производственное Объединение "Волго" | UNIFIED CONTROL AND COMMUNICATION COMPLEX |
-
2013
- 2013-11-14 CN CN201310574020.5A patent/CN104639360B/en active Active
-
2014
- 2014-06-24 MY MYPI2016000905A patent/MY175285A/en unknown
- 2014-06-24 WO PCT/CN2014/080655 patent/WO2015070611A1/en active Application Filing
- 2014-06-24 RU RU2016119261A patent/RU2666309C1/en active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101145950A (en) * | 2007-04-25 | 2008-03-19 | 中兴通讯股份有限公司 | A topology management method based on multi-service transmission node |
CN103095654A (en) * | 2011-10-31 | 2013-05-08 | 华为技术有限公司 | Virtual local area network (VLAN) configuration method, wireless access point and network control point |
CN103095508A (en) * | 2013-02-25 | 2013-05-08 | 杭州华三通信技术有限公司 | Business access method and edge device |
Also Published As
Publication number | Publication date |
---|---|
RU2666309C1 (en) | 2018-09-06 |
CN104639360B (en) | 2019-03-29 |
CN104639360A (en) | 2015-05-20 |
RU2016119261A (en) | 2017-12-19 |
MY175285A (en) | 2020-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016177030A1 (en) | Method, device and system for establishing link of sdn network device | |
WO2008101421A1 (en) | System, device and method for auto-configuring application terminals in home network | |
WO2015117385A1 (en) | Network virtualization processing method, device and system | |
WO2007012242A1 (en) | Method and system for implementing initialization configuration for the managed devices | |
WO2015070611A1 (en) | Network element device and method for controlling network element device to join network | |
WO2012071825A1 (en) | Method and system for managing home gateway related parameters in a gigabit-capable passive optical network (gpon) system | |
WO2011153679A1 (en) | Method, device and system for service configuration | |
TWI639325B (en) | Automatically configured switch,method of automatically configuring a switch, and software defined network system with auto-deployment switches and auto-deploying method thereof | |
WO2012100509A1 (en) | Method for automatically discovering coaxial broadband access terminal, management method and system | |
WO2015055016A1 (en) | Network element device configuration and management method, device and network element device | |
CN104426756B (en) | A kind of acquisition methods and control platform of service node ability information | |
WO2012106883A1 (en) | Method, apparatus and system for initial deployment of layer 2 network device | |
WO2014183726A1 (en) | Network management implementation method, network element devices and system | |
WO2015180154A1 (en) | Network control method and apparatus | |
CN107769939B (en) | Network element management method, network management, gateway network element and system in data communication network | |
JP2019057905A (en) | Role-based automatic configuration system and method for ethernet(r) switches | |
WO2014139094A1 (en) | Communication method, device and system | |
WO2018050041A1 (en) | Parameter configuration method, device, and system | |
US11805011B2 (en) | Bulk discovery of devices behind a network address translation device | |
WO2015085518A1 (en) | Packet processing method and device | |
CN104092684A (en) | Method and device for supporting VPN based on OpenFlow protocol | |
JP5813873B2 (en) | Management session setting method, subscriber premises equipment, and automatic setting server | |
WO2009059505A1 (en) | A remote initialization method and system | |
JP5974911B2 (en) | Communication system and network relay device | |
WO2014187241A1 (en) | Method and wireless device for controlling disconnection of a wireless device in a wi-fi direct group of a wireless network |
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: 14861507 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2016119261 Country of ref document: RU Kind code of ref document: A |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14861507 Country of ref document: EP Kind code of ref document: A1 |