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

clear network-access aaa statistics

date_range 14-Mar-25

Syntax

content_copy zoom_out_map
clear network-access aaa statistics
<accounting>
<address-assignment (client | pool pool-name)>
<authentication>
<dynamic-requests>
<radius>
<re-authentication>
<saml>
<session-limit-per-username username username access-profile profile-name>
<terminate-code>

Description

Clear AAA statistics.

Options

accounting

(Optional) Clear AAA accounting statistics.

address-assignment client

(Optional) Clear AAA address-assignment statistics for the client.

address-assignment pool pool-name

(Optional) Clear AAA address-assignment pool statistics.

authentication

(Optional) Clear AAA authentication statistics.

dynamic-requests

(Optional) Clear AAA dynamic-request statistics.

radius

(Optional) Clears the values in the Peak and Exceeded columns only.

re-authentication

(Optional) Clear AAA reauthentication statistics.

saml

(Optional) Clear Security Assertion Markup Language (SAML) AAA statistics.

session-limit-per-username

(MX Series routers only) (Optional) Clear all blocked request statistics for all access profiles from the username session-limit table. You can also specify additional options:

  • username username—Clear the blocked request statistics for the specified username across all access profiles. A given username can be used in more than one access profile.

  • access-profile profile-name—Clear the blocked request statistics for all usernames in the specified access profile.

Note:

This command does not clear (delete) the entry in the session-limit table. Entries in the table are added or deleted during session login or logout processing.

terminate-code

(Optional) Clear AAA termination code statistics.

Required Privilege Level

maintenance

Output Fields

When you enter this command, you get a feedback on the status of your request.

Sample Output

clear network-access aaa statistics accounting

content_copy zoom_out_map
user@host> clear network-access aaa statistics accounting 

clear network-access aaa statistics address-assignment pool

content_copy zoom_out_map
user@host> clear network-access aaa statistics address-assignment pool isp_1

clear network-access aaa statistics radius

content_copy zoom_out_map
user@host> clear network-access aaa statistics radius

clear network-access aaa statistics saml

content_copy zoom_out_map
user@host> clear network-access aaa statistics saml

clear network-access aaa statistics session-limit-per-username (All Usernames Across All Access Profiles)

content_copy zoom_out_map
user@host> show network-access aaa statistics on-limit-per-username detail
Username           Access-profile     Blocked requests     Session count
rkv@example.net    BNG1               1                    4
xyz@example.net    BNG1               3                    5
abc@example.net    BNG2               2                    5
pqr@example.net    BNG2               3                    4

user@host> clear network-access aaa statistics session-limit-per-username
user@host> show network-access aaa statistics on-limit-per-username detail
Username           Access-profile     Blocked requests     Session count
rkv@example.net    BNG1               0                    4
xyz@example.net    BNG1               0                    5
abc@example.net    BNG2               0                    5
pqr@example.net    BNG2               0                    4

clear network-access aaa statistics session-limit-per-username (Specific Username Across All Access Profiles)

content_copy zoom_out_map
user@host> show network-access aaa statistics on-limit-per-username detail

Username           Access-profile     Blocked requests     Session count
rkv@example.net    BNG1               1                    4
xyz@example.net    BNG1               3                    5
rkv@example.net    BNG2               2                    5
pqr@example.net    BNG2               3                    4
user@host> clear network-access aaa statistics session-limit-per-username username rkv@example.net
user@host> show network-access aaa statistics on-limit-per-username detail

Username           Access-profile     Blocked requests     Session count
rkv@example.net    BNG1               0                    4
xyz@example.net    BNG1               3                    5
rkv@example.net    BNG2               0                    5
pqr@example.net    BNG2               3                    4

clear network-access aaa statistics session-limit-per-username (All Usernames for Specific Access Profiles)

content_copy zoom_out_map
user@host> show network-access aaa statistics on-limit-per-username detail

Username           Access-profile     Blocked requests     Session count
rkv@example.net    BNG1               1                    4
xyz@example.net    BNG1               3                    5
rkv@example.net    BNG2               2                    5
pqr@example.net    BNG2               3                    4
user@host> clear network-access aaa statistics session-limit-per-username access-profile BNG2
user@host> show network-access aaa statistics on-limit-per-username detail

Username           Access-profile     Blocked requests     Session count
rkv@example.net    BNG1               1                    4
xyz@example.net    BNG1               3                    5
123@example.net    BNG2               0                    5
pqr@example.net    BNG2               0                    4

clear network-access aaa statistics session-limit-per-username (Specific Username in Specific Access Profile)

content_copy zoom_out_map
user@host> show network-access aaa statistics on-limit-per-username detail

Username           Access-profile     Blocked requests     Session count
rkv@example.net    BNG1               1                    4
xyz@example.net    BNG1               3                    5
rkv@example.net    BNG2               2                    5
pqr@example.net    BNG2               3                    4
user@host> clear network-access aaa statistics session-limit-per-username username rkv@example.net access-profile BNG2
user@host> show network-access aaa statistics on-limit-per-username detail

Username           Access-profile     Blocked requests     Session count
rkv@example.net    BNG1               3                    4
xyz@example.net    BNG1               3                    5
rkv@example.net    BNG2               0                    5
pqr@example.net    BNG2               3                    4

Release Information

Command introduced in Junos OS Release 10.0.

radius option introduced in Junos OS Release 11.4

terminate-code option introduced in Junos OS Release 11.4.

session-limit-per-username option introduced in Junos OS Release 18.4R1 on MX Series routers.

Support for saml added in Junos OS Release 24.4R1.

footer-navigation