33.2. UPNPS configuration

Add the resource to the Abilis system with the following command.

[11:09:16] ABILIS_CPX:a res:upnps

RES:UPNP ALREADY EXISTS

The UPNPS resource may already exist in the system, but may not yet be active: set it active with the command:

[11:09:21] ABILIS_CPX:s act res:upnps

COMMAND EXECUTED

On a working Abilis, a system restart is needed to make the resource running.

Use the below command to display the parameters of the resource:

[14:53:51] ABILIS_CPX:d p upnps

RES:UPnPS --------------------------------------------------------------------
Run    Run    DESCR:Universal_Plug_and_Play_Server
       LOG:NO         ACT:NO   sesnum:5     udp-locport:1900  tcp-locport:1900
       MAX-AGE:1800   TOS:0-N
       IPSRC:*                  IPSRCLIST:#
       WDIR:C:\APP\UPNP\

[14:58:56] ABILIS_CPX:_s p upnps act:yes

COMMAND EXECUTED

[14:59:00] ABILIS_CPX:_init res:upnps

COMMAND EXECUTED

[14:59:18] ABILIS_CPX:_d p upnps

RES:UPnPS ---------------------------------------------------------------------
Run    DESCR:Universal_Plug_and_Play_Server
       LOG:NO         ACT:YES   sesnum:5     udp-locport:1900  tcp-locport:1900
       MAX-AGE:1800   TOS:0-N
       IPSRC:*                  IPSRCLIST:#
       WDIR:C:\APP\UPNP\

Below are descriptions of the most important parameters:

LOG

activates the logging and the generation of the alarms [NO, D (=Debug Log), S (=System Log), A (=Alarm view), L (=Local audible alarm), T (=SNMP traps), ALL] [+E (=Extended Log of state changes)].

ACT

enables/disables the resource [NO, YES].

sesnum

Number of sessions that the UPNP server module can support.

udp-locport

Local UDP port of UPNP server. Default value = 1900.

tcp-locport

Local TCP port of UPNP server. Default value = 1900.

MAX-AGE

Number of seconds the server' advertisement is valid.

IPSRCLIST

Incoming requests: name of the IP/IR/RU/MR list for source IP address acceptance.

IPRSC

Incoming requests: accepted source IP address.

The following command allows the administrator to change the configuration of the resource:

s p upnps name:value...