R0106-HP MSR Router Series Layer 2 - WAN Command Reference(V7)

14
Syntax
ppp compression iphc tcp-connections number
undo ppp compression iphc tcp-connections
Default
An interface can perform TCP 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 TCP header
compression. The value range for this argument is 3 to 256.
Usage guidelines
TCP is a connection-oriented protocol. A link 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 3, TCP
header compression only applies to a maximum of three TCP 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 and packets are encapsulated in standard
format. The configuration is removed after IPHC is disabled.
Examples
# Set the maximum number of connections for which interface Serial 2/1/0 can perform TCP 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 tcp-connections 10
Related commands
ppp compression iphc enable
ppp ipcp dns
Use ppp ipcp dns to configure the primary and secondary DNS server IP addresses to be allocated in PPP
negotiation.
Use undo ppp ipcp dns to cancel the configuration.
Syntax
ppp ipcp dns primary-dns-address [ secondary-dns-address ]
undo ppp ipcp dns primary-dns-address [ secondary-dns-address ]