245Step Command Remarks1. Enter system view. system-view N/A2. Enter interface view. interface interface-typeinterface-number N/A3. Enable PPP accounting.ppp account-statistics enable[ acl { acl-number | nameacl-name } ]By default, PPP accounting isdisabled.Enabling logging for PPP usersThe PPP user logging feature enables the device to generate PPP logs and send them to theinformation center. Logs are generated after a user comes online, goes offline, or fails to come online.A log entry contains information such as the username, IP address, interface name, inner VLAN,outer VLAN, MAC address, and failure causes. For information about the log destination and outputrule configuration in the information center, see Network Management and Monitoring ConfigurationGuide.As a best practice, disable this feature to prevent excessive PPP log output.To enable logging for PPP users:Step Command Remarks1. Enter system view. system-view N/A2. Enable logging forPPP users.ppp access-user log enable[ successful-login | failed-login |normal-logout | abnormal-logout ] *By default, logging is disabled forPPP users.Configuring service tracing objectsYou can create service tracing objects to trace access user information, such as login and logoutinformation. By specifying match parameters, you can trace the specific access users.This feature is resource intensive. As a best practice, configure this feature only whentroubleshooting devices.A primary/standby switchover causes the service tracing object configuration to be ineffective.To configure service tracing objects:Step Command Remarks1. Enter system view. system-view N/A2. Configure servicetracing objects.trace access-user object object-id{ access-mode pppoe | usernameuser-name | interface interface-typeinterface-number | ip-addressip-address | mac-addressmac-address | c-vlan vlan-id | s-vlanvlan-id } * [ output { file file-name |syslog-server server-ip-address |vty } | aging time ] *By default, no service tracing objectexists.