HP Comware 5 Debug Manual Vol 2
debugging hdlc compression stac
Use debugging hdlc compression stac to enable debugging for packet compression on an HDLC link.
Use undo debugging hdlc compression stac to disable debugging for packet compression on an HDLC
link.
Syntax
debugging hdlc compression stac { in | in-out | out } [ interface interface-type interface-number ]
undo debugging hdlc compression stac { in | in-out | out } [ interface interface-type interface-number ]
Default
Debugging for packet compression is disabled on an HDLC link.
Views
User view
Default command level
1: Monitor level
Parameters
in: Debugging for inbound compressed packets.
in-out: Debugging for both inbound and outbound compressed packets.
out: Debugging for outbound compressed packets.
interface interface-type interface-number: Specifies an interface by its type and number.
Usage guidelines
Table 6 describes output fields and messages for the debugging hdlc compression stac command.
Table 78 Output from the debugging hdlc compression stac command
Field
Description
I Inbound packets.
O Outbound packets.
Length Packet length.
STAC Address Address type of an HDLC packet:
• 0x2F—Compressed unicast packet.
• 0xAF—Compressed multicast packet.
Protocol Network protocol carried by an HDLC link.
Examples
# Enable debugging for the inbound packets compressed by STAC on Serial 2/0 of Router A. Output
similar to the following example is generated when HDLC is enabled on the interfaces of Router A and
the interfaces of Router B.
<RouterA> debugging hdlc compression stac in interface serial 2/0
*Nov 21 16:41:01:512 2007 H3C HDLC/7/debug2:Serial2/0 Receive STAC packet.
*Nov 21 16:41:11:515 2007 H3C.46 HDLC/7/debug2:Serial2/0 I Length 56, STAC Address 0x2F,
Protocol IP
// An IP packet using STAC compression from the remote end was received.
97