R0106-HP MSR Router Series Layer 2 - WAN Command Reference(V7)
12
[Sysname-Serial2/1/0] ppp chap user Root
Related commands
ppp authentication-mode chap
ppp compression iphc enable
Use ppp compression iphc enable to enable IP header compression.
Use undo ppp compression iphc enable to disable IP header compression.
Syntax
ppp compression iphc enable [ nonstandard ]
undo ppp compression iphc enable
Default
IP header compression is disabled.
Views
Interface view
Predefined user roles
network-admin
Parameters
nonstandard: Specifies the nonstandard encapsulation format. If this keyword is not specified, packets
are encapsulated in standard format. This keyword must be specified when the device communicates
with a non-HP device.
Usage guidelines
IPHC includes RTP header compression and TCP header compression.
Enabling or disabling IPHC enables or disables both RTP header compression and TCP header
compression.
To use IPHC, you must enable it on both sides of a PPP link.
When you enable IPHC on a VT, dialer, or ISDN interface, the setting does not take effect. For the setting
to take effect, you must shut down and then bring up the interface or its bound physical interface by using
the shutdown and undo shutdown commands.
Examples
# Enable IP header compression on interface Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] ppp compression iphc enable
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.