EPICenter Utilities
Table 11: DevCLI command options (continued)
Option
Value
-z
Record filename (for recording)
Options such as the user login names and passwords and community strings, apply to all devices
specified in the command. You can specify multiple devices in one command as long as they use the
same options. If you have devices with different access parameters, you must add or delete them in
separate commands. The exception is when removing devices or device groups, you do not need to
specify community strings, so you can remove multiple devices in a single command even it their
community strings are different.
Most options default to the values equivalent to those used by default on Extreme Networks devices or
in the EPICenter software.
You can specify only one EPICenter server (database) in a command. If you want to add the same
devices to multiple EPICenter databases, you must use a separate command for each server. The
command by default adds or removes devices from the EPICenter database running on the local host at
port 80.
DevCLI Examples
The following examples illustrate the usage of these commands.
To add a device with IP address 10.205.0.99 to the EPICenter database running on server
●
port 81, with EPICenter login "master" and password "king," enter the following command:
devcli add -u master -p king -a 10.205.0.99 -s snoopy -n 81
To add two devices (10.205.0.98 and 10.205.0.99) to the EPICenter 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 add multiple device groups specified in the file "devGroupList.txt" to the EPICenter database,
●
enter the following command:
devcli add -u admin -h devGroupList.txt
The file
devGroupList.txt
one description (if applicable) per line, such as:
"Device Group 2"
Building B
dg4
If a line has multiple words delimited by white space and the words are not enclosed in double
quotes, the whole line is interpreted as a device group name without a device group description. If
the device group name consists of multiple words delimited by white space, and you want to specify
a device group description, you must use double quotes to enclose both the device group name and
the device group description.
To modify the membership of a device group named "Engineering Device Group" to remove any
●
existing devices from the device group and add four new devices (10.205.0.91, 10.205.0.92,
10.205.0.93, and 10.205.0.94) to the device group, enter the following command:
devcli mod -u admin -g "Engineering Device Group" -a 10.205.0.91
-a 10.205.0.92 -a 10.205.0.93 -a 10.205.0.94
240
must be a plain ASCII text file containing one device group name and
"Marketing"
Default
None
snoopy
EPICenter Concepts and Solutions Guide
on
Need help?
Do you have a question about the EPICenter Guide and is the answer not in the manual?
Questions and answers