WO2012088954A1 - Method, apparatus and system for management of network configuration based on network configuration protocol - Google Patents

Method, apparatus and system for management of network configuration based on network configuration protocol Download PDF

Info

Publication number
WO2012088954A1
WO2012088954A1 PCT/CN2011/081288 CN2011081288W WO2012088954A1 WO 2012088954 A1 WO2012088954 A1 WO 2012088954A1 CN 2011081288 W CN2011081288 W CN 2011081288W WO 2012088954 A1 WO2012088954 A1 WO 2012088954A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
network configuration
management
target
target network
Prior art date
Application number
PCT/CN2011/081288
Other languages
French (fr)
Chinese (zh)
Inventor
肖华山
朱永飞
史先亮
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2012088954A1 publication Critical patent/WO2012088954A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/0826Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability for reduction of network costs

Definitions

  • Network configuration management method, device and system based on network configuration protocol The application is submitted to the Chinese Patent Office on December 29, 2010, and the application number is 201010612884. 8 , the invention name is "network configuration management based network configuration management method, device The priority of the Chinese Patent Application, the entire disclosure of which is incorporated herein by reference. Technical field
  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a network configuration management method, device, and system based on a network configuration protocol. Background technique
  • a logical router (Logic Router; LR)/virtual router (VR) technology is proposed, which specifically: divides a physical router (PR) into multiple logical routers (LR). Divide a logical router (LR) into multiple virtual routers (VRs).
  • the logical router (LR) / virtual router (VR) is equivalent in business function to an independent traditional physical router.
  • the existing methods for managing LR/VR are as follows: When creating a new LR/VR, configure a management port for it, including but not limited to IP interface (IP interface), protocol port (such as: socket port). Socket por t ), serial port (such as teletypewriter terminal TTY console)
  • IP interface IP interface
  • protocol port such as: socket port
  • Socket por t Socket por t
  • serial port such as teletypewriter terminal TTY console
  • the management port is configured to bind the IP address of the management port, the socke port number, or the physical TTY conso port number to the specified LR/VR.
  • the user can manage the corresponding LR/VR through the management port.
  • the existing method for managing the LR/VR is in a disconnected state before the configuration management port, and the newly created LR/VR cannot be managed; and each LR/VR corresponds to one management port, which wastes management port resources; Between the network management center and the network device, a management channel needs to be established for each LR/VR, which wastes management bandwidth and management resources, and increases the load of the network management center and network devices.
  • the invention provides a network configuration management method, a device and a system based on a network configuration protocol, which are used to solve the problem of waste of management bandwidth and management resources in the prior art, increase the load of the network management center and the network device, and save management bandwidth and management. Resources, reducing the management load of network management centers and network devices.
  • An embodiment of the present invention provides a network configuration management method based on a network configuration protocol, including: sending a network configuration command to a target network device that needs to be operated, where the network configuration command includes an operation management maintenance command and a corresponding remote procedure call context thereof. Attribute, the remote procedure call context attribute is identifier information of the target network device;
  • the network configuration command response includes a management operation result of the target network device performing the operation management maintenance command on the target network device corresponding to the identification information.
  • the embodiment of the invention further provides a network configuration management method based on a network configuration protocol, which includes:
  • the network configuration command includes an operation management maintenance command and a corresponding remote procedure call context attribute, where the remote procedure call context attribute is identifier information of the target network device that needs to be operated; Performing the operation management and maintenance command on the target network device corresponding to the identifier information, and sending a network configuration command response to the network management center, where the network configuration command response includes the target network device corresponding to the identifier information
  • the target network device executes the management operation result of the operation management maintenance command.
  • the embodiment of the invention further provides a network management center, including:
  • a first sending module configured to send a network configuration command to the target network device that needs to be operated, where the network configuration command includes an operation management maintenance command and a corresponding remote procedure call context attribute, where the remote procedure call context attribute is
  • the first receiving module is configured to receive a network configuration command response sent by the target network device, where the network configuration command response includes the target network device corresponding to the identifier information by the target network device
  • the management operation result of the operation management maintenance command is executed.
  • the embodiment of the invention further provides a network device, including:
  • a second receiving module configured to receive a network configuration command of the network management center, where the network configuration command includes an operation management maintenance command and a corresponding remote procedure call context attribute, where the remote procedure call context attribute is a target network that needs to be operated Identification information of the device;
  • An execution module configured to execute the operation management maintenance command on the target network device corresponding to the identifier information
  • a second sending module configured to send a network configuration command response to the network management center, where the network configuration command response includes the target network device performing the operation management and maintenance command on the target network device corresponding to the identifier information Manage the results of the operation.
  • the embodiment of the invention further provides a network configuration management system based on a network configuration protocol, which is characterized in that it comprises: a network management center and a target network device;
  • the network management center includes:
  • a first sending module configured to send a network configuration command to the target network device that needs to be operated, where the network configuration command includes an operation management maintenance command and a corresponding remote procedure call context attribute, where the remote procedure call context attribute is Identification information of the target network device;
  • a first receiving module configured to receive a network configuration command response sent by the target network device, where the network configuration command response includes the target network device performing the operation management and maintenance command on the target network device corresponding to the identifier information Management operation result;
  • the target network device includes:
  • a second receiving module configured to receive a network configuration command of the network management center, where the network configuration command includes an operation management maintenance command and a corresponding remote procedure call context attribute, where the remote procedure call context attribute is a target network that needs to be operated Identification information of the device;
  • An execution module configured to execute the operation management maintenance command on the target network device corresponding to the identifier information
  • a second sending module configured to send a network configuration command response to the network management center, where the network configuration command response includes the target network device performing the operation management and maintenance command on the target network device corresponding to the identifier information Manage the results of the operation.
  • the network configuration management method, device and system based on the network configuration protocol provided by the present invention, the remote process call context attribute in the network configuration command is used between the network management center and the target network device to identify the target network device to be operated, and the A management port and a management channel manage the target network device, which saves management bandwidth and management resources, and reduces the management load of the network management center and network devices.
  • FIG. 1 is a flowchart of a network configuration management method based on a network configuration protocol according to Embodiment 1 of the present invention
  • FIG. 1b is a network configuration management method based on network configuration protocol according to Embodiment 1 of the present invention; a signaling flow diagram of an application;
  • FIG. 2 is a flowchart of a network configuration management method based on a network configuration protocol according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic structural diagram of a network management center according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic structural diagram of a network management center according to Embodiment 4 of the present invention.
  • FIG. 5 is a schematic structural diagram of a network device according to Embodiment 5 of the present invention.
  • FIG. 6 is a schematic structural diagram of a network device according to Embodiment 6 of the present invention.
  • FIG. 7 is a schematic structural diagram of a network configuration management system based on a network configuration protocol according to Embodiment 7 of the present invention. detailed description
  • Figure la is a flowchart of a network configuration management method based on a network configuration protocol according to Embodiment 1 of the present invention.
  • the network configuration management method based on the network configuration protocol may include:
  • Step 101 Send a network configuration command to a target network device that needs to be operated, where the network configuration command includes an operation management and maintenance (Opera t ion Admin) and a corresponding remote process.
  • Calling (remote procedure ca ll; rpc for short) context attribute the remote procedure call context attribute is identification information of the target network device;
  • step 101 may include any of the following situations: Case 1: The network management center sends a network configuration command to the target network device that needs to operate. Case 2: The network management center sends a network configuration command to the target network device that needs to operate through the network configuration agent.
  • Step 102 Receive a network configuration command response sent by the target network device, where the network configuration command response includes a management operation result that the target network device performs the operation management maintenance command on the target network device corresponding to the identifier information.
  • step 102 may include any of the following situations: Case 1: The network management center receives a network configuration command response sent by the target network device.
  • Case 2 The network management center receives a network configuration command response of the target network device forwarded by the network configuration proxy.
  • the network configuration protocol in the embodiment of the present invention may be simply referred to as the Netconf protocol.
  • the target network device that needs to be operated can be managed based on the Netconf protocol, and the target network device can be: a physical router and a logical router (LR) and/or a virtual router (VR) therein, a master device in the master-slave network, or a slave device.
  • LR logical router
  • VR virtual router
  • the network management center uses the network configuration command of the Ne tconf protocol and the command interaction mode of the network configuration command response, the network management center only needs to allocate a management port to the target network device and establish a management channel.
  • the rpc context attribute can be added to the network configuration command of the Ne tconf protocol. For example: hwcontext, carrying the identification information of the target network device, through the network configuration command.
  • the rpc context attribute hwcontext may specify a target network device to be operated, including: one or more of new, delete, change, query, and the like.
  • the rpc context attribute is the identification information of different target network devices.
  • the application scenario specifically includes any of the following application scenarios: Application scenario 1. If the target network device is a physical routing device, the remote procedure call context attribute is the physical routing device, the logical router in the physical routing device, and the virtual router in the physical routing device. One or more of the identification information; wherein the physical router can directly connect with the network management center, and the network management center can manage the physical routing device and the LR and VR therein by sending a Netconf command carrying the rpc context attribute to the physical router. .
  • Example 3 Port: Through the rpc context attribute hwcontext, you can specify the LR and VR in the physical router that the network configuration command needs to operate, and implement the management and maintenance of multiple LRs and/or VRs in each physical router by the network management center. Only one management port is required to manage each LR and VR in a physical router, including one or more of new creation, deletion, change, and query.
  • Application scenario 2 If the target network device is a master device or a slave device in the master-slave network, the remote procedure call context attribute is identifier information of the master device or the slave device; wherein, the master device may directly The network management center is connected, and the network management center can manage the master device and its slave devices by sending a Netconf command carrying the rpc context attribute to the master device.
  • Application scenario 3 If the target network device is a cluster management device or a cluster member device in a cluster network, the remote procedure call context attribute is identifier information of the cluster management device or a cluster member device;
  • the device can be directly connected to the network management center.
  • the network management center can manage the cluster management device and its cluster member devices by sending Netconf commands carrying the rpc context attribute to the cluster management device.
  • FIG. 1B is a signaling flowchart of an application of a network configuration management method based on a network configuration protocol according to Embodiment 1 of the present invention.
  • a network configuration management method based on a network configuration protocol includes:
  • Step 101a The network management center (Netconf client) sends a network configuration command (Netconf command) to the target network device (Netconf Agent). Assuming that the Netconf agent is a physical router, the rpc context attribute hwcontext in the Netconf command can limit the current remote procedure call to operate. Which LR and / or VR.
  • Step 102a The target network device (Netconf Agent) returns a network configuration command response carrying the operation result to the network management center (Netconf client).
  • the target network device (Netconf Agent) will identify the “mtu” value of the interface EthernetO/0 under the “lrl” and “vrl” in the target network device (Netconf Agent). Change to "1500", and then use the "rpc-reply" in the network configuration command response to return the result of the operation.
  • the network device may be used as a network configuration proxy by a network device (Netconf agent) to forward the network management to the remote target network device (Netconf agent).
  • Netconf client's Netconf command message and wait for the remote target network device (Netconf agent)
  • the Netconf command responds and then forwards the Netconf command response to the Network Management Center (Netconf cl ient ).
  • Hwcontext is an optional context attribute, which is only an example, not a limitation, and can be compatible with existing protocol standards.
  • the rpc context attribute carries the identifier information of the LR/VR in the physical router, and the LR/VR in the physical router can be managed. It is not necessary to allocate a management port for each LR/VR and establish a management channel.
  • FIG. 2 is a flowchart of a network configuration management method based on a network configuration protocol according to Embodiment 2 of the present invention.
  • the network configuration management method based on the network configuration protocol may include:
  • Step 201 Receive a network configuration command of the network management center, where the network configuration command includes an operation management maintenance command and a corresponding remote procedure call context attribute, where the remote procedure call context attribute is identifier information of the target network device that needs to be operated.
  • the step 201 may include any of the following situations: Case 1: The target network device receives the network configuration command sent by the network management center; Case 2: The target network device receives the network configuration command sent by the network management center through the network configuration proxy.
  • Step 202 Perform the operation management and maintenance command on the target network device corresponding to the identifier information.
  • the target network device that needs to be operated may be managed according to the Netconf protocol, where the target network device includes: a physical router and a logical router (LR) and/or a virtual router (VR) therein, a master device in the master-slave network, or Slave management device from device, cluster network Or one or more of cluster member devices, and so on.
  • the operations management and maintenance commands in the network configuration command of the Netconf protocol can be used to create, delete, modify, and query.
  • the target network device After receiving the network configuration command sent by the network management center, the target network device can create, delete, modify, and query according to the configuration commands. Perform corresponding new creation, deletion, modification, and query operations on the target network device corresponding to the identification information.
  • the specific packet of the network configuration command refer to the description of Figure lb in the first embodiment and the LR and/or VR identification information carried in the rpc context attribute hwcontext in the Ne tconf command.
  • Step 203 Send a network configuration command response to the network management center, where the network configuration command response includes: a management operation result of the target network device performing the operation management maintenance command on the target network device corresponding to the identifier information .
  • the step 203 may include any of the following situations: Case 1: The target network device sends a network configuration command response to the network management center. Case 2: the target network device forwards the target network device to the network management center by using a network configuration proxy. Network configuration command response.
  • rpc can also be added in the network configuration command of the Ne tconf protocol.
  • the context attribute for example: hwcontext, carries the identification information of the target network device, and the rpc context attribute hwcontext can specify the target network device that needs to operate (new, delete, change, etc.) of the network configuration command.
  • the rpc context attribute is the identification information of different target network devices, including any of the following application scenarios:
  • Application scenario 1 If the target network device is a physical routing device, the remote procedure call context attribute is the physical routing device, the logical router in the physical routing device, and the virtual router in the physical routing device. Identify one or more of the information;
  • Application scenario 2 If the target network device is a master device or a slave device in a master-slave network, the remote procedure call context attribute is identifier information of the master device or the slave device;
  • Application scenario 3 If the target network device is a cluster management device or a cluster member device in a cluster network, the remote procedure call context attribute is identifier information of the cluster management device or the cluster member device.
  • Application scenario 4 If the target network device communicates with the network management center through the network configuration agent, the remote procedure call context attribute in the network configuration command sent by the network management center to the network configuration agent is the target network device Identification information.
  • the remote process call context attribute in the network configuration command is used between the network management center and the target network device to identify the target network device to be operated, and the target network device can be managed through a management port and a management channel. It saves management bandwidth and management resources, and reduces the management load of network management centers and network devices.
  • 3 is a schematic structural diagram of a network management center according to Embodiment 3 of the present invention. As shown in FIG.
  • the network management center includes: a first sending module 11 configured to send a network configuration command to a target network device that needs to operate, where The network configuration command includes an operation management maintenance command and a corresponding remote procedure call context attribute, where the remote procedure call context attribute is identification information of the target network device, and the first receiving module 1 3 is configured to receive the target. And a network configuration command response sent by the network device, where the network configuration command response includes a management operation result that the target network device performs the operation management maintenance command on the target network device corresponding to the identifier information.
  • the target network device may invoke the identifier information of the target network device represented by the context attribute according to the remote procedure of the network configuration command.
  • the operation management maintenance command is executed on the target network device corresponding to the identifier information, and then the first receiving module 13 can receive the network configuration command response sent by the target network device, thereby obtaining the management operation result.
  • the specific packet of the network configuration command refer to the description of Figure lb in the first embodiment and the packet LR and/or VR identification information carried in the rpc context attribute hwcontext in the Netconf command.
  • the packet refer to the second example of the packet in the first embodiment.
  • the types of the identification information of the target network device in the rpc context attribute can be referred to the application scenarios one to three in the first embodiment.
  • the network management center and the target network device use the remote procedure call context attribute in the network configuration command to identify the target network device to be operated, and the target network device can be managed through a management port and a management channel. It saves management bandwidth and management resources, and reduces the management load of network management centers and network devices.
  • the first sending module 11 of the network management center may include: a first sending submodule 21 , for sending a network configuration command to a target network device that needs to operate; and/or
  • the second sending submodule 23 is configured to send a network configuration command to the target network device that needs to be operated by using a network configuration proxy.
  • the first receiving module 13 may include:
  • a first receiving submodule 31 configured to receive a network configuration command response sent by the target network device
  • the second receiving submodule 33 is configured to receive a network configuration command response of the target network device forwarded by the network configuration proxy.
  • the first sending module 11 of the network management center sends a network configuration command to the target network device that needs to be operated, where the first sending submodule 21 of the first sending module 11 can directly send the network configuration to the target network device that needs to operate.
  • the second sending sub-module 23 can send a network configuration command to the target network device that needs to operate through the network configuration proxy.
  • For the specific packet of the network configuration command refer to the description of Figure lb in the first embodiment and the message 1 of the LR and/or VR identification information carried in the rpc context attribute hwcontext in the Netconf command.
  • the target network device may perform the corresponding operation management and maintenance command on the target network device corresponding to the identifier information according to the remote network process of the network configuration command.
  • the operation management maintenance command includes: one or more of new creation, deletion, modification, and query, and then the first receiving module 13 can receive a network configuration command response sent by the target network device, thereby obtaining the management operation result.
  • the first receiving submodule 31 of the first receiving module 13 may directly receive the network configuration command response sent by the target network device; the second receiving submodule 33 may receive the network configuration of the target network device forwarded by the network configuration proxy. Command response.
  • For the specific packet replied by the network configuration command refer to the second packet example in the first embodiment.
  • the type of the identifier information of the target network device in the rpc context attribute can be referred to the application scenario in the first embodiment.
  • the remote procedure call context attribute identifier in the network configuration command is used between the network management center and the target network device.
  • the target network device of the operation can manage the target network device through a management port and a management channel, which saves management bandwidth and management resources, and reduces the management load of the network management center and the network device.
  • 5 is a schematic structural diagram of a network device according to Embodiment 5 of the present invention. As shown in FIG. 5, the network device may include: a second receiving module 41, configured to receive a network configuration command of a network management center, where the network configuration command is used.
  • the operation management maintenance command and the corresponding remote procedure call context attribute, the remote procedure call context attribute is identifier information of the target network device that needs to be operated, and the execution module 42 is configured to execute the target network device corresponding to the identifier information.
  • the operation management maintenance command; the second sending module 43 is configured to send a network configuration command response to the network management center,
  • the network configuration command response includes: a management operation result of the target network device performing the operation management maintenance command on the target network device corresponding to the identification information.
  • the executing module 42 may invoke the identifier information of the target network device that needs to be operated, which is represented by the context attribute, according to the remote procedure of the network configuration command.
  • the operation management maintenance command is executed on the target network device corresponding to the identification information, and then the second sending module 43 may send a network configuration command response, thereby notifying the network management center of the current management operation result.
  • the specific packet of the network configuration command refer to the description of Figure lb in the first embodiment and the packet LR and/or VR identification information carried in the rpc context attribute hwcontext in the Netconf command.
  • the specific packet refer to the second example of the packet in the first embodiment.
  • the types of the identification information of the target network device in the rpc context attribute can be referred to the application scenarios one to three in the second embodiment.
  • FIG. 6 is a schematic structural diagram of a network device according to Embodiment 6 of the present invention.
  • the second receiving module 41 of the network device may include: a third receiving submodule 51, Receiving a network configuration command sent by the network management center; and/or a fourth receiving submodule 53, configured to receive a network configuration command sent by the network management center through the network configuration proxy.
  • the second sending module 43 includes: a third sending submodule 61, configured to send a network configuration command response to the network management center; and/or The fourth sending submodule 63 is configured to forward, by the network configuration proxy, a network configuration command response of the target network device to the network management center.
  • the second receiving module 41 of the network device may receive the network configuration command of the network management center, where the third receiving submodule 51 of the second receiving module 41 may directly receive the network configuration command sent by the network management center;
  • the sub-module 53 can configure a network configuration command sent by the network to the receiving network management center through the network.
  • the target network device is a physical routing device.
  • the execution module 42 may perform the operation management on the target network device corresponding to the identifier information according to the remote process of the network configuration command, and the identifier information of the target network device that needs to be operated.
  • the maintenance command, and then the second sending module 43 can send a network configuration command response, thereby notifying the network management center of the result of the management operation.
  • the third sending submodule 61 of the second sending module 43 may directly send a network configuration command response to the network management center.
  • the fourth sending submodule 63 may forward the target network device to the network management center by using a network configuration proxy.
  • Network configuration command response For example, the target network device is the physical routing device.
  • the types of the identification information of the target network device in the rpc context attribute can be referred to the application scenarios one to three in the second embodiment.
  • FIG. 7 is a schematic structural diagram of a network configuration management system based on a network configuration protocol according to Embodiment 7 of the present invention.
  • the network configuration management system based on the network configuration protocol may include: a network management center 71 and a target network device. 73;
  • the network management center 71 may be the network management center provided in the foregoing embodiment of the present invention;
  • the target network device 73 can be the network device provided in the above embodiments of the present invention.
  • the network management center may include: a first sending module 11 configured to send a network configuration command to the target network device that needs to be operated, where the network configuration command includes an operation management maintenance command and Corresponding remote procedure call context attribute, the remote procedure call context attribute is identifier information of the target network device; the first receiving module 13 is configured to receive a network configuration command response sent by the target network device, The network configuration command response includes a management operation result that the target network device performs the operation management maintenance command on the target network device corresponding to the identification information.
  • the first sending module 11 may include:
  • a first sending submodule 21 configured to send a network configuration command to a target network device that needs to operate
  • the second sending submodule 23 is configured to send a network configuration command to the target network device that needs to be operated by using a network configuration proxy.
  • the first receiving module 13 may include:
  • a first receiving submodule 31 configured to receive a network configuration command response sent by the target network device
  • the second receiving submodule 33 is configured to receive a network configuration command response of the target network device forwarded by the network configuration proxy.
  • the network device may include: a second receiving module 41, configured to receive a network configuration command of the network management center, where the network configuration command includes an operation management maintenance command and a corresponding remote Procedure call context property,
  • the remote procedure call context attribute is identifier information of the target network device that needs to be operated;
  • the execution module 42 is configured to execute the operation management and maintenance command on the target network device corresponding to the identifier information;
  • the second sending module 43 is configured to: Sending a network configuration command response to the network management center, where the network configuration command response includes: a management operation result of the target network device performing the operation management maintenance command on the target network device corresponding to the identification information.
  • the second receiving module 41 may include: a third receiving submodule 51, configured to receive a network configuration command sent by the network management center; and/or
  • the fourth receiving submodule 53 is configured to configure, by using a network, a network configuration command sent by the proxy to the receiving network management center. Further, the second sending module 43 includes: a third sending submodule 61, configured to send a network configuration command response to the network management center; and/or
  • the fourth sending submodule 63 is configured to forward, by the network configuration proxy, the network configuration command response of the target network device to the network management center.
  • the network configuration management system based on the network configuration protocol may further include: a network configuration proxy 75, configured to forward the received network configuration command of the network management center to the target network device; The network configuration command response of the target network device is forwarded to the network management center.
  • the target network device may invoke the identifier information of the target network device that needs to be operated, which is represented by the context attribute, according to the remote procedure of the network configuration command, and corresponding to the identifier information.
  • the target network device performs an operation management maintenance command, and then the network management center can receive the target network device to send The network configuration command responds to obtain the result of this management operation.
  • the network management center and the target network device can directly send requests and responses, and can also configure the proxy to forward requests and responses through the network.
  • the rpc context attribute in the Netconf command may be the identifier information of the different target network devices, including any of the following application scenarios:
  • the target network device is a physical routing device
  • the remote procedure call context attribute in the network configuration command received by the target network device is the physical routing device, the logical router in the physical routing device, and the One or more of the identification information of the virtual router in the physical routing device; or
  • the target network device is a master device or a slave device in a master-slave network
  • the remote procedure call context attribute in the network configuration command received by the target network device is an identifier of the master device or the slave device.
  • the information or the application scenario is as follows: the target network device is a cluster management device or a cluster member device in the cluster network, and the remote process call context attribute in the network configuration command received by the target network device is the cluster management device.
  • the identification information of the cluster member device; the application scenario 4 the target network device communicates with the network management center through the network configuration agent, and the remote process call context in the network configuration command sent by the network management center to the network configuration agent
  • the attribute is identification information of the target network device.
  • the target network device is a physical routing device.
  • the specific packet of the network configuration command refer to the description in Figure lb in the first embodiment and the LR and/or VR identification information carried in the rpc context attribute hwcontext in the Netconf command.
  • the specific example of the network configuration command response can be found in the second example of the packet in the first embodiment.
  • the remote process call context attribute in the network configuration command is used between the network management center and the target network device to identify the target network device that needs to be operated, and may pass a tube.
  • the management port and a management channel manage the target network devices of the target network device, which saves management bandwidth and management resources, and reduces the management load of the network management center and network devices.

