Commands relating to the Connection Oriented Router

Revised for CPX 4.7.0.
SVC Routing
PVC Connections
COR Connections

Other commands

SVC Routing top


A R Add Routing (Administrator)
A R PR:xx [par:val]

It adds a new routing with "PR:xx" priority and, eventually, it sets the indicated parameters to the specified values.

There can be up to 100 routing definitions in the SVC routing table, therefore the priority value indicated must be in the interval [0 - 99].

If a routing with "PR:xx" priority already exists in the table and a new routing with the same priority is going to be added, then the new one's priority will be incremented by one (PR:xx+1).

If the new "PR:xx" value is higher than the maximum value already existing, then new routing priority will be the maximum one incremented by one.

If the table is full and a new routing is going to be added, then an error message will be displayed "ROUTING TABLE IS FULL, COMMAND NOT EXECUTED"

Changes made on the SVC routing table are immediately active, they do not require any initialization command to be operative.

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.


C R Clear Routing (Administrator)
C R PR:xx

It remove from the table that routing, whose priority is "PR:xx". Priority value must be in the interval [0 - 99]. Routings, whose priority is higher than the deleted one, are decremented by one, so that the table is still contiguous.

If the indicated priority does not match an already existing routing, the following message will be displayed "ROUTING NOT PRESENT".

Changes made on the SVC routing table are immediately active, they do not require any initialization command to be operative.

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.


D R Display Routing (User)
D R
D R PR:xx

It shortly displays the SVC routing table. This short description will not display information about parameters whose values are the default ones. They will be only displayed if their values have been changed from the default ones. In such way, the description of single routing is simply contained in a row.

Here is an example of the information shown by the command execution:

[15:19:51] ABILIS_CPX: D R

- Not Saved (SAVE CONF) -------------------------------------------------------

---+----+----+----+---------------+---------------+------------+--------------
PR |COMP|POI |POO |CDI            |CDO            |UDI         |UDO
   |NEXT|         |CGI            |CGO            |PIDI        |PIDO
   |              |IPSRC          |IPDEST         |FFO
------------------------------------------------------------------------------
0   NO   *    0    *01             *               CP           *
------------------------------------------------------------------------------
1   NO   *    0    *               *               CP           *
------------------------------------------------------------------------------
2   NO   301  302  *               *               *            *
------------------------------------------------------------------------------
3   NO   302  301  *               *               *            *
------------------------------------------------------------------------------
4   NO   920  900  *               920             *            *
    NO             920001          *               *            *
------------------------------------------------------------------------------
5   NO   921  900  *               921             *            *
    NO             921001          *               *            *
------------------------------------------------------------------------------
6   NO   907  907  999             23760272        *            *
    NO             *               *               *            01000000
                   *               192.168.000.253 *
------------------------------------------------------------------------------
7   NO   907  907  999             *               *            *
    NO             *               *               *            01000000
                   *               192.168.000.252 *
------------------------------------------------------------------------------
8   NO   900  921  921             *               *            *
------------------------------------------------------------------------------

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.

If the priority will be omitted, the execution of this command will display all the routings currently present in the table.

Trough specifying a priority value, the command will show the routing identified by the priority "xx".

Priority value must be in the interval [0 - 99]. If the priority does not match any routing priority in the table, the message "ROUTING NOT PRESENT" will be displayed.

If the routing table is empty, the following message is generated: "ROUTING TABLE IS EMPTY".

For a better description of the information displayed, please refer to Configuration of SVC routings section.


D RE Display Routing in extended format (User)
D RE
D RE PR:xx

It shows information about the SVC routing table by an extended format.

Here is an example of the information displayed as a result of the command execution:

[15:19:51] ABILIS_CPX: D RE

- Not Saved (SAVE CONF) -------------------------------------------------------
 
PR:0   POI:*    POO:0    COMP:NO
NEXT:N CGI:*               CDI:*01             UDI:CP           PIDI:*
       CGO:*               CDO:*               UDO:*            PIDO:*
       FFO:*

PR:1   POI:*    POO:0    COMP:NO
NEXT:N CGI:*               CDI:*               UDI:CP           PIDI:*
       CGO:*               CDO:*               UDO:*            PIDO:*
       FFO:*

PR:2   POI:301  POO:302  COMP:NO
NEXT:N CGI:*               CDI:*               UDI:*            PIDI:*
       CGO:*               CDO:*               UDO:*            PIDO:*
       FFO:*

PR:3   POI:302  POO:301  COMP:NO
NEXT:N CGI:*               CDI:*               UDI:*            PIDI:*
       CGO:*               CDO:*               UDO:*            PIDO:*
       FFO:*

PR:4   POI:920  POO:900  COMP:NO
NEXT:N CGI:920001          CDI:*               UDI:*            PIDI:*
       CGO:*               CDO:920             UDO:*            PIDO:*
       FFO:*

PR:5   POI:921  POO:900  COMP:NO
NEXT:N CGI:921001          CDI:*               UDI:*            PIDI:*
       CGO:*               CDO:921             UDO:*            PIDO:*
       FFO:*

