509
<Sysname> system-view
[Sysname] interface serial 1/0
[Sysname-Serial1/0] ip address ppp-negotiate
link-protocol ppp
Syntax link-protocol ppp
View Interface view
Parameter None
Description Use the link-protocol ppp command to configure the link-layer protocol
encapsulated on the interface as PPP.
By default, all interfaces except the Ethernet interface are encapsulated with PPP.
Example # Configure interface Serial 1/0 to encapsulate PPP.
<Sysname> system-view
[Sysname] interface serial 1/0
[Sysname-Serial1/0] link-protocol ppp
ppp account-statistics enable
Syntax ppp account-statistics enable
undo ppp account-statistics enable
View Interface view
Parameters None
Description Use the ppp account-statistics enable command to enable the PPP accounting
statistics function.
Use the undo ppp account-statistics enable command to disable the PPP
accounting statistics function.
By default, the PPP accounting statistics function is disabled.
Examples # Enable the PPP accounting statistics function on interface Serial 2/0.
<Sysname> system-view
[Sysname] interface serial 2/0
[Sysname-Serial2/0] ppp account-statistics enable