Inventory Export Examples - Extreme Networks EPICenter Guide Manual

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

Advertisement

EPICenter Utilities
Windows, enter the command:
cd "\Program Files\Extreme Networks\EPICenter 5.0\user\scripts\bin"
msinv.bat -d -o alldevinfo.csv -s ..\config\servers.txt
Under Solaris, enter the command:
cd /opt/extreme/epc5_0/user/scripts/bin
msinv.sh -d -o alldevinfo.csv -s ../config/servers.txt
The server file defaults to the file
this file to include the names or IP addresses of the servers where the EPICenter server and databases
are running. You can also provide your own file. The format of the file entries are:
<servername or IP>:<port>
For example:
iceberg:80
10.2.3.4:81
Table 7 specifies the options you can use with these commands:
Table 7: Inventory script command options
Option
Value
-d
None
If present, the command will use the default EPICenter
password ("") and will not prompt for a password.
-n
EPICenter server port number
-o
Name of file to receive output. If you don't specify a path, the
file will be placed in the current directory (user\scripts\bin).
-p
EPICenter user password
-u
EPICenter user name
-s
For the msinv.bat and msinv.sh commands only: Name
(and path) of file containing EPICenter server list
NOTE
The inv.bat, inv.sh, slot.bat, and slot.sh scripts retrieve information only from an EPICenter 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 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.
184
in the
servers.txt
user\scripts\config
from the EPICenter database whose login is
slotinventory.csv
directory. You can edit
Default
If -p option not present, prompts for
password
80
output written to console (stdout)
""
admin
<epc_install_dir>\user\scripts\
config\servers.txt under Windows,
<epc_install_dir>/user/scripts/
config/servrs.txt under Solaris
EPICenter Concepts and Solutions Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Epicenter 5.0

Table of Contents