|
|
|
To submit a configuration command which will become part of the device’s running configuration, submit an HTTP POST request with a /configure URI to the management module’s eth0 interface.
The following example will change the hostname of the target CNA system to Alpha.
Configuration commands do not return output, so the return code is 204--no content.
If you were to execute this HTTP request and then viewed the device’s running configuration, you would find that the hostname command had been entered into the configuration, and the device’s host name would be changed to the new string, Alpha.
POST /configure HTTP/1.0 Authorization: Basic dXNlcjpwYXNz Enable-Authorization: Basic cHJpdmVsZWdlZA== Content-Length: 14 hostname Alpha
HTTP/1.1 204 No Content
|
|
|