Importing Devices Using The Devcli Utility; Making Device Contact Information Changes - Extreme Networks EPICenter Guide Manual

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

Advertisement

Importing Devices Using the DevCLI Utility

If you have a large number of devices you want to add the EPICenter inventory, and you have there
addresses and contact information available in machine-readable form, you can use the DevCLI
command line utility to import device information into the EPICenter database. The devCLI utility
provides a set of commands you can use to add, modify and delete devices and device groups in the
EPICenter inventory database. The following is a brief summary of how you can use this utility to
automate the import of a large number of devices into the EPICenter database. Appendix B, "EPICenter
Utilities" provides detailed information on using these commands.
The
devcli add
addresses. Through command arguments you can specify all the device contact information for the
devices as well as the device group to which the devices should be added.
The device contact information specified in an add command is used for all the devices added by that
command. So, as with adding devices from a Discovery, you may need to use multiple
commands to add sets of devices that use different contact information.
You can also use the devcli add command to create device groups. If you want to add devices to a
specific device group other than Default, the device group must exists before you add the devices.
The following is an example of a set of commands you could use to add devices to the EPICenter
inventory database in specific device groups:
1 Create the needed device groups. (This also be done interactively through the EPICenter user
interface):
devcli add -u admin -g "Bldg 1" -g "Bldg 2" -g "Bldg 3"
This command uses the default EPICenter login name "admin" and the default password.
2 Add the first set of devices to device group Bldg 1:
devcli add -u admin -f devList1.txt -r read -w write -g "Bldg 1"
This adds devices listed in the file devList1.txt, with read and write community strings specified.
The default values set in EPICenter will be used for the other device contact values (such as the
device login and password).
The file
devList1.txt
address per line, such as:
10.205.0.95
10.205.0.96
10.205.0.97
3 Add a second set of devices from file
the default SNMP v3 contact information:
devcli add -u admin -f devList2.txt -t 3 -g "Bldg 2"

Making Device Contact Information Changes

Periodically, for security purposes, you may need to change passwords, login users, or community
strings on your network devices. If device contact information changes on a device EPICenter is
managing, EPICenter will not be able to communicate with the device until you change the
corresponding information in the EPICenter database.
EPICenter Concepts and Solutions Guide
command lets you add devices either individually, or from a text file that contains IP
must be a plain ASCII text file containing only IP addresses with one IP
devList2.txt
Making Device Contact Information Changes
, to device group Bldg 2 that uses SNMP v3 with
devcli add
69

Advertisement

Table of Contents
loading

This manual is also suitable for:

Epicenter 5.0

Table of Contents