ip rtp header-compression

Last Updated : Nov 06, 2012 |

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

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.

If TCP compression was enabled on the current interface using the ip tcp header-compression command and not the ip rtp header-compression command, then no ip rtp header-compression does not disable TCP compression on the interface.

Syntax

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

Parameters

Parameter

Description

Possible Values

Default Value

iphc-format

Keyword specifying the header compression format.

This command activates IPHC compression whether or not you specify the iphc-format parameter.

The only exception is the Frame Relay non-IETF interface. For this interface, the iphc-format parameter is invalid and the ip rtp header-compression command enables compression for RTP headers only, in non-IETF mode.

Note:

Non-IETF encapsulation is compatible with other vendors.

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 RTP and TCP header compression on a Serial interface:

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