PR:6   POI:907  POO:907  COMP:NO   IPSRC:*               IPDEST:192.168.000.253
NEXT:N CGI:*               CDI:999             UDI:*            PIDI:*
       CGO:*               CDO:23760272        UDO:*            PIDO:01000000
       FFO:*

PR:7   POI:907  POO:907  COMP:NO   IPSRC:*               IPDEST:192.168.000.252
NEXT:N CGI:*               CDI:999             UDI:*            PIDI:*
       CGO:*               CDO:*               UDO:*            PIDO:01000000
       FFO:*

PR:8   POI:900  POO:921  COMP:NO
NEXT:N CGI:*               CDI:921             UDI:*            PIDI:*
       CGO:*               CDO:*               UDO:*            PIDO:*
       FFO:*

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.

If the priority will be omitted, the execution of this command will display all the routings currently present in the table.

Trough specifying a priority value, the command will show the routing identified by the priority "xx".

Priority value must be in the interval [0 - 99]. If the priority does not match any routing priority in the table, the message "ROUTING NOT PRESENT" will be displayed.

If the routing table is empty, the following message is generated: "ROUTING TABLE IS EMPTY".

For a better description of the information displayed, please refer to Configuration of SVC routings section.


M R Move Routing (Administrator)
M R PR:xx PR:yy

It changes the routing priority value "xx" to "yy". Therefore the routing position, inside the table, will be changed and the whole table will be sorted again to guarantee its contiguity.

Priority value must be in the interval [0 - 99]. If the priority does not match any routing priority in the table, the message "ROUTING NOT PRESENT" will be displayed.

If the routing table is empty, the following message is generated: "ROUTING TABLE IS EMPTY".

Changes made on the SVC routing table are immediately active, they do not require any initialization command to be operative.

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.


S R Set Routing (Administrator)
S R PR:xx par:val [par:val]

It sets to new values the parameters of the routing specified by "PR:xx".

Priority value must be in the interval [0 - 99]. If the priority does not match without any routing priority in the table, the message "ROUTING NOT PRESENT" will be displayed.

If the routing table is empty, the following message is generated: "ROUTING TABLE IS EMPTY".

The parameters list, defined in the command, is left to right evaluated: the parameters are set one after the other, starting from the leftmost.

If a parameter is bad or its value out of the allowed range or if it is in conflict with the current value of any other parameter, then the command evaluation will terminate: all the parameters evaluated, before the error occurrence, will get the new value, the other ones will not be changed.

Changes made on the SVC routing table are immediately active, they do not require any initialization command to be operative.

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.

PVC Connections top


A PVC Add PVC (Administrator)
A PVC ID:xx [par:val]

It adds a new PVC connection definition with the identifiers "ID:xx". It sets the parameters to their values (if specified).

The not specified parameters are automatically set to the default values. PVC table can store up to 64 connection definitions. The identifier value must be in the interval [0 - 63]. "If ID:xx" already exists in the table, the "ID:" of the connection, that is going to be added, will be incremented by one (ID:xx+1).

If the new "ID:xx" value is higher than the maximum value already existing, then new connection ID will be the maximum one incremented by one.

If the table is full and a new connection is going to be added, then an error message will be displayed "PVC TABLE IS FULL, COMMAND NOT EXECUTED".

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.


C PVC Clear PVC (Administrator)
C PVC ID:xx

It removes from the table the PVC connection specified by "ID:xx".

The identifier value must be in the interval [0 - 63]. If the ID does not match any PVC connection in the table, the message "PVC NOT PRESENT" will be displayed.

If the PVC table is empty, the message "PVC TABLE IS EMPTY" will be displayed.

PVC connections whose "ID:" is higher than the removed one, will be decremented by one. In such way the table is still contiguous.

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.


D PVC Display PVC (User)
D PVC
D PVC ID:xx

It shows the PVC connection table.

Here is an example of this command execution:

[16:36:33] ABILIS_CPX: D PVC
 
- Not Saved (SAVE CONF) -------------------------------------------------------

ID:0   ST:2  POI:301   SESI:1     PWI:2   COMP:NO   
             POO:302   SESO:1     PWO:2
 
ID:1   ST:2  POI:302   SESI:2     PWI:2   COMP:MBIT 
             POO:301   SESO:2     PWO:2

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.

If the connection "ID:" is omitted, the command will show all the definitions currently present in the table.

If an "ID:" is specified, then the command will show the connection requested. The identifier value must be in the interval [0 - 63]. If the "ID:" does not match any PVC connection in the table, the message "PVC NOT PRESENT" will be displayed.

If the PVC table is empty, the message "PVC TABLE IS EMPTY" will be displayed.

To have more detailed information about the PVC connections, please refer to Configuration of PVC connections section.


S PVC Set PVC (Administrator)
S PVC ID:xx par:val [par:val]

It sets to new values the parameters of the PVC connection specified by "ID:xx".

The identifier value must be in the interval [0 - 63]. If the ID does not match any PVC connection in the table, the message "PVC NOT PRESENT" will be displayed.

If the PVC table is empty, the message "PVC TABLE IS EMPTY" will be displayed.

