< Home

Maintaining PPP

After configuring PPP, you can run the display command to view the configuration. You can also enable the debugging function if necessary.

Displaying the PPP Configuration

After configuring PPP, you can run the display command to view the configuration.

You can display the PPP configurations by running the command listed in Table 1 in any view.

Table 1 Displaying the PPP configuration

Action

Command

Display the PPP configuration.

display interface [ interface-type [ interface-number ] ]

Debugging PPP

If PPP running faults occur, you can run the debugging commands in the user view to debug PPP, view the debugging information, and locate and analyze faults.

Before enabling the debugging, you must run the terminal monitor command in the user view to enable the terminal information display and the terminal debugging command in the user view to terminal debugging information display functions.

Enabling the debugging deteriorates system performance. After the debugging is complete, run the undo debugging all command to disable the debugging immediately.

For the description of the debugging commands, see Debugging Reference.

Table 2 lists the commands to debug PPP information.

Table 2 Debugging PPP

Action

Command

Enable the debugging of all PPP information.

debugging ppp all [ verbose ] [ interface interface-type interface-number ]

Enable the debugging of PPP control protocols.

core

debugging ppp { ccp | chap | ipcp | ipv6cp | lcp | pap } { all | error | event | packet [ verbose ] | state } [ interface interface-type interface-number ]

Enable the debugging of PPP EAP packets.

debugging ppp eap { all | error | event | packet [ verbose ] | state } [ interface interface-type interface-number ]

Enable the debugging of PPP packets.

debugging ppp { ip | ipv6 } packet [ verbose ] [ interface interface-type interface-number ]

Enable the debugging of PPP core events.

debugging ppp core event [ interface interface-type interface-number ]

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic