The display pppoe-server session command displays the status of and statistics about a PPPoE session.
display pppoe-server session { all | packet | statistic interface interface-type interface-number }
| Parameter | Description | Value |
|---|---|---|
| all | Displays all information of each PPPoE session. | - |
| packet | Displays packet statistics about each PPPoE session. | - |
| statistic | Views statistics about each PPPoE session. | - |
| interface-type interface-number | Specifies the type and number of an interface, this value is case-insensitive. | This parameter is case-insensitive. |
You can run the display pppoe-server session command to view the status of and statistics about an interface. Th command output helps you monitor traffic and diagnose faults.
# Display information about all PPPoE sessions.
<sysname> display pppoe-server session all
SID Intf State OIntf RemMAC LocMAC
1 Virtual-Template50:0 UP GigabitEthernet0/0/1 00e0.fc04.9dc5 00e0.fc07.4f72
Item |
Description |
|---|---|
SID |
Session Identifier |
Intf |
Corresponding virtual interface |
State |
Session status |
OIntf |
Corresponding Ethernet interface |
RemMAC (Remote MAC) |
MAC address of the peer end |
LocMAC (Local MAC) |
Local MAC address |
# Display packet statistics about the PPPoE session.
<sysname> display pppoe-server session packet SID RemMAC LocMAC InP InO InD OutP OutO OutD 1 00e0fc049dc5 00e0fc074f72 18385 183890 0 18385 183890 0 2 00e0fc049dc5 00e0fc074f72 18385 183890 0 18385 183890 0 3 00e0fc049dc5 00e0fc074f72 18385 183890 0 18385 183890 0 4 00e0fc049dc5 00e0fc074f72 18385 183890 0 18384 183878 0 5 00e0fc049dc5 00e0fc074f72 18384 183878 0 18384 183878 0 1 00e0fc000100 00e0fc12ffdf 18379 183823 0 18378 183842 0
Item |
Description |
|---|---|
SID |
Session ID |
RemMAC (Remote MAC) |
MAC address of the peer end |
LocMAC (Local MAC) |
Local MAC address |
InP (In Packets) |
Packet number to be received |
InO (In Octets) |
Number of received bytes |
InD (In Discards) |
Number of received invalid packets and discarded packets |
OutP (Out Packets) |
Number of sent packets |
OutO (Out Octets) |
Number of sent octets |
OutD (Out Discard) |
Number of sent invalid packets and discarded packets |