[j-nsp] NETCONF in Junos

Alexander Marhold alexander.marhold at gmx.at
Mon Dec 21 02:24:45 EST 2015


Hi !

Yes, if you want to see how the request command looks like
Then do a 
" show version brief | display xml rpc"

Using XSLT or SLAX the language create and uses exatly that XML information.

Regards

Alexander

-----Ursprüngliche Nachricht-----
Von: juniper-nsp [mailto:juniper-nsp-bounces at puck.nether.net] Im Auftrag von
Martin T
Gesendet: Montag, 21. Dezember 2015 02:26
An: juniper-nsp
Betreff: [j-nsp] NETCONF in Junos

Hi,

if I execute for example "show version brief | display xml" command, then
the router returns:

<rpc-reply xmlns:junos="http://xml.juniper.net/junos/12.3R6/junos">
    <software-information>
        <host-name>r1</host-name>
        <product-model>m10i</product-model>
        <product-name>m10i</product-name>
        <package-information>
            <name>junos</name>
            <comment>JUNOS Base OS boot [12.3R6.6]</comment>
        </package-information>

/* additional data removed for brevity  */

    </software-information>
    <cli>
        <banner>{master}</banner>
    </cli>
</rpc-reply>

Is it a reply to NETCONF <get> operation? Does this mean that each for
example "show" command in Junos is a communication (over TCP/IP) between the
NETCONF manager(sends the <get>) and agent(sends the
<rpc-reply>) in the same router?


thanks,
Martin
_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp



More information about the juniper-nsp mailing list