show captive-portal interface
Syntax
show captive-portal interface
<interface-name>
detail
Description
显示所有强制门户接口的当前操作状态,其中包含已连接用户列表以及接口上强制门户属性的配置值。
Options
无 | 显示所有强制门户接口。 |
接口名称 | (可选)显示指定强制门户接口的状态,并列出了在接口上认证的任何客户端的 MAC 地址和用户名称。 |
接口名称 详细信息 | (可选)显示指定的外加门户接口上已配置的强制门户属性值。 |
Required Privilege Level
视图
Output Fields
表 1 列出了 命令的 show captive-portal interface
输出字段。输出字段按其出现的大致顺序列出。
字段名称 |
字段说明 |
输出级别 |
---|---|---|
|
已配置外加门户的接口。 |
所有级别 |
|
接口的状态:
|
所有级别 |
|
接口上已连接客户端的 MAC 地址。 |
简短 |
|
连接到外加门户接口的用户。 |
简短 |
|
指示接口上是否都启用了 802.1X 身份验证和强制门户:
|
|
|
用于验证客户端的模式 — 多个、单个或单请求方。 |
详细信息 |
|
用户尝试提交身份验证信息的次数。 |
详细信息 |
|
用户在尝试身份验证之前,时间(以秒为单位)超过最大重试数量。 |
详细信息 |
|
客户端在会话到期前可以空闲的时间,以秒为秒。 |
详细信息 |
|
在将客户端的响应中继到身份验证服务器时,接口将在几秒钟内等待回复,然后再计时并调用服务器故障操作。 |
详细信息 |
|
在 MAC 老化计时器到期后,强制门户身份验证会话将在几分钟内延长的时间。 |
详细信息 |
|
通过强制门户接口连接的用户数。每个用户的信息包括:
|
详细信息 |
Sample Output
- show captive-portal interface (Only Captive Portal Enabled)
- show captive-portal interface (802.1X Authentication and Captive Portal Enabled)
- show captive-portal interface detail (Only Captive Portal Enabled)
- show captive-portal interface detail (802.1X Authentication and Captive Portal Enabled)
show captive-portal interface (Only Captive Portal Enabled)
user@switch> show captive-portal interface Captive Portal Information: Interface State MAC address User Fallen back ge-0/0/1.0 Connecting ge-0/0/10.0 Connecting 00:30:48:8c:66:bd No User ge-6/0/5.0 Authenticated 00:30:48:8d:7a:9b abcdeX No
show captive-portal interface (802.1X Authentication and Captive Portal Enabled)
user@switch> show captive-portal interface Captive Portal Information: Interface State MAC address User Fallen back ge-0/0/1.0 Connecting ge-0/0/10.0 Connecting 00:30:48:8c:66:bd No User ge-6/0/5.0 Authenticated 00:30:48:8d:7a:9b abcdeX Yes
show captive-portal interface detail (Only Captive Portal Enabled)
user@switch> show captive-portal interface detail ge-6/0/5.0 Supplicant mode: Multiple Number of retries: 3 Quiet period: 60 seconds Configured CP session timeout: 3600 seconds Server timeout: 15 seconds Configured CP User-keepalive timeout: 7 minutes CP fallen back: No Number of connected supplicants: 1 Supplicant: abcdeX, 00:30:48:8d:7a:9b Operational state: Authenticated Dynamic CP Session Timeout: 3600 seconds CP Session Expiration due in: 3583 seconds Eapol-Block: In Effect CP session User-keepalive Expiration due in: 420 seconds
show captive-portal interface detail (802.1X Authentication and Captive Portal Enabled)
user@switch> show captive-portal interface detail ge-6/0/5.0 Supplicant mode: Multiple Number of retries: 3 Quiet period: 60 seconds Configured CP session timeout: 3600 seconds Server timeout: 15 seconds CP fallen back: Yes Number of connected supplicants: 1 Supplicant: abcdeX, 00:30:48:8d:7a:9b Operational state: Authenticated Dynamic CP Session Timeout: 3600 seconds CP Session Expiration due in: 3583 seconds Eapol-Block: In Effect
Release Information
在 Junos OS 10.1 版中引入的命令。