Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


accounting (System)


Hierarchy Level


Configure an audit of TACACS+ or RADIUS authentication events, configuration changes, and interactive commands. Auditing these factors helps you track network usage for auditing and billing purposes.



Configure the number of attribute-value pairs to be displayed, each of which can store a maximum of 250 bytes.

  • Default: 7 pairs

  • Range: 7 through 15 pairs


(Required) Configure the types of events to log.

  • Values:

    • change-log—Configuration changes

    • interactive-commands—Interactive commands (any command-line input)

    • login—Login sessions

The remaining statements are explained separately. Search for a statement in CLI Explorer or click a linked statement in the Syntax section for details.

Required Privilege Level

admin—To view this statement in the configuration.

admin-control—To add this statement to the configuration.

Release Information

Statement introduced before Junos OS Release 7.4.

enhanced-avs-max statement introduced in Junos OS Release 14.1.

routing-instance introduced in Junos OS Release 18.1R1.