Inventory Export Scripts; Using The Inventory Export Scripts - Extreme Networks Ridgeline Guide Manual

Concepts and solutions guide
Hide thumbs Also See for Ridgeline Guide:
Table of Contents

Advertisement

Book Title
To add two devices (10.205.0.98 and 10.205.0.99) to the Ridgeline database on the local host, with
read community string "read" and write community string "write," enter the following command:
devcli add -u admin -a 10.205.0.98 -a 10.205.0.99 -r read -w write
To delete a set of devices specified in the file "devList.txt" with device login "admin2" and
password "purple," enter the following command:
devcli del -u admin -f devList.txt -l admin2 -d purple
The file
devList.txt
address per line, such as:
10.205.0.95
10.205.0.96
10.205.0.97
If more than one IP address is specified per line, only the first IP address is used.
To manually update the configurations of two devices (10.205.0.91 and 10.205.0.93), enter the
command:
devcli sync -u admin -a 10.205.0.91 -a 10.205.0.93

Inventory Export Scripts

There are three scripts you can run to export information about the devices or occupied slots known to
the Ridgeline inventory. The scripts let you export information on devices known to a single Ridgeline
installation, on slots known to a single Ridgeline installation, or on devices known to multiple Ridgeline
servers. The information will be output in comma-separated (CSV) format suitable for importing into a
spreadsheet.
For a device report, the information reported includes the device name and type, IP address,
location, serial and board numbers. If you use the Distributed server version of this report, the name
of the Ridgeline server that manages the device will also be included.
For a slot report, it includes the device name and IP Address, slot number, slot name and slot type,
and the serial number of the blade in the slot.

Using the Inventory Export Scripts

The three scripts are located in the Ridgeline
install directory (by default
or
/opt/ExtremeNetworks/Ridgeline3.0
user.war\scripts\bin
There are three inventory export scripts you can use:
inv.bat <options>
information from the Ridgeline database.
To export device information to file
cd "\Program Files\Extreme Networks\Ridgeline 3.0\user.war\scripts\bin"
inv.bat -o devinfo.csv
Under Linux or Solaris, enter the command:
cd /opt/ExtremeNetworks/Ridgeline3.0/user.war/scripts/bin
inv.sh -o devinfo.csv
354
must be a plain ASCII text file containing only IP addresses and only one IP
user.war\scripts\bin
c:\Program Files\Extreme Networks\Ridgeline 3.0
under Linux or Solaris). You must have the
directory as your current directory in order to run these scripts.
(Windows), or
inv.sh <options>
devinfo.csv
directory under the Ridgeline
(Linux or Solaris) exports device
under Windows, enter the command:
Ridgeline Concepts and Solutions Guide
under Windows,

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ridgeline 3.0

Table of Contents