R3303-HP 6600/HSR6600 Routers Layer 2 - WAN Command Reference Guide

38
[Sysname] interface serial 2/0/1
[Sysname-Serial2/0/1] link-protocol ppp
ppp account-statistics enable
Use ppp account-statistics enable to enable PPP traffic statistics collection.
Use undo ppp account-statistics enable to disable PPP traffic statistics collection.
Syntax
ppp account-statistics enable [ acl { acl-number | name acl-name } ]
undo ppp account-statistics enable
Default
PPP traffic statistics collection is disabled.
Views
Interface view
Default command level
2: System level
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 account-statics extend remote-address
Use ppp account-statics extend remote-address to enable extensible PPP accounting.
Use undo ppp account-statics extend remote-address to disable extensible PPP accounting.
Syntax
ppp account-statics extend remote-address
undo ppp account-statics extend remote-address
Default
Extensible PPP accounting is disabled.