background image
Point-to-Point Leased Lines 527
Configuration for PPP and HDLC compression is very straightforward. Consider Figure 8-2
and Example 8-2. A pair of routers is using a serial link and is configured for PPP STAC
compression.
Figure 8-2
Serial Link Configured for Compression
The configuration in Example 8-2, compared to a scenario without using compression, simply
requires that the interfaces on each end of the link have the same compression algorithm
enabled with the compress command. The show compress command in the example does not
have any particularly interesting numbers, mainly because of the lack of traffic in the network.
The 1-, 5-, and 10-minute averages are the transmit and receive compression ratios, which are
particularly useful for discovering whether the compression is effective. In fact, if most of the
Example 8-2
PPP Compression Configuration and Verification
! Seville's Pertinent configuration:
!
interface Serial1
ip address 10.1.11.253 255.255.255.0
encapsulation ppp
compress stac
! Mars's Pertinent configuration:
!
interface Serial1
ip address 10.1.11.1 255.255.255.0
encapsulation ppp
compress stac
!
Seville#show compress
Serial1
Software compression enabled
uncompressed bytes xmt/rcv 10710562/11376835
1 min avg ratio xmt/rcv 2.773/2.474
5 min avg ratio xmt/rcv 4.084/3.793
10 min avg ratio xmt/rcv 4.125/3.873
no bufs xmt 0 no bufs rcv 0
resets 0
Seville#show process
CPU utilization for five seconds: 15%/15%; one minute: 27%; five minutes: 26%
PID QTy PC Runtime (ms) Invoked uSecs Stacks TTY Process
1 Csp 31C084C 4024 13359 301 720/1000 0 Load Meter
10.1.3.0/24
10.1.2.0/24
10.1.2.0/24
Mars
Seville
s1
s1
ch08.fm Page 527 Monday, March 20, 2000 5:17 PM