R2511-HP MSR Router Series Layer 2 - WAN Command Reference(V5)

46
ppp compression iphc rtp-connections
Use ppp compression iphc rtp-connections to set the maximum number of connections allowed by RTP
header compression on an interface.
Use undo ppp compression iphc rtp-connections to restore the default, which is 16.
Syntax
ppp compression iphc rtp-connections number
undo ppp compression iphc rtp-connections
Views
Interface view
Default command level
2: System level
Parameters
number: The maximum number of connections allowed by RTP header compression, in the range of 3 to
1000.
Usage guidelines
RTP is connection-oriented and a link can accommodate multiple RTP connections. With RTP header
compression enabled, the compression algorithm maintains the information about each connection in
the memory. By setting the maximum number of connections allowed by RTP header compression, you
can limit the memory used by the compression algorithm. For example, if you limit RTP connections to
three, the packets on the fourth RTP connection will not be compressed.
After executing the ppp compression iphc rtp-connections command, you must shut down and then bring
up the interface for the new setting to take effect. If the configuration is for an MP bundle, you must shut
down and then bring up all the MP member interfaces.
Examples
# Set the maximum number of connections allowed by RTP header compression to 10 on interface serial
2/0.
<Sysname> system-view
[Sysname] interface serial 2/0
[Sysname-Serial2/0] ppp compression iphc rtp-connections 10
ppp compression iphc tcp-connections
Use ppp compression iphc tcp-connections to set the maximum number of connections allowed by TCP
header compression.
Use undo ppp compression iphc tcp-connections to restore the default, which is 16.
Syntax
ppp compression iphc tcp-connections number
undo ppp compression iphc tcp-connections
Views
Interface view