Chapter 5 Command Reference

ip rtp header-compression

ip rtp header-compression

To enable Real-Time Transport Protocol (RTP) header compression, use the ip rtp header-compressioninterface configuration command. To disable RTP header compression, use the no form of this command.

ip rtp header-compression [passive]

no ip rtp header-compression

Syntax Description

Defaults

Command Modes

Command History

passive

(Optional) Compresses outgoing RTP packets only if incoming RTP packets

 

on the same interface are compressed. This option is not applicable on PPP

 

links.

 

 

Disabled

Interface configuration

ReleaseModification

11.3

This command was introduced.

 

 

Usage Guidelines

If you use this command without the passive keyword, the software compresses all RTP traffic.

 

You can compress IP/UDP/RTP headers and IP/UDP headers to reduce the size of your packets.

 

Compressing headers is especially useful for RTP, because RTP payload size can be as small as 20 bytes,

 

and the uncompressed header is 40 bytes.

 

RTP header compression is supported on serial lines using PPP encapsulation. You must enable

 

compression on both ends of a serial connection.

 

 

Examples

The following example enables RTP header compression on fast ethernet interface 1 and limits the

 

number of RTP header compression connections to 10:

 

interface serial 0

 

encapsulation ppp

 

ip rtp header-compression

 

ip rtp compression-connections 10

Cisco MWR 1900 Mobile Wireless Edge Router Software Configuration Guide

 

78-13983-04

5-5

 

 

 

Page 57
Image 57
Cisco Systems 78-13983-04 Ip rtp header-compression, Syntax Description Defaults Command Modes Command History, Passive