R0106-HP MSR Router Series Layer 2 - WAN Command Reference(V7)
13
Syntax
ppp compression iphc tcp-connections number
undo ppp compression iphc tcp-connections
Default
An interface can perform RTP header compression for a maximum of 16 connections.
Views
Interface view
Predefined user roles
network-admin
Parameters
number: Specifies the maximum number of connections for which an interface can perform RTP header
compression. The value range for this argument is 3 to 1000:
• When the number argument is set to a value less than or equal to 256, packets are compressed in
the format of COMPRESSED RTP 8.
• When the number argument is set to a value greater than 256, packets are compressed in the
format of COMPRESSED RTP 16.
Usage guidelines
RTP is a connection-oriented protocol. A link can accommodate multiple RTP connections.
RTP header compression occupies memory resources for maintaining connection information. This
command can limit memory resources used by compression. For example, if you set the limit to 3, RTP
header compression only applies to a maximum of three RTP connections.
After you execute this command, you must shut down and then bring up the interface to make the
command effective.
You can configure this command only when IPHC is enabled. The configuration is removed after IPHC is
disabled.
Examples
# Set the maximum number of connections for which interface Serial 2/1/0 can perform RTP header
compression to 10.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] ppp compression iphc enable
[Sysname-Serial2/1/0] ppp compression iphc rtp-connections 10
Related commands
ppp compression iphc enable
ppp compression iphc tcp-connections
Use ppp compression iphc tcp-connections to set the maximum number of connections for which an
interface can perform TCP header compression.
Use undo ppp compression iphc tcp-connections to restore the default.