Home > NETCONF tutorial

NETCONF tutorial

Example for the Basic NETCONF Session Process

Scenario: Use a NETCONF client to change the IP address of a device in two-phase validation mode. Prerequisites: The SSH connection, authentication, and authorization are complete.

Step 1: Establish a NETCONF session and advertise capabilities through <hello> messages.

NETCONF_hello_message_exchange.jpg

Step 2: Lock the <running/> configuration data store to avoid conflicts with others to change the configuration while I am editing it.

NETCONF_lock_running_config.jpg

Step 3: Copy the data in the <running/> configuration datastore to the <candidate/> configuration datastore to ensure that the configurations are the latest.

NETCONF_copy_running_config.jpg

Step 4: Edit configurations in the <candidate/> configuration datastore.

NETCONF_edit_candidate_config.jpg

Step 5: Commit configurations in the <candidate/> configuration datastore to the <running/> configuration datastore.

NETCONF_commit.jpg

Step 6: Unlock the <running/> configuration datastore.

NETCONF_unlock.jpg

Follow-up procedure: Terminate the NETCONF session and tear down the SSH connection.

In the next page we will see some other examples…

Comments
  1. ton
    October 1st, 2022

    last update dump ccnp date ?

  2. bbt
    January 31st, 2023

    Took exam in december, questions were up to date

  3. asr
    February 7th, 2023

    hello everyone, would you please let me know where i can find the questions?

  4. Stib
    May 15th, 2023

    If I have understood it correctly, i assume that the Client in step 4 should traget the in the command instead of . Right?

  5. Stib
    May 15th, 2023

    „Candidate“ instead of „running“

  1. No trackbacks yet.