Command Manual – User Access
H3C SecPath Series Security Products
Chapter 2 PPPoE Server Configuration Commands
2-2
# View the statistics information of PPPoE session.
<H3C> display pppoe-server session packet
SID RemMAC LocMAC InP InO InD OutP OutO OutD
1 0050ba1a02ce 0001af02a40f 42 2980 0 16 343 0
Table 2-2
Description of the output
Field
Description
InP
In Packets, Packages received
InO
In Octets, Bytes received
InD
In Discards, Received and then discarded packages
OutP
Out Packets, Packages sent
OutO
Out Octets, Bytes sent
OutD
Out Discard, Discarded packages that might be sent.
2.1.2 pppoe-server bind virtual-template
Syntax
pppoe-server bind virtual-template
number
undo pppoe-server bind
View
Interface view
Parameter
number
: Number of the virtual-template for access to PPPoE, and its value ranges from
0 to 1023.
Description
Use the
pppoe-server bind virtual-template
command to enable PPPoE on the
virtual-template specified by the Ethernet interface.
Use the
undo pppoe-server bind
command to disable PPPoE protocol on the
relevant interface.
By default, PPPoE protocol is disabled.
Related command:
link-protocol ppp
.
Example
# Enable PPPoE on virtual-template 1 of Ethernet interface Ethernet1/0/0.
[H3C-Ethernet1/0/0] pppoe-server bind virtual-template 1