5.6. Resources or Ports

5.6.1. D P (Display Parameters)

This command shows configuration parameters of one or more active CPX resources or ports. the following command displays the command syntax:

[16:36:49] ABILIS_CPX:d p ?

D P RES:A                               Display parameter(s) of any resource
D P [RES:]type                          Display parameter(s) of any resource
                                        of the specified type
D P [RES:]type-n[,...]                  Display parameter(s) of the specified
                                        resource(s). Use '.' to avoid
                                        recursion between resources.
D P CTIP[:val]                          Display parameter(s) of the specified
                                        CTI port
D P CTIPE[:val]                         Display parameter(s) of the specified
                                        CTI port in extended format

Configuration parameters are displayed using lower case and upper case characters. This kind of visualization is used to point out that configuration parameters are grouped into two sets:

  • parameters identified by lower case characters can be activated only by restarting the system;

  • parameter identified by upper case characters can be activated by executing the initialization command init res:.

Here are some examples of the command execution:

[16:48:16] ABILIS_CPX:d p ssh

RES:Ssh -----------------------------------------------------------------------
Run    DESCR:Secure_Shell_Protocol
       LOG:NO                 MCAU:NO                ps:128
       KEEPALIVE:30           LOGIN-TOUT:60
       WDIR:C:\APP\SSH\
       - Server ---------------------------------------------------------------
       PSER:SSHS>             ser:3                  tcp-locport:22
       AC:YES                 PWD:                   DT:15
       CDO:00                 UDO:CP                 PROFILE:NORMAL
       IPSRC:*                IPSRCLIST:#                     MAXAUTH:6
       KEYLEN:768             KEYREGENT:60           HOSTKEYLEN:1024
       S-VER:1,2              S-AUTH-1:PWD           S-AUTH-2:PWD
       S-CIPHERS-1:ALL
       S-CIPHERS-2:ALL
       - Client ---------------------------------------------------------------
       PCLI:SSHC>             cli:3                  MAXPROMPT:3
       CDI:*                  UDI:*
       C-VER:1,2              C-AUTH-1:PWD           C-AUTH-2:PWD
       C-CIPHERS-1:ALL                                    DFT-CIPHER-1:3DES
       C-CIPHERS-2:ALL                                    DFT-CIPHER-2:3DES
[16:57:33] ABILIS_CPX:d p ctip:101

CTIP:101 DESCR:
Act     card:POTS-1<1>
Run     OPSTATE:UP        LOG:NO                               TYPE:USER
        signalling:POTS                 HOLD:YES     CT:ICT    SS:YES
        mode:Pots                                    NUM:11
[16:57:35] ABILIS_CPX:d p ctipe:101

CTIP:101 DESCR:
Act     card:POTS-1<1>
Run     OPSTATE:UP        LOG:NO                               TYPE:USER
        signalling:POTS                 HOLD:YES     CT:ICT    SS:YES
        mode:Pots                                    NUM:11
        LOOP:NO         TEST:NO
        CLIP:SYS        CLIP-STD:SYS      CLIP-TAS:SYS    MIN-FLASH:SYS
        SENSING:SYS     ABF:SYS  HPF:SYS  DEBOUNCE:SYS    MAX-FLASH:SYS
        COUNTRY:SYS                  IN-GAIN-ADJ:SYS      OUT-GAIN-ADJ:SYS
        AT:SYS          AT-CODE:SYS  AT-DURATION:SYS      BC:SYS
        DT:SYS          DT-CODE:SYS  DT-DURATION:SYS      OUT-DIAL-TONE:SYS
        SS-PICKUP:GROUP SS-PRES-CG:YES                    NP-CT:SYS
        SS-CF-DND:YES

5.6.2. A RES (Add Resource)

This command adds a new resource in the configuration. A resource may already exist in the system, but may not yet be active; it can be activated with the command s act res:.

The following command allows to have a complete list of the available resources:

[16:59:21] ABILIS_CPX:a res: ?

A RES:val [SYBTYPE:val]       Add CPX Resource of the selected type

