cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
677
Views
0
Helpful
0
Replies

Netconf XML payload

Umesh Shetty
Beginner
Beginner

Hi Team,

 

I am new to using Netconf and need some help or startup guide. I am using ncclient Python library to connect to the netconf switches. I was able to do the initial connections and also fetch some config data for example using the below xml payload to get the interface stats and interface config.

 

I needed help on how to build the XML payload for other operational data like for example "show ip eigrp neighbor" ? Is there a base XML template that can be used or a guide I can refere.

 

Any help would be hugely appreciated.

 

<filter>
<interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
<interface>
<name>GigabitEthernet1/0/48</name>
</interface>
</interfaces>
<interfaces-state xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
<interface>
<name>GigabitEthernet1/0/48</name>
</interface>
</interfaces-state>
</filter>

0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers