R3303-HP HSR6800 Routers Layer 2 - WAN Command Reference

39
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: Specifies an ACL by its 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.
Examples
# Enable PPP traffic statistics collection on interface Serial 2/0/1.
<Sysname> system-view
[Sysname] interface serial 2/0/1
[Sysname-Serial2/0/1] ppp account-statistics enable
ppp authentication-mode
Use ppp authentication-mode to configure the PPP authentication mode.
Use undo ppp authentication-mode to disable PPP authentication.
Syntax
ppp authentication-mode { chap | ms-chap | ms-chap-v2 | pap } * [ [ call-in ] domain isp-name ]
undo ppp authentication-mode
Default
PPP authentication is disabled.
Views
Interface view
Default command level
2: System level
Parameters
chap: Uses CHAP authentication.
ms-chap: Uses MS-CHAP authentication.
ms-chap-v2: Uses MS-CHAP-V2 authentication.
pap: Uses PAP authentication.
call-in: Authenticates the call-in users only.
domain isp-name: Specifies the domain name for authentication, a case-insensitive string of 1 to 24
characters.
Usage guidelines
If you run the ppp authentication-mode command with the domain keyword specified, you must
configure an address pool in the corresponding domain. You can use the display domain command to
display the domain configuration.