[j-nsp] JunOScript question
Neil Stirling
neil.stirling at nortelnetworks.com
Thu Jun 12 19:06:39 EDT 2003
I would think something like this;
neil at lab> show configuration policy-options | display xml
<rpc-reply xmlns:junos="http://xml.juniper.net/junos/5.4R3/junos">
<configuration>
<policy-options>
<policy-statement>
<name junos:key="key">accept-inet6</name>
<from>
<route-filter>
<address junos:key="key">9001::1/128</address>
<exact junos:key="key"/>
</route-filter>
</from>
<then>
<accept/>
</then>
</policy-statement>
</policy-options>
</configuration>
</rpc-reply>
neil at lab>
Neil.
-----Original Message-----
From: Jerome Fleury [mailto:jeje at jeje.org]
Sent: 12 June 2003 10:50
To: juniper-nsp at puck.nether.net
Subject: [j-nsp] JunOScript question
Quite a simple question. How do I request the equivalent of 'show
configuration policy-options'
in JUNOScript ?
I know how to get the full config, thanks to the examples, but I don't
understand how to
request only a part of the config.
Thanks!
--
Jerome Fleury
_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net
http://puck.nether.net/mailman/listinfo/juniper-nsp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://puck.nether.net/pipermail/juniper-nsp/attachments/20030612/dcce6316/attachment.htm
More information about the juniper-nsp
mailing list