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

Netconf XML payload

Umesh Shetty
Level 1
Level 1

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