User`s manual
Table Of Contents
- 1. Overview
- 2. VPort Set/Get Configuration CGI URL and Parameter Items
- VPort Set/Get Configuration CGI URL and Parameter items
- VPort 351 and VPort 251 serial and PTZ control configuration
- VPort 451/461/254/354/364/364A/VPM7304 serial and PTZ control configuration
- MJPEG Mode Media Stream CGI URL
- Audio Output CGI URL
- PTZ Control of CGI URL Command Sets and Parameters
- DynaStream Control CGI URL
- Get Snapshot CGI URL
- Remove PTZ Driver CGI URL
- Device Reboot CGI URL
- Get I/O Status CGI URL
- System Information CGI URL

VPort CGI Commands Overview
1-2
Release Notes
Version 1.0
Includes CGI commands for the VPort 251/351/25.
Version 1.1
Includes CGI commands for the VPort 451/461.
Version 2.0
Includes CGI commands for all VPort models, 1-channel and 4-channel video encoders, and IP cameras.
Version 2.1
Fixed incorrect description, and updated to account for new VPort models.
Version 4.0
Updated for new VPort models VPort 06/36, and MxNVR-MO4.
General CGI URL Syntax and Parameters
The CGI commands are organized in function-related directories under the moxa-cgi directory, and are
followed by one of two actions: setParam.cgi or getParam.cgi. The file extension of the CGI is required.
Parameters are written in lower-case and structured by section and item. When the CGI request includes
parameters, the parameters must be written exactly as shown in this document.
Syntax:
http://<ip>/moxa-cgi/<action>.cgi?[<section>_<item>=<value>[&<section>_<item>=<value>…]]
Method:
GET/POST
Response:
HTTP/1.0 200 OK\r\n
Content-Type:
text/plain\r\n
\r\n
<section>_<item>=<value>\n
<section>_<item>=<value>\n
…
<section>_<item>=<value>\n
When the action of the CGI command is setParam.cgi, <parameter pair> will not be returned. If the CGI
command of getParam.cgi includes an invalid parameter name, the server will not return the value of the
invalid parameter. When the CGI command of setParam.cgi includes an invalid parameter name, the server will
not return the value of the invalid parameter.
Example:
http://192.168.127.100/moxa-cgi/setParam.cgi?http_httpport=80&rtsp_rtspport=554
Response from VPort
HTTP/1.0 200 OK\r\n
Content-Type:
text/plain\r\n
\r\n
http_httpport=80\n
rtsp_rtspport=554\n