Anthony,
If you are using NV V5. you can use the nvUtil command. You
can list membership of a collection by using the "l" flag. An example
might be "nvUtil l routers". that command would list all devices in the
"routers" collection.
Hope this helps,
RickB
> From UCSBVM.UCSB.EDU!owner-nv-l Tue Jun 16 10:21:51 1998
> >From rlbarhy Tue Jun 16 10:21:51 1998
> X-Lotus-Fromdomain: NWIE
> Mime-Version: 1.0
> Content-Disposition: inline
> Date: Tue, 16 Jun 1998 13:18:59 -0400
> From: Anthony Philipp <philipt@NATIONWIDE.COM>
> Subject: Listing Objects In A Collection
> To: NV-L@UCSBVM.ucsb.edu
>
> I have a collection that contains all routers that have down interfaces.
> Is there a command line utility that I can use to quickly list the contents
> of this collection? Currently I use ovtopodump with some scripted logic to
> filter out the routers but this command takes about 30 seconds to complete
> because of the large number of objects in my database.
>
|