Adding a device to a global collection using CLI
search cancel

Adding a device to a global collection using CLI

book

Article ID: 244567

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

How to add a device to a global collection using the command line interface.

Environment

Release : Any Spectrum Release.

Component : Spectrum Core / SpectroSERVER

Resolution

You can add a device to a global collection using CLI with the following command:

./create association rel=staticGlobalCollects rmh=<mh of GlobalCollection> mh=<mh of device>

Here's an example:

device model handle: 0x10000d1

GC model handle: 0x100012d

With the above two model handles the command would look like the following:

./create association rel=staticGlobalCollects rmh=0x100012d lmh=0x10000d1