17.1. CP resource

The Control Port allows to access configuration and supervising functions. The Control Port is not a physic port, that is there is no connector, but it is a “virtual” port of the Abilis CPX.

17.1.1. Access levels to the Control Port

It is possible to log into the Control Port by using three different privilege levels:

  • User login level: “USER” is allowed to execute only some operations for supervising the Abilis CPX working mode; the executon of “USER” not allowed commands will cause the message “COMMAND NOT ALLOWED FOR USER LOGIN LEVEL” to be displayed.

  • Administrator login level: “ADMINISTRATOR” is allowed, with some restrictions, to execute all the operations for configuring and supervising the Abilis CPX; execution of “ADMINISTRATOR” not allowed commands will cause the message “COMMAND NOT ALLOWED FOR ADMINISTRATOR LOGIN LEVEL” to be displayed.

  • Super-User login level: SUPERUSER is able to completely manage the system.

Once the CP has been accessed, it is possible to check or modify the privilege level by using the command login.

Here is an example on how to access the Control Port through the telnet port, with USER privileges:

[192.168.0.1] TELNETS>00-CP
COM

Abilis CPX - Ver. 8.0.2/STD - Build 3961.6 - Branch 8.0 - Abilis-ID 800733
Wednesday 20/05/2015 09:01:24 (UTC+2.00)
Logged as USER

[11:29:21] ABILIS_CPX:

The User is asked to specify the requested access level (USER, ADMINISTRATOR or SUPERUSER) and then to insert the correspondent password. If the password is wrong, it will be asked again. After the third wrong try the connection will be cleared.

[192.168.0.1] TELNETS>00-CP
COM

Abilis CPX - Ver. 8.0.2/STD - Build 3961.6 - Branch 8.0 - Abilis-ID 800733
Wednesday 20/05/2015 09:01:24 (UTC+2.00)
Login:user
Password:

INVALID PASSWORD

Password:

INVALID PASSWORD

Password:

CLR F0 AE

[192.168.0.1] TELNETS>

17.1.2. CP resource parameters

The Control Port is identified by the mnemonic “CP”, correspondent to the Abilis CPX port 0 and it is provided with the parameters described in this section.

Use the following command to show its parameters.

[11:09:16] ABILIS_CPX:d p cp

RES:Cp ------------------------------------------------------------------------
Run    DESCR:Control_Port
       LOG:NO                PI:ABILIS_CPX:        bsvc:4      ps:512
       PWDU:**************** PWDA:**************** PWDS:****************
       X29A:02010102010302040006050C010D000E000F011008111812121302
       X29B:020100020003000402050006000700080009000A000C000D000E000F001500

Below are descriptions of the most important parameters:

LOG

Logging functionalities activation/deactivation.

PI

This parameter set the command interpreter prompt of the Control Port. Information about current local time “[hh:mm:ss]” always precedes the user defined prompt. It is possible to use from 0 up to 16 ASCII characters [33..126], spaces are not allowed. No differences between low and high case characters are made.

bsvc

It sets the maximum number of connections that can be opened at the same time with the Control Port.

ps

It sets the maximum size (in bytes) of packets to be sent or received.

PWD-U

It sets the access password to the CP of the USER level. Once it is configured, the new password will be saved on the Abilis CPX CF/HD, in a encrypted way, using the command save conf.

PWD-A

It sets the access password to the CP of the ADMINISTRATOR level. Once it is configured, the new password will be saved on the Abilis CPX disk, in a encrypted way, using the command save conf.

PWD-S

It sets the access password to the CP of the SUPER-USER level. Once it is configured, the new password will be saved on the Abilis CPX disk, in a encrypted way, using the command save conf.

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

s p cp parameter:value...

[Caution]Caution

To activate the changes made on the upper case parameters, execute the initialization command init res:cp; while to set act the changes made on the lowercase parameters a save conf and an Abilis restart are required (i.e. with warm start command).