Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

clear captive-portal

Syntax

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

clear captive-portal interface

clear captive-portal mac-address

This command has no output.

clear captive-portal firewall

This command has no output.

Release Information

Command introduced in Junos OS Release 10.1.