<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2656.31">
<TITLE>RE: [j-nsp] JunOScript question</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>I would think something like this;</FONT>
</P>
<BR>
<P><FONT SIZE=2>neil@lab> show configuration policy-options | display xml</FONT>
<BR><FONT SIZE=2><rpc-reply xmlns:junos="<A HREF="http://xml.juniper.net/junos/5.4R3/junos" TARGET="_blank">http://xml.juniper.net/junos/5.4R3/junos</A>"></FONT>
<BR><FONT SIZE=2> <configuration></FONT>
<BR><FONT SIZE=2> <policy-options></FONT>
<BR><FONT SIZE=2> <policy-statement></FONT>
<BR><FONT SIZE=2> <name junos:key="key">accept-inet6</name></FONT>
<BR><FONT SIZE=2> <from></FONT>
<BR><FONT SIZE=2> <route-filter></FONT>
<BR><FONT SIZE=2> <address junos:key="key">9001::1/128</address></FONT>
<BR><FONT SIZE=2> <exact junos:key="key"/></FONT>
<BR><FONT SIZE=2> </route-filter></FONT>
<BR><FONT SIZE=2> </from></FONT>
<BR><FONT SIZE=2> <then></FONT>
<BR><FONT SIZE=2> <accept/></FONT>
<BR><FONT SIZE=2> </then></FONT>
<BR><FONT SIZE=2> </policy-statement></FONT>
<BR><FONT SIZE=2> </policy-options></FONT>
<BR><FONT SIZE=2> </configuration></FONT>
<BR><FONT SIZE=2></rpc-reply></FONT>
</P>
<P><FONT SIZE=2>neil@lab></FONT>
</P>
<P><FONT SIZE=2>Neil.</FONT>
</P>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Jerome Fleury [<A HREF="mailto:jeje@jeje.org">mailto:jeje@jeje.org</A>]</FONT>
<BR><FONT SIZE=2>Sent: 12 June 2003 10:50</FONT>
<BR><FONT SIZE=2>To: juniper-nsp@puck.nether.net</FONT>
<BR><FONT SIZE=2>Subject: [j-nsp] JunOScript question</FONT>
</P>
<BR>
<P><FONT SIZE=2>Quite a simple question. How do I request the equivalent of 'show configuration policy-options'</FONT>
<BR><FONT SIZE=2>in JUNOScript ?</FONT>
</P>
<P><FONT SIZE=2>I know how to get the full config, thanks to the examples, but I don't understand how to</FONT>
<BR><FONT SIZE=2>request only a part of the config.</FONT>
</P>
<P><FONT SIZE=2>Thanks!</FONT>
<BR><FONT SIZE=2>--</FONT>
<BR><FONT SIZE=2>Jerome Fleury</FONT>
<BR><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>juniper-nsp mailing list juniper-nsp@puck.nether.net</FONT>
<BR><FONT SIZE=2><A HREF="http://puck.nether.net/mailman/listinfo/juniper-nsp" TARGET="_blank">http://puck.nether.net/mailman/listinfo/juniper-nsp</A></FONT>
</P>
</BODY>
</HTML>