R0106-HP MSR Router Series Layer 2 - WAN Command Reference(V7)

7
Views
Interface view
Predefined user roles
network-admin
Parameters
hex-number: ACCM value in hexadecimal format, in the range of 0 to 0xFFFFFFFF.
Usage guidelines
ACCM negotiation only applies to asynchronous links.
Examples
# Set the ACCM value sent to the peer to 0x01010101 on Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] ppp accm 01010101
ppp account-statistics enable
Use ppp account-statistics enable to enable PPP accounting.
Use undo ppp account-statistics enable to restore the default.
Syntax
ppp account-statistics enable [ acl { acl-number | name acl-name } ]
undo ppp account-statistics enable
Default
PPP accounting is disabled.
Views
Interface view
Predefined user roles
network-admin
Parameters
acl: Specifies an ACL to match traffic. If no ACL is specified, the device generates statistics for all PPP
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 and IPv6 ACLs.
3000 to 3999 are numbers for advanced IPv4 and IPv6 ACLs.
If the specified ACL number corresponds to an IPv4 ACL and an IPv6 ACL, both ACLs take effect.
name acl-name: Specifies an ACL by its name, a case-insensitive string of 1 to 63 characters that start
with an alphabetical character. To avoid confusion, do not use the English word all as an ACL name.
Examples
# Enable PPP accounting on interface Serial 2/1/0.
<Sysname> system-view