RES:       Resource identifier 'type-n', where 'n' can be [1..999]  <Mandatory>
SUBTYPE:   Resource subtype. Mandatory for X25, Sdlc, Hdlct, Fr,
           Pv and Ip resource types only

Available resource's types:

- System resources:
  Arc      ARCHIVE service
  Ssl      Secure Socket Layer
  MfIde    Abilis Multi Function IDE Interface
  X509     X509 certificate manager
  UPnPC    Universal Plug and Play Client
  UPnPS    Universal Plug and Play Server
- Management resources:
  Cp       Control port
  Snmp     Simple Network Management protocol
  Sntp     Simple Network Time protocol
  Acnt     Accounting service
  Trfa     Traffic Analyzer
  SysLog   System Log protocol
  Opc      Operator Panel Collector
  GpioPc   General Purpose I/O Panel Collector
- Connection Oriented Router resources:
  X25      X.25 protocol
  Sdlc     SDLC/QLLC protocol
  Hdlct    HDLCT protocol
  Pad      PAD service
  Xtp      X25-L3 tunnelling protocol
  Dummy    Dummy resource
  Sim      Simulator resource
  LPad     Local PAD service
- IP resources:
  Ip       IP resource
  Iprtr    IP Router
  Tcp      TCP protocl
  Udp      UDP protocol
  Telnet   TELNET Server and Client
  Rip      Routing Information protocol
  Dns      Domain Name System
  Http     HyperText Transfer protocol
  Nat      Network Address Translator
  Ssh      Secure Shell protocol
  Ospf     Open Shortest Path First Routing protocol
  Dhcp     Dynamic Host Configuration protocol
  Ftp      File Transfer Protocol Server
  IpSec    IP Securityp rotocol
  Ike      Internet Keys Exchange protocol
  Smtp     Simple Mail Transfer protocol
  Pop3     Post Office protocol Ver. 3
  Radius   RADIUS service
  Vrrp     Virtual Router Redundancy protocol
  Stun     Simple Traversal of UDP NATs
  DhcpC    Dynamic Host Configuration protocol Client
  DDns     Dynamic DNS Client
  RSim     Remote SIM
- PPP over Ethernet resources:
  PoeAc    Point-to-Point Protocol over Ethernet Access Concentrator
  PoeCli   Point-to-Point Protocol over Ethernet Client
- CTI resources:
  CtiSys   CTI System
  CtiX25D  X.25 Over ISDN D-Channel
  CtiSLink HDLC Over ISDN B-Channel
  CtiVsp   Virtual Synchronous Port
  CtiIax   Inter-Asterisk eXchange Ver. 2
  CtiDisa  Direct Inward System Access
  CtiSip   Session Initiation protocol
  CtiSms   SMS service
  CtiH323  ITU H.323 protocol
  CtiGkc   H.323 Gatekeeper
  CtiTst   CTI Tester
- Bridge resources:
  Bridge   IEEE Bridge
- Frame Relay resources:
  Fr       Frame Relay
- Pv and Ple resources:
  Pv       Packet voice resource
  Ple      P-Link emulation over IP resource
- Physical resources:
  VEth     Virtual Ethernet

For example, to add the Secure SHell resource (SSH):

[16:59:21] ABILIS_CPX:a res:ssh

COMMAND EXECUTED

If the resource is already present in the configuration, but not active, it is possible to activate it with the command:

[16:59:21] ABILIS_CPX:s act res:ssh

COMMAND EXECUTED
[Tip]Tip

A lot of resources are automatically activated at the resource adding operation (i.e. Eth100, Adsl, Sync…)

5.6.3. S P (Set Parameters)

This command sets one or more configuration parameters of one or more active CPX resources or ports. By typing s p ?, it is possible to display the command syntax:

[17:41:05] ABILIS_CPX:s p ?

S P RES:A par:val [par:val]             Set specified parameter(s)
                                        in any resource
S P [RES:]type par:val [par:val]        Set specified parameter(s)
                                        in any resource of the specified type
S P [RES:]type-n[,...] par:val [par:val]Set specified parameter(s)
                                        of the specified resource(s)
