Specifications
Ridgeline Concepts and Solutions Guide
355
● slots.bat <options> (Windows), or slots.sh <options> (Linux or Solaris) exports slot
information from the Ridgeline database.
To run the command as user “user1,” and export slot information to file
slotinfo.csv under
Windows, enter the command:
cd “\Program Files\Extreme Networks\Ridgeline 3.0\user.war\scripts\bin”
slots.bat -u user1 -o slotinfo.csv
Under Linux or Solaris, enter the command:
cd /opt/ExtremeNetworks/Ridgeline3.0/user.war/scripts/bin
slots.sh -u user1 -o slotinfo.csv
● msinv.bat <options> (Windows), or msinv.sh <options> (Linux or Solaris) exports device
information from the databases of multiple Ridgeline servers. You must provide a list of Ridgeline
servers in a file.
To export device information from the databases of Ridgeline servers listed in file servers.txt (in the
scripts\config directory) to file alldevinfo.csv, without prompting for a password under
Windows, enter the command:
cd “\Program Files\Extreme Networks\Ridgeline 3.0\user.war\scripts\bin”
msinv.bat -d -o alldevinfo.csv -s ..\config\servers.txt
Under Linux or Solaris, enter the command:
cd /opt/ExtremeNetworks/Ridgeline3.0/user.war/scripts/bin
msinv.sh -d -o alldevinfo.csv -s ../config/servers.txt
The server file defaults to the file servers.txt in the user\scripts\config directory. You can edit
this file to include the names or IP addresses of the servers where the Ridgeline 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:8080
10.2.3.4:81
Table 13 specifies the options you can use with these commands:
Table 13: Inventory script command options
Option Value Default
-d None
If present, the command will use the default Ridgeline
password (“”) and will not prompt for a password.
If -p option not present, prompts for
password
-n Ridgeline server port number 8080
-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).
output written to console (stdout)
-p Ridgeline user password “”
-u Ridgeline user name admin
-s For the msinv.bat and msinv.sh commands only: Name
(and path) of file containing Ridgeline server list
<epc_install_dir>\user\scripts\
config\servers.txt under Windows,
<epc_install_dir>/user/scripts/
config/servrs.txt under Linux or Solaris