In addition to the debug ppp command, there are other commands that are available for troubleshooting a PPP connection.
A good command to use when troubleshooting serial interface encapsulation is the debug ppp packet command, as shown in Figure 1. The figure example depicts packet exchanges under normal PPP operation, including LCP state, LQM procedures, and the LCP magic number.
Figure 2 displays the output of the debug ppp negotiation command in a normal negotiation, where both sides agree on NCP parameters. In this case, protocol types IPv4 and IPv6 are proposed and acknowledged. The debug ppp negotiation command enables the network administrator to view the PPP negotiation transactions, identify the problem or stage when the error occurs, and develop a resolution. The output includes the LCP negotiation, authentication, and NCP negotiation.
The debug ppp error command is used to display protocol errors and error statistics associated with PPP connection negotiation and operation, as shown in Figure 3. These messages might appear when the Quality Protocol option is enabled on an interface that is already running PPP.