HP Comware 5 Debug Manual Vol 3

Parameters
receive: Specifies debugging for BPDU packets received.
send: Specifies debugging for BPDU packets sent.
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
Use the receive or send, and terminal or app keywords to enable or disable packet debugging in a
specific direction on a specific POS terminal or application.
Special fields of the POS packet include the following:
STX.
PktLen (packet length).
ID (ID of the Transport Protocol Data Unit ID, TPDU ID).
DST (destination address of the TPDU).
SRC (source address of the TPDU).
EXT.
CRC (cyclic redundancy check).
If a received packet is incomplete, fields that contain no data are displayed as 0. If a received packet is
longer than 32 bytes, only the first 32 bytes are displayed.
Examples
# Enable POS access packet debugging. When Terminal 2 communicates with the POS terminal device
in FCM mode, and is mapped to application 1 in TCP connection mode, output similar to the following
example is generated:
<Sysname> debugging posa packet
*May 13 14:56:45:891 2008 H3C POSA/7/PACKET:
Received 584 bytes from fcm terminal 2.
ID(0x60) DST(0xaaaa) SRC(0x1111)
Total length: 584 Offset: 0, partial data as follows:
0x000: 60 aa aa 11 11 30 6d 1b 5b 30 30 6d 61 6e 61 63
0x010: 6f 6e 64 61 2d 6b 73 2e 63 66 67 1b 5b 30 30 6d.
// POS access received a 584-byte packet.
249