112
[RouterB-Serial2/0] fr compression iphc
[RouterB-Serial2/0] fr iphc tcp-include
[RouterC-Serial2/0] quit
# Configure a static route, setting the destination IP address to 10.1.1.1/24 and next hop IP
address to 12.1.1.1.
[RouterC] ip route-static 10.1.1.1 24 12.1.1.1
Verifying the configuration
# Telnet to Router C from Router A.
<RouterA> telnet 12.1.1.2
Trying 12.1.1.2 ...
Press CTRL+K to abort
Connected to 12.1.1.2 ...
******************************************************************************
* Copyright (c) 2004-2009 Hangzhou H3C Tech. Co., Ltd. All rights reserved. *
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
******************************************************************************
# Display FRF.20 compression statistics on Router B.
<RouterB> display fr iphc
Serial2/1 -DLCI:100
RTP header compression information:
Compression:
Total packets: 0 , Packets compressed: 0
Link searches: 0 , Search missed : 0
Bytes saved : 0 , Bytes sent : 0
Decompression:
Total packets: 0 , Packets compressed: 0
Errors : 0
Compression-connections: 16 , Decompression-connections: 16
Information of TCP header compression:
Compression:
Total packets: 31 , Packets compressed: 28
Link searches: 0 , Search Missed : 2
Bytes saved : 976 , Bytes sent : 314
Decompression:
Total packets: 0 , Packets compressed: 0
Errors : 0
Compression-connections: 16 , Decompression-connections: 16