R3303-HP 6600/HSR6600 Routers Layer 2 - WAN Command Reference Guide

77
Usage guidelines
Enabling or disabling IP header compression enables or disables both RTP header compression and TCP
header compression.
To use IP header compression, you must enable it on both sides of a PPP link.
After you enable IP header compression on VT and Dialer interfaces, ISDN and asynchronous dialer
interfaces, you must shut down and then bring up the interfaces by using the shutdown and undo
shutdown commands for the configuration to take effect.
After you enable IP header compression on a MP bundle, you must shut down and then bring up all the
MP member interfaces by using the shutdown and undo shutdown commands for the configuration to
take effect.
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.