381
1.1.12 Get/Set
UPNP
info
Example: Get UPnP information
http://<servername>/cgi-bin/view/param?action=list&group=General.Network.UPnP
Return:
Parameter name
value
Security
level
(get/set)
Description
Enabled
yes, no
6/6
Enables Universal Plug and Play.
NATTraversal.Enabled
yes, no
6/6
Enables/disables NAT traversal.
NATTraversal.Enabled
number
6/6
Number of HTTP port for NAT traversal.
NATTraversal.Enabled
number
6/6
Number of MPEG4 port for NAT
traversal.
NATTraversal.Enabled
number
6/6
Number of MJPEG port for NAT
traversal.
root.General.Network.UPnP.Enabled=yes
root.General.Network.UPnP.NATTraversal.Enabled=no
root.General.Network.UPnP.NATTraversal.HTTPPort=80
root.General.Network.UPnP.NATTraversal.HTTPViewerPort=8090
root.General.Network.UPnP.NATTraversal.HTTPViewerPort2=807
0
Example: Set UPnP information
http://<servername>/cgi-bin/admin/param?action=update&General.Network.UPnP.Enabled=yes&Gen
eral.Network.UPnP.NATTraversal.Enabled=no
Return:
OK