Landscapes

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

Abstract

Disclosed are a method, an apparatus and a system for the management of a network configuration based on a network configuration protocol. The method comprises: sending to a target network apparatus to be operated a network configuration command which includes an operation managing and maintaining command and context attributes of remote procedure call corresponding to the same, which context attributes are the identification information about the target network apparatus; receiving a response to the network configuration command sent by the target network apparatus, which response comprises the management operation result of the target network apparatus executing the operation managing and maintaining command on the target network apparatus corresponding to the identification information. The embodiments of the present invention identify the target network apparatus to be operated by means of the context attributes of remote procedure call in the network configuration command, which can save management bandwidth and management resources and reduce the management load of the network management centre and network apparatus.

Description

基于网络配置协议的网络配置管理方法、 设备和*** 本申请要求于 2010 年 12 月 29 日提交中国专利局、 申请号为 201010612884. 8 , 发明名称为 "基于网络配置协议的网络配置管理方法、 设备和***" 的中国专利申请的优先权, 其全部内容通过引用结合在本申 请中。 技术领域  Network configuration management method, device and system based on network configuration protocol The application is submitted to the Chinese Patent Office on December 29, 2010, and the application number is 201010612884. 8 , the invention name is "network configuration management based network configuration management method, device The priority of the Chinese Patent Application, the entire disclosure of which is incorporated herein by reference. Technical field
本发明实施例涉及通信技术领域, 尤其涉及一种基于网络配置协议的 网络配置管理方法、 设备和***。 背景技术  The embodiments of the present invention relate to the field of communications technologies, and in particular, to a network configuration management method, device, and system based on a network configuration protocol. Background technique
随着网络业务需求的不断扩展延伸, 网络业务种类不断增加, 网络管 理越来越复杂, 对于业务的隔离、 安全性、 可靠性等方面提出了更高的要 求。 但是, 随着多框、 分布式路由交换***的成熟, 单台物理路由器 ( Phys ica l Router ; 简称: PR ) 的业务处理能力达到一个新的高度, 甚 至达到了处理极限。如何充分利用单台 PR强大的业务处理能力、简化组网、 简化管理、 加强安全性和可靠性, 成为路由器领域亟待解决的问题。 为此, 提出了逻辑路由器(Logic Router;简称: LR )/虚拟路由器( Virtua l Router; 简称: VR )技术, 具体为: 将一台物理路由器 (PR ) 划分成多个逻辑路由 器 (LR ), 将一台逻辑路由器 (LR ) 划分成多台虚拟路由器 (VR )。 逻辑路 由器(LR ) /虚拟路由器(VR )在业务功能上等同于一***立的传统物理路 由器。  As the demand for network services continues to expand and expand, the types of network services continue to increase, network management becomes more and more complex, and higher requirements are placed on the isolation, security, and reliability of services. However, with the maturity of multi-chassis and distributed routing switching systems, the service processing capability of a single physical router (Physica router) has reached a new level, even reaching the processing limit. How to make full use of the powerful PR processing capability of a single PR, simplify networking, simplify management, enhance security and reliability, and become an urgent problem to be solved in the router field. To this end, a logical router (Logic Router; LR)/virtual router (VR) technology is proposed, which specifically: divides a physical router (PR) into multiple logical routers (LR). Divide a logical router (LR) into multiple virtual routers (VRs). The logical router (LR) / virtual router (VR) is equivalent in business function to an independent traditional physical router.
现有对 LR/VR进行管理的方法为: 在创建新的 LR/VR时, 为其配置管 理口, 该管理口包括但不限于 IP接口 (IP interface ), 协议端口 (如: 套接字端口 socket por t ), 串口 (如电传打字机终端 TTY console )等方 式, 将该管理口的 IP地址、 socke t端口号或物理的 TTY conso le端口号与 指定的 LR/VR进行管理绑定, 用户通过该管理口可以对相应的 LR/VR进行 管理。 The existing methods for managing LR/VR are as follows: When creating a new LR/VR, configure a management port for it, including but not limited to IP interface (IP interface), protocol port (such as: socket port). Socket por t ), serial port (such as teletypewriter terminal TTY console) The management port is configured to bind the IP address of the management port, the socke port number, or the physical TTY conso port number to the specified LR/VR. The user can manage the corresponding LR/VR through the management port.
现有对 LR/VR进行管理的方法, 在配置管理口之前处于脱管状态, 无 法对新创建的 LR/VR进行管理; 并且, 每个 LR/VR对应一个管理口, 浪费 管理口资源; 并且在网络管理中心与网络设备之间, 需要为每个 LR/VR建 立一个管理通道, 浪费管理带宽和管理资源, 加重网络管理中心与网络设 备的负载。 发明内容  The existing method for managing the LR/VR is in a disconnected state before the configuration management port, and the newly created LR/VR cannot be managed; and each LR/VR corresponds to one management port, which wastes management port resources; Between the network management center and the network device, a management channel needs to be established for each LR/VR, which wastes management bandwidth and management resources, and increases the load of the network management center and network devices. Summary of the invention
本发明提供一种基于网络配置协议的网络配置管理方法、 设备和***, 用以解决现有技术中浪费管理带宽和管理资源, 加重网络管理中心与网络 设备的负载的缺陷, 节省管理带宽和管理资源, 降低网络管理中心和网络 设备的管理负载。  The invention provides a network configuration management method, a device and a system based on a network configuration protocol, which are used to solve the problem of waste of management bandwidth and management resources in the prior art, increase the load of the network management center and the network device, and save management bandwidth and management. Resources, reducing the management load of network management centers and network devices.
本发明实施例提供一种基于网络配置协议的网络配置管理方法, 包括: 向需要操作的目标网络设备发送网络配置命令, 所述网络配置命令中 包括操作管理维护命令及其对应的远程过程调用上下文属性, 所述远程过 程调用上下文属性为所述目标网络设备的标识信息;  An embodiment of the present invention provides a network configuration management method based on a network configuration protocol, including: sending a network configuration command to a target network device that needs to be operated, where the network configuration command includes an operation management maintenance command and a corresponding remote procedure call context thereof. Attribute, the remote procedure call context attribute is identifier information of the target network device;
接收所述目标网络设备发送的网络配置命令应答, 所述网络配置命令 应答中包括所述目标网络设备对所述标识信息对应的目标网络设备执行所 述操作管理维护命令的管理操作结果。  Receiving a network configuration command response sent by the target network device, where the network configuration command response includes a management operation result of the target network device performing the operation management maintenance command on the target network device corresponding to the identification information.
本发明实施例还提供一种基于网络配置协议的网络配置管理方法, 包 括:  The embodiment of the invention further provides a network configuration management method based on a network configuration protocol, which includes:
接收网络管理中心的网络配置命令, 所述网络配置命令中包括操作管 理维护命令及其对应的远程过程调用上下文属性, 所述远程过程调用上下 文属性为需要操作的目标网络设备的标识信息; 对所述标识信息对应的目标网络设备执行所述操作管理维护命令; 向所述网络管理中心发送网络配置命令应答, 所述网络配置命令应答 中包括所述目标网络设备对所述标识信息对应的目标网络设备执行所述操 作管理维护命令的管理操作结果。 Receiving a network configuration command of the network management center, where the network configuration command includes an operation management maintenance command and a corresponding remote procedure call context attribute, where the remote procedure call context attribute is identifier information of the target network device that needs to be operated; Performing the operation management and maintenance command on the target network device corresponding to the identifier information, and sending a network configuration command response to the network management center, where the network configuration command response includes the target network device corresponding to the identifier information The target network device executes the management operation result of the operation management maintenance command.
本发明实施例还提供一种网络管理中心, 包括:  The embodiment of the invention further provides a network management center, including:
第一发送模块, 用于向需要操作的目标网络设备发送网络配置命令, 所述网络配置命令中包括操作管理维护命令及其对应的远程过程调用上下 文属性, 所述远程过程调用上下文属性为所述目标网络设备的标识信息; 第一接收模块, 用于接收所述目标网络设备发送的网络配置命令应答, 所述网络配置命令应答中包括所述目标网络设备对所述标识信息对应的目 标网络设备执行所述操作管理维护命令的管理操作结果。  a first sending module, configured to send a network configuration command to the target network device that needs to be operated, where the network configuration command includes an operation management maintenance command and a corresponding remote procedure call context attribute, where the remote procedure call context attribute is And the first receiving module is configured to receive a network configuration command response sent by the target network device, where the network configuration command response includes the target network device corresponding to the identifier information by the target network device The management operation result of the operation management maintenance command is executed.
本发明实施例还提供一种网络设备, 包括:  The embodiment of the invention further provides a network device, including:
第二接收模块, 用于接收网络管理中心的网络配置命令, 所述网络配 置命令中包括操作管理维护命令及其对应的远程过程调用上下文属性, 所 述远程过程调用上下文属性为需要操作的目标网络设备的标识信息;  a second receiving module, configured to receive a network configuration command of the network management center, where the network configuration command includes an operation management maintenance command and a corresponding remote procedure call context attribute, where the remote procedure call context attribute is a target network that needs to be operated Identification information of the device;
执行模块, 用于对所述标识信息对应的目标网络设备执行所述操作管 理维护命令;  An execution module, configured to execute the operation management maintenance command on the target network device corresponding to the identifier information;
第二发送模块, 用于向所述网络管理中心发送网络配置命令应答, 所 述网络配置命令应答中包括所述目标网络设备对所述标识信息对应的目标 网络设备执行所述操作管理维护命令的管理操作结果。  a second sending module, configured to send a network configuration command response to the network management center, where the network configuration command response includes the target network device performing the operation management and maintenance command on the target network device corresponding to the identifier information Manage the results of the operation.
本发明实施例还提供一种基于网络配置协议的网络配置管理***, 其 特征在于, 包括: 网络管理中心和目标网络设备;  The embodiment of the invention further provides a network configuration management system based on a network configuration protocol, which is characterized in that it comprises: a network management center and a target network device;
所述网络管理中心包括:  The network management center includes:
第一发送模块, 用于向需要操作的目标网络设备发送网络配置命令, 所述网络配置命令中包括操作管理维护命令及其对应的远程过程调用上下 文属性, 所述远程过程调用上下文属性为所述目标网络设备的标识信息; 第一接收模块, 用于接收所述目标网络设备发送的网络配置命令应答, 所述网络配置命令应答中包括所述目标网络设备对所述标识信息对应的目 标网络设备执行所述操作管理维护命令的管理操作结果; a first sending module, configured to send a network configuration command to the target network device that needs to be operated, where the network configuration command includes an operation management maintenance command and a corresponding remote procedure call context attribute, where the remote procedure call context attribute is Identification information of the target network device; a first receiving module, configured to receive a network configuration command response sent by the target network device, where the network configuration command response includes the target network device performing the operation management and maintenance command on the target network device corresponding to the identifier information Management operation result;
所述目标网络设备包括:  The target network device includes:
第二接收模块, 用于接收网络管理中心的网络配置命令, 所述网络配 置命令中包括操作管理维护命令及其对应的远程过程调用上下文属性, 所 述远程过程调用上下文属性为需要操作的目标网络设备的标识信息;  a second receiving module, configured to receive a network configuration command of the network management center, where the network configuration command includes an operation management maintenance command and a corresponding remote procedure call context attribute, where the remote procedure call context attribute is a target network that needs to be operated Identification information of the device;
执行模块, 用于对所述标识信息对应的目标网络设备执行所述操作管 理维护命令;  An execution module, configured to execute the operation management maintenance command on the target network device corresponding to the identifier information;
第二发送模块, 用于向所述网络管理中心发送网络配置命令应答, 所 述网络配置命令应答中包括所述目标网络设备对所述标识信息对应的目标 网络设备执行所述操作管理维护命令的管理操作结果。  a second sending module, configured to send a network configuration command response to the network management center, where the network configuration command response includes the target network device performing the operation management and maintenance command on the target network device corresponding to the identifier information Manage the results of the operation.
本发明提供的基于网络配置协议的网络配置管理方法、 设备和***, 网络管理中心与目标网络设备之间釆用网络配置命令中的远程过程调用上 下文属性来标识需要操作的目标网络设备, 可以通过一个管理口和一个管 理通道, 对该目标网络设备进行管理, 节省了管理带宽和管理资源, 降低 了网络管理中心和网络设备的管理负载。 附图说明  The network configuration management method, device and system based on the network configuration protocol provided by the present invention, the remote process call context attribute in the network configuration command is used between the network management center and the target network device to identify the target network device to be operated, and the A management port and a management channel manage the target network device, which saves management bandwidth and management resources, and reduces the management load of the network management center and network devices. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对 实施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图 l a为本发明实施例一提供的基于网络配置协议的网络配置管理方法 的流程图;  FIG. 1 is a flowchart of a network configuration management method based on a network configuration protocol according to Embodiment 1 of the present invention;
图 l b为本发明实施例一提供的基于网络配置协议的网络配置管理方法 的一种应用的信令流程图; FIG. 1b is a network configuration management method based on network configuration protocol according to Embodiment 1 of the present invention; a signaling flow diagram of an application;
图 2 为本发明实施例二提供的基于网络配置协议的网络配置管理方法 的流程图;  2 is a flowchart of a network configuration management method based on a network configuration protocol according to Embodiment 2 of the present invention;
图 3为本发明实施例三提供的网络管理中心的结构示意图;  3 is a schematic structural diagram of a network management center according to Embodiment 3 of the present invention;
图 4为本发明实施例四提供的网络管理中心的结构示意图;  4 is a schematic structural diagram of a network management center according to Embodiment 4 of the present invention;
图 5为本发明实施例五提供的网络设备的结构示意图;  FIG. 5 is a schematic structural diagram of a network device according to Embodiment 5 of the present invention;
图 6为本发明实施例六提供的网络设备的结构示意图;  6 is a schematic structural diagram of a network device according to Embodiment 6 of the present invention;
图 7为本发明实施例七提供的基于网络配置协议的网络配置管理*** 的结构示意图。 具体实施方式  FIG. 7 is a schematic structural diagram of a network configuration management system based on a network configuration protocol according to Embodiment 7 of the present invention. detailed description
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本 发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提 下所获得的所有其他实施例, 都属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图 la为本发明实施例一提供的基于网络配置协议的网络配置管理方法 的流程图, 如图 la所示, 该基于网络配置协议的网络配置管理方法可以包 括:  Figure la is a flowchart of a network configuration management method based on a network configuration protocol according to Embodiment 1 of the present invention. As shown in Figure la, the network configuration management method based on the network configuration protocol may include:
步骤 101、 向需要操作的目标网络设备发送网络配置命令, 所述网络配 置命令中 包括操作管理维护 (Opera t ion Admini s t ra t i on and Ma intenance; 简称: 0 AM) 命令及其对应的远程过程调用 ( remote procedure ca l l ; 简称: rpc )上下文属性, 所述远程过程调用上下文属性 为所述目标网络设备的标识信息;  Step 101: Send a network configuration command to a target network device that needs to be operated, where the network configuration command includes an operation management and maintenance (Opera t ion Admin) and a corresponding remote process. Calling (remote procedure ca ll; rpc for short) context attribute, the remote procedure call context attribute is identification information of the target network device;
具体地, 步骤 101可以包括以下任一情况: 情况一、 网络管理中心向需要操作的目标网络设备发送网络配置命令; 情况二、 网络管理中心通过网络配置代理向需要操作的目标网络设备 发送网络配置命令。 步骤 102、接收所述目标网络设备发送的网络配置命令应答, 所述网络 配置命令应答中包括所述目标网络设备对所述标识信息对应的目标网络设 备执行所述操作管理维护命令的管理操作结果。 具体地, 步骤 102可以包括以下任一情况: 情况一、 网络管理中心接收所述目标网络设备发送的网络配置命令应 答; Specifically, step 101 may include any of the following situations: Case 1: The network management center sends a network configuration command to the target network device that needs to operate. Case 2: The network management center sends a network configuration command to the target network device that needs to operate through the network configuration agent. Step 102: Receive a network configuration command response sent by the target network device, where the network configuration command response includes a management operation result that the target network device performs the operation management maintenance command on the target network device corresponding to the identifier information. . Specifically, step 102 may include any of the following situations: Case 1: The network management center receives a network configuration command response sent by the target network device.
情况二、 网络管理中心接收网络配置代理转发的所述目标网络设备的 网络配置命令应答。  Case 2: The network management center receives a network configuration command response of the target network device forwarded by the network configuration proxy.
本发明实施例中的网络配置协议 ( Network Conf igura t ion Protocol ) 可以简称为 Netconf 协议。 基于 Netconf 协议可以对需要操作的目标网络 设备进行管理, 所述目标网络设备可以是: 物理路由器及其中的逻辑路由 器 (LR )和 /或虚拟路由器 (VR )、 主从网络中的主设备或从设备、 集群网 络中的集群管理设备或集群成员设备等中的一个或多个。 在网络管理中心 与目标网络设备之间, 釆用 Ne tconf 协议的网络配置命令以及网络配置命 令应答的命令交互方式, 网络管理中心只需要为目标网络设备分配一个管 理口, 建立一个管理通道, 就可以对该需要操作的目标网络设备进行管理, 其中, 在 Ne tconf 协议的网络配置命令中可以新增 rpc 上下文属性, 例 如: hwcontext , 携带所述目标网络设备的标识信息, 通过该网络配置命令 中的 rpc上下文属性 hwcontext可以指定需要操作的目标网络设备, 所述 操作包括: 新建、 删除、 更改、 查询等中的一个或多个。 在不同的应用场 景下, rpc上下文属性为不同的目标网络设备的标识信息。 所述应用场景具 体包括以下任一应用场景: 应用场景一、 若所述目标网络设备为物理路由设备, 则所述远程过程 调用上下文属性为所述物理路由设备、 所述物理路由设备中的逻辑路由器、 所述物理路由设备中的虚拟路由器的标识信息的一个或多个; 其中, 物理 路由器可以直接与网络管理中心连接, 网络管理中心通过向该物理路由器 发送携带 rpc上下文属性的 Netconf 命令可以对该物理路由设备及其中的 LR、 VR进行管理。 The network configuration protocol (Network Conf igura protocol) in the embodiment of the present invention may be simply referred to as the Netconf protocol. The target network device that needs to be operated can be managed based on the Netconf protocol, and the target network device can be: a physical router and a logical router (LR) and/or a virtual router (VR) therein, a master device in the master-slave network, or a slave device. One or more of the device, cluster management device or cluster member device in the cluster network. Between the network management center and the target network device, using the network configuration command of the Ne tconf protocol and the command interaction mode of the network configuration command response, the network management center only needs to allocate a management port to the target network device and establish a management channel. You can manage the target network device that needs to be operated. The rpc context attribute can be added to the network configuration command of the Ne tconf protocol. For example: hwcontext, carrying the identification information of the target network device, through the network configuration command. The rpc context attribute hwcontext may specify a target network device to be operated, including: one or more of new, delete, change, query, and the like. In different application scenarios, the rpc context attribute is the identification information of different target network devices. The application scenario specifically includes any of the following application scenarios: Application scenario 1. If the target network device is a physical routing device, the remote procedure call context attribute is the physical routing device, the logical router in the physical routing device, and the virtual router in the physical routing device. One or more of the identification information; wherein the physical router can directly connect with the network management center, and the network management center can manage the physical routing device and the LR and VR therein by sending a Netconf command carrying the rpc context attribute to the physical router. .
例 ¾口: 通过该 rpc上下文属性 hwcontext可以指定该网络配置命令需 要操作的物理路由器中的 LR与 VR,实现网络管理中心对各个物理路由器中 的多个 LR和 /或 VR的管理与维护。 只需要一个管理口就可以对一台物理路 由器中的各个 LR、 VR进行管理, 所述操作包括: 新建、 删除、 更改、 查询 等中的一个或多个。  Example 3: Port: Through the rpc context attribute hwcontext, you can specify the LR and VR in the physical router that the network configuration command needs to operate, and implement the management and maintenance of multiple LRs and/or VRs in each physical router by the network management center. Only one management port is required to manage each LR and VR in a physical router, including one or more of new creation, deletion, change, and query.
应用场景二、 若所述目标网络设备为主从网路中的主设备或从设备, 则所述远程过程调用上下文属性为所述主设备或从设备的标识信息; 其中, 主设备可以直接与网络管理中心连接, 网络管理中心通过向该主设备发送 携带 rpc上下文属性的 Netconf命令可以对该主设备及其从设备进行管理。  Application scenario 2: If the target network device is a master device or a slave device in the master-slave network, the remote procedure call context attribute is identifier information of the master device or the slave device; wherein, the master device may directly The network management center is connected, and the network management center can manage the master device and its slave devices by sending a Netconf command carrying the rpc context attribute to the master device.
应用场景三、 若所述目标网络设备为集群网路中的集群管理设备或集 群成员设备, 则所述远程过程调用上下文属性为所述集群管理设备或集群 成员设备的标识信息; 其中,集群管理设备可以直接与网络管理中心连接, 网络管理中心通过向该集群管理设备发送携带 rpc 上下文属性的 Netconf 命令可以对该集群管理设备及其集群成员设备进行管理。  Application scenario 3: If the target network device is a cluster management device or a cluster member device in a cluster network, the remote procedure call context attribute is identifier information of the cluster management device or a cluster member device; The device can be directly connected to the network management center. The network management center can manage the cluster management device and its cluster member devices by sending Netconf commands carrying the rpc context attribute to the cluster management device.
应用场景四、 若所述目标网络设备通过网络配置代理与网络管理中心 通信, 则所述网络管理中心向所述网络配置代理发送的网络配置命令中的 远程过程调用上下文属性为所述目标网络设备的标识信息。 其中, 网络配 置代理可以直接与网络管理中心连接, 网络配置代理与目标网路设备可以 为完全独立的设备, rpc上下文属性中携带目标网络设备的标识信息可以为 其 IP地址或 MAC ( Media Acces s Control , 媒介接入控制)地址等。 图 lb为本发明实施例一提供的基于网络配置协议的网络配置管理方法 的一种应用的信令流程图, 如图 lb所示, 基于网络配置协议的网络配置管 理方法包括: Application scenario 4: If the target network device communicates with the network management center through the network configuration agent, the remote procedure call context attribute in the network configuration command sent by the network management center to the network configuration agent is the target network device Identification information. The network configuration agent can be directly connected to the network management center, and the network configuration agent and the target network device can be completely independent devices, and the rpc context attribute carrying the identification information of the target network device can be its IP address or MAC (Media Acces s Control, media access control) address, etc. FIG. 1B is a signaling flowchart of an application of a network configuration management method based on a network configuration protocol according to Embodiment 1 of the present invention. As shown in FIG. 1B, a network configuration management method based on a network configuration protocol includes:
步骤 101a、网络管理中心(Netconf client )向目标网络设备( Netconf Agent )发送网络配置命令(Netconf命令), 假设 Netconf Agent为物理路 由器, Netconf 命令中的 rpc上下文属性 hwcontext可以限定当前远程过 程调用要操作哪个 LR和 /或 VR。  Step 101a: The network management center (Netconf client) sends a network configuration command (Netconf command) to the target network device (Netconf Agent). Assuming that the Netconf agent is a physical router, the rpc context attribute hwcontext in the Netconf command can limit the current remote procedure call to operate. Which LR and / or VR.
以下为一种釆用 Netconf 命令中 rpc上下文属性 hwcontext携带的 LR 和 /或 VR标识信息的报文示例一:  The following is an example of a message using the LR and/or VR identification information carried by the rpc context attribute hwcontext in the Netconf command:
<rpc message-id=" 101 " hwcontext=" lr = 1, vr=l "  <rpc message-id=" 101 " hwcontext=" lr = 1, vr=l "
xmlns="urn: ietf : params: xml: ns: netconf: base: 1.0" >  Xmlns="urn: ietf : params: xml: ns: netconf: base: 1.0" >
<edi t-conf ig>  <edi t-conf ig>
<target>  <target>
<running/>  <running/>
</ target>  </ target>
<conf ig>  <conf ig>
<top  <top
xmlns="ht tp: / / example, com/ schema/1.2/ conf ig" > Xmlns="ht tp: / / example, com/ schema/1.2/ conf ig" >
<interf ace>  <interf ace>
<name>EthernetO/ 0</name>  <name>EthernetO/ 0</name>
<mtu>1500</mtu>  <mtu>1500</mtu>
</ interf ace>  </ interf ace>
</top>  </top>
</ conf ig>  </ conf ig>
</ edi t-conf ig>  </ edi t-conf ig>
</ rpc> 上述 4艮文中 rpc上下文属性 hwcontext指定操作哪个 LR和 /或 VR的规 则可以参照下表 1: </ rpc> The above rpc context attribute hwcontext specifies which LR and / or VR rules to operate can refer to the following Table 1:
表 1  Table 1
Figure imgf000011_0001
步骤 102a、 目标网络设备(Netconf Agent )向网络管理中心(Netconf client)返回携带操作结果的网络配置命令响应。
Figure imgf000011_0001
Step 102a: The target network device (Netconf Agent) returns a network configuration command response carrying the operation result to the network management center (Netconf client).
参见上述例子, 目标网络设备 (Netconf Agent ) 收到上述的 Netconf 命令后, 将目标网络设备(Netconf Agent ) 中的标识为 "lrl" 和 "vrl" 下的接口 EthernetO/0 的 "mtu" 值爹改成 "1500", 然后使用网络配置命 令响应中的 "rpc-reply" 返回操作结果, 4艮文示例二如下:  Referring to the above example, after receiving the Netconf command, the target network device (Netconf Agent) will identify the "mtu" value of the interface EthernetO/0 under the "lrl" and "vrl" in the target network device (Netconf Agent). Change to "1500", and then use the "rpc-reply" in the network configuration command response to return the result of the operation.
<rpc-reply message-id=" 101 "  <rpc-reply message-id=" 101 "
xmlns = "urn: ietf: params: xml: ns: netconf: base: 1.0"> <ok/>  Xmlns = "urn: ietf: params: xml: ns: netconf: base: 1.0"> <ok/>
</ rpc-reply>  </ rpc-reply>
其中的 <ok/>可以表示对该物理路由器中编号符合" lr = 1, vr=l"部分 的修改操作成功。  The <ok/> can indicate that the modification operation of the number corresponding to the "lr = 1, vr=l" part of the physical router is successful.
进一步地, 如果需要操作的目标网络设备的 lrl/vrl 在远端, 可以通 过某一个网络设备 (Netconf agent )作为网络配置代理(proxy), 向远端 的目标网络设备 (Netconf agent )转发网络管理中心 (Netconf client ) 的 Netconf 命令报文, 并等待远端的目标网络设备(Netconf agent ) 的 Netconf命令响应,然后将 Netconf命令响应转发给网络管理中心( Netconf c l ient )。 其中 hwcontext为可选上下文属性, 仅为一种示例, 而非限制, 可以兼容已有的协议标准。 其中, 釆用 rpc上下文属性携带该物理路由器 中 LR/VR的标识信息, 可以对该物理路由器中的各个 LR/VR进行管理, 不 需要为每个 LR/VR分别分配管理口并建立管理通道。 Further, if the lrl/vrl of the target network device that needs to be operated is remote, the network device may be used as a network configuration proxy by a network device (Netconf agent) to forward the network management to the remote target network device (Netconf agent). Netconf client's Netconf command message, and wait for the remote target network device (Netconf agent) The Netconf command responds and then forwards the Netconf command response to the Network Management Center (Netconf cl ient ). Hwcontext is an optional context attribute, which is only an example, not a limitation, and can be compatible with existing protocol standards. The rpc context attribute carries the identifier information of the LR/VR in the physical router, and the LR/VR in the physical router can be managed. It is not necessary to allocate a management port for each LR/VR and establish a management channel.
本实施例网络管理中心与目标网络设备之间釆用网络配置命令中的远 程过程调用上下文属性来标识需要操作的目标网络设备, 可以通过一个管 理口和一个管理通道, 对该目标网络设备进行管理, 节省了管理带宽和管 理资源, 降低了网络管理中心和网络设备的管理负载。 图 2 为本发明实施例二提供的基于网络配置协议的网络配置管理方法 的流程图, 如图 1 所示, 该基于网络配置协议的网络配置管理方法可以包 括:  In the embodiment, the remote process call context attribute in the network configuration command is used between the network management center and the target network device to identify the target network device to be operated, and the target network device can be managed through a management port and a management channel. It saves management bandwidth and management resources, and reduces the management load of network management centers and network devices. FIG. 2 is a flowchart of a network configuration management method based on a network configuration protocol according to Embodiment 2 of the present invention. As shown in FIG. 1 , the network configuration management method based on the network configuration protocol may include:
步骤 201、接收网络管理中心的网络配置命令, 所述网络配置命令中包 括操作管理维护命令及其对应的远程过程调用上下文属性, 所述远程过程 调用上下文属性为需要操作的目标网络设备的标识信息; 具体地, 步骤 201可以包括以下任一情况: 情况一、 目标网络设备接收网络管理中心发送的网络配置命令; 情况二、 目标网络设备接收网络管理中心通过网络配置代理发送的网 络配置命令。 步骤 202、对所述标识信息对应的目标网络设备执行所述操作管理维护 命令;  Step 201: Receive a network configuration command of the network management center, where the network configuration command includes an operation management maintenance command and a corresponding remote procedure call context attribute, where the remote procedure call context attribute is identifier information of the target network device that needs to be operated. Specifically, the step 201 may include any of the following situations: Case 1: The target network device receives the network configuration command sent by the network management center; Case 2: The target network device receives the network configuration command sent by the network management center through the network configuration proxy. Step 202: Perform the operation management and maintenance command on the target network device corresponding to the identifier information.
其中, 基于 Netconf 协议可以对需要操作的目标网络设备进行管理, 所述目标网络设备包括: 物理路由器及其中的逻辑路由器(LR )和 /或虚拟 路由器(VR )、 主从网络中的主设备或从设备、 集群网络中的集群管理设备 或集群成员设备等中的一个或多个。 Netconf 协议的网络配置命令中的操作 管理维护命令可以为新建、 删除、 修改、 查询指示, 目标网络设备接收到 网络管理中心发送的网络配置命令后, 根据其中的新建、 删除、 修改、 查 询指示可以对标识信息对应的目标网络设备进行相应的新建、 删除、 修改、 查询操作。 网络配置命令的具体报文可以参见实施例一中的图 lb的相关描 述以及釆用 Ne tconf 命令中 rpc上下文属性 hwcontext携带的 LR和 /或 VR 标识信息的 ^艮文示例一。 The target network device that needs to be operated may be managed according to the Netconf protocol, where the target network device includes: a physical router and a logical router (LR) and/or a virtual router (VR) therein, a master device in the master-slave network, or Slave management device from device, cluster network Or one or more of cluster member devices, and so on. The operations management and maintenance commands in the network configuration command of the Netconf protocol can be used to create, delete, modify, and query. After receiving the network configuration command sent by the network management center, the target network device can create, delete, modify, and query according to the configuration commands. Perform corresponding new creation, deletion, modification, and query operations on the target network device corresponding to the identification information. For the specific packet of the network configuration command, refer to the description of Figure lb in the first embodiment and the LR and/or VR identification information carried in the rpc context attribute hwcontext in the Ne tconf command.
步骤 203、 向所述网络管理中心发送网络配置命令应答, 所述网络配置 命令应答中包括: 所述目标网络设备对所述标识信息对应的目标网络设备 执行所述操作管理维护命令的管理操作结果。 具体地, 步骤 203可以包括以下任一情况: 情况一、 目标网络设备向网络管理中心发送网络配置命令应答; 情况二、 目标网络设备通过网络配置代理向所述网络管理中心转发所 述目标网络设备的网络配置命令应答。 其中, 网络配置命令应答的具体报文可以参见实施例一中的报文示例 具体地, 参见实施例一, 本实施例在 Ne tconf 协议的网络配置命令中 也可以新增远程过程调用 (rpc )上下文属性, 例如: hwcontext , 携带所述 目标网络设备的标识信息, 通过该 rpc上下文属性 hwcontext 可以指定该 网络配置命令需要操作 (新建、 删除、 更改等) 的需要操作的目标网络设 备。在不同的应用场景下, rpc上下文属性为不同的目标网络设备的标识信 息, 具体包括以下任一应用场景:  Step 203: Send a network configuration command response to the network management center, where the network configuration command response includes: a management operation result of the target network device performing the operation management maintenance command on the target network device corresponding to the identifier information . Specifically, the step 203 may include any of the following situations: Case 1: The target network device sends a network configuration command response to the network management center. Case 2: the target network device forwards the target network device to the network management center by using a network configuration proxy. Network configuration command response. For the specific packet replied by the network configuration command, refer to the packet example in the first embodiment. Specifically, refer to the first embodiment. In this embodiment, a remote procedure call (rpc) can also be added in the network configuration command of the Ne tconf protocol. The context attribute, for example: hwcontext, carries the identification information of the target network device, and the rpc context attribute hwcontext can specify the target network device that needs to operate (new, delete, change, etc.) of the network configuration command. In different application scenarios, the rpc context attribute is the identification information of different target network devices, including any of the following application scenarios:
应用场景一、 若所述目标网络设备为物理路由设备, 则所述远程过程 调用上下文属性为所述物理路由设备、 所述物理路由设备中的逻辑路由器、 所述物理路由设备中的虚拟路由器的标识信息的一个或多个; 应用场景二、 若所述目标网络设备为主从网路中的主设备或从设备, 则所述远程过程调用上下文属性为所述主设备或从设备的标识信息; Application scenario 1. If the target network device is a physical routing device, the remote procedure call context attribute is the physical routing device, the logical router in the physical routing device, and the virtual router in the physical routing device. Identify one or more of the information; Application scenario 2: If the target network device is a master device or a slave device in a master-slave network, the remote procedure call context attribute is identifier information of the master device or the slave device;
应用场景三、 若所述目标网络设备为集群网路中的集群管理设备或集 群成员设备, 则所述远程过程调用上下文属性为所述集群管理设备或集群 成员设备的标识信息;  Application scenario 3: If the target network device is a cluster management device or a cluster member device in a cluster network, the remote procedure call context attribute is identifier information of the cluster management device or the cluster member device.
应用场景四、 若所述目标网络设备通过网络配置代理与网络管理中心 通信, 则所述网络管理中心向所述网络配置代理发送的网络配置命令中的 远程过程调用上下文属性为所述目标网络设备的标识信息。  Application scenario 4: If the target network device communicates with the network management center through the network configuration agent, the remote procedure call context attribute in the network configuration command sent by the network management center to the network configuration agent is the target network device Identification information.
本实施例网络管理中心与目标网络设备之间釆用网络配置命令中的远 程过程调用上下文属性来标识需要操作的目标网络设备, 可以通过一个管 理口和一个管理通道, 对该目标网络设备进行管理, 节省了管理带宽和管 理资源, 降低了网络管理中心和网络设备的管理负载。 图 3为本发明实施例三提供的网络管理中心的结构示意图, 如图 3所 示, 该网络管理中心包括: 第一发送模块 11 ,用于向需要操作的目标网络设备发送网络配置命令, 所述网络配置命令中包括操作管理维护命令及其对应的远程过程调用上下 文属性, 所述远程过程调用上下文属性为所述目标网络设备的标识信息; 第一接收模块 1 3 , 用于接收所述目标网络设备发送的网络配置命令应 答, 所述网络配置命令应答中包括所述目标网络设备对所述标识信息对应 的目标网络设备执行所述操作管理维护命令的管理操作结果。 具体地, 网络管理中心的第一发送模块 11向需要操作的目标网络设备 发送网络配置命令后, 目标网络设备可以根据网络配置命令的远程过程调 用上下文属性表示的所述目标网络设备的标识信息, 对该标识信息对应的 目标网络设备执行操作管理维护命令, 然后第一接收模块 1 3可以接收目标 网络设备发送的网络配置命令应答, 从而获得此次的管理操作结果。 其中, 网络配置命令的具体报文可以参见实施例一中的图 lb的相关描述以及釆用 Netconf 命令中 rpc上下文属性 hwcontext携带的 LR和 /或 VR标识信息的 报文示例一; 网络配置命令应答的具体报文可以参见实施例一中的报文示 例二。 此外, rpc上下文属性中的目标网络设备的标识信息的类型可以参见 实施例一中的应用场景一到三。 In the embodiment, the remote process call context attribute in the network configuration command is used between the network management center and the target network device to identify the target network device to be operated, and the target network device can be managed through a management port and a management channel. It saves management bandwidth and management resources, and reduces the management load of network management centers and network devices. 3 is a schematic structural diagram of a network management center according to Embodiment 3 of the present invention. As shown in FIG. 3, the network management center includes: a first sending module 11 configured to send a network configuration command to a target network device that needs to operate, where The network configuration command includes an operation management maintenance command and a corresponding remote procedure call context attribute, where the remote procedure call context attribute is identification information of the target network device, and the first receiving module 1 3 is configured to receive the target. And a network configuration command response sent by the network device, where the network configuration command response includes a management operation result that the target network device performs the operation management maintenance command on the target network device corresponding to the identifier information. Specifically, after the first sending module 11 of the network management center sends the network configuration command to the target network device that needs to be operated, the target network device may invoke the identifier information of the target network device represented by the context attribute according to the remote procedure of the network configuration command. The operation management maintenance command is executed on the target network device corresponding to the identifier information, and then the first receiving module 13 can receive the network configuration command response sent by the target network device, thereby obtaining the management operation result. among them, For the specific packet of the network configuration command, refer to the description of Figure lb in the first embodiment and the packet LR and/or VR identification information carried in the rpc context attribute hwcontext in the Netconf command. For the packet, refer to the second example of the packet in the first embodiment. In addition, the types of the identification information of the target network device in the rpc context attribute can be referred to the application scenarios one to three in the first embodiment.
本实施例网络管理中心与目标网络设备之间釆用网络配置命令中的远 程过程调用上下文属性标识需要操作的目标网络设备, 可以通过一个管理 口和一个管理通道, 对该目标网络设备进行管理, 节省了管理带宽和管理 资源, 降低了网络管理中心和网络设备的管理负载。  In the embodiment, the network management center and the target network device use the remote procedure call context attribute in the network configuration command to identify the target network device to be operated, and the target network device can be managed through a management port and a management channel. It saves management bandwidth and management resources, and reduces the management load of network management centers and network devices.
图 4为本发明实施例四提供的网络管理中心的结构示意图, 如图 4所 示, 在实施例三的基础上, 该网络管理中心的第一发送模块 11可以包括: 第一发送子模块 21 , 用于向需要操作的目标网络设备发送网络配置命 令; 和 /或  4 is a schematic structural diagram of a network management center according to Embodiment 4 of the present invention. As shown in FIG. 4, on the basis of Embodiment 3, the first sending module 11 of the network management center may include: a first sending submodule 21 , for sending a network configuration command to a target network device that needs to operate; and/or
第二发送子模块 23 , 用于通过网络配置代理向需要操作的目标网络设 备发送网络配置命令。  The second sending submodule 23 is configured to send a network configuration command to the target network device that needs to be operated by using a network configuration proxy.
进一步地, 第一接收模块 13可以包括:  Further, the first receiving module 13 may include:
第一接收子模块 31 , 用于接收所述目标网络设备发送的网络配置命令 应答; 和 /或  a first receiving submodule 31, configured to receive a network configuration command response sent by the target network device; and/or
第二接收子模块 33 , 用于接收网络配置代理转发的所述目标网络设备 的网络配置命令应答。 具体地, 网络管理中心的第一发送模块 11向需要操作的目标网络设备 发送网络配置命令, 其中, 第一发送模块 11 的第一发送子模块 21可以直 接向需要操作的目标网络设备发送网络配置命令; 第二发送子模块 23则可 以通过网络配置代理向需要操作的目标网络设备发送网络配置命令。 其中, 网络配置命令的具体报文可以参见实施例一中的图 lb的相关描述以及釆用 Netconf 命令中 rpc上下文属性 hwcontext携带的 LR和 /或 VR标识信息的 报文示例一。 目标网络设备收到网络配置命令后, 可以根据网络配置命令 的远程过程调用上下文属性表示的所述目标网络设备的标识信息, 对该标 识信息对应的目标网络设备执行相应的操作管理维护命令, 所述操作管理 维护命令包括: 新建、 删除、 修改、 查询中的一个或多个, 然后第一接收 模块 13可以接收目标网络设备发送的网络配置命令应答, 从而获得此次的 管理操作结果。 其中, 第一接收模块 13的第一接收子模块 31可以直接接 收所述目标网络设备发送的网络配置命令应答; 第二接收子模块 33可以接 收网络配置代理转发的所述目标网络设备的网络配置命令应答。 网络配置 命令应答的具体报文可以参见实施例一中的报文示例二。 此外, rpc上下文 属性中的目标网络设备的标识信息的类型可以参见实施例一中的应用场景 本实施例网络管理中心与目标网络设备之间釆用网络配置命令中的远 程过程调用上下文属性标识需要操作的目标网络设备, 可以通过一个管理 口和一个管理通道, 对该目标网络设备进行管理, 节省了管理带宽和管理 资源, 降低了网络管理中心和网络设备的管理负载。 图 5为本发明实施例五提供的网络设备的结构示意图, 如图 5所示, 网络设备可以包括: 第二接收模块 41 , 用于接收网络管理中心的网络配置命令, 所述网络 配置命令中包括操作管理维护命令及其对应的远程过程调用上下文属性, 所述远程过程调用上下文属性为需要操作的目标网络设备的标识信息; 执行模块 42 , 用于对所述标识信息对应的目标网络设备执行所述操作 管理维护命令; 第二发送模块 43 , 用于向所述网络管理中心发送网络配置命令应答, 所述网络配置命令应答中包括: 所述目标网络设备对所述标识信息对应的 目标网络设备执行所述操作管理维护命令的管理操作结果。 具体地, 网络设备的第二接收模块 41接收到网络管理中心的网络配置 命令后, 执行模块 42可以根据网络配置命令的远程过程调用上下文属性表 示的需要操作的所述目标网络设备的标识信息, 对该标识信息对应的目标 网络设备执行操作管理维护命令, 然后第二发送模块 43可以发送网络配置 命令应答, 从而将此次的管理操作结果告知网络管理中心。 其中, 网络配 置命令的具体报文可以参见实施例一中的图 lb 的相关描述以及釆用 Netconf 命令中 rpc上下文属性 hwcontext携带的 LR和 /或 VR标识信息的 报文示例一; 网络配置命令应答的具体报文可以参见实施例一中的报文示 例二。 此外, rpc上下文属性中的目标网络设备的标识信息的类型可以参见 实施例二中的应用场景一到三。 The second receiving submodule 33 is configured to receive a network configuration command response of the target network device forwarded by the network configuration proxy. Specifically, the first sending module 11 of the network management center sends a network configuration command to the target network device that needs to be operated, where the first sending submodule 21 of the first sending module 11 can directly send the network configuration to the target network device that needs to operate. The second sending sub-module 23 can send a network configuration command to the target network device that needs to operate through the network configuration proxy. among them, For the specific packet of the network configuration command, refer to the description of Figure lb in the first embodiment and the message 1 of the LR and/or VR identification information carried in the rpc context attribute hwcontext in the Netconf command. After receiving the network configuration command, the target network device may perform the corresponding operation management and maintenance command on the target network device corresponding to the identifier information according to the remote network process of the network configuration command. The operation management maintenance command includes: one or more of new creation, deletion, modification, and query, and then the first receiving module 13 can receive a network configuration command response sent by the target network device, thereby obtaining the management operation result. The first receiving submodule 31 of the first receiving module 13 may directly receive the network configuration command response sent by the target network device; the second receiving submodule 33 may receive the network configuration of the target network device forwarded by the network configuration proxy. Command response. For the specific packet replied by the network configuration command, refer to the second packet example in the first embodiment. In addition, the type of the identifier information of the target network device in the rpc context attribute can be referred to the application scenario in the first embodiment. In this embodiment, the remote procedure call context attribute identifier in the network configuration command is used between the network management center and the target network device. The target network device of the operation can manage the target network device through a management port and a management channel, which saves management bandwidth and management resources, and reduces the management load of the network management center and the network device. 5 is a schematic structural diagram of a network device according to Embodiment 5 of the present invention. As shown in FIG. 5, the network device may include: a second receiving module 41, configured to receive a network configuration command of a network management center, where the network configuration command is used. The operation management maintenance command and the corresponding remote procedure call context attribute, the remote procedure call context attribute is identifier information of the target network device that needs to be operated, and the execution module 42 is configured to execute the target network device corresponding to the identifier information. The operation management maintenance command; the second sending module 43 is configured to send a network configuration command response to the network management center, The network configuration command response includes: a management operation result of the target network device performing the operation management maintenance command on the target network device corresponding to the identification information. Specifically, after the second receiving module 41 of the network device receives the network configuration command of the network management center, the executing module 42 may invoke the identifier information of the target network device that needs to be operated, which is represented by the context attribute, according to the remote procedure of the network configuration command. The operation management maintenance command is executed on the target network device corresponding to the identification information, and then the second sending module 43 may send a network configuration command response, thereby notifying the network management center of the current management operation result. For the specific packet of the network configuration command, refer to the description of Figure lb in the first embodiment and the packet LR and/or VR identification information carried in the rpc context attribute hwcontext in the Netconf command. For the specific packet, refer to the second example of the packet in the first embodiment. In addition, the types of the identification information of the target network device in the rpc context attribute can be referred to the application scenarios one to three in the second embodiment.
本实施例网络管理中心与目标网络设备之间釆用网络配置命令中的远 程过程调用上下文属性来标识需要操作的目标网络设备, 可以通过一个管 理口和一个管理通道, 对该目标网络设备进行管理, 节省了管理带宽和管 理资源, 降低了网络管理中心和网络设备的管理负载。 图 6为本发明实施例六提供的网络设备的结构示意图, 如图 6所示, 在实施例五的基础上, 该网络设备的第二接收模块 41可以包括: 第三接收子模块 51 , 用于接收网络管理中心发送的网络配置命令; 和 / 或 第四接收子模块 53 , 用于接收网络管理中心通过网络配置代理发送的 网络配置命令。 进一步地, 第二发送模块 43包括: 第三发送子模块 61 , 用于向网络管理中心发送网络配置命令应答; 和 / 或 第四发送子模块 63 , 用于通过网络配置代理向所述网络管理中心转发 所述目标网络设备的网络配置命令应答。 具体地, 网络设备的第二接收模块 41可以接收网络管理中心的网络配 置命令, 其中, 第二接收模块 41 的第三接收子模块 51 可以直接接收网络 管理中心发送的网络配置命令; 第四接收子模块 53可以通过网络配置代理 向接收网络管理中心发送的网络配置命令。 其中, 以目标网络设备为物理 路由设备为例, 网络配置命令的具体报文可以参见实施例一中的图 lb的相 关描述以及釆用 Ne tconf 命令中 rpc上下文属性 hwcontex t携带的 LR和 / 或 VR标识信息的报文示例一。 网络设备接收网络管理中心的网络配置命令 后, 执行模块 42可以根据网络配置命令的远程过程调用上下文属性表示的 需要操作的目标网络设备的标识信息, 对该标识信息对应的目标网络设备 执行操作管理维护命令,然后第二发送模块 43可以发送网络配置命令应答, 从而将此次的管理操作结果告知网络管理中心。 其中, 第二发送模块 43的 第三发送子模块 61可以直接向网络管理中心发送网络配置命令应答; 第四 发送子模块 63可以通过网络配置代理向所述网络管理中心转发所述目标网 络设备的网络配置命令应答。 以目标网络设备为物理路由设备为例, 网络 配置命令应答的具体报文可以参见实施例一中的报文示例二。 此外, rpc上 下文属性中的目标网络设备的标识信息的类型可以参见实施例二中的应用 场景一到三。 In the embodiment, the remote process call context attribute in the network configuration command is used between the network management center and the target network device to identify the target network device to be operated, and the target network device can be managed through a management port and a management channel. It saves management bandwidth and management resources, and reduces the management load of network management centers and network devices. FIG. 6 is a schematic structural diagram of a network device according to Embodiment 6 of the present invention. As shown in FIG. 6, the second receiving module 41 of the network device may include: a third receiving submodule 51, Receiving a network configuration command sent by the network management center; and/or a fourth receiving submodule 53, configured to receive a network configuration command sent by the network management center through the network configuration proxy. Further, the second sending module 43 includes: a third sending submodule 61, configured to send a network configuration command response to the network management center; and/or The fourth sending submodule 63 is configured to forward, by the network configuration proxy, a network configuration command response of the target network device to the network management center. Specifically, the second receiving module 41 of the network device may receive the network configuration command of the network management center, where the third receiving submodule 51 of the second receiving module 41 may directly receive the network configuration command sent by the network management center; The sub-module 53 can configure a network configuration command sent by the network to the receiving network management center through the network. For example, the target network device is a physical routing device. For the specific packet of the network configuration command, refer to the description in Figure 1b in the first embodiment and the LR and/or carried in the rpc context attribute hwcontex t in the Ne tconf command. Example 1 of the VR identification information packet. After the network device receives the network configuration command of the network management center, the execution module 42 may perform the operation management on the target network device corresponding to the identifier information according to the remote process of the network configuration command, and the identifier information of the target network device that needs to be operated. The maintenance command, and then the second sending module 43 can send a network configuration command response, thereby notifying the network management center of the result of the management operation. The third sending submodule 61 of the second sending module 43 may directly send a network configuration command response to the network management center. The fourth sending submodule 63 may forward the target network device to the network management center by using a network configuration proxy. Network configuration command response. For example, the target network device is the physical routing device. For the specific packet replied by the network configuration command, see packet example 2 in the first embodiment. In addition, the types of the identification information of the target network device in the rpc context attribute can be referred to the application scenarios one to three in the second embodiment.
本实施例网络管理中心与目标网络设备之间釆用网络配置命令中的远 程过程调用上下文属性来标识需要操作的目标网络设备, 可以通过一个管 理口和一个管理通道, 对该目标网络设备进行管理, 节省了管理带宽和管 理资源, 降低了网络管理中心和网络设备的管理负载。 图 7 为本发明实施例七提供的基于网络配置协议的网络配置管理*** 的结构示意图, 如图 7 所示, 该基于网络配置协议的网络配置管理***可 以包括: 网络管理中心 71和目标网络设备 73; 其中, 网络管理中心 71可以为本发明上述实施例中提供的网络管理中 心; In the embodiment, the remote process call context attribute in the network configuration command is used between the network management center and the target network device to identify the target network device to be operated, and the target network device can be managed through a management port and a management channel. It saves management bandwidth and management resources, and reduces the management load of network management centers and network devices. FIG. 7 is a schematic structural diagram of a network configuration management system based on a network configuration protocol according to Embodiment 7 of the present invention. As shown in FIG. 7, the network configuration management system based on the network configuration protocol may include: a network management center 71 and a target network device. 73; The network management center 71 may be the network management center provided in the foregoing embodiment of the present invention;
目标网络设备 73可以为本发明上述实施例中提供的网络设备。 参见上述实施例中的图 3和图 4 , 网络管理中心可以包括: 第一发送模块 11 ,用于向需要操作的目标网络设备发送网络配置命令, 所述网络配置命令中包括操作管理维护命令及其对应的远程过程调用上下 文属性, 所述远程过程调用上下文属性为所述目标网络设备的标识信息; 第一接收模块 1 3 , 用于接收所述目标网络设备发送的网络配置命令应 答, 所述网络配置命令应答中包括所述目标网络设备对所述标识信息对应 的目标网络设备执行所述操作管理维护命令的管理操作结果。 其中, 第一发送模块 11可以包括:  The target network device 73 can be the network device provided in the above embodiments of the present invention. Referring to FIG. 3 and FIG. 4 in the foregoing embodiment, the network management center may include: a first sending module 11 configured to send a network configuration command to the target network device that needs to be operated, where the network configuration command includes an operation management maintenance command and Corresponding remote procedure call context attribute, the remote procedure call context attribute is identifier information of the target network device; the first receiving module 13 is configured to receive a network configuration command response sent by the target network device, The network configuration command response includes a management operation result that the target network device performs the operation management maintenance command on the target network device corresponding to the identification information. The first sending module 11 may include:
第一发送子模块 21 , 用于向需要操作的目标网络设备发送网络配置命 令; 和 /或  a first sending submodule 21, configured to send a network configuration command to a target network device that needs to operate; and/or
第二发送子模块 23 , 用于通过网络配置代理向需要操作的目标网络设 备发送网络配置命令。  The second sending submodule 23 is configured to send a network configuration command to the target network device that needs to be operated by using a network configuration proxy.
进一步地, 第一接收模块 1 3可以包括:  Further, the first receiving module 13 may include:
第一接收子模块 31 , 用于接收所述目标网络设备发送的网络配置命令 应答; 和 /或  a first receiving submodule 31, configured to receive a network configuration command response sent by the target network device; and/or
第二接收子模块 33 , 用于接收网络配置代理转发的所述目标网络设备 的网络配置命令应答。  The second receiving submodule 33 is configured to receive a network configuration command response of the target network device forwarded by the network configuration proxy.
参见上述实施例中的图 5和图 6 , 网络设备可以包括: 第二接收模块 41 , 用于接收网络管理中心的网络配置命令, 所述网络 配置命令中包括操作管理维护命令及其对应的远程过程调用上下文属性, 所述远程过程调用上下文属性为需要操作的目标网络设备的标识信息; 执行模块 42 , 用于对所述标识信息对应的目标网络设备执行所述操作 管理维护命令; 第二发送模块 43 , 用于向所述网络管理中心发送网络配置命令应答, 所述网络配置命令应答中包括: 所述目标网络设备对所述标识信息对应的 目标网络设备执行所述操作管理维护命令的管理操作结果。 Referring to FIG. 5 and FIG. 6 in the foregoing embodiment, the network device may include: a second receiving module 41, configured to receive a network configuration command of the network management center, where the network configuration command includes an operation management maintenance command and a corresponding remote Procedure call context property, The remote procedure call context attribute is identifier information of the target network device that needs to be operated; the execution module 42 is configured to execute the operation management and maintenance command on the target network device corresponding to the identifier information; and the second sending module 43 is configured to: Sending a network configuration command response to the network management center, where the network configuration command response includes: a management operation result of the target network device performing the operation management maintenance command on the target network device corresponding to the identification information.
其中, 第二接收模块 41可以包括: 第三接收子模块 51 , 用于接收网络管理中心发送的网络配置命令; 和 / 或  The second receiving module 41 may include: a third receiving submodule 51, configured to receive a network configuration command sent by the network management center; and/or
第四接收子模块 53 , 用于通过网络配置代理向接收网络管理中心发送 的网络配置命令。 进一步地, 第二发送模块 43包括: 第三发送子模块 61 , 用于向网络管理中心发送网络配置命令应答; 和 / 或  The fourth receiving submodule 53 is configured to configure, by using a network, a network configuration command sent by the proxy to the receiving network management center. Further, the second sending module 43 includes: a third sending submodule 61, configured to send a network configuration command response to the network management center; and/or
第四发送子模块 63 , 用于通过网络配置代理向所述网络管理中心转发 所述目标网络设备的网络配置命令应答。  The fourth sending submodule 63 is configured to forward, by the network configuration proxy, the network configuration command response of the target network device to the network management center.
进一步地, 该基于网络配置协议的网络配置管理***还可以包括: 网络配置代理 75 , 用于将接收到的所述网络管理中心的网络配置命令 转发给所述目标网络设备; 将接收到的所述目标网络设备的网络配置命令 应答转发给所述网络管理中心。  Further, the network configuration management system based on the network configuration protocol may further include: a network configuration proxy 75, configured to forward the received network configuration command of the network management center to the target network device; The network configuration command response of the target network device is forwarded to the network management center.
具体地, 网络管理中心向需要操作的目标网络设备发送网络配置命令 后, 目标网络设备可以根据网络配置命令的远程过程调用上下文属性表示 的需要操作的目标网络设备的标识信息, 对该标识信息对应的目标网络设 备执行操作管理维护命令, 然后网络管理中心可以接收目标网络设备发送 的网络配置命令应答, 从而获得此次的管理操作结果。 其中, 网络管理中 心与目标网络设备之间可以直接发送请求和响应, 也可以通过网络配置代 理转发请求和响应。 进一步地, 如果目标网络设备和网络管理中心的类型不同, Netconf命 令中的 rpc上下文属性可以为不同目标网络设备的标识信息, 具体包括如 下任一应用场景: Specifically, after the network management center sends the network configuration command to the target network device that needs to be operated, the target network device may invoke the identifier information of the target network device that needs to be operated, which is represented by the context attribute, according to the remote procedure of the network configuration command, and corresponding to the identifier information. The target network device performs an operation management maintenance command, and then the network management center can receive the target network device to send The network configuration command responds to obtain the result of this management operation. The network management center and the target network device can directly send requests and responses, and can also configure the proxy to forward requests and responses through the network. Further, if the type of the target network device and the network management center are different, the rpc context attribute in the Netconf command may be the identifier information of the different target network devices, including any of the following application scenarios:
应用场景一、 所述目标网络设备为物理路由设备, 所述目标网络设备 接收到的网络配置命令中的远程过程调用上下文属性为所述物理路由设 备、 所述物理路由设备中的逻辑路由器、 所述物理路由设备中的虚拟路由 器的标识信息的一个或多个; 或  Application scenario 1. The target network device is a physical routing device, and the remote procedure call context attribute in the network configuration command received by the target network device is the physical routing device, the logical router in the physical routing device, and the One or more of the identification information of the virtual router in the physical routing device; or
应用场景二、 所述目标网络设备为主从网路中的主设备或从设备, 所 述目标网络设备接收到的网络配置命令中的远程过程调用上下文属性为所 述主设备或从设备的标识信息; 或 应用场景三、 所述目标网络设备为集群网路中的集群管理设备或集群 成员设备, 所述目标网络设备接收到的网络配置命令中的远程过程调用上 下文属性为所述集群管理设备或集群成员设备的标识信息; 应用场景四、 所述目标网络设备通过网络配置代理与网络管理中心通 信, 则所述网络管理中心向所述网络配置代理发送的网络配置命令中的远 程过程调用上下文属性为所述目标网络设备的标识信息。  Application scenario 2: The target network device is a master device or a slave device in a master-slave network, and the remote procedure call context attribute in the network configuration command received by the target network device is an identifier of the master device or the slave device. The information or the application scenario is as follows: the target network device is a cluster management device or a cluster member device in the cluster network, and the remote process call context attribute in the network configuration command received by the target network device is the cluster management device. Or the identification information of the cluster member device; the application scenario 4, the target network device communicates with the network management center through the network configuration agent, and the remote process call context in the network configuration command sent by the network management center to the network configuration agent The attribute is identification information of the target network device.
以目标网络设备为物理路由设备为例, 网络配置命令的具体报文可以 参见实施例一中的图 lb的相关描述以及釆用 Netconf命令中 rpc上下文属 性 hwcontext携带的 LR和 /或 VR标识信息的 ^艮文示例一; 网络配置命令应 答的具体报文可以参见实施例一中的报文示例二。  For example, the target network device is a physical routing device. For the specific packet of the network configuration command, refer to the description in Figure lb in the first embodiment and the LR and/or VR identification information carried in the rpc context attribute hwcontext in the Netconf command. For example, the specific example of the network configuration command response can be found in the second example of the packet in the first embodiment.
本实施例网络管理中心与目标网络设备之间釆用网络配置命令中的远 程过程调用上下文属性来标识需要操作的目标网络设备, 可以通过一个管 理口和一个管理通道, 对该目标网络设备的各个目标网络设备进行管理 , 节省了管理带宽和管理资源, 降低了网络管理中心和网络设备的管理负载。 In this embodiment, the remote process call context attribute in the network configuration command is used between the network management center and the target network device to identify the target network device that needs to be operated, and may pass a tube. The management port and a management channel manage the target network devices of the target network device, which saves management bandwidth and management resources, and reduces the management load of the network management center and network devices.
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机 可读取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述的存储介质包括: R0M、 RAM, 磁碟或光盘等各种可以存储程序代码 的介质。  A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修 改, 或者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不 使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。  It should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: The technical solutions described in the foregoing embodiments are modified, or some of the technical features are equivalently replaced. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

