Applications Use the local RESTAPI to configure the Connect IT 16/48 device
Digi Connect IT® 16/48 User Guide
483
https://ip-address/cgi-bin/config.cgi
For example:
https://192.168.210.1/cgi-bin/config.cgi
Use the GETmethod to return device configuration information
To return device configuration, issue the GET method. For example, using curl:
$ curl -k -u admin https://ip-address/cgi-bin/config.cgi/value/path -X GET
where:
n ip-address is the IP address of the Connect IT 16/48 device.
n path is the path location in the configuration for the information being returned.
To determine allowed values for path from the Admin CLI:
1. Log into the Connect IT 16/48 command line as a user with full Admin access rights.
Depending on your device configuration, you may be presented with an Access
selection menu. Type admin to access the Admin CLI.
2. At the command line, type config to enter configuration mode:
> config
(config)>
3. At the config prompt, type ? (question mark):
(config)> ?
auth Authentication
cloud Central management
firewall Firewall
monitoring Monitoring
network Network
serial Serial
service Services
system System
vpn VPN
(config)>
The allowed values for path are listed in the first (left) column.
4. To determine further allowed path location values by using the ? (question mark) with
the path name:
(config> service ?
Services
Additional Configuration
---------------------------------------------------------------------
----------
dns DNS