[j-nsp] Retrieving specific ID's from junoscript

Phil Shafer phil at juniper.net
Wed Jan 4 00:43:06 EST 2012


Benny Amorsen writes:
>More specifically, I would like to retrieve a specific a sub-interface.
>For finding a specific interface, this works fine:

Try:

<get-configuration>
  <configuration>
    <interfaces>
      <interface>
        <name>ge-1/0/1</name>  <!-- identify the interface -->
        <unit>
          <name>1017</name>    <!-- identify the unit -->
        </unit>
      </interface>
    </interfaces>
  </configuration>
</get-configuration>

Thanks,
 Phil


More information about the juniper-nsp mailing list