Cisco MWR 2941 Router Command Reference, Release 15.0(1)MR
ip rtp header-compression
194
Cisco MWR 2941 Router Command Reference, Release 15.0(1)MR
OL-23890-01
header-compression command appears in the output of the show running-config command. Because
both RTP header compression and TCP header compression are enabled, both UDP packets and TCP
packets are compressed.
With the ietf-format keyword, any even destination port number higher than 1024 can be used. Valid
RTP packets that meet the criteria (that is, the port number is even and is higher than 1024) are
compressed using the compressed RTP packet format. Otherwise, packets are compressed using the
less-efficient compressed non-TCP packet format.
Note The header compression format (in this case, IETF) must be the same at both ends of the network. That
is, if you specify the ietf-format keyword on the local router, you must also specify the ietf-format
keyword on the remote router.
Support for Serial Lines
RTP header compression is supported on serial lines using Frame Relay, HDLC, or PPP encapsulation.
You must enable compression on both ends of a serial connection.
Unicast or Multicast RTP Packets
This command can compress unicast or multicast RTP packets; consequently, multicast backbone
(MBONE) traffic can also be compressed over slow links. The compression scheme is beneficial only
when you have small payload sizes, as in audio traffic.
Examples The following example enables RTP header compression on the Serial1/0 interface and limits the
number of RTP header compression connections to 10. In this example, the ietf-format keyword of the
ip rtp header-compression command is specified.
Router> enable
Router# configure terminal
Router(config)# interface t1/0
controller T1 0/4
Router(config-if)# encapsulation ppp
Router(config-if)# ip rtp header-compression ietf-format
Router(config-if)# ip rtp compression-connections 10
Router(config-if)# exit
In the following example, RTP header compression is enabled on the Serial1/0 interface and the optional
periodic-refresh keyword of the ip rtp header-compression command is specified:
Router> enable
Router# configure terminal
Router(config)# interface Serial1/0
Router(config-if)# encapsulation ppp
Router(config-if)# ip rtp header-compression ietf-format periodic-refresh
Router(config-if)# ip rtp compression-connections 10
Router(config-if)# exit
Related Commands Command Description
clear ip rtp header-compression Clears RTP header compression structures and statistics.
show ip rtp header-compression Displays RTP header compression statistics.
show running-config Displays the contents of the currently running
configuration file or the configuration for a specific
interface, or map class information.