ip tcp header-compression

Last Updated : Nov 06, 2012 |

Enables TCP header compression on the current interface. Use no ip tcp header-compression to disable both RTP and TCP compression on the current interface.

Syntax

[no] ip tcp header-compression [iphc-format]

Parameters

Parameter

Description

Possible Values

Default Value

iphc-format

Keyword specifying the header compression format.

  • For a PPP or Dialer interface, specifying the iphc-format parameter activates IPHC compression, while not specifying the command activates VJ compression (unless IPHC compression is already active)

  • For a Frame Relay IETF interface, you must specify the iphc-format parameter in order to activate compression. IPHC compression is then activated.

  • For a Frame Relay non-IETF interface, the ip tcp header-compression command activates VJ compression. The iphc-format parameter is not accessible since IPHC compression is not supported.

User level

read-write

Context

interface:Serial (DS1 PPP L2, DS1 PPP L2-L3, DS1 FR-SUB L2, DS1 FR-SUB L2-L3, USP PPP L2, USP PPP L2-L3), Dialer (L2, L2-L3, L3)

Example

To enable TCP header compression on Serial interface 3/1:1.1:

Gxxx-001(if:Serial 3/1:1.1) ip tcp header-compression