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 captive-portal

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
clear captive-portal (firewall  [interface-names] | interface (802.1X) (all | [interface-names]) | mac-address [mac-addresses])

Description

Reset the authentication state of a captive portal interface or captive portal firewall statistics on one or more interfaces.

Options

firewall [interface-names]

Resets captive portal statistics on all interfaces or on the specified interface.

interface (all | interface-names)

Resets the authentication state of users connected to all interfaces or the specified interfaces.

mac-address mac-addresses

Resets the authentication state for the specified MAC addresses.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the clear captive-portal interface command. (The clear captive-portal firewall and clear captive-portal mac-address commands have no output). Output fields are listed in the approximate order in which they appear.

Table 1: clear captive-portal interface Output Fields

Field Name

Field Description

Interface

Interface on which captive portal has been configured.

State

The state of the port:

  • Authenticated—The client has been authenticated through the RADIUS server or has been permitted access through server fail fallback.

  • Authenticating—The client is authenticating through the RADIUS server.

  • Connecting—Switch is attempting to contact the RADIUS server.

  • Initialize—The interface link is down.

  • Held—An action has been triggered through server fail fallback during a RADIUS server timeout. A supplicant is denied access, permitted access through a specified VLAN, or maintains the authenticated state granted to it before the RADIUS server timeout occurred.

MAC address

The MAC address of the connected client on the interface.

User

Users connected to the captive portal interface.

Sample Output

clear captive-portal interface

content_copy zoom_out_map
user@switch> clear captive-portal interface
ge-0/0/3.0 

clear captive-portal interface

content_copy zoom_out_map
user@switch> clear captive-portal interface
Captive Portal Information:
Interface      State           MAC address          User
ge-0/0/3.0     Authenticated   00:03:47:e1:ba:b9    aclallow     
ge-0/0/5.0     Connecting     
ge-0/0/7.0     Connecting     
ge-0/0/9.0     Connecting     

clear captive-portal mac-address

content_copy zoom_out_map
user@switch> clear captive-portal mac-address 00:03:47:e1:ba:b9 

This command has no output.

clear captive-portal firewall

content_copy zoom_out_map
user@switch> clear captive-portal firewall

This command has no output.

Release Information

Command introduced in Junos OS Release 10.1.

footer-navigation