Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    clear captive-portal

    Syntax

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

    Release Information

    Command introduced in Junos OS Release 10.1 for EX Series switches.

    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

    List of Sample Output

    clear captive-portal interface
    clear captive-portal interface
    clear captive-portal mac-address
    clear captive-portal firewall

    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

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

    clear captive-portal interface

    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

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

    This command has no output.

    clear captive-portal firewall

    user@switch> clear captive-portal firewall

    This command has no output.

    Published: 2012-12-06