clear network-access aaa statistics
Syntax
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 |
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:
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 are provided feedback on the status of your request.
Sample Output
- clear network-access aaa statistics accounting
- clear network-access aaa statistics address-assignment pool
- clear network-access aaa statistics radius
- clear network-access aaa statistics saml
- clear network-access aaa statistics session-limit-per-username (All Usernames Across All Access Profiles)
- clear network-access aaa statistics session-limit-per-username (Specific Username Across All Access Profiles)
- clear network-access aaa statistics session-limit-per-username (All Usernames for Specific Access Profiles)
- clear network-access aaa statistics session-limit-per-username (Specific Username in Specific Access Profile)
clear network-access aaa statistics accounting
user@host> clear network-access aaa statistics accounting
clear network-access aaa statistics address-assignment pool
user@host> clear network-access aaa statistics address-assignment pool isp_1
clear network-access aaa statistics radius
user@host> clear network-access aaa statistics radius
clear network-access aaa statistics saml
user@host> clear network-access aaa statistics saml
clear network-access aaa statistics session-limit-per-username (All Usernames Across All Access Profiles)
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)
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)
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)
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.