show ip rtp header-compression

Last Updated : Nov 06, 2012 |

Displays the RTP header compression statistics for a specific interface. If no interface is specified, statistics for all interfaces are displayed.

Syntax

show ip rtp header-compression [interface_name]

Parameters

Parameter

Description

Possible Values

Default Value

interface_name

The name of the interface

User level

read-only

Context

general

Example

To display RTP compression statistics for all interfaces:

Gxxx-001(super)# show ip rtp header-compression
IP RTP header compression statistics:
Interface Serial 3/1:1.1:
  Rcvd:    0 Full Headers, 0 Compressed, 0 Errors
  Sent:    9 Full Headers, 394 Compressed,
           8274 Bytes Saved, 14202 Bytes Sent,
           1.58 Efficiency Improvement Factor
  Connect: Active, 100 Rx Slots, 100 Tx Slots,
           Max Time 5, Max Period 256

Output fields

Name

Description

Rcvd

Information on received RTP packets, as follows:

  • Full Headers — the number of RTP packets with full headers received

  • Compressed — the number of RTP packets with compressed headers received

  • Errors — the number of packets discarded during de-compression due to errors

Sent

Information on sent RTP packets, as follows:

  • Full Headers — the number of RTP packets with full headers sent

  • Compressed — the number of RTP packets with compressed headers sent

  • Bytes Saved — the total saving in bytes due to compression

  • Bytes Sent — the total number of bytes sent after compression

  • Efficiency Improvement Factor — the improvement factor, calculated as (bytes saved + bytes sent)/ bytes sent (rounded to two decimal places)

Connect

Connection information, as follows:

  • Active/Inactive — whether RTP header compression is negotiated and working on this interface

  • Rx Slots — the number of RTP sessions to decompress

  • Tx Slots — the number of RTP sessions to compress

  • Max Time — the maximum number of seconds between two full header packets

  • Max Period — the maximum number of compressed packets sent between two full header packets