Posted on March 29, 2021 9:32 am
 |  Asked by John McCann
 |  43 views
RESOLVED
0
0
Print Friendly, PDF & Email

Hi,

I’m playing with a vEOS system with netconf enabled, however, I’ve noticed that in a generic ‘get-config’ request not all the data is coming back.

I’ve set the ntp settings for example using the cli, and can see them in the ‘running-config’, but when I fun a netconf query those settings are not returned.

Are there settings to enable netconf to return the complete config that I’m missing?

 

thanks,

John

0
Posted by John McCann
Answered on March 30, 2021 10:30 am

So I’ve been testing with 2 versions of an Arista vEOS device (VM).

Oh the latest version of software 4.25, when I request ntp I get the following returned:

<ntp>

  <config>

    <enable-ntp-auth>false</enable-ntp-auth>

        </config>

        <servers>

          <server>

            <address>172.26.138.141</address>

            <config>

              <address>172.26.138.141</address>

              <iburst>true</iburst>

              <prefer>true</prefer>

              <version>4</version>

            </config>

          </server>

          <server>

            <address>66.129.233.81</address>

            <config>

              <address>66.129.233.81</address>

              <iburst>true</iburst>

              <prefer>true</prefer>

              <version>4</version>

          </config>

      </server>

  </servers>

</ntp>

 

Which matches the CLI:

ntp authentication-key 4 md5 7 15300E5D022B383069

ntp trusted-key 4

ntp server 66.129.233.81 prefer iburst

ntp server 172.26.138.141 prefer iburst

 

However, on an earlier version 4.22, I see different response.

<ntp>

   <config>

      <enable-ntp-auth>false</enable-ntp-auth>

      <enabled>false</enabled>

  </config>

</ntp>

 

Even though settings for ntp are set from the CLI:

ntp authentication-key 4 md5 7 06240A704A4F1A0D

ntp trusted-key 4

ntp authenticate

ntp local-interface Management1

ntp server 172.26.138.141 iburst

 

I’ve tried setting from Netconf and both devices return ok, but only the latest software (4.25) returns the settings from the netconf ‘get-config’.

 

Is this expected?

0
Posted by John McCann
Answered on March 30, 2021 1:46 pm

Closed as looks this is version related

Post your Answer

You must be logged in to post an answer.