R3303-HP HSR6800 Routers Layer 2 - WAN Command Reference
77
Examples
# Enable IP header compression on interface Serial 4/2/0.
<Sysname> system-view
[Sysname] interface serial 4/2/0
[Sysname-Serial4/2/0] ppp compression iphc
Related commands
• ppp compression iphc rtp-connections
• ppp compression iphc tcp-connections
ppp compression iphc rtp-connections
Use ppp compression iphc rtp-connections to set the maximum number of connections for which an
interface can perform RTP header compression.
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: 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.
Usage guidelines
RTP is a connection-oriented protocol. An interface 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 three, RTP
header compression only applies to a maximum of three RTP connections.
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 for which interface serial 4/2/0 can perform RTP header
compression to 10.
<Sysname> system-view
[Sysname] interface serial 4/2/0
[Sysname-Serial4/2/0] ppp compression iphc rtp-connections 10