HP Comware 5 Debug Manual Vol 3
POS terminal access debugging commands
The output description tables in this document only contain fields and messages that require an
explanation.
debugging posa all
Use debugging posa all to enable all POS access debugging.
Use undo debugging posa all to disable all POS access debugging.
Syntax
debugging posa all [ terminal terminal-id | app app-id ]
undo debugging posa all [ terminal terminal-id | app app-id ]
Default
All POS access debugging is disabled.
Views
User view
Default command level
2: System level
Parameters
terminal-id: Specifies a POS terminal by its ID in the range of 1 to 255.
app-id: Specifies a POS application by its ID in the range of 1 to 31.
Usage guidelines
For the command output description, see Table 1 and Table 2.
Examples
# Enable all types of POS access debugging. When a listening port is created on terminal 2 that already
exists, output similar to the following example is generated:
<Sysname> debugging posa all
*Oct 18 16:23:19:486 2008 Sysname POSA/7/EVENT:
Terminal 2: Received ASYN_READ message from socket(12).
// Terminal 2 received an ASYN_READ message from the socket.
*Oct 17 20:42:16:880 2008 H3C POSA/7/ERROR:
App 2: Failed to send flow packet, because the connect state(2) is not up.
// Application 2 failed to send the asynchronous packet, because the interface was not up.
*Oct 18 16:23:19:486 2008 Sysname POSA/7/PACKET:
Received 10 bytes from tcp terminal 2.
PktLen(0x0008) ID(0x60) DST(0xaaaa) SRC(0x1111)
Total length: 10 Offset: 0, partial data as follows:
0x000: 00 08 60 aa aa 11 11 11 11 11
// A 10-byte packet was received from TCP terminal 2.
244