Supported Platforms
clear captive-portal
Syntax
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 interfaceclear 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:
|
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.