Got it

NETCONF/YANG

Created: Dec 6, 2021 09:08:49Latest reply: Dec 6, 2021 23:57:33 246 3 0 0 0
  HiCoins as reward: 0 (problem unresolved)

Hello,


I would like to ask for documentation to use NETCONF/YANG on EA5800. 

Also, it is possible to have yang models? 

Featured Answers

Recommended answer

Diego.Silva
MVE Author Created Dec 6, 2021 11:32:40

Hi friend,


Yes, it's possible use NETCONF on Huawei OLT:



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


Follow the documentation:


https://support.huawei.com/hedex/hdx.do?docid=EDOC1100182924&id=EN-US_CONCEPT_0254737408&lang=en





I hope it helpful!

View more
  • x
  • convention:

All Answers
Hi, dear

Please kindly wait for a while.
View more
  • x
  • convention:

Diego.Silva
Diego.Silva MVE Author Created Dec 6, 2021 11:32:40

Hi friend,


Yes, it's possible use NETCONF on Huawei OLT:



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


Follow the documentation:


https://support.huawei.com/hedex/hdx.do?docid=EDOC1100182924&id=EN-US_CONCEPT_0254737408&lang=en





I hope it helpful!

View more
  • x
  • convention:

Hello, friend!


Confirmed:


The EA5800 does not have the NETCONF license file.


YANG is a language. In NETCONF, the YANG model is used to model the content layer (configuration data and status data).


Thanks!

View more
  • x
  • convention:

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.