Skip to content
Related Articles
Open in App
Not now

Related Articles

Enable PPP Debug Command in PPP Configuration

Improve Article
Save Article
  • Last Updated : 24 Aug, 2020
Improve Article
Save Article

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 :

ALLRepresents all debug options that are available.
AUTHRepresents 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.
BAPPKTRepresents BAP packets that are usually received over or through the interface.
BAPSTATERepresents all transitions of BAP state machine.
CALLBACKRepresents all transitions of CALLBACK state machine.
DEMANDRepresents all packets that simply cause on-demand links to get activated.
ENCORepresents that ENCO state machine is generally required to control and handle attachment to and detachment simply from ENCO i.e. encryption/compression module.
LCPRepresents all transitions of LCP state machine.
NCPRepresents all transitions of NCP state machine.
PKTRepresents all packets that are being received and transmitted on the PPP interface.
UTILISATIONRepresents 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 
         [, ...] 
 [PORT=port-number] [TIMEOUT={NONE|1..4000000000}]


  • ppp-interface : Represents number of PPP interfaces.
  • port-number :Represents the total number of an asynchronous port on the router.
My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!