权利要求 Rights request
1、 一种基于网络配置协议的网络配置管理方法, 其特征在于, 包括: 向需要操作的目标网络设备发送网络配置命令, 所述网络配置命令中 包括操作管理维护命令及其对应的远程过程调用上下文属性, 所述远程过 程调用上下文属性为所述目标网络设备的标识信息;  A network configuration management method based on a network configuration protocol, comprising: sending a network configuration command to a target network device that needs to be operated, where the network configuration command includes an operation management maintenance command and a corresponding remote procedure call a context attribute, where the remote procedure call context attribute is identification information of the target network device;
接收所述目标网络设备发送的网络配置命令应答, 所述网络配置命令 应答中包括所述目标网络设备对所述标识信息对应的目标网络设备执行所 述操作管理维护命令的管理操作结果。  Receiving a network configuration command response sent by the target network device, where the network configuration command response includes a management operation result of the target network device performing the operation management maintenance command on the target network device corresponding to the identification information.
2、 根据权利要求 1所述的基于网络配置协议的网络配置管理方法, 其 特征在于, 所述向需要操作的目标网络设备发送网络配置命令, 包括: 网络管理中心向需要操作的目标网络设备发送网络配置命令; 或 网络管理中心通过网络配置代理向需要操作的目标网络设备发送网络 配置命令。  The network configuration management system-based network configuration management method according to claim 1, wherein the sending the network configuration command to the target network device that needs to be operated comprises: the network management center sending the target network device that needs to operate The network configuration command; or the network management center sends a network configuration command to the target network device that needs to operate through the network configuration agent.
3、 根据权利要求 1所述的基于网络配置协议的网络配置管理方法, 其 特征在于, 所述接收所述目标网络设备发送的网络配置命令应答, 包括: 网络管理中心接收所述目标网络设备发送的网络配置命令应答; 或 网络管理中心接收网络配置代理转发的所述目标网络设备的网络配置 命令应答。  The network configuration protocol-based network configuration management method according to claim 1, wherein the receiving the network configuration command response sent by the target network device comprises: receiving, by the network management center, the target network device The network configuration command acknowledges; or the network management center receives a network configuration command response of the target network device forwarded by the network configuration proxy.
4、根据权利要求 1或 3所述的基于网络配置协议的网络配置管理方法, 其特征在于, 所述远程过程调用上下文属性为所述目标网络设备的标识信 息具体包括:  The network configuration management system-based network configuration management method according to claim 1 or 3, wherein the remote procedure call context attribute is that the identification information of the target network device specifically includes:
若所述目标网络设备为物理路由设备, 则所述远程过程调用上下文属 性为所述物理路由设备、 所述物理路由设备中的逻辑路由器、 所述物理路 由设备中的虚拟路由器的标识信息的一个或多个; 或  If the target network device is a physical routing device, the remote procedure call context attribute is one of the physical routing device, the logical router in the physical routing device, and the identification information of the virtual router in the physical routing device. Or multiple; or
若所述目标网络设备为主从网路中的主设备或从设备, 则所述远程过 程调用上下文属性为所述主设备或从设备的标识信息; 或 若所述目标网络设备为集群网路中的集群管理设备或集群成员设备, 则所述远程过程调用上下文属性为所述集群管理设备或集群成员设备的标 识信息; 或 If the target network device is a master device or a slave device in the master-slave network, the remote procedure call context attribute is identifier information of the master device or the slave device; or If the target network device is a cluster management device or a cluster member device in the cluster network, the remote procedure call context attribute is identifier information of the cluster management device or the cluster member device; or
若所述目标网络设备通过网络配置代理与网络管理中心通信, 则所述 网络管理中心向所述网络配置代理发送的网络配置命令中的远程过程调用 上下文属性为所述目标网络设备的标识信息。  And if the target network device communicates with the network management center through the network configuration agent, the remote procedure call context attribute in the network configuration command sent by the network management center to the network configuration agent is the identification information of the target network device.
5、 一种基于网络配置协议的网络配置管理方法, 其特征在于, 包括: 接收网络管理中心的网络配置命令, 所述网络配置命令中包括操作管 理维护命令及其对应的远程过程调用上下文属性, 所述远程过程调用上下 文属性为需要操作的目标网络设备的标识信息;  A network configuration management method based on a network configuration protocol, comprising: receiving a network configuration command of a network management center, where the network configuration command includes an operation management maintenance command and a corresponding remote procedure call context attribute thereof, The remote procedure call context attribute is identifier information of a target network device that needs to be operated;
对所述标识信息对应的目标网络设备执行所述操作管理维护命令; 向所述网络管理中心发送网络配置命令应答, 所述网络配置命令应答 中包括所述目标网络设备对所述标识信息对应的目标网络设备执行所述操 作管理维护命令的管理操作结果。  Performing the operation management and maintenance command on the target network device corresponding to the identifier information, and sending a network configuration command response to the network management center, where the network configuration command response includes the target network device corresponding to the identifier information The target network device executes the management operation result of the operation management maintenance command.
6、 根据权利要求 5所述的基于网络配置协议的网络配置管理方法, 其 特征在于, 所述接收网络管理中心的网络配置命令, 包括:  The network configuration management method of the network configuration protocol according to claim 5, wherein the receiving the network configuration command of the network management center comprises:
目标网络设备接收网络管理中心发送的网络配置命令; 或  The target network device receives a network configuration command sent by the network management center; or
目标网络设备接收网络管理中心通过网络配置代理发送的网络配置命 令。  The target network device receives the network configuration command sent by the network management center through the network configuration agent.
7、 根据权利要求 5所述的基于网络配置协议的网络配置管理方法, 其 特征在于, 所述向所述网络管理中心发送网络配置命令应答, 包括:  The network configuration protocol-based network configuration management method according to claim 5, wherein the sending the network configuration command response to the network management center comprises:
所述目标网络设备向网络管理中心发送网络配置命令应答; 或 所述目标网络设备通过网络配置代理向所述网络管理中心转发所述目 标网络设备的网络配置命令应答。  The target network device sends a network configuration command response to the network management center; or the target network device forwards the network configuration command response of the target network device to the network management center through the network configuration agent.
8、根据权利要求 6或 7所述的基于网络配置协议的网络配置管理方法, 其特征在于, 所述远程过程调用上下文属性为需要操作的目标网络设备的 标识信息具体为: The network configuration management method based on the network configuration protocol according to claim 6 or 7, wherein the remote procedure call context attribute is a target network device that needs to be operated. The identification information is specifically:
若所述目标网络设备为物理路由设备, 则所述远程过程调用上下文属 性为所述物理路由设备、 所述物理路由设备中的逻辑路由器、 所述物理路 由设备中的虚拟路由器的标识信息的一个或多个; 或  If the target network device is a physical routing device, the remote procedure call context attribute is one of the physical routing device, the logical router in the physical routing device, and the identification information of the virtual router in the physical routing device. Or multiple; or
若所述目标网络设备为主从网路中的主设备或从设备, 则所述远程过 程调用上下文属性为所述主设备或从设备的标识信息; 或  If the target network device is a master device or a slave device in the master-slave network, the remote process call context attribute is identity information of the master device or the slave device; or
若所述目标网络设备为集群网路中的集群管理设备或集群成员设备, 则所述远程过程调用上下文属性为所述集群管理设备或集群成员设备的标 识信息; 或  If the target network device is a cluster management device or a cluster member device in a cluster network, the remote procedure call context attribute is identifier information of the cluster management device or the cluster member device; or
若所述目标网络设备通过网络配置代理与网络管理中心通信, 则所述 网络管理中心向所述网络配置代理发送的网络配置命令中的远程过程调用 上下文属性为所述目标网络设备的标识信息。  And if the target network device communicates with the network management center through the network configuration agent, the remote procedure call context attribute in the network configuration command sent by the network management center to the network configuration agent is the identification information of the target network device.
9、 一种网络管理中心, 其特征在于, 包括:  9. A network management center, characterized by comprising:
第一发送模块, 用于向需要操作的目标网络设备发送网络配置命令, 所述网络配置命令中包括操作管理维护命令及其对应的远程过程调用上下 文属性, 所述远程过程调用上下文属性为所述目标网络设备的标识信息; 第一接收模块, 用于接收所述目标网络设备发送的网络配置命令应答, 所述网络配置命令应答中包括所述目标网络设备对所述标识信息对应的目 标网络设备执行所述操作管理维护命令的管理操作结果。  a first sending module, configured to send a network configuration command to the target network device that needs to be operated, where the network configuration command includes an operation management maintenance command and a corresponding remote procedure call context attribute, where the remote procedure call context attribute is And the first receiving module is configured to receive a network configuration command response sent by the target network device, where the network configuration command response includes the target network device corresponding to the identifier information by the target network device The management operation result of the operation management maintenance command is executed.
10、 根据权利要求 9 所述的网络管理中心, 其特征在于, 所述第一发 送模块包括:  The network management center according to claim 9, wherein the first sending module comprises:
第一发送子模块, 用于向需要操作的目标网络设备发送网络配置命令; 和 /或  a first sending submodule, configured to send a network configuration command to a target network device that needs to operate; and/or
第二发送子模块, 用于通过网络配置代理向需要操作的目标网络设备 发送网络配置命令。  And a second sending submodule, configured to send a network configuration command to the target network device that needs to operate by using a network configuration proxy.
11、 根据权利要求 9或 10所述的网络管理中心, 其特征在于, 所述第 一接收模块包括: 11. The network management center according to claim 9 or 10, wherein A receiving module includes:
第一接收子模块, 用于接收所述目标网络设备发送的网络配置命令应 答; 和 /或  a first receiving submodule, configured to receive a network configuration command response sent by the target network device; and/or
第二接收子模块, 用于接收网络配置代理转发的所述目标网络设备的 网络配置命令应答。  And a second receiving submodule, configured to receive a network configuration command response of the target network device forwarded by the network configuration proxy.
12、 一种网络设备, 其特征在于, 包括:  12. A network device, comprising:
第二接收模块, 用于接收网络管理中心的网络配置命令, 所述网络配 置命令中包括操作管理维护命令及其对应的远程过程调用上下文属性, 所 述远程过程调用上下文属性为需要操作的目标网络设备的标识信息;  a second receiving module, configured to receive a network configuration command of the network management center, where the network configuration command includes an operation management maintenance command and a corresponding remote procedure call context attribute, where the remote procedure call context attribute is a target network that needs to be operated Identification information of the device;
执行模块, 用于对所述标识信息对应的目标网络设备执行所述操作管 理维护命令;  An execution module, configured to execute the operation management maintenance command on the target network device corresponding to the identifier information;
第二发送模块, 用于向所述网络管理中心发送网络配置命令应答, 所 述网络配置命令应答中包括所述目标网络设备对所述标识信息对应的目标 网络设备执行所述操作管理维护命令的管理操作结果。  a second sending module, configured to send a network configuration command response to the network management center, where the network configuration command response includes the target network device performing the operation management and maintenance command on the target network device corresponding to the identifier information Manage the results of the operation.
1 3、 根据权利要求 12所述的网络设备, 其特征在于, 所述第二接收模 块包括:  The network device according to claim 12, wherein the second receiving module comprises:
第三接收子模块, 用于接收网络管理中心发送的网络配置命令; 和 /或 第四接收子模块, 用于接收网络管理中心通过网络配置代理发送的网 络配置命令。  a third receiving submodule, configured to receive a network configuration command sent by the network management center; and/or a fourth receiving submodule, configured to receive a network configuration command sent by the network management center through the network configuration proxy.
14、 根据权利要求 12所述的网络设备, 其特征在于, 所述第二发送模 块包括:  The network device according to claim 12, wherein the second sending module comprises:
第三发送子模块, 用于向网络管理中心发送网络配置命令应答; 和 /或 第四发送子模块, 用于通过网络配置代理向所述网络管理中心转发所 述目标网络设备的网络配置命令应答。  a third sending submodule, configured to send a network configuration command response to the network management center; and/or a fourth sending submodule, configured to forward, by the network configuration proxy, the network configuration command response of the target network device to the network management center .
15、 一种基于网络配置协议的网络配置管理***, 其特征在于, 包括: 网络管理中心和目标网络设备; 所述网络管理中心包括: 15. A network configuration management system based on a network configuration protocol, comprising: a network management center and a target network device; The network management center includes:
第一发送模块, 用于向需要操作的目标网络设备发送网络配置命令, 所述网络配置命令中包括操作管理维护命令及其对应的远程过程调用上下 文属性, 所述远程过程调用上下文属性为所述目标网络设备的标识信息; 第一接收模块, 用于接收所述目标网络设备发送的网络配置命令应答, 所述网络配置命令应答中包括所述目标网络设备对所述标识信息对应的目 标网络设备执行所述操作管理维护命令的管理操作结果;  a first sending module, configured to send a network configuration command to the target network device that needs to be operated, where the network configuration command includes an operation management maintenance command and a corresponding remote procedure call context attribute, where the remote procedure call context attribute is And the first receiving module is configured to receive a network configuration command response sent by the target network device, where the network configuration command response includes the target network device corresponding to the identifier information by the target network device Performing the management operation result of the operation management maintenance command;
所述目标网络设备包括:  The target network device includes:
第二接收模块, 用于接收网络管理中心的网络配置命令, 所述网络配 置命令中包括操作管理维护命令及其对应的远程过程调用上下文属性, 所 述远程过程调用上下文属性为需要操作的目标网络设备的标识信息;  a second receiving module, configured to receive a network configuration command of the network management center, where the network configuration command includes an operation management maintenance command and a corresponding remote procedure call context attribute, where the remote procedure call context attribute is a target network that needs to be operated Identification information of the device;
执行模块, 用于对所述标识信息对应的目标网络设备执行所述操作管 理维护命令;  An execution module, configured to execute the operation management maintenance command on the target network device corresponding to the identifier information;
第二发送模块, 用于向所述网络管理中心发送网络配置命令应答, 所 述网络配置命令应答中包括所述目标网络设备对所述标识信息对应的目标 网络设备执行所述操作管理维护命令的管理操作结果。  a second sending module, configured to send a network configuration command response to the network management center, where the network configuration command response includes the target network device performing the operation management and maintenance command on the target network device corresponding to the identifier information Manage the results of the operation.
16、 根据权利要求 15所述的基于网络配置协议的网络配置管理***, 其特征在于, 还包括:  The network configuration management system-based network configuration management system according to claim 15, further comprising:
网络配置代理, 用于将接收到的所述网络管理中心的网络配置命令转 发给所述目标网络设备; 将接收到的所述目标网络设备的网络配置命令应 答转发给所述网络管理中心。  And a network configuration proxy, configured to forward the received network configuration command of the network management center to the target network device; and forward the received network configuration command response of the target network device to the network management center.
17、 根据权利要求 15或 16所述的基于网络配置协议的网络配置管理 ***, 其特征在于:  17. The network configuration management system based network configuration management system according to claim 15 or 16, wherein:
所述目标网络设备为物理路由设备, 所述目标网络设备接收到的网络 配置命令中的远程过程调用上下文属性为所述物理路由设备、 所述物理路 由设备中的逻辑路由器、 所述物理路由设备中的虚拟路由器的标识信息的 一个或多个; 或 The target network device is a physical routing device, and the remote procedure call context attribute in the network configuration command received by the target network device is the physical routing device, the logical router in the physical routing device, and the physical routing device. Identification information of the virtual router in One or more; or
所述目标网络设备为主从网路中的主设备或从设备, 所述目标网络设 备接收到的网络配置命令中的远程过程调用上下文属性为所述主设备或从 设备的标识信息; 或  The target network device is a master device or a slave device in the master-slave network, and the remote procedure call context attribute in the network configuration command received by the target network device is the identity information of the master device or the slave device; or
所述目标网络设备为集群网路中的集群管理设备或集群成员设备, 所 述目标网络设备接收到的网络配置命令中的远程过程调用上下文属性为所 述集群管理设备或集群成员设备的标识信息; 或  The target network device is a cluster management device or a cluster member device in the cluster network, and the remote procedure call context attribute in the network configuration command received by the target network device is the identifier information of the cluster management device or the cluster member device. ; or
所述目标网络设备通过网络配置代理与网络管理中心通信, 则所述网 络管理中心向所述网络配置代理发送的网络配置命令中的远程过程调用上 下文属性为所述目标网络设备的标识信息。  The target network device communicates with the network management center through the network configuration agent, and the remote procedure call context attribute in the network configuration command sent by the network management center to the network configuration agent is the identification information of the target network device.
PCT/CN2011/081288 2010-12-29 2011-10-25 Method, apparatus and system for management of network configuration based on network configuration protocol WO2012088954A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010612884.8 2010-12-29
CN2010106128848A CN102148698A (en) 2010-12-29 2010-12-29 Network configuration protocol-based network configuration management method, equipment and system

Publications (1)

Publication Number Publication Date
WO2012088954A1 true WO2012088954A1 (en) 2012-07-05

Family

ID=44422717

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/081288 WO2012088954A1 (en) 2010-12-29 2011-10-25 Method, apparatus and system for management of network configuration based on network configuration protocol

Country Status (2)

Country Link
CN (1) CN102148698A (en)
WO (1) WO2012088954A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873271A (en) * 2012-12-07 2014-06-18 上海未来宽带技术股份有限公司 Gateway EoC terminal, and management system and management method thereof
WO2020047829A1 (en) * 2018-09-07 2020-03-12 华为技术有限公司 Netconf-based data processing method and apparatus

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148698A (en) * 2010-12-29 2011-08-10 华为技术有限公司 Network configuration protocol-based network configuration management method, equipment and system
CN102427409A (en) * 2012-01-31 2012-04-25 迈普通信技术股份有限公司 Configuration data submission method based on network configuration (NETCONF) protocol and server thereof
CN104022896B (en) * 2014-05-14 2019-01-11 福建星网锐捷网络有限公司 A kind of configuring management method, device and the network equipment
CN104065514A (en) * 2014-07-02 2014-09-24 清华大学 Home network management method based on network configuration protocol (NETCONF) relay
CN105281940B (en) * 2014-07-18 2020-08-21 南京中兴软件有限责任公司 Method, equipment and system for HELLO message interaction based on NETCONF protocol
CN105790986A (en) * 2014-12-23 2016-07-20 中兴通讯股份有限公司 Method, apparatus and system for managing optical network unit DPU device
CN105991307B (en) * 2015-01-30 2020-05-08 新华三技术有限公司 Method and device for remotely controlling router
CN106453213B (en) * 2015-08-11 2019-09-17 阿里巴巴集团控股有限公司 Call method and device between a kind of system
EP3516824A4 (en) 2016-09-19 2020-04-29 Telefonaktiebolaget LM Ericsson (PUBL) Method for network management based on netconf protocol, and associated network device
CN107332700B (en) * 2017-06-22 2020-11-06 上海掌门科技有限公司 Method and equipment for configuring wireless routing equipment
CN109194519B (en) * 2018-09-27 2021-11-16 锐捷网络股份有限公司 Configuration method and device of network equipment, controller and computer storage medium
CN112615727B (en) * 2020-11-16 2022-10-21 新华三技术有限公司 Method and device for acquiring default configuration of equipment
CN115701042A (en) * 2021-07-29 2023-02-07 华为技术有限公司 Method, device, system and computer readable storage medium for updating configuration

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237443A (en) * 2007-02-01 2008-08-06 华为技术有限公司 Method and system for user authentication in management protocol
CN101442469A (en) * 2007-11-22 2009-05-27 ***通信集团公司 Method, system and apparatus for down distributing configuration data
WO2010138040A1 (en) * 2009-05-29 2010-12-02 Telefonaktiebolaget Lm Ericsson (Publ) Failure localisation in a mpls-tp network
CN102148698A (en) * 2010-12-29 2011-08-10 华为技术有限公司 Network configuration protocol-based network configuration management method, equipment and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101241360A (en) * 2008-02-27 2008-08-13 浙江工业大学 Universal monitoring system collection end control system
CN101539765B (en) * 2009-04-17 2011-08-31 中冶赛迪工程技术股份有限公司 High-speed acquisition method and system of industrial process data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237443A (en) * 2007-02-01 2008-08-06 华为技术有限公司 Method and system for user authentication in management protocol
CN101442469A (en) * 2007-11-22 2009-05-27 ***通信集团公司 Method, system and apparatus for down distributing configuration data
WO2010138040A1 (en) * 2009-05-29 2010-12-02 Telefonaktiebolaget Lm Ericsson (Publ) Failure localisation in a mpls-tp network
CN102148698A (en) * 2010-12-29 2011-08-10 华为技术有限公司 Network configuration protocol-based network configuration management method, equipment and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873271A (en) * 2012-12-07 2014-06-18 上海未来宽带技术股份有限公司 Gateway EoC terminal, and management system and management method thereof
WO2020047829A1 (en) * 2018-09-07 2020-03-12 华为技术有限公司 Netconf-based data processing method and apparatus

