Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

accounting (System)

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
accounting {
    destination {
        radius {
            server {
                server-address {
                    accounting-port port-number;
                    accounting-retry number;
                    accounting-timeout seconds;
                    dynamic-request-port number;
                    max-outstanding-requests value;
                    port number;
                    preauthentication-port number;
                    preauthentication-secret secret;
                    retry number;
                    routing-instance routing-instance-name;
                    secret password;
                    source-addresssource-address;
                    timeout seconds; 
                }
        }
        tacplus {
            server {
                server-address {
                    port port-number;
                    routing-instance routing-instance;
                    secret password;
                    single-connection;
                    source-address address
                    timeout seconds;
                }
            }
        }
    }
    enhanced-avs-max <number>;
    events (change-log | interactive-commands | login );
}

Hierarchy Level

content_copy zoom_out_map
[edit system] 

Description

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.

Options

enhanced-avs-max

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

events

(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.

footer-navigation