Open In App

Enable PPP Debug Command in PPP Configuration

Last Updated : 24 Aug, 2020
Improve
Improve
Like Article
Like
Save
Share
Report

For specified Point-to-Point Protocol (PPP) interface, Enable PPP Debug Command, as name suggests, generally enables all of the debugging options. If PORT parameter was not specified, then debugging information or data is generally transmitted to port or telnet session from which command was usually entered, otherwise, it is transmitted to PORT parameter that is being specified.

There are several parameters included in this command. Some of the parameters are given below :

DEBUG parameter :
This parameter is generally required to specify which of debugging options are needed to be disabled. Value of this parameter is usually a single item or basically a comma-separated list of various items. Some of the Point-to-Point Protocol (PPP) debugging options are given in the below table :

Option Description
ALL Represents all debug options that are available.
AUTH Represents PPP Authentication. Authentication failure will be caused most commonly if LCP opens on a link or connection but network protocols simply remain in the CLOSED state.
BAPPKT Represents BAP packets that are usually received over or through the interface.
BAPSTATE Represents all transitions of BAP state machine.
CALLBACK Represents all transitions of CALLBACK state machine.
DEMAND Represents all packets that simply cause on-demand links to get activated.
ENCO Represents that ENCO state machine is generally required to control and handle attachment to and detachment simply from ENCO i.e. encryption/compression module.
LCP Represents all transitions of LCP state machine.
NCP Represents all transitions of NCP state machine.
PKT Represents all packets that are being received and transmitted on the PPP interface.
UTILISATION Represents utilization measurements simply for each of the lower layer interface and the overall utilization.

  • PORT parameter :
    This parameter is generally required to specify asynchronous port to which debug output is needed to be transmitted or sent. This usually enables debugging to get enabled in a script. Destination of the debugging output is calculated each time using this rule when this ENABLE PPP DEBUG command is entered each time.

  • TIMEOUT parameter :
    This parameter is generally required to specify time (seconds) after which debugging will come to an end or cease automatically. Default is set to NONE. Debugging should be manually disabled if NONE is specified by this parameter.

  • NUMPKTS parameter :
    This parameter is generally required to specify number of packets that are needed to be displayed just before debugging ceases simply for PKT debugging. Default is set to CONT. Packet debugging will get continue indefinitely and should be manually disabled if CONT is specified by this parameter.

Syntax –

ENABLE PPP=ppp-interface 
DEBUG={UTILISATION|CALLBACK|ENCO|NCP
        |AUTH|DEMAND|BAPPKT||BAPSTATE|LCP|ALL}
         [, ...] 
 [PORT=port-number] [TIMEOUT={NONE|1..4000000000}]
 [NUMPKTS={CONT|1..4000000000}]

Here,

  • ppp-interface : Represents number of PPP interfaces.
  • port-number :Represents the total number of an asynchronous port on the router.

Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads