Using The Devcli Commands - Extreme Networks Ridgeline Guide Manual

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

Advertisement

Book Title
device configurations. You can specify a list of devices in a file and have them added in a single
operation.
The DevCLI is useful for updating the Ridgeline inventory database quickly when large numbers of
devices are added, modified or removed, or if changes occur frequently. It can also be useful when you
want to duplicate the device inventory and device configurations across multiple installations of the
Ridgeline server.

Using the DevCLI Commands

The utility is located in the
\Program Files\Extreme Networks\Ridgeline 3.0\client\bin
/opt/ExtremeNetworks/Ridgeline3.0/client/bin
The DevCLI utility supports the following four commands:
devcli add <options>
To add device 10.205.0.99 to the Ridgeline database on the local host, using the default device user
name and password, enter the following command at the prompt:
devcli add -u admin -a 10.205.0.99
devcli mod <options>
To modify the password on device 10.205.1.51 to use an empty string, enter the command :
devcli mod -u admin -a 10.205.1.51 -d ""
NOTE
If you are running the DevCLI on a Windows platform, enter forward slashes to separate empty double
quotes to ensure the command executes correctly. For example, to use the previous command in a Windows
environment, enter the command: devcli mod -u admin -a 10.205.1.51 -d \"\"
devcli del <options>
To remove device 10.205.0.99 from the Ridgeline database, enter the command:
devcli del -u admin -a 10.205.0.99
devcli sync <options>
To manually update the device configurations for device 10.205.0.99, enter the command:
devcli sync -u admin -a 10.205.0.99
To manually update the configurations for all devices, enter the command:
devcli sync -u admin
NOTE
You can type either sync or syn when you use the devcli sync command.
These commands support a set of options for specifying device information such as passwords and
community strings, as well as information about the Ridgeline server, 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 12
specifies the options you can use with these commands:
352
subdirectory under the Ridgeline install directory, by default
client\bin
to add a device.
to modify a device.
to remove a device.
to manually update device configurations.
in a Windows environment, or
in a Linux or Solaris environment.
Ridgeline Concepts and Solutions Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ridgeline 3.0

Table of Contents