Home > NETCONF tutorial

NETCONF tutorial

Some other examples of NETCONF messages

NETCONF <get> Operation

The <get> operation gets the configuration and operational data in a datastore.

NETCONF_get_config.jpg

Note:
+ <filter> here is a parameter of the <get> operation to select a particular subtree in the reply and “type” is the attribute of the parameter.
+ The <get-config> operation gets only the configuration data in a datastore.

NETCONF <edit-config> Operation:

+ Enable the interface

NETCONF_edit_config.jpg

+ Adding IPv6 address

NETCONF_edit_config_2.jpg

NETCONF <close-session> Operation
– Polite way of disconnecting

NETCONF_close_session.jpg

NETCONF <kill-session> Operation

– Not so polite way of disconnecting another session.
– Releases any locks, aborts any confirmed commit related to session

NETCONF_kill_session.jpg

NETCONF <validate> Operation

– To validate (check for syntactical and semantic errors) the content of a datastore.

NETCONF_validate.jpg

If <ok/> is received then proceed to Commit.

NETCONF <delete-config> Operation

– Delete a complete data store (not running)

NETCONF_delete_config.jpg

 

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“

  6. Anonymous
    January 29th, 2025

    Good Explanation ..

  7. Ki
    June 4th, 2025

    Why is there type in “Enable interface” example but not on “Adding IPv6 Address” example? Are we changing a subtree or selected fields? I presume “name” is a primary key.

  1. No trackbacks yet.