debugging ppp packet

Function

The debugging ppp packet command enables PPP packet debugging.

The undo debugging ppp packet command disables PPP packet debugging.

By default, PPP packet debugging is disabled.

This command is supported only on the NetEngine 8000 F1A.

Format

debugging ppp packet { interface { interface-name | interface-type interface-num } [ pe-vlan pevlan-id [ ce-vlan cevlan-id ] ] | mac-address macaddress }

undo debugging ppp packet { interface { interface-name | interface-type interface-num } [ pe-vlan pevlan-id [ ce-vlan cevlan-id ] ] | mac-address macaddress }

Parameters

Parameter Description Value
interface interface-type interface-num

Specifies the interface type and number.

-

interface-name

Specifies the interface name.

-

pe-vlan pevlan-id

Specifies an outer VLAN ID.

The value is an integer ranging from 1 to 4094.

ce-vlan cevlan-id

Specifies an inner VLAN ID.

The value is an integer ranging from 1 to 4094.

mac-address macaddress

Specifies a MAC address.

The value is a 12-digit hexadecimal number, in the format of H-H-H. Each H is 4 digits. If an H contains fewer than 4 digits, the left-most digits are padded with zeros. For example, e0 is displayed as 00e0.

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
pppoebras debug

Usage Guidelines

Usage Scenario

To enable PPP packet debugging based on an interface, inner or outer VLAN ID, or MAC address in the PPPoE session phase, run the debugging ppp packet command.

Example

# Disable debugging of PPP packets with a specified MAC address.
<HUAWEI> undo debugging ppp packet mac-address 4-5-6
# Disable debugging of PPP packets on an interface.
<HUAWEI> undo debugging ppp packet interface GigabitEthernet 0/1/2
# Enable debugging of PPP packets with a specified MAC address.
<HUAWEI> debugging ppp packet mac-address 4-5-6
# Enable debugging of PPP packets on an interface.
<HUAWEI> debugging ppp packet interface GigabitEthernet 0/1/2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >