How to discover device via the Command Line Interface (CLI) in SPECTRUM

book

Article ID: 51749

calendar_today

Updated On:

Products

CA Spectrum CA eHealth

Issue/Introduction

How to discover device via the Command Line Interface (CLI) in SPECTRUM

Environment

Release: Any
Component:

Resolution

Use the CLI "create" command to create a device model:

1. Log into the SpctroSERVER system as the user that owns the Spectrum installation

2. If on Windows, start a bash shell by running "bash -login"

3. cd to the $SPECROOT/vnmsh directory and enter the following command to start a CLI session:

./connect

4. Enter the following command where <IP> is the ip address of the device to create and <STRING> is a community string 

./create model ip=<IP> comm=<STRING>

The device model will be created in the LostFound folder of the for the Landscape located in the Explorer tab of the Navigation panel in OneClick.

From here, you can cut and paste the device model into a Topology view.

You can also use the CLI "create association" command to associate the device model to a Topology view.

Additional Information

Please reference the "Command Line Interface" section of the documentation for more information.