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 subscriber

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
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

content_copy zoom_out_map
user@host> clear network-access aaa subscriber statistics username user22@example.com

clear network-access aaa subscriber statistics username (Tenant systems)

content_copy zoom_out_map
user@host:TSYS1> clear network-access aaa subscriber statistics username user22@example.com

clear network-access aaa subscriber username

content_copy zoom_out_map
user@host> clear network-access aaa subscriber username user22@example.com

clear network-access aaa subscriber username (Tenant systems)

content_copy zoom_out_map
user@host:TSYS1> clear network-access aaa subscriber username user22@example.com

clear network-access aaa subscriber session-id

content_copy zoom_out_map
user@host> clear network-access aaa subscriber session-id 18367425

clear network-access aaa subscriber session-id (Tenant systems)

content_copy zoom_out_map
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.

footer-navigation