R3303-HP HSR6800 Routers Layer 2 - WAN Command Reference

78
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, which is 16.
Syntax
ppp compression iphc tcp-connections number
undo ppp compression iphc tcp-connections
Views
Interface view
Default command level
2: System level
Parameters
number: Specifies the maximum number of connections for which an interface can perform TCP header
compression. The value range for this argument is 3 to 256.
Usage guidelines
TCP is a connection-oriented protocol. An interface can accommodate multiple TCP connections.
TCP 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 TCP connections.
After executing the ppp compression iphc tcp-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 TCP
compression to 10.
<Sysname> system-view
[Sysname] interface serial 4/2/0
[Sysname-Serial4/2/0] ppp compression iphc tcp-connections 10
reset ppp compression iphc
Use reset ppp compression iphc to clear the IP header compression statistics on an interface.
Syntax
reset ppp compression iphc [ interface-type interface-number ]
Views
User view
Default command level
1: Monitor level