In order to activating the new configuration, whatever parameter has been changed, it is NOT needed to restart the Abilis CPX, it is requested only to execute the command C C or R PVC.

The parameters list, defined in the command, is left to right evaluated: the parameters are set one after the other, starting from the leftmost.

If a parameter is wrong or its value out of the allowed range or if it is in conflict with the current value of any other parameter, then the command evaluation will terminate: all the parameters evaluated, before the error occurrence, will get the new value, the other ones will not be changed.

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.


R PVC Restart PVC (User)
R PVC ID:xx

It executes the re-activation of the PVC connection identified by "ID:xx". The identifier value must be in the interval [0 - 63]. If the "ID:" does not match any PVC connection in the table, the message "PVC NOT PRESENT" will be displayed.

If the connection is in the ST:3 state (connection active), the following message will be displayed: "SESSION ALREADY CONNECTED"; if it is in any other state but ST:3 the message "COMMAND EXECUTED" will be shown.

The message "COMMAND EXECUTED" does not guarantee the PVC connection to be actually activated. In fact eventual errors and/or conflicts are detected only in subsequent procedures.

It is reccommended to use the command D PVC to verify the PVC connection state.

COR Connections top


C C Clear Connection (Administrator)
C C PO:xxx SES:yyy

Clear the "SES:yyy" session relating to the "PO:xxx" port. The specified port value must be in the interval [0 - 999], the session value in [1 - 255].

If the session, when the command is going to be executed, is really connected, the following message will be shown: "COMMAND EXECUTED"; if it is not connected this message will he shown: "SESSION NOT CONNECTED".

If the specified session is SVC, then X.25 Clear Request packets, with cause and diagnostic codes F0,A2, will be sent to both communication sessions.

If the session is defined in a PVC connection, this last one will be closed and subsequently opened again. The event "PvcCloseTx" (with cause and diagnostic codes F0,A2) followed by the "PvcOpenTx" will be recorded in the Events Log (Debug Log), for both PVC connection sessions.

If the "SES:yyy" identifier is not in the allowed interval of session defined for that port, the error message "SESSION NOT PRESENT" will be displayed.

The reopening of the PVC connection is carried out reading the parameters from the PVC table, as a result eventual changes are immediately activated.

If during the activation any error and/or parameter conflict occurs, the PVC connection won't be activated and its new state will be ST:1 (i.e. PVC connection not valid).

To activate it again, it is needed to fix the error and execute the command R PVC.

The event "PvcCloseTx" always generates a X.25 Reset packet with cause and diagnostic codes F0,40, without concern what the codes recorded in the Events Log (Debug Log) are.

In the same way the event "PvcOpenTx" always generates a X.25 Reset packet with cause and diagnostic codes F0,00.


D C Display Connections (User)
D C PO:A
D C PO:xxx [SES:yyy]

It shows the communication sessions state for the specified port(s), if working (running).

By specifying "D C PO:A", the sessions of all the ports actually working will be displayed.

If it is specified only the port number and the session is omitted, this command will show all the communication sessions for the "PO:xxx" port. Port number must be in the interval [0 - 999].

If the requested port is not present or not working, an error message will be displayed: "PORT NOT PRESENT OR NOT RUNNING".

If the port is not linked (served by) to the Connection Oriented Router, the command will shown this error message: "COMMAND NOT ALLOWED FOR THAT PORT".

By specifying a session value, which has to be in the interval [1 - 255], the command will show only the information relating to the communication session requested.

If the requested session is not present, the following error message will be displayed: "SESSION NOT PRESENT".

To have more detailed description of the shown information, please refer to the supervision functionalities section.


D CE Display Connections in extended format (User)
D CE PO:A
D CE PO:xxx [SES:yyy]

It shows the communication sessions state for the specified, if working (running), port(s). Information is displayed by an extended format.

By specifying "D CE PO:A", the sessions of all the ports actually working will be displayed.

If it is specified only the port number and the session is omitted, this command will show all the communication sessions for the "PO:xxx" port. Port number must be in the interval [0 - 999].

If the requested port is not present or not working, an error message will be displayed: "PORT NOT PRESENT OR NOT RUNNING".

If the port is not linked (served by) to the Connection Oriented Router, the command will shown this error message: "COMMAND NOT ALLOWED FOR THAT PORT".

By specifying a session value, which has to be in the interval [1 - 255], the command will show only the information relating to the communication session requested.

If the requested session is not present, the following error message will be displayed: "SESSION NOT PRESENT".

To have more detailed description of the shown information, please refer to the supervision functionalities section.


C CODE Clear Codes (Administrator)
C CODE PO:xxx

It sets the cause and diagnostic codes to the default value (F0,B0) for all the sessions of the specified port (if it is working).
Port number must be in the interval [0 - 999].

If command execution is successful the message "COMMAND EXECUTED" will be displayed.

This command works only on "RUNNING" ports; if they are not in such state an error message, "PORT NOT PRESENT OR NOT RUNNING", will be displayed.

Moreover, the ports, that the command can be executed on, have to be linked the Connection Oriented Router, otherwise the following message will be displayed: "COMMAND NOT ALLOWED FOR THAT PORT".

printPrint this page