S P CTIP:val                            Set specified parameter(s)
                                        of the specified CTI port(s)
S P CTIPE:val                           Set specified parameter(s)
                                        of the specified CTI port(s)

The parameter list, defined in the command, is left to right evaluated: the parameters are set one after the other, starting from the leftmost. Command evaluating will terminate if one the following events will occur:

  • bad parameter(s) to be set;

  • value of the parameter(s) out of its allowed range;

  • conflict between the parameter(s) to be set and others.

All the parameters evaluated, before the error occurrence, will get the new value; the other ones will not be changed.

Here there are some examples of the command execution:

[16:48:16] ABILIS_CPX:s p ssh pwd:password_ssh

COMMAND EXECUTED

[16:48:16] ABILIS_CPX:d p ssh

RES:Ssh -----------------------------------------------------------------------
Run    DESCR:Secure_Shell_Protocol
       LOG:NO                 MCAU:NO                ps:128
       KEEPALIVE:30           LOGIN-TOUT:60
       WDIR:C:\APP\SSH\
       - Server ---------------------------------------------------------------
       PSER:SSHS>             ser:3                  tcp-locport:22
       AC:YES                 PWD:****************   DT:15
       CDO:00                 UDO:CP                 PROFILE:NORMAL
       IPSRC:*                IPSRCLIST:#                     MAXAUTH:6
       KEYLEN:768             KEYREGENT:60           HOSTKEYLEN:1024
       S-VER:1,2              S-AUTH-1:PWD           S-AUTH-2:PWD
       S-CIPHERS-1:ALL
       S-CIPHERS-2:ALL
       - Client ---------------------------------------------------------------
       PCLI:SSHC>             cli:3                  MAXPROMPT:3
       CDI:*                  UDI:*
       C-VER:1,2              C-AUTH-1:PWD           C-AUTH-2:PWD
       C-CIPHERS-1:ALL                                    DFT-CIPHER-1:3DES
       C-CIPHERS-2:ALL                                    DFT-CIPHER-2:3DES
[17:46:26] ABILIS_CPX:s p ctip:91 descr:To_Telecom side:TE

COMMAND EXECUTED

[17:47:00] ABILIS_CPX:d p ctip:91

CTIP:91  - Not Saved (SAVE CONF), Not Refreshed (INIT) ------------------------
Act     DESCR:To_Telecom
        card:BRIO-1<1>
        OPSTATE:UP        LOG:NO        side:TE      LINE:PP   TYPE:USER
        signalling:DSS1   TEI:STANDARD  HOLD:NO      CT:NO     SS:NO
        mode:Bri-data                                NUM:*
        BCHANS:ALL-BID
[Tip]Tip

The “Not Saved (SAVE CONF)” message is displayed every time the resource configuration is modified but not saved with the save conf command. The “Not Refreshed (INIT)” message is displayed every time the port configuration is modified but not refreshed with the init res: command. These messages will disappear after save conf or init res: commands.

[Tip]Tip

To activate changes made on the parameters displayed by upper case characters, it is enough to execute the initialization command init res:; for changes made on parameters displayed by lower case characters, it is needed to restart the system with the command warm start.

5.6.4. C RES (Clear Resource)

This command allows to delete a resource present in Abilis. A resource, before being deleted, must be inactive. To inactive a device type the command s inact res: and reboot the Abilis with the command warm start.

For example:

[12:45:38] ABILIS_CPX:c res:ssh

COMMAND NOT ALLOWED FOR 'RES:SSH' BECAUSE IT IS RUNNING

[12:45:38] ABILIS_CPX:s inact res:ssh

COMMAND EXECUTED

After Abilis restart, it is possible to delete the resource.

[18:17:04] ABILIS_CPX:c res:ssh

THE SELECTED RESOURCE WILL BE DELETED.
PROCEED (N/Y)?y

THE COMMAND WILL DELETE ALL THE REFERENCES TO THE SELECTED RESOURCE.
PROCEED ANYWAY (N/Y)?y

PROCEEDING WITH RESOURCE DELETION...

COMMAND EXECUTED