show ip tcp header-compression

Last Updated : Nov 06, 2012 |

Displays TCP header compression statistics for a specific interface. If no interface is specified, it shows TCP header compression statistics for all interfaces.

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 Dialer 1:
  Rcvd:    0 Full Headers, 0 Compressed, 0 Errors
  Sent:    0 Full Headers, 0 Compressed,
           0 Bytes Saved, 0 Bytes Sent,
           1.00 Efficiency Improvement Factor
  Connect: Inactive, 16 Rx Slots, 16 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

  • Tx Slots — the number of TCP sessions to compress