VJ header compression applies to TCP headers only.
Procedure
Optionally, use the ip tcp compression-connections command to control the number of TCP header compression connections supported on the interface.
Use the no form of this command to restore the default value of 16 connections.
For example:
Gxxx-001(config-if:Dialer 1)# ip tcp compression-connections 24
Done!
Use the ip tcp header-compression command to enable TCP header compression on the current interface.
The compression method employed is the VJ compression.
Note:
The ip rtp header-compression command always overrides the ip tcp header-compression command. Both commands enable TCP header compression, but they differ in the methods employed.
The ip tcp header-compression iphc-format command always overrides the ip tcp header-compression command, and activates IPHC-type compression.
For example:
Gxxx-001# interface dialer 1
Gxxx-001(config-if:Dialer 1)# ip tcp header-compression
Done!
Note:
After header compression is enabled, any change to a header compression parameter is effective.
To disable VJ TCP header compression on an interface, use the no ip tcp header-compression command in the interface context.