|
|
|
To enter a block of CNA commands in a single POST method, place each command on a separate line, as in a configuration file.
The response body will contain a CNA-generated summary of commands entered and actions taken.
POST /configure HTTP/1.0 Authorization: Basic dXNlcjpwYXNz Enable-Authorization: Basic cHJpdmVsZWdlZA== Content-Length: 230 hostname Beta ip domain-list speedtrak.com ip domain-list lab.speedtrak.com ip name-server 192.168.1.14 ! ntp server 172.16.0.55 prefer ! interface FastEthernet 0/0 description management ip address 172.16.1.20 255.255.255.0 end
HTTP/1.1 200 OK Content-Type: text/plain Commands : 8 Succeeded: 8 Failed : 0
|
|
|