Thursday, March 09, 2006

 

Configuring data compression on PPP link. (Question #33)

Consider two routers connected back-to-back via serial links with PPP encapsulation. The links are already up. You decide to configure STAC data compression on the link and so you enter configuration mode on the routers at either end and type in compress stac under the interface configuration.

However, when you then issue a show compress command you see that compression is not enabled. Here is the output from one router

R1#sh runn int s 2
Building configuration...

Current configuration : 112 bytes
!
interface Serial2
ip address 10.10.10.1 255.255.255.0
encapsulation ppp
no keepalive
compress stac
end

R1# show compress
Serial2
Compression not active
uncompressed bytes xmt/rcv 0/0
compressed bytes xmt/rcv 0/0
1 min avg ratio xmt/rcv 0.000/0.000
5 min avg ratio xmt/rcv 0.000/0.000
10 min avg ratio xmt/rcv 0.000/0.000
no bufs xmt 0 no bufs rcv 0
resyncs 0


What is the problem here? Why isn't compression getting enabled?

Comments:
Hi,

I am going to answer this, because I just had this problem and couldn't find the answer. Probably everyone learns right off the bat, when you make a change to an interface, it is a good idea to reset the interface to force the changes through. One does this via the "no shutdown" command in the global configuration of that interface.

For me, it was that simple to go from "Compression not active" to "Software compression enabled."

Cisco also says it is a good idea to check your CPU utilization and make sure it is < 65%. You do this with a: show process cpu
 
I would like to share a list of Cisco exam-related articles and tips, at 100Questions Exam Portal (http://www.100qns.com) . CISCO 640-822 CCENT (100 Questions) is the Cisco Certified Networking Entry Technician exam, and covers the skills required for entry-level network support positions, and is the starting point for many networking careers. CCENT is the first step towards CCNA, and our exam volume prepares you to ace your exam.

CISCO CCNA Exam (100 Questions), or the Cisco Certified Network Associate validates the ability to install, configure, operate and troubleshoot medium-sized routed and switched networks. This includes basic mitigation of security threats, introduction to wireless networking concepts and terminology, and performance-based skills.

The other good thing is that you can test your Cisco knowledge and prepare for the exam via the exam library, which contains free-to-try exam questions. The Cisco reference section could be accessed from the drop-down menu, and because the portal covers several topics, it could be confusing initially due to the enormous amount of data, but if you spend some time navigating the contents you might be well-rewarded!

Another good site (if you need another one) is Exam Fight, at http://www.examfight.com

Hope this helps!

Susan
 
Post a Comment

Links to this post:

Create a Link



<< Home

This page is powered by Blogger. Isn't yours?