User guide

B-2 ExtremeWare EPICenter Software Installation and User Guide
Using the DevCLI Commands
The utility is located in the root EPICenter install directory, by default \epc3_1 or
/opt/epc3_1 (in a UNIX environment).
The DevCLI utility supports the following two commands:
devcli add <options> to add a device.
For example,to add device 10.205.0.99 to the EPICenter database on the local host,
using the default device user name and password, enter the following command at the
prompt:
devcli add -a 10.205.0.99
devcli del <options> to remove a device.
For example,to remove the same device from the EPICenter database, enter the
command:
devcli del -a 10.205.0.99
These commands support a set of options for specifying device information such as
passwordsandcommunitystrings,aswellasinformationabouttheEPICenterserver,such
as host name or IP address, port, and user name and password. You can also specify
multiple IP addresses in a file to have them added or removed as a group, as long as they
all use the same user name,password, and community strings.
Table B-1 specifies the options you can use with these commands:
Table B-1: DevCli command options
Option Value Default
-a Device IP address. This option can be specified more than
once.
None
-c Cisco enable password. “”
-d Device password. “”
-f Input file name. This specifies an ascii file that contains a
list of IP addresses, one per line. No other information can
be included in this file.
This option can be specified more than once.
None
-g Device group to which devices should be added. Case
sensitive. The device group must already exist.
Default