debugging pppoe dcn

Function

The debugging pppoe dcn command enables debugging of the PPPoE DCN module.

The undo debugging pppoe dcn command disables debugging for the PPPoE DCN module.

By default, pppoe dcn debugging is disabled.

Format

debugging pppoe dcn { all | packet | event | error | process } [ interface { ifType ifName | intfName } ]

debugging pppoe dcn shell

undo debugging pppoe dcn { all | packet | event | error | process } [ interface { ifType ifName | intfName } ]

undo debugging pppoe dcn shell

Parameters

Parameter Description Value
all

Indicates all debugging.

-

packet

Indicates packet debugging.

-

event

Indicates event debugging.

-

error

Indicates error information debugging.

-

process

Indicates process debugging.

-

interface

Specifies an interface.

-

ifType

Specifies an interface type.

-

ifName

Specifies an interface number.

-

intfName

Specifies an interface name.

-

shell

Enables debugging of the pppoe dcn shell module.

-

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
pppoe debug

Usage Guidelines

Usage Scenario

If an error occurs during the PPPoE DCN running, run the debugging pppoe dcn command to enable debugging of the PPPoE DCN module. The debugging information helps locate the fault reason.

Example

# Enable debugging of the pppoe shell module.
<HUAWEI> debugging pppoe dcn shell
Feb  8 2014 11:10:48.197 HUAWEI %%01PPPOEDCN/6/PPP_Debug(d):CID=0x805f0489;PPPOE Dbg: Set dcn NEId 13101048.
# Enable all debugging of the PPPoE module.
<HUAWEI> debugging pppoe dcn all
Jan 20 2017 14:13:35.744 HUAWEI %%01PPPOEDCN/6/PPP_Debug(d):CID=0x805f0422;PPPOE Dbg: Pppoe receive a packet, ifindex:7, mac:00e0-fc12-3456, type:1, vlan:0 
Jan 20 2017 14:13:35.794 HUAWEI %%01PPPOEDCN/6/PPP_Debug(d):CID=0x805f0422;PPPOE Dbg: [ldmlib] recv packet of uiPipeId 524315, uiServiceId 26, uiState 0
Jan 20 2017 14:13:35.794 HUAWEI %%01PPPOEDCN/6/PPP_Debug(d):CID=0x805f0422;PPPOE Dbg: PPPOED_LDM_GetPktInfo, Pkt ifindex is 7, Pktlen is 16
Jan 20 2017 14:13:35.794 HUAWEI %%01PPPOEDCN/6/PPP_Debug(d):CID=0x805f0422;PPPOE Dbg: MsgType: 0 00 00 00 00 00 00 00 00   de 83 46 b0 10 00 00 00
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic