107
Parameters
acl
: Generates PPP accounting statistics for traffic that matches the configured ACL. If no ACL is
configured, the device generates PPP accounting statistics for all traffic.
acl-number
: ACL number, in the range of 2000 to 3999, where:
•
2000 to 2999 are numbers for basic IPv4 ACLs.
•
3000 to 3999 are numbers for advanced IPv4 ACLs.
name
acl-name
: Specifies an ACL by its name. The
acl-name
represents the name of an IPv4 ACL, a
case-sensitive string that starts with an English letter and contains 1 to 63 characters. To avoid confusion,
do not use the English word
all
as an IPv4 ACL name.
Description
Use
ppp account-statistics enable
to enable PPP traffic statistics collection.
Use
undo ppp account-statistics enable
to disable PPP traffic statistics collection.
By default, PPP traffic statistics collection is disabled.
Examples
# Enable PPP traffic statistics collection on interface Dialer 1.
<Sysname> system-view
[Sysname] interface Dialer 1
[Sysname-Dialer1] ppp account-statistics enable
ppp authentication-mode
Syntax
ppp authentication-mode
{
chap
|
ms-chap
|
ms-chap-v2
|
pap
} * [ [
call-in
]
domain
isp-name
]
undo ppp authentication-mode
View
Dialer interface view
Default level
2: System level
Parameters
chap
: Uses challenge-handshake authentication protocol (CHAP) authentication.
ms-chap
: Uses Microsoft CHAP (MS-CHAP) authentication.
ms-chap-v2
: Uses Microsoft CHAP Version 2 (MS-CHAP-V2) authentication.
pap
: Uses password authentication protocol (PAP) authentication.
call-in
: Authenticates the call-in users only.
domain
isp-name
: Specifies the domain name for authentication, a string of 1 to 24 characters.
Description
Use
ppp authentication-mode
to configure the PPP authentication mode.
Use
undo ppp authentication-mode
to disable PPP authentication.
By default, PPP authentication is disabled.