Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


session-limit-per-username (Access Profile)


Hierarchy Level


Limit the number of active sessions allowed for a username associated with a given access profile. This enables you to control credential sharing by legitimate subscribers. After the limit is configured, existing subscriber sessions for the access profile are tracked as active sessions, as are any new sessions that do not exceed the limit. Requests for sessions that exceed the configured limit are blocked.

Use the show network-access aaa statistics session-limit-per-username command to view statistics for active sessions and blocked requests.

You can use the clear network-access aaa statistics session-limit-per-username username command as an aid to debugging by clearing the blocked request statistics for any of the following cases:

  • For all usernames across all access profiles.

  • For a specific username across all access profiles.

  • For a specific username in a specific access profile.

  • For all usernames in a specific access profile.



Maximum number of subscriber sessions allowed per username in the access profile.

  • Range: 1 through 16

Required Privilege Level


Release Information

Statement introduced in Junos OS Release 18.4R1.