Please Whitelist This Site?

I know everyone hates ads. But please understand that I am providing premium content for free that takes hundreds of hours of time to research and write. I don't want to go to a pay-only model like some sites, but when more and more people block ads, I end up working for free. And I have a family to support, just like you. :)

If you like The TCP/IP Guide, please consider the download version. It's priced very economically and you can read all of it in a convenient format without ads.

If you want to use this site for free, I'd be grateful if you could add the site to the whitelist for Adblock. To do so, just open the Adblock menu and select "Disable on tcpipguide.com". Or go to the Tools menu and select "Adblock Plus Preferences...". Then click "Add Filter..." at the bottom, and add this string: "@@||tcpipguide.com^$document". Then just click OK.

Thanks for your understanding!

Sincerely, Charles Kozierok
Author and Publisher, The TCP/IP Guide


NOTE: Using software to mass-download the site degrades the server and is prohibited.
If you want to read The TCP/IP Guide offline, please consider licensing it. Thank you.

The Book is Here... and Now On Sale!

Read offline with no ads or diagram watermarks!
The TCP/IP Guide

Custom Search







Table Of Contents  The TCP/IP Guide
 9  TCP/IP Lower-Layer (Interface, Internet and Transport) Protocols (OSI Layers 2, 3 and 4)
      9  TCP/IP Network Interface Layer (OSI Data Link Layer) Protocols
           9  TCP/IP Serial Line Internet Protocol (SLIP) and Point-to-Point Protocol (PPP)
                9  Point-to-Point Protocol (PPP)
                     9  PPP Feature Protocols

Previous Topic/Section
PPP Feature Protocols
Previous Page
Pages in Current Topic/Section
1
2
Next Page
PPP Compression Control Protocol (CCP) and Compression Algorithms
Next Topic/Section

PPP Link Quality Monitoring/Reporting (LQM/LQR)
(Page 2 of 2)

LQR Counters

Assuming that the negotiation is successful, LQR will be enabled. A number of counters are set up that keep track of various link statistics, and a timer used to regulate the sending of quality reports over the link. Each time the timer expires a special link quality report is generated and sent in a PPP frame over the link. These are sent using the special PPP Protocol field hexadecimal value 0xC025.

Each counter holds information about a different statistic regarding the use of the link. Each of these counters is reset to zero when LQR is set up and then incremented each time a transmission is made or an event occurs that is relevant to the counter. The statistics tracked include the following:

  • The number of frames sent/received.

  • The number of octets (bytes) in all frames sent/received.

  • The number of errors that have occurred.

  • The number of frames that had to be discarded.

  • The number of link quality reports generated.

These counters are only reset at the start of the link, so they contain figures kept cumulatively over the life of the connection. The counters can be used in the absolute sense, meaning that the counter value itself is reported. Alternately, they can be expressed as relative (or delta) values, which represent the change since the last report. This is done when a report is received simply by subtracting the previous report's numbers from those in the current report.

Using Link Quality Reports

LQR specifies the quality reporting mechanism, but not specific standards for link quality, since these are so implementation-dependent. Based on the numbers in these reports, a device can decide for itself what conclusions to draw about link quality, and in turn what action to take, if any. For example:

  • Some devices might decide to shut down a link if the absolute number of errors seen in any report reaches a certain threshold.

  • Some might look at the trend in successive reporting periods and take action if they detect certain trends, such as an increase in the rate of discarded frames.

  • Some devices might just log the information and take no action at all.

Note that LQR aggregates its statistics for all higher-layer protocols transmitted over a particular link. It doesn't keep track of statistics for different higher-layer protocols separately (which makes sense, since the quality of the link shouldn't vary from one higher layer protocol to the next).


Previous Topic/Section
PPP Feature Protocols
Previous Page
Pages in Current Topic/Section
1
2
Next Page
PPP Compression Control Protocol (CCP) and Compression Algorithms
Next Topic/Section

If you find The TCP/IP Guide useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider purchasing a download license of The TCP/IP Guide. Thanks for your support!
Donate $2
Donate $5
Donate $10
Donate $20
Donate $30
Donate: $



Home - Table Of Contents - Contact Us

The TCP/IP Guide (http://www.TCPIPGuide.com)
Version 3.0 - Version Date: September 20, 2005

© Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.