Displays TCP header compression statistics for a specific interface. If no interface is specified, it shows TCP header compression statistics for all interfaces.
Prolog information
Metadata
Keywords:
Syntax
show ip tcp header-compression [interface_name]
Parameters
Parameter
Description
Possible Values
Default Value
interface_name
The name of the interface
User level
read-only
Context
general
Example
To display TCP header compression statistics for all interfaces:
Gxxx-001(super)# show ip tcp header-compression IP TCP header compression statistics: Interface Serial 3/1:1.1: Rcvd: 0 Full Headers, 0 Compressed, 0 Errors Sent: 85 Full Headers, 34 Compressed, 1139 Bytes Saved, 4335 Bytes Sent, 1.26 Efficiency Improvement Factor Connect: Active, 3 Rx Slots, 3 Tx Slots
Output fields
Name
Description
Rcvd
Information on received TCP packets, as follows:
Full Headers — the number of TCP packets with full headers received
Compressed — the number of TCP packets with compressed headers received
Errors — the number of packets discarded during de-compression due to errors
Sent
Information on sent TCP packets, as follows:
Full Headers — the number of TCP packets with full headers sent
Compressed — the number of TCP packets with compressed headers sent
Bytes Saved — the total saving in bytes due to compression
Bytes Sent — the total number of bytes sent after compression
Efficiency Improvement Factor — the improvement factor, calculated as (bytes saved + bytes sent)/ bytes sent (rounded to two decimal places)
Connect
Connection information, as follows:
Active/Inactive — whether TCP header compression is negotiated and working on this interface
Rx Slots — the number of TCP sessions to decompress