R2511-HP MSR Router Series Layer 2 - WAN Command Reference(V5)

45
Examples
# Enable VJ TCP header compression on interface Serial 2/0.
<Sysname> system-view
[Sysname] interface serial 2/0
[Sysname-Serial2/0] ip tcp vjcompress
ppp compression iphc
Use ppp compression iphc to enable IP header compression (TCP header compression and RTP header
compression mainly) on an interface.
Use undo ppp compression iphc to disable IP header compression.
Syntax
ppp compression iphc [ nonstandard ]
undo ppp compression iphc
Default
TCP header compression and RTP header compression are disabled.
Views
Interface view
Default command level
2: System level
Parameters
nonstandard: Specifies the nonstandard encapsulation format.
Usage guidelines
Once IP header compression is enabled, the header compression for TCP packets used to establish the
RTP session is also enabled. When IP header compression is disabled, so will the header compression for
TCP packets used to establish the RTP session. IP header compression must be enabled 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 2/0.
<Sysname> system-view
[Sysname] interface serial 2/0
[Sysname-Serial2/0] ppp compression iphc
Related commands
ppp compression iphc rtp-connections
ppp compression iphc tcp-connections