Got it

NETCONF configuration OLT

Created: Jan 11, 2022 17:24:19Latest reply: Jan 12, 2022 11:53:19 182 4 0 0 0
  HiCoins as reward: 0 (problem unresolved)

Can you please help me with MA5800 commissioning and configuration via NETCONF?




Featured Answers

Recommended answer

Diego.Silva
MVE Author Created Jan 11, 2022 17:41:46

Hi,

Introduction

Network Configuration Protocol (NETCONF) is a key technology that simplifies complex network configuration.

Background

With the development of networks, the types and number of communication devices increase rapidly. Traditional Command Line Interface (CLI) or Simple Network Management Protocol (SNMP) configuration methods cannot adapt to the management of complex networks. Especially when devices from multiple vendors exist on the same network, the management methods of devices from different vendors are independent of each other, and the operations are complex. Therefore, automatic configuration is difficult to implement. To resolve this issue, the NETCONF protocol based on Extensible Markup Language (XML) and structured data model defined based on YANG are developed.

Definition

  • NETCONF provides mechanisms to add, modify, delete, and query the configurations of network devices, and obtain the network device status. With NETCONF, network devices can provide standard application programming interfaces (APIs). Applications can directly use these APIs to send configurations to or obtain configurations from network devices. NETCONF can directly use the existing functional modules of devices. This reduces the development cost of NETCONF and allows users to use new features supported by the devices at any time.

  • YANG defines a structured data model. It is a machine-oriented model interface, and defines the data structure and constraints to describe data more flexibly and completely.

Value

NETCONF complies with YANG model constraints to implement communication between clients and servers. With standardized deployment, network administrators can use NETCONF to uniformly manage, configure, and monitor various network devices that support YANG, simplifying O&M and reducing O&M costs.

Compared with traditional configuration protocols, NETCONF is more convenient on man-machine interfaces and machine-to-machine interfaces. Table 1 shows the comparison between SNMP and NETCONF.

Table 1 Comparison between NETCONF and SNMP

Comparison Item

SNMP

NETCONF

Configuration management

Does not provide the protection lock mechanism when multiple users perform operations on the same configuration.

Provides the protection lock mechanism to prevent conflicts caused by multi-user operations.

Query

Supports the query for one or more records in a table but requires multiple interactions.

Supports the direct query for the configuration data of the system, and supports filtering on data query.

Scalability

Poor expansibility

Good expansibility
  • SNMP models are defined by layer and each layer is independent of each other. Extensions to one layer have little effect on the other layers.

  • NETCONF is in the XML encoding format. This expands the management capability and system compatibility of NETCONF.

Security

The SNMPv3 security protocol has no room for expansion.

NETCONF uses existing security protocols to ensure network security, and is not specific to any security protocols. This enables users to flexibly select a security protocol.



Configuring NETCONF

Configure Network Configuration Protocol (NETCONF) to implement remote communication between the network management system (NMS) and devices.

Networking Diagram

As shown in Figure 1, when NETCONF is configured, the NETCONF Manager functions as the client and the NMS is deployed. The NETCONF Agent functions as the SSH server and receives the connection from the NETCONF Manager that functions as the SSH client. In this way, the configuration file can be managed through NETCONF.
Figure 1 NETCONF Scenario
en-us_image_0254737406.png

Procedure

  1. Run the sysman server source command to bind a specified source interface.


    note_3.0-en-us.png

    In V100R018C00SPC600, V100R019C11SPC300, V100R020C00, and later versions, you must perform this step for the NETCONF function to take effect.


  2. Enable NETCONF on the NETCONF agent and create a device user.

  3. Deploy the NMS on the NETCONF Manager.

  4. Log in to the NETCONF Agent from the NETCONF Manager using the NMS.

  5. Verify the configuration.

Example

Example:

  • Bind the NETCONF service protocol to a specified source port. Set the port type to vlanif and the port index to 300.

  • Enable NETCONF and set the user name and password. Here, V100R020C10 is used as an example. For other versions, the actual display prevails.

    huawei#sysman server source netconf vlanif 300huawei(config)#sysman service netconf enable Please enter the username and password to create a netconf administrator user                                                       
    User Name(length<6,15>):huawei-user1                                                                                                     
    User Password(length<12,15>):                                                                                                        
    Confirm Password(length<12,15>):                                                                                                     
    Adding user successfully




i hope it helpful!

View more
  • x
  • convention:

All Answers
Hello User. we are reviewing your question and we will answer you shortly. Thanks.
View more
  • x
  • convention:

