clear network-access aaa subscriber
Syntax
clear network-access aaa subscriber <session-id identifier <reconnect>> <statistics username username> <username username <reconnect>>
Description
Clear AAA subscriber statistics and log out subscribers. You can log out subscribers based on the username or on the subscriber session identifier. Use the session identifier when more than one session has the same username string.
Options
reconnect | (Optional) Reconnect as a Layer 2 wholesale session when the subscriber session has been fully logged out. This option is equivalent to issuing a RADIUS-initiated disconnect with reconnect semantics; that is, when the message includes Acct-Terminate-Cause (RADIUS attribute 49) with a value of callback (16). You can apply this option to either a Layer 2 wholesale session or a conventionally auto-sensed dynamic VLAN supporting a PPPoE session. In the latter case, this option triggers a PPPoE session logout and removal of the dynamic VLAN logical interface. This is followed by authorization of the access-line to attempt creation of a dynamic VLAN IFL supporting Layer 2 wholesale session in its place. |
session-id identifier | (Optional) Log out the subscriber based on the subscriber session identifier. |
statistics username username | (Optional) Clear AAA subscriber statistics and log out the subscriber. |
username username | (Optional) Log out the AAA subscriber. |
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 subscriber statistics username
- clear network-access aaa subscriber statistics username (Tenant systems)
- clear network-access aaa subscriber username
- clear network-access aaa subscriber username (Tenant systems)
- clear network-access aaa subscriber session-id
- clear network-access aaa subscriber session-id (Tenant systems)
clear network-access aaa subscriber statistics username
user@host> clear network-access aaa subscriber statistics username user22@example.com
clear network-access aaa subscriber statistics username (Tenant systems)
user@host:TSYS1> clear network-access aaa subscriber statistics username user22@example.com
clear network-access aaa subscriber username
user@host> clear network-access aaa subscriber username user22@example.com
clear network-access aaa subscriber username (Tenant systems)
user@host:TSYS1> clear network-access aaa subscriber username user22@example.com
clear network-access aaa subscriber session-id
user@host> clear network-access aaa subscriber session-id 18367425
clear network-access aaa subscriber session-id (Tenant systems)
user@host:TSYS1> clear network-access aaa subscriber session-id 1
Release Information
Command introduced in Junos OS Release 9.1.
reconnect
and session-id
options added
in Junos OS Release 16.1R4.