User Datagram Protocol (UDP)

Configuration of the udp port
Statistics of the udp ports


The UDP port of Abilis CPX implements the homonymous protocol for TCP/IP networks, which provides a transport service of Connection-Less type.

The protocol User Datagram Protocol (UDP) has functionalities less developed compared to the TCP one, without low control and capability of control and restore the correct data flow in the communication.

Within the Abilis CPX, the UDP port is used by the application services of the TCP/IP family, such as the RIP or SNMP ports. The UDP port uses, at its lower level, the network service provided by the IP Router port.

Configuration of the UDP port top

The UDP port is labelled within the Abilis CPX by the acronym "UDP" and it is provided with the parameters described in the following section:

Here is how to display parameters of UDP ports. Shown value are only examples.

[18:38:04] ABILIS_CPX: D P PO:902

PO:902 ------------------------------------------------------------------------
UDP    CHK:YES  reas-dg-num:10   reas-dg-size:2200                             

All changes made on the UDP port parameters, displayed by low case characters, can be activated only restarting the system.

Detail of the UDP port parameters


CHK: Checksum control activation
YES NO, YES

It activates the control of the Checksum field of the UDP datagrams.


reas-dg-num: Number of reassembly buffers
10 2 - 100

Maximum number of incomplete datagrams buffered in reassembler.


reas-dg-size: Size of a single buffer reassembler
2200 576 - 32768

Maximum size of a reassembled datagram.

Statistics of the UDP ports top

How to check the state and statistics of the UDP ports through the command D S.

[18:38:04] ABILIS_CPX: D S PO:902

PO:902 ------------------------------------------------------------------------
UDP    ID  Lsn  LocPort
       ------------------------------------------------------------------------
       1   1    123
       2   2    161
       3   3    2114
       4   4    58072
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       FRM        |     107670|      95185|NO-PORT    |      15129|           |
       CHK-ERR    |          0|           |ERR        |          0|           |
       LOST       |          0|           |
       ------------------------------------------------------------------------

Extended statistics are also available for the UDP ports. Here is an example on how to check them using the command D SE:

[18:38:04] ABILIS_CPX: D SE PO:902

PO:902 ------------------------------------------------------------------------
UDP    --- Cleared 003:22:25:43 ago, on 12/05/2000 at 12:11:38 ----------------
       ID  Lsn  LocPort
       ------------------------------------------------------------------------
       1   1    123
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       FRM        |          0|          0|LOST       |          0|           |
       CHAR       |          0|          0|
       ------------------------------------------------------------------------
       2   2    161
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       FRM        |          0|          4|LOST       |          0|           |
       CHAR       |          0|        594|
       ------------------------------------------------------------------------
       3   3    2114
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       FRM        |      92457|      95097|LOST       |          0|           |
       CHAR       |    1682538|    1690714|
       ------------------------------------------------------------------------
       4   4    58072
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       FRM        |         96|         96|LOST       |          0|           |
       CHAR       |       5760|       5760|
       ------------------------------------------------------------------------

In both shown examples, there are two applicative ports requesting the UDP service. If no port of the upper level is requesting the UDP service, the following message will be shown: "No UDP connections".

The information "Cleared DDD:HH:MM:SS ago, at DD/MM/YYYY HH:MM:SS", referred by the extended statistics, shows the time interval elapsed from the last reset of statistics (by the format "days:hours:minutes:seconds") and date/time of its execution (by the format "day:month:year" and "hours:minutes:seconds").

Detail of the state fields and statistics of the UDP ports


ID: Identifier of the UDP session
1 - 255

It identifies the UDP session.


LSN: Local identifier given to the session by the UDP port
1 - 255

It identifies the Local (Local Session Number) identifier given to the session by the UDP port.


LocPort: Number of the IP local port used by the UDP connection
0 - 65535

It shows the number of the IP local port used by the UDP connection.


FRM: Overall number of datagrams received/sent
0 - 4.294.967.295

The counter FRM (INPUT) is incremented every time a frame is received, while the FRM (OUTPUT) one every time it is sent.


NO-PORT: Overall number of datagrams discarded because of destination port value
0 - 4.294.967.295

The counter NO-PORT (INPUT) is incremented every time the UDP port receives and discards a datagram containing a destination port value for which no Abilis CPX application is active.


LOST: Overall number of datagrams discarded
0 - 4.294.967.295

The counter LOST (INPUT) is incremented every time the UDP port receives and discards a datagram because the upper application level port is not ready to receive.


ERR: Overall number of bad datagrams received in all the sessions
0 - 4.294.967.295

The counter ERR (INPUT) is incremented every time a datagram, containing an error (e.g. with a bad length) is received.


CHK-ERR: Overall number of checksum errors detected during reception of segments
0 - 4.294.967.295

The counter CHK-ERR (INPUT) is incremented every time a segment, containing a checksum error, is received.

Detail of the extended statistics of the UDP ports


ID: These statistics are the same shown in basic command and already explained
LSN:
LocPort:
FRM:
LOST:

CHAR: Number of characters received/sent
0 - 4.294.967.295

The counter CHAR (INPUT) is incremented every time a frame is received, while the counter CHAR (OUTPUT) every time a frame is sent.

printPrint this page