display pppoe statistics

Function

The display pppoe statistics command displays statistics about PPPoE packets.

This command is supported only on the NetEngine 8000 F1A.

Format

display pppoe statistics { interface { interface-name | interface-type interface-num } | slot slot-id }

Parameters

Parameter Description Value
interface interface-type

Displays statistics about PPPoE packets on a specified interface type.

-

interface interface-num

Displays statistics about PPPoE packets on a specified interface number.

-

slot slot-id

Displays statistics about PPPoE packets on a slot in a specified slot.

The value is a string of 1 to 15 case-sensitive characters, spaces not supported.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
ppp debug

Usage Guidelines

Usage Scenario

The display pppoe statistics command can be used to display detailed information about PPPoE packets.

Only a BAS interface or the slot where a BAS interface resides can be specified in the command. Otherwise, the system will not display command output.

Precautions

In VS mode, this command is supported only by the admin VS.

The interface or slot ID specified in this command must be a BAS interface or the slot ID of a BAS interface. Otherwise, no information is displayed after you run this command.

The command run on the main interface displays statistics about the main interface.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display statistics about PPPoE packets on the slot in slot 1.
<HUAWEI> display pppoe statistics slot 1
---------------------------------------------------------------------
                       PPPoE Statistic Information
                                                 Slot:  1
  ---------------------------------------------------------------------
 ACTIVE_SESSION      : 3            TOTAL_SESSION       : 3            
                                                                       
 RECV_PADI_PKT       : 6            DISCARD_PADI_PKT    : 2            
 SEND_PADO_PKT       : 4                                               
 RECV_PADR_PKT       : 4            DISCARD_PADR_PKT    : 1            
 SEND_PADS_PKT       : 3            DISCARD_PADR_SAMEMAC: 0            
 SEND_NULL_PADS_PKT  : 0                                               
 RECV_PADT_PKT       : 0            DISCARD_PADT_PKT    : 0            
 SEND_PADT_PKT       : 0                                               
 SEND_PADM_PKT       : 0                                               
 SEND_PADM_URL_PKT   : 0                                               
 SEND_PADM_MOTM_PKT  : 0                                               
 SEND_PADN_PKT       : 0                                               
                                                                       
 RECV_SESSION_PKT    : 9            DISCARD_SESSION_PKT : 0            
 SEND_SESSION_PKT    : 9                                               
 RECV_PKT            : 19           DISCARD_PKT         : 3            
 DISCARD_PKT_SPEC    : 0                                               
 --------------------------------------------------------------------- 
                          Invalid PAD Packets                          
 --------------------------------------------------------------------- 
 Invalid Version             : 0                                       
 Invalid PAD Code            : 0                                       
 Invalid PAD Tags            : 0                                       
 Invalid PAD Tag length      : 0                                       
 Invalid PAD Type            : 0                                       
 Invalid PADI Session        : 0                                       
 Invalid PADR Session        : 0                                       
 Invalid PAD packet length   : 0                                       
 Other Invalid PAD packets   : 0                                       
 Total Invalid PAD packets   : 0                                       
 ---------------------------------------------------------------------
Table 1 Description of the display pppoe statistics command output
Item Description
ACTIVE_SESSION

Number of active sessions.

TOTAL_SESSION

Total number of active and inactive sessions.

RECV_PADI_PKT

Number of received PADI packets.

DISCARD_PADI_PKT

Number of discarded PADI packets.

SEND_PADO_PKT

Number of sent PADO packets.

RECV_PADR_PKT

Number of received PADR packets.

DISCARD_PADR_PKT

Number of discarded PADR packets, the number of the discarded PADR packets of the same mac user is not included.

SEND_PADS_PKT

Number of sent PADS packets.

SEND_NULL_PADS_PKT

Number of null PADS packets that are sent.

RECV_PADT_PKT

Number of received PADT packets.

DISCARD_PADT_PKT

Number of discarded PADT packets.

SEND_PADT_PKT

Number of sent PADT packets.

SEND_PADM_PKT

Number of sent PADM packets.

SEND_PADM_URL_PKT

Number of sent PADM packets carrying the URL.

SEND_PADM_MOTM_PKT

Number of sent PADM packets carrying the MOTM.

SEND_PADN_PKT

Number of sent PADN packets.

RECV_SESSION_PKT

Number of received session packets.

DISCARD_SESSION_PKT

Number of discarded session packets.

SEND_SESSION_PKT

Number of sent session packets.

RECV_PKT

Number of total received packets.

DISCARD_PKT

Number of total discarded packets.

Invalid Version

Number of control packets received with an invalid version.

Invalid PAD Code

Number of control packets received with an invalid code.

Invalid PAD Tags

Number of control packets received with invalid tags.

Invalid PAD Tag length

Number of control packets received with an invalid tag length.

Invalid PAD Type

Number of control packets received with an invalid type.

Invalid PADI Session

Number of invalid PPPoE Active Discovery Initiation sessions.

Invalid PADR Session

Number of invalid PPPoE Active Discovery Request sessions.

Invalid PAD packet length

Number of control packets received with an invalid packet length.

Other Invalid PAD packets

Number of PAD packets discarded due to other errors.

Total Invalid PAD packets

Total number of invalid control packets received on the interface.

DISCARD_PADR_SAMEMAC

Number of discarded PADR packets of the same mac user.

Slot

Slot.

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