Diego.Silva
Diego.Silva MVE Author Created Jan 11, 2022 17:41:46

Hi,

Introduction

Network Configuration Protocol (NETCONF) is a key technology that simplifies complex network configuration.

Background

With the development of networks, the types and number of communication devices increase rapidly. Traditional Command Line Interface (CLI) or Simple Network Management Protocol (SNMP) configuration methods cannot adapt to the management of complex networks. Especially when devices from multiple vendors exist on the same network, the management methods of devices from different vendors are independent of each other, and the operations are complex. Therefore, automatic configuration is difficult to implement. To resolve this issue, the NETCONF protocol based on Extensible Markup Language (XML) and structured data model defined based on YANG are developed.

Definition

  • NETCONF provides mechanisms to add, modify, delete, and query the configurations of network devices, and obtain the network device status. With NETCONF, network devices can provide standard application programming interfaces (APIs). Applications can directly use these APIs to send configurations to or obtain configurations from network devices. NETCONF can directly use the existing functional modules of devices. This reduces the development cost of NETCONF and allows users to use new features supported by the devices at any time.

  • YANG defines a structured data model. It is a machine-oriented model interface, and defines the data structure and constraints to describe data more flexibly and completely.

Value

NETCONF complies with YANG model constraints to implement communication between clients and servers. With standardized deployment, network administrators can use NETCONF to uniformly manage, configure, and monitor various network devices that support YANG, simplifying O&M and reducing O&M costs.

Compared with traditional configuration protocols, NETCONF is more convenient on man-machine interfaces and machine-to-machine interfaces. Table 1 shows the comparison between SNMP and NETCONF.

Table 1 Comparison between NETCONF and SNMP

Comparison Item

SNMP

NETCONF

Configuration management

Does not provide the protection lock mechanism when multiple users perform operations on the same configuration.

Provides the protection lock mechanism to prevent conflicts caused by multi-user operations.

Query

Supports the query for one or more records in a table but requires multiple interactions.

Supports the direct query for the configuration data of the system, and supports filtering on data query.

Scalability

Poor expansibility

Good expansibility
  • SNMP models are defined by layer and each layer is independent of each other. Extensions to one layer have little effect on the other layers.

  • NETCONF is in the XML encoding format. This expands the management capability and system compatibility of NETCONF.

Security

The SNMPv3 security protocol has no room for expansion.

NETCONF uses existing security protocols to ensure network security, and is not specific to any security protocols. This enables users to flexibly select a security protocol.



Configuring NETCONF

Configure Network Configuration Protocol (NETCONF) to implement remote communication between the network management system (NMS) and devices.

Networking Diagram

As shown in Figure 1, when NETCONF is configured, the NETCONF Manager functions as the client and the NMS is deployed. The NETCONF Agent functions as the SSH server and receives the connection from the NETCONF Manager that functions as the SSH client. In this way, the configuration file can be managed through NETCONF.
Figure 1 NETCONF Scenario
en-us_image_0254737406.png

Procedure

  1. Run the sysman server source command to bind a specified source interface.


    note_3.0-en-us.png

    In V100R018C00SPC600, V100R019C11SPC300, V100R020C00, and later versions, you must perform this step for the NETCONF function to take effect.


  2. Enable NETCONF on the NETCONF agent and create a device user.

  3. Deploy the NMS on the NETCONF Manager.

  4. Log in to the NETCONF Agent from the NETCONF Manager using the NMS.

  5. Verify the configuration.

Example

Example:

  • Bind the NETCONF service protocol to a specified source port. Set the port type to vlanif and the port index to 300.

  • Enable NETCONF and set the user name and password. Here, V100R020C10 is used as an example. For other versions, the actual display prevails.

    huawei#sysman server source netconf vlanif 300huawei(config)#sysman service netconf enable Please enter the username and password to create a netconf administrator user                                                       
    User Name(length<6,15>):huawei-user1                                                                                                     
    User Password(length<12,15>):                                                                                                        
    Confirm Password(length<12,15>):                                                                                                     
    Adding user successfully




i hope it helpful!

View more
  • x
  • convention:

hello , i have found this information in documentation ,unfortunately is not exact what i need , can you please help me with MA5800 commissioning and configuration via NETCONF?

View more
  • x
  • convention:

Chenxintao
Chenxintao Created Jan 12, 2022 11:59:56 (2) (0)
Hi, my friend!
As the document cannot be made public, I have sent it back to you. Please check it.
Thanks!  

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.