EPICenter Utilities
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
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
• To delete a set of devices specified in the file "devList.txt" with device login "admin2" and password
"purple," enter the following command:
devcli del -u admin -f devList.txt -l admin2 -d purple
The file
devList.txt
address per line, such as:
10.205.0.95
10.205.0.96
10.205.0.97
If more than one IP address is specified per line, only the first IP address is used.
• To delete two device groups ("Building A" and "Building C") from the EPICenter database, enter the
following command:
devcli del -u admin -g "Building A" -g "Building C"
182
must be a plain ASCII text file containing one device group name and one
"Marketing"
must be a plain ASCII text file containing only IP addresses and only one IP
on
snoopy
EPICenter Concepts and Solutions Guide
Need help?
Do you have a question about the EPICenter Guide and is the answer not in the manual?