The Control Port allows to access configuration and supervising functions. The Control Port isn't a physical port, that is there is no connector, but it's a “virtual” port of the Abilis CPX.
it's 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 execution 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's possible to check or modify the privilege level by using the command login.
Here is an example of 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.3.1/STD - Build 4031.12 - Branch 8.3 - Abilis-ID 800733 Monday 14/12/2015 15:50:26 (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 corresponding 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.3.1/STD - Build 4031.12 - Branch 8.3 - Abilis-ID 800733 Monday 14/12/2015 15:50:26 (UTC+2.00) Login:user
Password: INVALID PASSWORD Password: INVALID PASSWORD Password: CLR F0 AE[192.168.0.1] TELNETS>
The Control Port is identified by the mnemonic “CP”,
corresponds to the Abilis CPX port 0
and it's
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
The most important parameters are:
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's 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.
Tip | |
---|---|
Interesting chapter: Section 76.6.9, “How can I change the Abilis prompt name?”. |
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's 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's 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's 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 | |
---|---|
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). |