How to discover device via the Command Line Interface (CLI) in SPECTRUM
Release: Any
Component:
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.
Please reference the "Command Line Interface" section of the documentation for more information.