Inventory Export Examples; The Snmpcli Utility - Extreme Networks Ridgeline Guide Manual

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

Advertisement

Book Title
NOTE
The inv.bat, inv.sh, slot.bat, and slot.sh scripts retrieve information only from an Ridgeline server that runs
on the same machine as the scripts.

Inventory Export Examples

The following examples illustrate the usage of these commands.
To export slot information to the file
"admin123" and password is "sesame" under Windows, enter the following command:
slots.bat -u admin123 -p sesame -o slotinventory.csv
Under Linux or Solaris, enter the following command:
slots.sh -u admin123 -p sesame -o slotinventory.csv
This will not prompt for a password, and will output the results to the specified file.
To export device information to the console, after prompting for a password under Windows, enter
the following command:
inv.bat
Under Linux or Solaris, enter the following command:
inv.sh
This command will login with the default user name (admin), will prompt for the password, and
will output the results to the console.
To export device information to the console, using the default login and default password under
Windows, enter the following command:
inv.bat -d -o output.csv
Under Linux or Solaris, enter the following command:
inv.sh -d -o output.csv
This command will login using the default user name (admin) and the default password, and will
output the results to the file
To export device information from the Ridgeline databases on the multiple servers under Windows,
edit the
servers.txt
msinv.bat -d -o devices.csv -s serverlist2.txt
Under Linux or Solaris, edit the
the following command:
msinv.sh -d -o devices.csv -s serverlist2.txt
This command logs in to each of the Ridgeline servers specified in the file
the default login and password, and output the device information from these servers to the file
. The devices.scv file is created in the user\scripts\bin directory.
devices.csv

The SNMPCLI Utility

The SNMPCLI utility provides three basic SNMP query capabilities, that can be used to access the
values of MIB objects kept by the SNMP agents of the devices you are managing. Accessing these
356
slotinventory.csv
in the user\scripts\bin directory.
output.csv
file in the
user\scripts\config
servers.txt
from the Ridgeline database whose login is
directory, then enter the following command:
file in the
user/scripts/config
Ridgeline Concepts and Solutions Guide
directory, then enter
, using
serverlist2.txt

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ridgeline 3.0

Table of Contents