Junos Automation (Scripting)
Reply
Contributor
jbrauer
Posts: 11
Registered: ‎12-10-2010
0
Accepted Solution

get output of "show configuration groups junos-defaults applications" via NETCONF

Dear Community, right now I am unable to find how to retrieve the output of the CLI command show configuration groups junos-defaults applications via netconf -- means I am unable to find how to get this output via the get_config NETCONF method. Can someone point me to the right sources - how do I set up the NETCONF get_config method to retrieve that piece of information? Thank you in advance -- Joachim
--
JoB
Contributor
jbrauer
Posts: 11
Registered: ‎12-10-2010
0

Re: get output of "show configuration groups junos-defaults applications" via NETCONF

[ Edited ]

Never mind -- found it -- following the example of

NETCONF Doc

 

specify the filter as

 

<filter type=\"subtree\">
<configuration>
<groups>
<name>junos-defaults</name>
<applications>
</applications>
</groups>
</configuration>
</filter>

 

My apologies if this was a silly question....

--
JoB
Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.