Command Manual – User Access
H3C SecPath Series Security Products
Chapter 1 PPP Configuration Commands
1-19
1.2.9 ppp compression iphc tcp-connections
Syntax
ppp compression iphc tcp-connection number
undo ppp compression iphc tcp-connection
View
Interface view
Parameter
number
: The maximum connection number (from 3 to 256) of TCP compression mode
on the interface. By default, the
number
is 16.
Description
Use the
ppp compression iphc tcp-connection
command to configure the
connection number of TCP compression mode.
Use the
undo ppp compression iphc tcp-connection
command to restore the
default connection number of TCP compression mode.
TCP is connection oriented; the number of TCP connections that a link can
accommodate is relatively large. The use of compression however requires the system
to maintain some information for each connection when compressing headers. To
restrict the memory load generated by compression, you can use the
ppp
compression iphc tcp-connections
command to limit the number of
compression-enabled TCP connections to three for example. The packets on the fourth
TCP connection are not compressed as a result.
The configuration can become valid on an interface only after you perform the
shutdown
and then the
undo shutdown
operations on the interface. If the
configuration is for MPs, you should perform the operations on all the MPs.
Example
# Set the number of compression-enabled TCP connections to 10 on interface Dialer1.
[H3C-Dialer1] ppp compression iphc tcp-connections 10
1.2.10 ppp compression stac-lzs
Syntax
ppp compression stac-lzs
undo ppp compression stac-lzs