Also Published As

Publication number Publication date
CN102148698A (en) 2011-08-10

Similar Documents

Publication Publication Date Title
WO2012088954A1 (en) Method, apparatus and system for management of network configuration based on network configuration protocol
US10419531B2 (en) Method for setting gateway device identity, and management gateway device
JP6523316B2 (en) System and method for preventing denial of service (DOS) attacks on designed systems for execution of middleware and applications, and subnet administrators in systems designed for execution of middleware and applications System and method for supporting reliable connection (RC: RELIABLE CONNECTION) based on SA: SUBNET ADMINISTRATOR) access
WO2017036288A1 (en) Network element upgrading method and device
CN113891430A (en) Communication method, device and system
WO2023000935A1 (en) Data processing method, network element device, and readable storage medium
WO2021063129A1 (en) Core network capability calling method and system
EP4075867A1 (en) Application instance determination method, device, and system
WO2012106892A1 (en) Method, apparatus and system for processing service flow
US11251981B2 (en) Communication method and apparatus
US20070223681A1 (en) Protocols for connecting intelligent service modules in a storage area network
KR20170114923A (en) Method and apparatus for communicating using network slice
US20220312156A1 (en) Method and apparatus for multicast service session operation and communications device
WO2023000936A1 (en) Data processing method, function device and readable storage medium
WO2013178099A1 (en) System, method, client and service centre for realizing remote desktop
WO2022052875A1 (en) Terminal cross-region communication method, network element device, and storage medium
WO2021129754A1 (en) Message processing method and device, and storage medium
WO2018233451A1 (en) Communication method, apparatus, and system
CN110771117B (en) Session layer communication using ID-oriented network
WO2013159492A1 (en) Method and system for reporting and downloading information
WO2018036521A1 (en) Resource adjustment method, apparatus, and system
US8924520B2 (en) Method, remote access server and system for configuring a quality of service parameter
US11265931B2 (en) Method and device for establishing connection
WO2012079374A1 (en) Method, device, and system for binding virtual serial port and physical serial port
WO2018113633A1 (en) Packet forwarding method, packet forwarding controller, bras, and computer storage medium

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11853842

Country of ref document: EP

Kind code of ref document: A1