show subscribers
语法
show subscribers <detail | extensive | terse> <aci-interface-set-name aci-interface-set-name> <address address> <agent-circuit-identifier agent-circuit-identifier> <agent-remote-identifier agent-remote-identifier> <aggregation-interface-set-name interface-set-name> <client-type client-type> <count> <id session-id <accounting-statistics>> <interface interface <accounting-statistics>> <logical-system logical-system> <mac-address mac-address> <physical-interface physical-interface-name> <profile-name profile-name> <routing-instance routing-instance> <stacked-vlan-id stacked-vlan-id> <sub-system (agf | bng)> <subscriber-state subscriber-state> <user-name user-name> <vci vci-identifier> <vpi vpi-identifier> <vlan-id vlan-id>
描述
显示宽带网络网关 (BNG) 和接入网关功能 (AGF) 子系统上活动用户的信息。当您的订阅者同时登录到 BNG 和 AGF 时,您可以使用该 sub-system
选项查看特定于任一子系统的输出。
有关 AGF 子系统的订阅者会话信息,请参阅 AGF 的示例输出 。
选项
detail | extensive | terse |
(可选)显示指定的输出级别。 |
||||||||
aci-interface-set-name |
(可选)显示使用指定代理电路标识符 (ACI) 接口集的所有动态订阅者会话。您必须使用路由器生成的 ACI 接口集名称,例如 aci-1003-ge-1/0/0.4001,而不是动态主机配置协议 (DHCP) 或以太网点对点协议 (PPPoE) 控制数据包中的实际 ACI 值。 |
||||||||
address |
(可选)显示其 IP 地址与指定地址匹配的订阅者。必须指定不带网络掩码的 IPv4 或 IPv6 地址前缀(例如,192.0.2.0)。如果将 IP 地址指定为带有网络掩码的前缀(例如,192.0.2.0/32),路由器将显示一条消息,指出 IP 地址无效并拒绝该命令。 |
||||||||
agent-circuit-identifier |
(可选)显示 ACI 值与指定字符串匹配的所有动态订阅者会话。可以指定完整的 ACI 字符串或子字符串。若要指定子字符串,必须输入构成字符串开头的字符,后跟星号 (*) 作为通配符,以替换字符串的其余部分。通配符只能在指定子字符串的末尾使用;例如: user@host1> show subscribers agent-circuit-identifier substring* 下表列出了不同 Junos OS 版本支持的字符串值。
|
||||||||
agent-remote-identifier |
(可选)显示其代理远程标识符 (ARI) 值与指定字符串匹配的所有动态订阅者会话。必须指定完整的 ACI 字符串;不能指定通配符。 |
||||||||
aggregation-interface-set-name interface-set-name |
(可选)显示指定聚合节点接口集的摘要信息,包括接口、VLAN ID、用户名以及逻辑系统和路由实例 (LS:RI)。 |
||||||||
client-type |
(可选)显示其客户端类型与以下客户端类型之一匹配的订阅者:
|
||||||||
count | (可选)显示任何指定选项的订阅者总数和活动订阅者计数。您可以单独使用此选项
|
||||||||
id session-id | (可选)显示会话 ID 与指定订阅者 ID 匹配的特定订阅者会话。您可以使用命令或 |
||||||||
id session-id accounting-statistics | (可选)根据您指定的会话 ID 显示订阅者会话的准确订阅者计数统计信息。您必须在动态概要文件中为动态逻辑接口配置 |
||||||||
interface | (可选)显示其接口与指定接口匹配的订阅者。 |
||||||||
interface accounting-statistics | (可选)显示指定接口的用户记帐统计信息。如果未配置语句,CLI 将显示记帐统计信息的值 0。 |
||||||||
logical-system | (可选)显示其逻辑系统与指定逻辑系统匹配的订户。 |
||||||||
mac-address | (可选)显示其 MAC 地址与指定 MAC 地址匹配的订阅者。 |
||||||||
physical-interface-name | (仅限 M120、M320 和 MX 系列路由器)(可选)显示其物理接口与指定物理接口匹配的订阅者。 |
||||||||
profile-name | (可选)显示其动态配置文件与指定配置文件名称匹配的订阅者。 |
||||||||
routing-instance | (可选)显示其路由实例与指定路由实例匹配的订阅者。 |
||||||||
stacked-vlan-id | (可选)显示堆叠 VLAN ID 与指定堆叠 VLAN ID 匹配的订阅者。 |
||||||||
subsystem (agf | bng) | (可选)显示 AGF 或 BNG 子系统上订阅者的信息。
注意:
仅当 AGF 和 BNG 订阅者同时登录到路由器时,子系统选项才可用。 |
||||||||
subscriber-state | (可选)显示其订阅者状态与指定订阅者状态匹配(活动、已配置、初始化、已终止或正在终止)的订阅者。 |
||||||||
user-name | (仅限 M120、M320 和 MX 系列路由器)(可选)显示用户名与指定订阅者名称匹配的订阅者。 |
||||||||
vci-identifier | (仅带 MPC 的 MX 系列路由器和带 SFP 的 ATM MIC)(可选)显示其 ATM 虚拟电路标识符 (VCI) 与指定 VCI 标识符匹配的活动异步传输模式 (ATM) 用户。值的范围为 0 到 255。 |
||||||||
vpi-identifier | (仅带 MPC 的 MX 系列路由器和带 SFP 的 ATM MIC)(可选)显示其 ATM 虚拟路径标识符 (VPI) 与指定 VPI 标识符匹配的活动 ATM 用户。值的范围为 0 到 65,535。 |
||||||||
vlan-id | (可选)显示其 VLAN ID 与指定 VLAN ID 匹配的订阅者,无论订阅者使用的是单标记 VLAN 还是双标记 VLAN。在使用双标记 VLAN 的订阅者中,此选项显示内部 VLAN 标记与指定 VLAN ID 匹配的订阅者。要查看其外部 VLAN 标记与指定值匹配的订阅者(在使用双标记 VLAN 的订阅者中),可以使用该选项匹配 |
由于显示限制,逻辑系统和路由实例输出值将在必要时被截断。
所需权限级别
视图
输出字段
表 2 列出了该 show subscribers
命令的输出字段。输出字段按其出现的大致顺序列出。
字段名称 |
字段说明 |
---|---|
|
与订阅者关联的接口。路由器或交换机显示其接口与指定接口匹配或以指定接口开头的订阅者。 星号 (*) 表示同一会话地址的延续。 |
|
与订阅者关联的订阅者 IP 地址或 VLAN ID,格式为 tpid.vlan-id 没有为 L2TP 隧道交换会话分配 IP 地址或 VLAN ID。对于这些订阅者会话,值为 |
|
订户的名称。 |
|
与订阅服务器关联的逻辑系统和路由实例。 |
|
订阅者客户端类型(DHCP、FWA、GRE、L2TP、PPP、PPPoE、STATIC-INTERFACE、VLAN)。 |
|
订阅者 IPv4 地址。 |
|
订阅者 IP 网络掩码。 (MX 系列)默认情况下,此字段显示 255.255.255.255。仅对于隧道或终止的 PPP 订户,当会话数据库中的 SDB_FRAMED_PROTOCOL 属性等于 AUTHD_FRAMED_PROTOCOL_PPP 时,此字段显示帧 IP-Netmask 的实际值。当 L2TP 网络服务器 (LNS) 在授权期间从 RADIUS 接收帧 IP 网络掩码时生成访问内部路由时,会发生这种情况。当它从 RADIUS 接收帧池时,池掩码将被忽略,并使用默认的 /32 掩码。 |
|
主域名系统 (DNS) 服务器的 IP 地址。 仅当 RADIUS 提供地址时,才会显示 |
|
辅助 DNS 服务器的 IP 地址。 仅当 RADIUS 提供地址时,才会显示 |
|
主 DNS 服务器的 IPv6 地址。 仅当 RADIUS 提供地址时,才会显示 |
|
辅助 DNS 服务器的 IPv6 地址。 仅当 RADIUS 提供地址时,才会显示 |
|
DNS 服务器的 IP 地址,按配置顺序显示。 仅当地址派生自访问配置文件或全局访问配置时,才会显示 |
|
DNS 服务器的 IPv6 地址,按配置顺序显示。 仅当地址派生自访问配置文件或全局访问配置时,才会显示 |
|
主 Windows Internet 名称服务 (WINS) 服务器的 IP 地址。 |
|
辅助 WINS 服务器的 IP 地址。 |
|
订阅者 IPv6 地址或多个地址。 |
|
订阅者 IPv6 前缀。如果使用 DHCPv6 前缀委派,则这是委派前缀。 |
|
通过邻居发现路由器通告 (NDRA) 获取的 IPv6 前缀。 |
|
订阅者 IPv6 地址池。IPv6 地址池用于将 IPv6 前缀分配给 DHCPv6 客户端。 |
|
IPv6 地址的网络部分的长度。 |
|
订阅者 IPv6 前缀的长度。 |
|
与订阅服务器关联的逻辑系统。 |
|
与订阅服务器关联的路由实例。 |
|
(增强了 MX 系列路由器的用户管理功能)增强型订阅者管理逻辑接口的名称,格式为 |
|
用户接口( |
|
订阅者会话使用的动态代理电路标识符 (ACI) 或 ATM 线路接口 (ALI) 接口集的内部生成名称。名称的前缀表示接口集所基于的 DHCP 或 PPPoE 控制数据包中接收的字符串。对于 ALI 接口集,前缀表示该值配置为用于标识用户线路的可信选项。 接口集的名称使用以下前缀之一:
注意:
ACI 接口集使用自动配置节进行 除了动态 ACI 和 ALI 接口集之外,此字段还可以是基于 ARI 字符串子字符串的接口集。当动态配置文件包含预定义变量 $junos-pon-id-interface-set-name,并且配置文件应用于无源光纤网络(PON)时,就会发生这种情况。ARI 字符串由光纤线路终端 (OLT) 插入。字符串中的最后一个子字符串对于 PON 是唯一的,用于标识各个用户电路,并用作接口集的名称。 |
|
ACI 接口集的接口类型: |
|
会话数据库中动态 ACI 接口集条目的标识符。 |
|
订阅者会话的基础接口的名称。 |
|
用于订阅服务器的动态配置文件。 |
|
用于订阅服务器的动态配置文件的版本号。 |
|
与订阅者关联的 MAC 地址。 |
|
订阅者会话的当前状态( |
|
L2TP 会话 |
|
启动隧道交换的 L2TP 隧道交换机配置文件的名称。 |
|
本地网关 (LAC) 的 IP 地址。 |
|
远程对等方 (LNS) 的 IP 地址。 |
|
转发流标识符。 |
|
与订阅者关联的 VLAN ID,格式为 tpid.vlan-id。 |
|
与订阅者关联的堆叠 VLAN ID,格式为 tpid.vlan-id。 |
|
与订阅服务器关联的 RADIUS 记帐 ID。 |
|
|
|
|
|
$junos聚合接口集名称预定义变量的值。该值根据以下因素确定:;
|
|
按会话 ID 或接口划分的实际传输订阅者记帐统计信息。不包括服务记帐统计信息。这些统计信息不包括开销字节或丢弃的数据包;它们是 RADIUS 使用的准确统计数据。当语句包含在动态配置文件中时 |
|
DHCP 中继代理使用的 IP 地址。 |
|
(仅带 MPC 的 MX 系列路由器和带 SFP 的 ATM MIC)用户物理接口上的 ATM 虚拟路径标识符 (VPI)。 |
|
(仅带 MPC 的 MX 系列路由器和带 SFP 的 ATM MIC)在用户接口上配置的每个 VPI 的 ATM 虚拟电路标识符 (VCI)。 |
|
订阅者登录的日期和时间。 |
|
|
|
|
|
|
|
|
|
订阅者的实际下行流量整形速率(以千比特/秒为单位)。 |
|
访问动态配置文件中的输入服务集。 |
|
访问动态配置文件中的输出服务集。 |
|
访问动态配置文件中的策略和收费执行功能 (PCEF) 配置文件。 |
|
动态配置文件中使用的 PCC 规则或规则库。 |
|
从 RADIUS 传递到动态配置文件的变量的值。 |
|
这项服务中的第一个家庭活跃的时间。 |
|
动态配置文件应用于未通过反向路径转发 (RPF) 检查的 IPv4 数据包的过滤器的名称。 |
|
动态配置文件应用于未通过 RPF 检查的 IPv6 数据包的过滤器的名称。 |
|
|
|
订阅者会话的 ID 号。 |
|
PPPoE 网络上 DHCPv6 订阅者的底层 PPPoE 接口的会话 ID。 |
|
与订阅者关联的服务会话数(即使用 RADIUS 授权更改或 CoA 激活的服务)。 |
|
订阅者服务会话的 ID 号。 |
|
服务会话配置文件名称。 |
|
会话自动终止之前提供给订阅者的访问秒数。 |
|
在会话自动终止之前,订阅者可以处于空闲状态的秒数。 |
|
用于 DHCPv6 前缀委派的池的名称。 |
|
为 IPv6 委派地址池配置的前缀长度。 |
|
由帧 IPv6 前缀 AAA 属性分配的地址。仅当在动态配置文件中使用预定义变量 $junos-ipv6 地址时,才会显示此字段。 |
|
由帧接口 ID AAA 属性分配的接口 ID。 |
|
分配给上升数据过滤器 (ADF) 接口 IPv4 输入过滤器(客户端或服务会话)的名称。筛选器名称后跟与 ADF 筛选器关联的规则(采用十六进制格式)以及采用 Junos OS 筛选器样式的解码规则。 |
|
分配给上升数据过滤器 (ADF) 接口 IPv4 输出过滤器(客户端或服务会话)的名称。筛选器名称后跟与 ADF 筛选器关联的规则(采用十六进制格式)以及采用 Junos OS 筛选器样式的解码规则。 |
|
分配给 ADF 接口 IPv6 输入筛选器(客户端或服务会话)的名称。筛选器名称后跟与 ADF 筛选器关联的规则(采用十六进制格式)以及采用 Junos OS 筛选器样式的解码规则。 |
|
分配给 ADF 接口 IPv6 输出筛选器(客户端或服务会话)的名称。筛选器名称后跟与 ADF 筛选器关联的规则(采用十六进制格式)以及采用 Junos OS 筛选器样式的解码规则。 |
|
分配给 IPv4 输入过滤器(客户端或服务会话)的名称。 |
|
分配给 IPv4 输出过滤器(客户端或服务会话)的名称。 |
|
分配给 IPv6 输入过滤器(客户端或服务会话)的名称。 |
|
分配给 IPv6 输出过滤器(客户端或服务会话)的名称。 |
|
分配给逻辑接口输入过滤器(客户端或服务会话)的名称。 |
|
分配给逻辑接口输出过滤器(客户端或服务会话)的名称。 |
|
PPPoE 中间代理在子属性 DSL 类型 (0x0091) 中的供应商特定标记 TLV 中的 PPPoE 主动发现初始 (PADI) 或 PPPoE 主动发现报价 (PADO) 数据包中报告的 PPPoE 用户接入线路类型。DSL 可以是以下类型之一: |
|
PPPoE 守护程序根据收到的子属性 DSL 类型 (0x0091) 确定的 PPPoE 用户接入线路的模式类型:
该值存储在订阅者会话数据库中。 |
|
添加到实际下游信元或帧开销或从中减去的字节数,以考虑 DSL 线路类型的技术开销。该值由 PPPoE 守护程序根据收到的子属性 DSL 类型 (0x0091) 确定。该值存储在订阅者会话数据库中。 |
|
PPPoE 中间代理在子属性 Actual-Net-Data-Rate-Upstream (0x0081) 中供应商特定标签 TLV 中的 PADI 或 PADO 数据包中报告的 PPPoE 用户接入线路的未调整上行数据速率。 |
|
PPPoE 中间代理在子属性 Actual-Net-Data-Rate-Downstream (0x0082) 中供应商特定标签 TLV 中的 PADI 或 PADO 数据包中报告的 PPPoE 用户接入线路的未调整下行数据速率。 |
|
PPPoE 用户接入线路的调整下游数据速率,由 PPPoE 守护程序计算并存储在订阅者会话数据库中。 |
|
PPPoE 用户接入线路的调整上游数据速率,由 PPPoE 守护程序计算并存储在订阅者会话数据库中。
注意:此输出字段仅在 Junos 版本 19.1R1 或更早版本上可用。
|
|
访问类型。 自适应模式表示 FN-RG。 |
|
到 演进节点 B (eNodeB) 的 GPRS 隧道协议用户平面 (GTP-U) 隧道的 BNG 上的隧道端点标识符 (TEID)。标识符由 BNG 分配。 完全限定的本地 TEID-C 包含此标识符和 |
|
GTP-C 控制平面通往移动管理实体 (MME) 的隧道 BNG 上的隧道端点标识符。标识符由 BNG 分配。 完全限定的本地 TEID-C 包含此标识符和 |
|
eNodeB 上到 BNG 的 GTP-U 用户平面隧道的隧道端点标识符。标识符由 eNodeB 分配。 完全限定的远程 TEID-U 包含此标识符和 |
|
MME 上的隧道端点标识符,用于 GPRS 隧道协议、控制 (GTP-C) 到 BNG 的平面隧道。标识符由 MME 分配。 完全限定的远程 TEID-C 包含此标识符和 |
|
eNodeB 上用于 GPRS 隧道协议用户平面 (GTP-U) 隧道端点的 S1-U 接口的 IP 地址。 完全限定的远程 TEID-U 包含此地址和 |
|
GTP-U 隧道端点的 BNG 上 S1-U 接口的 IP 地址。 完全限定的本地 TEID-U 包含此地址和 |
|
GTP-C 隧道端点的 MME 上 S11 接口的 IP 地址。 完全限定的远程 TEID-C 包含此地址和 |
|
GTP-C 隧道端点的 BNG 上 S11 接口的 IP 地址。 完全限定的本地 TEID-C 包含此地址和 |
|
用户设备的接入点名称 (APN)。APN 对应于用户的移动设备可用于连接到运营商的互联网网关的连接和服务参数。 |
|
租户系统的名称。您可以为一个租户系统创建多个租户系统管理员,并根据您的要求为管理员分配不同的权限级别。 |
|
路由实例的名称。为租户系统创建自定义路由实例时,该租户系统中定义的所有接口都将添加到该路由实例中。 |
|
基本动态配置文件的特定变体的配置名称。存在此名称表示概要文件配置与基本概要文件的配置不同。在客户端配置文件名称 VSA (26–4874–174) 中进行身份验证期间,该值将传送到 RADIUS 服务器。 |
示例输出
- 显示订阅者 (IPv4)
- 显示订阅者 (IPv6)
- 显示订阅者(IPv4 和 IPv6 双堆栈)
- show subscribes(单会话 DHCP 双堆栈)
- 显示订阅者(单会话 DHCP 双堆栈详细信息)
- show subscribes(MX 系列路由器上的 LNS)
- show subscribes(L2TP 交换隧道)
- 显示订阅者聚合接口集名称
- 显示订阅者客户端类型 DHCP 详细信息
- 显示订阅者客户端类型 DHCP 详细信息 (DHCPv6)
- 显示订阅者客户端类型 DHCP 广泛
- 向用户显示客户端类型固定无线接入
- 显示订阅者客户端类型固定无线接入详细信息(详细信息)
- 显示订阅者客户端类型 VLAN-OOB 详细信息
- 显示订阅人数
- 显示订阅者地址详细信息 (IPv6)
- 显示订阅者详细信息 (IPv4)
- 显示订阅者详细信息 (IPv6)
- 显示订阅者详细信息(GRE 隧道伪线接口)
- 显示订阅者详细信息(IPv6 静态多路复用接口)
- 显示订阅者详细信息(MX 系列路由器上的 L2TP LNS 订阅者)
- 显示订阅者详细信息(L2TP 交换隧道)
- 显示订阅者详细信息(隧道订阅者)
- 显示订阅者详细信息(IPv4 和 IPv6 双堆栈)
- 显示订阅者详细信息(ACI 接口集会话)
- 显示订阅者详细信息(具有 ACI 接口集的 PPPoE 订阅者会话)
- 显示订阅者详细信息(动态配置文件版本别名)
- 显示订阅者广泛
- 显示订阅者广泛(聚合节点接口集和 DSL 论坛属性)
- 显示订户广泛(无源光纤网络电路接口集)
- 广泛显示订阅者(访问配置文件或全局配置中的 DNS 地址)
- 显示订阅者广泛(来自 RADIUS 的 DNS 地址)
- 广泛显示订阅者(来自 RADIUS 的 IPv4 DNS 地址、来自访问配置文件或全局配置的 IPv6)
- 显示订阅者广泛(RPF 检查失败过滤器)
- 广泛显示订阅用户(MX 系列路由器上的 L2TP LNS 订阅者)
- 显示订阅者广泛(IPv4 和 IPv6 双堆栈)
- 显示订阅者广泛(ADF 规则)
- 显示订阅者广泛(有效整形率)
- 显示用户广泛(PPPoE 用户接入线路费率)
- 显示订阅者广泛(使用 PCEF 配置文件的订阅者会话)
- 显示订阅者 ACI 接口集名称详细信息(使用指定 ACI 接口集的订阅者会话)
- 显示订阅者代理电路标识符详细信息(使用指定 ACI 子字符串的订阅者会话)
- 显示订阅者 ID 会计统计
- 显示订户界面会计统计
- 显示订阅者界面广泛
- 显示订阅者逻辑系统简洁
- 显示订阅者物理接口计数
- 显示订阅者路由实例 inst1 计数
- 显示订阅者堆叠 VLAN ID 详细信息
- 显示订阅者堆叠 VLAN ID VLAN ID 详细信息(合并输出)
- 显示订阅者堆叠 VLAN ID VLAN ID 接口详细信息(特定接口的组合输出)
- 显示订阅者用户名详细信息
- 显示订阅者 VLAN-ID
- 显示订阅者 VLAN-ID 详细信息
- 显示订阅者 vpi vci 广泛(购买力价E-over-ATM 用户会话)
- 显示订阅者地址详细信息(增强的订阅者管理)
- 显示订阅者广泛(租户系统)
显示订阅者 (IPv4)
user@host> show subscribers Interface IP Address/VLAN ID User Name LS:RI ge-1/3/0.1073741824 10 default:default demux0.1073741824 203.0.113.10 WHOLESALER-CLIENT default:default demux0.1073741825 203.0.113.3 RETAILER1-CLIENT test1:retailer1 demux0.1073741826 203.0.113.3 RETAILER2-CLIENT test1:retailer2
显示订阅者 (IPv6)
user@host> show subscribers Interface IP Address/VLAN ID User Name LS:RI ge-1/0/0.0 2001:db8:c0:0:0:0/74 WHOLESALER-CLIENT default:default * 2001:db8:1/128 subscriber-25 default:default
显示订阅者(IPv4 和 IPv6 双堆栈)
user@host> show subscribers Interface IP Address/VLAN ID User Name LS:RI demux0.1073741834 0x8100.1002 0x8100.1 default:default demux0.1073741835 0x8100.1001 0x8100.1 default:default pp0.1073741836 203.0.113.13 dualstackuser1@example1.com default:ASP-1 * 2001:db8:1::/48 * 2001:db8:1:1::/64 pp0.1073741837 203.0.113.33 dualstackuser2@example1.com default:ASP-1 * 2001:db8:1:2:5::/64
show subscribes(单会话 DHCP 双堆栈)
user@host> show subscribers Interface IP Address/VLAN ID User Name LS:RI demux0.1073741364 192.168.10.10 dual-stack-retail35 default:default 2001:db8::100:0:0:0/74 default:default 2001:db8:3ffe:0:4::/64
显示订阅者(单会话 DHCP 双堆栈详细信息)
user@host> show subscribers id 27 detail Type: DHCP User Name: dual-stack-retail33 IP Address: 10.10.0.53 IPv6 Address: 2001:db8:3000:0:0:8003::2 IPv6 Prefix: 2001:db8:3ffe:0:4::/64 Logical System: default Routing Instance: default Interface: ae0.3221225472 Interface type: Static Underlying Interface: ae0.3221225472 Dynamic Profile Name: dhcp-retail-18 MAC Address: 00:00:5E:00:53:02 State: Active DHCP Relay IP Address: 10.10.0.1 Radius Accounting ID: 27 Session ID: 27 PFE Flow ID: 2 Stacked VLAN Id: 2000 VLAN Id: 1 Login Time: 2014-05-15 10:12:10 PDT DHCP Options: len 60 00 08 00 02 00 00 00 01 00 0a 00 03 00 01 00 00 64 01 01 02 00 06 00 04 00 03 00 19 00 03 00 0c 00 00 00 00 00 00 00 00 00 00 00 00 00 19 00 0c 00 00 00 00 00 00 00 00 00 00 00 00
show subscribes(MX 系列路由器上的 LNS)
user@host> show subscribers Interface IP Address/VLAN ID User Name LS:RI si-4/0/0.1 192.0.2.0 user@example.com default:default
show subscribes(L2TP 交换隧道)
user@host> show subscribers Interface IP Address/VLAN ID User Name LS:RI si-2/1/0.1073741842 Tunnel-switched user@example.com default:default si-2/1/0.1073741843 Tunnel-switched user@example.com default:default
显示订阅者聚合接口集名称
user@host> show subscribers aggregation-interface-set-name FRA* Interface IP Address/VLAN ID User Name LS:RI ge-1/0/0.3221225472 50 ancp default:isp1-subscriber
显示订阅者客户端类型 DHCP 详细信息
user@host> show subscribers client-type dhcp detail Type: DHCP IP Address: 203.0.113.29 IP Netmask: 255.255.0.0 Logical System: default Routing Instance: default Interface: demux0.1073744127 Interface type: Dynamic Dynamic Profile Name: dhcp-demux MAC Address: 00:00:5e:00:53:98 State: Active Radius Accounting ID: user :2304 Login Time: 2009-08-25 14:43:52 PDT Type: DHCP IP Address: 203.0.113.27 IP Netmask: 255.255.0.0 Logical System: default Routing Instance: default Interface: demux0.1073744383 Interface type: Dynamic Dynamic Profile Name: dhcp-demux-prof MAC Address: 00:00:5e:00:53:f3 State: Active Radius Accounting ID: 1234 :2560 Login Time: 2009-08-25 14:43:56 PDT
显示订阅者客户端类型 DHCP 详细信息 (DHCPv6)
user@host> show subscribers client-type dhcp detail Type: DHCP User Name: DEFAULTUSER IPv6 Address: 2001:db8::2 IPv6 Prefix: 2001:db8:1::/64 Logical System: default Routing Instance: default Interface: demux0.3221225602 Interface type: Static Underlying Interface: demux0.3221225602 Dynamic Profile Name: client-profile MAC Address: 00:00:5E:00:53:01 State: Active Radius Accounting ID: 142 Session ID: 142 PFE Flow ID: 148 Stacked VLAN Id: 1 VLAN Id: 1 Login Time: 2018-03-29 12:27:38 EDT DHCP Options: len 56 00 08 00 02 00 00 00 01 00 0e 00 01 00 01 22 4f d0 33 00 11 01 00 00 01 00 03 00 0c 00 00 00 0a 00 04 9d 40 00 07 62 00 00 19 00 0c 00 00 00 0b 00 04 9d 40 00 07 62 00 Server DHCPV6 Options: len 94 00 0a 00 06 11 22 33 44 55 66 00 11 00 09 00 00 0c 4c 00 02 00 01 aa 00 11 00 20 00 00 0a 4c 00 02 00 02 32 33 00 03 00 03 34 35 36 00 05 00 06 31 32 33 34 35 36 00 06 00 01 31 00 11 00 09 00 00 0b 4c 00 02 00 01 bb 00 11 00 12 00 00 0d e9 00 01 00 03 aa bb cc 00 02 00 03 dd ee cc DHCPV6 Header: len 4 01 fc e4 96
显示订阅者客户端类型 DHCP 广泛
user@host> show subscribers client-type dhcp extensive Type: DHCP User Name: user IP Address: 192.0.2.4 IP Netmask: 255.0.0.0 IPv6 Address: 2001:db8:3::103 IPv6 Prefix: 2001:db8::/68 Domain name server inet6: 2001:db8:1 abcd::2 Logical System: default Routing Instance: default Interface: ge-0/0/0.0 Interface type: Static Underlying Interface: ge-0/0/0.0 MAC Address: 00:00:5e:00:53:01 State: Configured Radius Accounting ID: 10 Session ID: 10 PFE Flow ID: 2 VLAN Id: 100 Agent Circuit ID: ge-0/0/0:100 Agent Remote ID: ge-0/0/0:100 Login Time: 2017-05-23 12:52:22 IST DHCPV6 Options: len 69 00 01 00 0e 00 01 00 01 59 23 e3 31 00 10 94 00 00 01 00 08 00 02 00 00 00 19 00 29 00 00 00 00 00 04 9d 40 00 07 62 00 00 1a 00 19 00 09 3a 80 00 27 8d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Server DHCP Options: len 13 3a 04 00 00 00 ff 00 3b 04 00 00 0f 00 Server DHCPV6 Options: len 8 00 0a 00 04 ab cd ef ab DHCPV6 Header: len 4 01 00 00 04 IP Address Pool: al_pool30 IPv6 Address Pool: ia_na_pool IPv6 Delegated Address Pool: prefix_delegate_pool
向用户显示客户端类型固定无线接入
user@host> show subscribers client-type fixed-wireless-access Interface IP Address/VLAN ID User Name LS:RI ps1.3221225472 192.0.2.10 505024101215074 default:default ps1.3221225473 192.0.2.11 505024101215075 default:default
显示订阅者客户端类型固定无线接入详细信息(详细信息)
user@host> show subscribers client-type fixed-wireless-access detail Type: FWA User Name: 505024101215074 IP Address: 192.0.2.10 IP Netmask: 255.255.0.0 Interface: ps1.3221225472 Interface type: Dynamic Dynamic Profile Name: fwa-profile State: Active Radius Accounting ID: 1 Session ID: 1 PFE Flow ID: 11 Login Time: 2019-04-10 14:10:12 PDT Local TEID-U: 1 Local TEID-C: 1 Remote TEID-U: 2000000 Remote TEID-C: 1000000 GTPU Tunnel Remote IP Address: 203.0.113.1.3 GTPU Tunnel Local IP Address: 203.0.113.2.5 GTPC Remote IP Address: 203.0.113.1.2 GTPC Local IP Address: 203.0.113.1.1 Access Point Name: user21
显示订阅者客户端类型 VLAN-OOB 详细信息
user@host> show subscribers client-type vlan-oob detail Type: VLAN-OOB User Name: L2WS.line-aci-1.line-ari-1 Logical System: default Routing Instance: ISP1 Interface: demux0.1073744127 Interface type: Dynamic Underlying Interface: ge-1/0/0 Dynamic Profile Name: Prof_L2WS Dynamic Profile Version: 1 State: Active Radius Accounting ID: 1234 Session ID: 77 VLAN Id: 126 Core-Facing Interface: ge-2/1/1 VLAN Map Id: 6 Inner VLAN Map Id: 2001 Agent Circuit ID: line-aci-1 Agent Remote ID: line-ari-1 Login Time: 2013-10-29 14:43:52 EDT
显示订阅人数
user@host> show subscribers count Total Subscribers: 188, Active Subscribers: 188
显示订阅者地址详细信息 (IPv6)
user@host> show subscribers address 203.0.113.137 detail Type: PPPoE User Name: pppoeTerV6User1Svc IP Address: 203.0.113.137 IP Netmask: 255.0.0.0 IPv6 User Prefix: 2001:db8:0:c88::/32 Logical System: default Routing Instance: default Interface: pp0.1073745151 Interface type: Dynamic Underlying Interface: demux0.8201 Dynamic Profile Name: pppoe-client-profile MAC Address: 00:00:5e:00:53:53 Session Timeout (seconds): 31622400 Idle Timeout (seconds): 86400 State: Active Radius Accounting ID: example demux0.8201:6544 Session ID: 6544 Agent Circuit ID: ifl3720 Agent Remote ID: ifl3720 Login Time: 2012-05-21 13:37:27 PDT Service Sessions: 1
显示订阅者详细信息 (IPv4)
user@host> show subscribers detail Type: DHCP IP Address: 203.0.113.29 IP Netmask: 255.255.0.0 Primary DNS Address: 192.0.2.0 Secondary DNS Address: 192.0.2.1 Primary WINS Address: 192.0.2.3 Secondary WINS Address: 192.0.2.4 Logical System: default Routing Instance: default Interface: demux0.1073744127 Interface type: Dynamic Dynamic Profile Name: dhcp-demux-prof MAC Address: 00:00:5e:00:53:98 State: Active Radius Accounting ID: example :2304 Idle Timeout (seconds): 600 Login Time: 2009-08-25 14:43:52 PDT DHCP Options: len 52 35 01 01 39 02 02 40 3d 07 01 00 10 94 00 00 08 33 04 00 00 00 3c 0c 15 63 6c 69 65 6e 74 5f 50 6f 72 74 20 2f 2f 36 2f 33 2d 37 2d 30 37 05 01 06 0f 21 2c Service Sessions: 2
显示订阅者详细信息 (IPv6)
user@host> show subscribers detail Type: DHCP User Name: pd-user1 IPv6 Prefix: 2001:db8:ffff:1::/32 Logical System: default Routing Instance: default Interface: ge-3/1/3.2 Interface type: Static MAC Address: 00:00:5e:00:53:03 State: Active Radius Accounting ID: 1 Session ID: 1 Login Time: 2011-08-25 12:12:26 PDT DHCP Options: len 42 00 08 00 02 00 00 00 01 00 0a 00 03 00 01 00 51 ff ff 00 03 00 06 00 02 00 19 00 19 00 0c 00 00 00 00 00 00 00 00 00 00 00 00
显示订阅者详细信息(GRE 隧道伪线接口)
user@host> show subscribers detail Interface IP Address/VLAN ID User Name LS:RI ps0.3221225484 192.0.2.2 ps0.3221225485 192.0.2.3 demux0.3221225486 1 default:default demux0.3221225487 1 default:default demux0.3221225488 198.51.0.1 default:default demux0.3221225489 198.51.0.2 default:default
显示订阅者详细信息(IPv6 静态多路复用接口)
user@host> show subscribers detail Type: STATIC-INTERFACE User Name: user@example.com IPv6 Prefix: 2001:db8:3:4:5:6:7:aa/32 Logical System: default Routing Instance: default Interface: demux0.1 Interface type: Static Dynamic Profile Name: junos-default-profile State: Active Radius Accounting ID: 185 Login Time: 2010-05-18 14:33:56 EDT
显示订阅者详细信息(MX 系列路由器上的 L2TP LNS 订阅者)
user@host> show subscribers detail Type: L2TP User Name: user@example.com IP Address: 203.0.113.58 IP Netmask: 255.255.0.0 Logical System: default Routing Instance: default Interface: si-5/2/0.1073749824 Interface type: Dynamic Dynamic Profile Name: dyn-lns-profile2 Dynamic Profile Version: 1 State: Active Radius Accounting ID: 8001 Session ID: 8001 Login Time: 2011-04-25 20:27:50 IST
显示订阅者详细信息(L2TP 交换隧道)
user@host> show subscribers detail Type: L2TP User Name: user@example.com Logical System: default Routing Instance: default Interface: si-2/1/0.1073741842 Interface type: Dynamic Dynamic Profile Name: dyn-lts-profile State: Active L2TP State: Tunnel-switched Tunnel switch Profile Name: ce-lts-profile Local IP Address: 203.0.113.51 Remote IP Address: 192.0.2.0 Radius Accounting ID: 21 Session ID: 21 Login Time: 2013-01-18 03:01:11 PST Type: L2TP User Name: user@example.com Logical System: default Routing Instance: default Interface: si-2/1/0.1073741843 Interface type: Dynamic Dynamic Profile Name: dyn-lts-profile State: Active L2TP State: Tunnel-switched Tunnel switch Profile Name: ce-lts-profile Local IP Address: 203.0.113.31 Remote IP Address: 192.0.2.1 Session ID: 22 Login Time: 2013-01-18 03:01:14 PST
显示订阅者详细信息(隧道订阅者)
user@host> show subscribers detail Type: PPPoE User Name: user1@example.com Logical System: default Routing Instance: default Interface: pp0.1 State: Active, Tunneled Radius Accounting ID: 512
显示订阅者详细信息(IPv4 和 IPv6 双堆栈)
user@host> show subscribers detail Type: VLAN Logical System: default Routing Instance: default Interface: demux0.1073741824 Interface type: Dynamic Dynamic Profile Name: svlanProfile State: Active Session ID: 1 Stacked VLAN Id: 0x8100.1001 VLAN Id: 0x8100.1 Login Time: 2011-11-30 00:18:04 PST Type: PPPoE User Name: dualstackuser1@example1.com IP Address: 203.0.113.13 IPv6 Prefix: 2001:db8:1::/32 IPv6 User Prefix: 2001:db8:1:1::/32 Logical System: default Routing Instance: ASP-1 Interface: pp0.1073741825 Interface type: Dynamic Dynamic Profile Name: dualStack-Profile1 MAC Address: 00:00:5e:00:53:02 State: Active Radius Accounting ID: 2 Session ID: 2 Login Time: 2011-11-30 00:18:05 PST Type: DHCP IPv6 Prefix: 2001:db8:1::/32 Logical System: default Routing Instance: ASP-1 Interface: pp0.1073741825 Interface type: Static MAC Address: 00:00:5e:00:53:02 State: Active Radius Accounting ID: test :3 Session ID: 3 Underlying Session ID: 2 Login Time: 2011-11-30 00:18:35 PST DHCP Options: len 42 00 08 00 02 0b b8 00 01 00 0a 00 03 00 01 00 00 64 03 01 02 00 06 00 02 00 19 00 19 00 0c 00 00 00 00 00 00 00 00 00 00 00 00
显示订阅者详细信息(ACI 接口集会话)
user@host> show subscribers detail Type: VLAN Logical System: default Routing Instance: default Interface: ge-1/0/0 Interface Set: aci-1001-ge-1/0/0.2800 Interface Set Session ID: 0 Underlying Interface: ge-1/0/0.2800 Dynamic Profile Name: aci-vlan-set-profile-2 Dynamic Profile Version: 1 State: Active Session ID: 1 Agent Circuit ID: aci-ppp-dhcp-20 Login Time: 2012-05-26 01:54:08 PDT
显示订阅者详细信息(具有 ACI 接口集的 PPPoE 订阅者会话)
user@host> show subscribers detail Type: PPPoE User Name: ppphint2 IP Address: 203.0.113.15 Logical System: default Routing Instance: default Interface: pp0.1073741825 Interface type: Dynamic Interface Set: aci-1001-demux0.1073741824 Interface Set Type: Dynamic Interface Set Session ID: 2 Underlying Interface: demux0.1073741824 Dynamic Profile Name: aci-vlan-pppoe-profile Dynamic Profile Version: 1 MAC Address: 00:00:5e:00:53:02 State: Active Radius Accounting ID: 3 Session ID: 3 Agent Circuit ID: aci-ppp-dhcp-dvlan-50 Login Time: 2012-03-07 13:46:53 PST
显示订阅者详细信息(动态配置文件版本别名)
user@host> show subscribers detail Type: PPPoE User Name: DEFAULTUSER IP Address: 192.0.2.21 IP Netmask: 255.255.255.255 IPv6 Address: 2001:db8::17 Logical System: default Routing Instance: default Interface: pp0.3221225720 Interface type: Dynamic Underlying Interface: demux0.3221225719 Dynamic Profile Name: pppoe-client-profile Dynamic Profile Version Alias: profile-version1a MAC Address: 00:00:5E:00:53:38 State: Active Radius Accounting ID: 288 Session ID: 288 PFE Flow ID: 344 VLAN Id: 1 Login Time: 2019-09-23 10:40:56 IST
显示订阅者广泛
user@host> show subscribers extensive Type: DHCP User Name: uer@host IP Address: 192.0.2.136 IP Netmask: 255.0.0.0 Logical System: default Routing Instance: default Interface: ge-0/0/0.0 Interface type: Static Underlying Interface: ge-0/0/0.0 MAC Address: 00:10:94:00:00:01 State: Active Radius Accounting ID: 15 Session ID: 15 PFE Flow ID: 2 VLAN Id: 100 Login Time: 2021-05-24 11:30:07 IST DHCP Options: len 52 35 01 01 39 02 02 40 3d 07 01 00 10 94 00 00 01 33 04 00 00 00 3c 0c 15 63 6c 69 65 6e 74 5f 50 6f 72 74 20 2f 2f 31 2f 31 2d 30 2d 30 37 05 01 06 0f 21 2c DHCP Header: len 44 01 01 06 00 00 00 00 1d 00 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10 94 00 00 01 00 00 00 00 00 00 00 00 00 00 IP Address Pool: al_pool30 Access Line Attributes: Actual upstream data rate: 19998 Actual downstream data rate: 79999 Access loop encapsulation: 01 02 00
显示订阅者广泛(聚合节点接口集和 DSL 论坛属性)
user@host> show subscribers extensive Type: VLAN-OOB User Name: ancp Logical System: default Routing Instance: isp1-subscriber Interface: ge-1/0/0.3221225472 Interface type: Dynamic Interface Set: FRA-DPU-C-100 Underlying Interface: ge-1/0/0 Core IFL Name: ge-1/0/4.0 Dynamic Profile Name: Prof_L2BSA State: Active Radius Accounting ID: 1 Session ID: 1 PFE Flow ID: 13 VLAN Id: 50 VLAN Map Id: 20 Inner VLAN Map Id: 1 Inner VLAN Tag Protocol Id: 0x88a8 Agent Circuit ID: circuit 201 Agent Remote ID: remote-id Aggregation Interface-set Name: FRA-DPU-C-100 Login Time: 2018-05-29 08:43:42 EDT Accounting interval: 72000 Dynamic configuration: junos-cos-scheduler-map: 100m junos-inner-vlan-tag-protocol-id: 0x88a8 junos-vlan-map-id: 20 Type: PPPoE IP Address: 192.85.128.1 IP Netmask: 255.255.255.255 Logical System: default Routing Instance: default Interface: pp0.3221225474 Interface type: Dynamic Interface Set: ge-1/0/0 Underlying Interface: demux0.3221225473 Dynamic Profile Name: pppoe-client-profile-with-cos MAC Address: 00:10:94:00:00:03 State: Active Radius Accounting ID: 3 Session ID: 3 PFE Flow ID: 16 Stacked VLAN Id: 50 VLAN Id: 7 Agent Circuit ID: circuit 201 Agent Remote ID: remote-id Aggregation Interface-set Name: FRA-DPU-C-100 Login Time: 2018-05-29 08:43:45 EDT IP Address Pool: pool-1 Accounting interval: 72000 DSL type: G.fast Frame/cell mode: Frame Overhead accounting bytes: 10 Actual upstream data rate: 100000 kbps Actual downstream data rate: 200000 kbps Calculated downstream data rate: 180000 kbps Calculated upstream data rate: 90000 kbps Adjusted downstream data rate: 160000 kbps DSL Line Attributes Agent Circuit ID: circuit 201 Agent Remote ID: remote-id Actual upstream data rate: 100000 Actual downstream data rate: 200000 DSL type: G.fast Access Aggregation Circuit ID: #FRA-DPU-C-100 Attribute type: 0xAA, Attribute length: 4 198 51 100 78
显示订户广泛(无源光纤网络电路接口集)
user@host> show subscribers client-type dhcp extensive Type: DHCP IP Address: 192.0.2.136 IP Netmask: 255.255.0.0 Logical System: default Routing Instance: default Interface: demux0.1073741842 Interface type: Dynamic Interface Set: otl01.xyz101-202 Underlying Interface: demux0.1073741841 Dynamic Profile Name: dhcp-profile MAC Address: 00:00:5e:00:53:02 State: Active Radius Accounting ID: user :19 Session ID: 19 VLAN Id: 1100 Agent Remote ID: ABCD01234|100M|AAAA01234|otl01.xyz101-202 Login Time: 2017-03-29 10:30:46 PDT DHCP Options: len 97 35 01 01 39 02 02 40 3d 07 01 00 10 94 00 00 02 33 04 00 00 17 70 0c 15 63 6c 69 65 6e 74 5f 50 6f 72 74 20 2f 2f 32 2f 32 2d 31 2d 31 37 05 01 06 0f 21 2c 52 2b 02 29 41 42 43 44 30 31 32 33 34 7c 31 30 30 4d 7c 41 41 41 41 30 31 32 33 34 7c 6f 74 6c 30 31 2e 78 79 7a 31 30 31 2d 32 30 32 IP Address Pool: POOL-V4
广泛显示订阅者(访问配置文件或全局配置中的 DNS 地址)
user@host> show subscribers extensive Type: DHCP User Name: test-user@example-com IP Address: 192.0.2.119 IP Netmask: 255.255.255.255 Domain name server inet: 198.51.100.1 198.51.100.2 IPv6 Address: 2001:db8::1:11 Domain name server inet6: 2001:db8:5001::12 2001:db8:3001::12 Logical System: default Routing Instance: default Interface: ge-2/0/3.0 Interface type: Static Underlying Interface: ge-2/0/3.0 MAC Address: 00:00:5E:00:53:00 State: Active Radius Accounting ID: 5 Session ID: 5 Login Time: 2017-01-31 11:16:21 IST DHCP Options: len 53 35 01 01 39 02 02 40 3d 07 01 00 10 94 00 00 03 33 04 00 00 00 3c 0c 16 63 6c 69 65 6e 74 5f 50 6f 72 74 20 2f 2f 35 2f 31 32 2d 30 2d 30 37 05 01 06 0f 21 2c IP Address Pool: v4-pool
显示订阅者广泛(来自 RADIUS 的 DNS 地址)
user@host> show subscribers extensive Type: DHCP User Name: test-user@example-com IP Address: 192.0.2.119 IP Netmask: 255.255.255.255 Primary DNS Address: 198.51.100.1 Secondary DNS Address: 198.51.100.2 IPv6 Address: 2001:db8::1:11 IPv6 Primary DNS Address: 2001:db8:5001::12 IPv6 Secondary DNS Address: 2001:db8:3001::12 Logical System: default Routing Instance: default Interface: ge-2/0/3.0 Interface type: Static Underlying Interface: ge-2/0/3.0 MAC Address: 00:00:5E:00:53:00 State: Active Radius Accounting ID: 5 Session ID: 5 Login Time: 2017-01-31 11:16:21 IST DHCP Options: len 53 35 01 01 39 02 02 40 3d 07 01 00 10 94 00 00 03 33 04 00 00 00 3c 0c 16 63 6c 69 65 6e 74 5f 50 6f 72 74 20 2f 2f 35 2f 31 32 2d 30 2d 30 37 05 01 06 0f 21 2c IP Address Pool: v4-pool
广泛显示订阅者(来自 RADIUS 的 IPv4 DNS 地址、来自访问配置文件或全局配置的 IPv6)
user@host> show subscribers extensive Type: DHCP User Name: test-user@example-com IP Address: 192.0.2.119 IP Netmask: 255.255.255.255 Primary DNS Address: 198.51.100.1 Secondary DNS Address: 198.51.100.2 IPv6 Address: 2001:db8::1:11 Domain name server inet6: 2001:db8:5001::12 2001:db8:3001::12 Logical System: default Routing Instance: default Interface: ge-2/0/3.0 Interface type: Static Underlying Interface: ge-2/0/3.0 MAC Address: 00:00:5E:00:53:00 State: Active Radius Accounting ID: 5 Session ID: 5 Login Time: 2017-01-31 11:16:21 IST DHCP Options: len 53 35 01 01 39 02 02 40 3d 07 01 00 10 94 00 00 03 33 04 00 00 00 3c 0c 16 63 6c 69 65 6e 74 5f 50 6f 72 74 20 2f 2f 35 2f 31 32 2d 30 2d 30 37 05 01 06 0f 21 2c IP Address Pool: v4-pool
显示订阅者广泛(RPF 检查失败过滤器)
user@host> show subscribers extensive ... Type: VLAN Logical System: default Routing Instance: default Interface: ae0.1073741824 Interface type: Dynamic Dynamic Profile Name: vlan-prof State: Active Session ID: 9 VLAN Id: 100 Login Time: 2011-08-26 08:17:00 PDT IPv4 rpf-check Fail Filter Name: rpf-allow-dhcp IPv6 rpf-check Fail Filter Name: rpf-allow-dhcpv6 ...
广泛显示订阅用户(MX 系列路由器上的 L2TP LNS 订阅者)
user@host> show subscribers extensive Type: L2TP User Name: user@example.com IP Address: 203.0.113.58 IP Netmask: 255.255.0.0 Logical System: default Routing Instance: default Interface: si-5/2/0.1073749824 Interface type: Dynamic Dynamic Profile Name: dyn-lns-profile2 Dynamic Profile Version: 1 State: Active Radius Accounting ID: 8001 Session ID: 8001 Login Time: 2011-04-25 20:27:50 IST IPv4 Input Filter Name: classify-si-5/2/0.1073749824-in IPv4 Output Filter Name: classify-si-5/2/0.1073749824-out
显示订阅者广泛(IPv4 和 IPv6 双堆栈)
user@host> show subscribers extensive Type: VLAN Logical System: default Routing Instance: default Interface: demux0.1073741824 Interface type: Dynamic Dynamic Profile Name: svlanProfile State: Active Session ID: 1 Stacked VLAN Id: 0x8100.1001 VLAN Id: 0x8100.1 Login Time: 2011-11-30 00:18:04 PST Type: PPPoE User Name: dualstackuser1@example1.com IP Address: 203.0.113.13 IPv6 Prefix: 2001:db8:1::/32 IPv6 User Prefix: 2001:db8:1:1::/32 Logical System: default Routing Instance: ASP-1 Interface: pp0.1073741825 Interface type: Dynamic Dynamic Profile Name: dualStack-Profile1 MAC Address: 00:00:5e:00:53:02 State: Active Radius Accounting ID: 2 Session ID: 2 Login Time: 2011-11-30 00:18:05 PST IPv6 Delegated Network Prefix Length: 48 IPv6 Interface Address: 2001:db8:2016:1:1::1/64 IPv6 Framed Interface Id: 1:1:2:2 IPv4 Input Filter Name: FILTER-IN-pp0.1073741825-in IPv4 Output Filter Name: FILTER-OUT-pp0.1073741825-out IPv6 Input Filter Name: FILTER-IN6-pp0.1073741825-in IPv6 Output Filter Name: FILTER-OUT6-pp0.1073741825-out Type: DHCP IPv6 Prefix: 2001:db8:1::/32 Logical System: default Routing Instance: ASP-1 Interface: pp0.1073741825 Interface type: Static MAC Address: 00:00:5e:00:53:02 State: Active Radius Accounting ID: test :3 Session ID: 3 Underlying Session ID: 2 Login Time: 2011-11-30 00:18:35 PST DHCP Options: len 42 00 08 00 02 0b b8 00 01 00 0a 00 03 00 01 00 00 64 03 01 02 00 06 00 02 00 19 00 19 00 0c 00 00 00 00 00 00 00 00 00 00 00 00 IPv6 Delegated Network Prefix Length: 48
显示订阅者广泛(ADF 规则)
user@host> show subscribers extensive ... Service Session ID: 12 Service Session Name: SERVICE-PROFILE State: Active Family: inet ADF IPv4 Input Filter Name: __junos_adf_12-demux0.3221225474-inet-in Rule 0: 010101000b0101020b020200201811 from { source-address 203.0.113.232; destination-address 198.51.100.0/24; protocol 17; } then { accept; }
显示订阅者广泛(有效整形率)
user@host> show subscribers extensive
Type: VLAN
Logical System: default
Routing Instance: default
Interface: demux0.1073741837
Interface type: Dynamic
Interface Set: ifset-1
Underlying Interface: ae1
Dynamic Profile Name: svlan-dhcp-test
State: Active
Session ID: 1
Stacked VLAN Id: 0x8100.201
VLAN Id: 0x8100.201
Login Time: 2011-11-30 00:18:04 PST
Effective shaping-rate: 31000000k
...
显示用户广泛(PPPoE 用户接入线路费率)
user@host> show subscribers extensive Type: PPPoE IP Address: 198.51.100.1 IP Netmask: 255.255.255.255 Logical System: default Routing Instance: default Interface: pp0.3221225475 Interface type: Dynamic Underlying Interface: demux0.3221225474 Dynamic Profile Name: pppoe-client-profile-with-cos MAC Address: 00:00:5e:00:53:02 State: Active Radius Accounting ID: 4 Session ID: 4 PFE Flow ID: 14 Stacked VLAN Id: 40 VLAN Id: 1 Agent Circuit ID: circuit0 Agent Remote ID: remote0 Login Time: 2017-04-06 15:52:32 PDT User Name: DAVE-L2BSA-SERVICE Logical System: default Routing Instance: isp-1-subscriber Interface: ge-1/2/4.3221225472 Interface type: Dynamic Interface Set: ge-1/2/4 Underlying Interface: ge-1/2/4 Core IFL Name: ge-1/3/4.0 Dynamic Profile Name: L2BSA-88a8-400LL1300VO State: Active Radius Accounting ID: 1 Session ID: 1 PFE Flow ID: 14 VLAN Id: 13 VLAN Map Id: 102 Inner VLAN Map Id: 1 Agent Circuit ID: circuit-aci-3 Agent Remote ID: remote49-3 Login Time: 2017-04-05 16:59:29 EDT Service Sessions: 4 IFL Input Filter Name: L2BSA-CP-400LL1300VO-ge-1/2/4.3221225472-in IFL Output Filter Name: L2BSA-CP-400LL1300VO-ge-1/2/4.3221225472-out Accounting interval: 900 DSL type: VDSL Frame/Cell Mode: Frame Overhead accounting bytes: -10 Actual upstream data rate: 1024 kbps Actual downstream data rate: 4096 kbps Adjusted downstream data rate: 3686 kbps Dynamic configuration: junos-vlan-map-id: 102 Service Session ID: 5 Service Session Name: SRL-L1 State: Active Family: inet, inet6 IFL Input Filter Name: L2BSA-FWF-in-10048-ge-1/2/4.3221225472-in IFL Output Filter Name: L2BSA-FWF-out-25088-ge-1/2/4.3221225472-out Service Activation time: 2017-04-05 16:59:30 EDT Dynamic configuration: l2bsa-fwf-in: L2BSA-FWF-in-10048 l2bsa-fwf-out: L2BSA-FWF-out-25088 rldown: 25088 rlup: 10048
显示订阅者广泛(使用 PCEF 配置文件的订阅者会话)
user@host> show subscribers extensive Type: VLAN Logical System: default Routing Instance: default Interface: demux0.3221225517 Interface type: Dynamic Underlying Interface: ge-1/0/3 Dynamic Profile Name: svlan-dhcp State: Active Session ID: 59 PFE Flow ID: 71 Stacked VLAN Id: 0x8100.1 VLAN Id: 0x8100.2 Login Time: 2017-03-28 08:23:08 PDT Type: DHCP User Name: pcefuser IP Address: 192.0.2.26 IP Netmask: 255.0.0.0 Logical System: default Routing Instance: default Interface: demux0.3221225518 Interface type: Dynamic Underlying Interface: demux0.3221225517 Dynamic Profile Name: dhcp-client-prof MAC Address: 00:00:5e:00:53:01 State: Active Radius Accounting ID: 60 Session ID: 60 PFE Flow ID: 73 Stacked VLAN Id: 1 VLAN Id: 2 Login Time: 2017-03-28 08:23:08 PDT Service Sessions: 1 DHCP Options: len 9 35 01 01 37 04 01 03 3a 3b IP Address Pool: pool-ipv4 IPv4 Input Service Set: tdf-service-set IPv4 Output Service Set: tdf-service-set PCEF Profile: pcef-prof-1 PCEF Rule/Rulebase: default Dynamic configuration: junos-input-service-filter: svc-filt-1 junos-input-service-set: tdf-service-set junos-output-service-filter: svc-filt-1 junos-output-service-set: tdf-service-set junos-pcef-profile: pcef-prof-1 junos-pcef-rule: default Service Session ID: 61 Service Session Name: pcef-serv-prof State: Active Family: inet IPv4 Input Service Set: tdf-service-set IPv4 Output Service Set: tdf-service-set PCEF Profile: pcef-prof-1 PCEF Rule/Rulebase: limit-fb Service Activation time: 2017-03-28 08:31:19 PDT Dynamic configuration: pcef-prof: pcef-prof-1 pcef-rule1: limit-fb svc-filt: svc-filt-1 svc-set: tdf-service-set
显示订阅者 ACI 接口集名称详细信息(使用指定 ACI 接口集的订阅者会话)
user@host> show subscribers aci-interface-set-name aci-1003-ge-1/0/0.4001 detail Type: VLAN Logical System: default Routing Instance: default Interface: ge-1/0/0. Underlying Interface: ge-1/0/0.4001 Dynamic Profile Name: aci-vlan-set-profile Dynamic Profile Version: 1 State: Active Session ID: 13 Agent Circuit ID: aci-ppp-vlan-10 Login Time: 2012-03-12 10:41:56 PDT Type: PPPoE User Name: ppphint2 IP Address: 203.0.113.17 Logical System: default Routing Instance: default Interface: pp0.1073741834 Interface type: Dynamic Interface Set: aci-1003-ge-1/0/0.4001 Interface Set Type: Dynamic Interface Set Session ID: 13 Underlying Interface: ge-1/0/0.4001 Dynamic Profile Name: aci-vlan-pppoe-profile Dynamic Profile Version: 1 MAC Address: State: Active Radius Accounting ID: 14 Session ID: 14 Agent Circuit ID: aci-ppp-vlan-10 Login Time: 2012-03-12 10:41:57 PDT
显示订阅者代理电路标识符详细信息(使用指定 ACI 子字符串的订阅者会话)
user@host> show subscribers agent-circuit-identifier aci-ppp-vlan detail Type: VLAN Logical System: default Routing Instance: default Interface: ge-1/0/0. Underlying Interface: ge-1/0/0.4001 Dynamic Profile Name: aci-vlan-set-profile Dynamic Profile Version: 1 State: Active Session ID: 13 Agent Circuit ID: aci-ppp-vlan-10 Login Time: 2012-03-12 10:41:56 PDT Type: PPPoE User Name: ppphint2 IP Address: 203.0.113.17 Logical System: default Routing Instance: default Interface: pp0.1073741834 Interface type: Dynamic Interface Set: aci-1003-ge-1/0/0.4001 Interface Set Type: Dynamic Interface Set Session ID: 13 Underlying Interface: ge-1/0/0.4001 Dynamic Profile Name: aci-vlan-pppoe-profile Dynamic Profile Version: 1 MAC Address: 00:00:5e:00:53:52 State: Active Radius Accounting ID: 14 Session ID: 14 Agent Circuit ID: aci-ppp-vlan-10 Login Time: 2012-03-12 10:41:57 PDT
显示订阅者 ID 会计统计
user@host> show subscribers id 601 accounting-statistics Session ID: 601 Accounting Statistics: Input bytes : 199994 Output bytes : 121034 Input packets: 5263 Output packets: 5263 IPv6: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0
显示订户界面会计统计
user@host> show subscribers interface pp0.3221226949 accounting-statistics Session ID: 501 Accounting Statistics: Input bytes : 199994 Output bytes : 121034 Input packets: 5263 Output packets: 5263 IPv6: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Session ID: 502 Accounting Statistics: Input bytes : 87654 Output bytes : 72108 Input packets: 3322 Output packets: 3322 IPv6: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Session ID: 503 Accounting Statistics: Input bytes : 156528 Output bytes : 123865 Input packets: 7448 Output packets: 7448 IPv6: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0
显示订阅者界面广泛
user@host> show subscribers interface demux0.1073741826 extensive Type: VLAN User Name: user@test.example.com Logical System: default Routing Instance: testnet Interface: demux0.1073741826 Interface type: Dynamic Dynamic Profile Name: profile-vdemux-relay-23qos MAC Address: 00:00:5e:00:53:04 State: Active Radius Accounting ID: 12 Session ID: 12 Stacked VLAN Id: 0x8100.1500 VLAN Id: 0x8100.2902 Login Time: 2011-10-20 16:21:59 EST Type: DHCP User Name: user@test.example.com IP Address: 192.0.2.0 IP Netmask: 255.255.255.0 Logical System: default Routing Instance: testnet Interface: demux0.1073741826 Interface type: Static MAC Address: 00:00:5e:00:53:04 State: Active Radius Accounting ID: 21 Session ID: 21 Login Time: 2011-10-20 16:24:33 EST Service Sessions: 2 Service Session ID: 25 Service Session Name: SUB-QOS State: Active Service Session ID: 26 Service Session Name: service-cb-content State: Active IPv4 Input Filter Name: content-cb-in-demux0.1073741826-in IPv4 Output Filter Name: content-cb-out-demux0.1073741826-out
显示订阅者逻辑系统简洁
user@host> show subscribers logical-system test1 terse Interface IP Address/VLAN ID User Name LS:RI demux0.1073741825 203.0.113.3 RETAILER1-CLIENT test1:retailer1 demux0.1073741826 203.0.113.4 RETAILER2-CLIENT test1:retailer2
显示订阅者物理接口计数
user@host> show subscribers physical-interface ge-1/0/0 count Total subscribers: 3998, Active Subscribers: 3998
显示订阅者路由实例 inst1 计数
user@host> show subscribers routing-instance inst1 count Total Subscribers: 188, Active Subscribers: 183
显示订阅者堆叠 VLAN ID 详细信息
user@host> show subscribers stacked-vlan-id 101 detail Type: VLAN Interface: ge-1/2/0.1073741824 Interface type: Dynamic Dynamic Profile Name: svlan-prof State: Active Stacked VLAN Id: 0x8100.101 VLAN Id: 0x8100.100 Login Time: 2009-03-27 11:57:19 PDT
显示订阅者堆叠 VLAN ID VLAN ID 详细信息(合并输出)
user@host> show subscribers stacked-vlan-id 101 vlan-id 100 detail Type: VLAN Interface: ge-1/2/0.1073741824 Interface type: Dynamic Dynamic Profile Name: svlan-prof State: Active Stacked VLAN Id: 0x8100.101 VLAN Id: 0x8100.100 Login Time: 2009-03-27 11:57:19 PDT
显示订阅者堆叠 VLAN ID VLAN ID 接口详细信息(特定接口的组合输出)
user@host> show subscribers stacked-vlan-id 101 vlan-id 100 interface ge-1/2/0.* detail Type: VLAN Interface: ge-1/2/0.1073741824 Interface type: Dynamic Dynamic Profile Name: svlan-prof State: Active Stacked VLAN Id: 0x8100.101 VLAN Id: 0x8100.100 Login Time: 2009-03-27 11:57:19 PDT
显示订阅者用户名详细信息
user@host> show subscribers user-name larry1 detail Type: DHCP User Name: larry1 IP Address: 203.0.113.37 IP Netmask: 255.255.0.0 Logical System: default Routing Instance: default Interface: ge-1/0/0.1 Interface type: Static Dynamic Profile Name: foo MAC Address: 00:00:5e:00:53:01 State: Active Radius Accounting ID: 1 Session ID: 1 Login Time: 2011-11-07 08:25:59 PST DHCP Options: len 52 35 01 01 39 02 02 40 3d 07 01 00 10 94 00 00 01 33 04 00 00 00 3c 0c 15 63 6c 69 65 6e 74 5f 50 6f 72 74 20 2f 2f 32 2f 37 2d 30 2d 30 37 05 01 06 0f 21 2c
显示订阅者 VLAN-ID
user@host> show subscribers vlan-id 100 Interface IP Address User Name ge-1/0/0.1073741824 ge-1/2/0.1073741825
显示订阅者 VLAN-ID 详细信息
user@host> show subscribers vlan-id 100 detail Type: VLAN Interface: ge-1/0/0.1073741824 Interface type: Dynamic Dynamic Profile Name: vlan-prof-tpid State: Active VLAN Id: 100 Login Time: 2009-03-11 06:48:54 PDT Type: VLAN Interface: ge-1/2/0.1073741825 Interface type: Dynamic Dynamic Profile Name: vlan-prof-tpid State: Active VLAN Id: 100 Login Time: 2009-03-11 06:48:54 PDT
显示订阅者 vpi vci 广泛(购买力价E-over-ATM 用户会话)
user@host> show subscribers vpi 40 vci 50 extensive Type: PPPoE User Name: testuser IP Address: 203.0.113.2 IP Netmask: 255.255.0.0 Logical System: default Routing Instance: default Interface: pp0.0 Interface type: Static MAC Address: 00:00:5e:00:53:02 State: Active Radius Accounting ID: 2 Session ID: 2 ATM VPI: 40 ATM VCI: 50 Login Time: 2012-12-03 07:49:26 PST IP Address Pool: pool_1 IPv6 Framed Interface Id: 200:65ff:fe23:102
显示订阅者地址详细信息(增强的订阅者管理)
user@host> show subscribers address 203.0.113.111 detail Type: DHCP User Name: simple_filters_service IP Address: 203.0.113.111 IP Netmask: 255.0.0.0 Logical System: default Routing Instance: default Interface: demux0.3221225482 Interface type: Dynamic Underlying Interface: demux0.3221225472 Dynamic Profile Name: dhcp-demux-prof MAC Address: 00:00:5e:00:53:0f State: Active Radius Accounting ID: 11 Session ID: 11 PFE Flow ID: 15 Stacked VLAN Id: 210 VLAN Id: 209 Login Time: 2014-03-24 12:53:48 PDT Service Sessions: 1 DHCP Options: len 3 35 01 01
显示订阅者广泛(租户系统)
user@host:TSYS1> show subscribers extensive Type: XAUTH User Name: userX + Tenant: TSYS1 Routing Instance: TSYS1-ri IP Address: 192.0.2.0 IP Netmask: 203.0.113.0 Primary DNS Address: 198.51.100.0 Secondary DNS Address: 198.51.100.1 Dynamic Profile Name: radius State: Active Session ID: 1 Login Time: 2018-09-18 13:49:00 PDT
AGF 的示例输出
以下示例输出显示连接到 AGF 的订阅者:
显示订阅者广泛(FN-RG 上的 DHCP)
user@host> show subscribers extensive Type: DHCP User Name: USER2 IP Address: 172.16.0.227 Logical System: default Routing Instance: default Interface: demux0.3221230587 Interface type: Dynamic Underlying Interface: demux0.3221230586 Dynamic Profile Name: dhcp-profile MAC Address: 00:44:46:44:44:44 State: Active DHCP Relay IP Address: 10.1.0.1 Radius Accounting ID: 5128 Session ID: 5128 PFE Flow ID: 5185 Stacked VLAN Id: 1 VLAN Id: 1 Agent Circuit ID: aci1 Agent Remote ID: ari1 Login Time: 2022-04-26 09:24:56 PDT Service Sessions: 1 DHCP Options: len 9 35 01 01 37 04 01 03 3a 3b DHCP Header: len 44 01 01 06 00 10 bd b4 93 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 46 44 44 44 00 00 00 00 00 00 00 00 00 00 AGF Mode: Adaptive Local TEID-U: 10183810 Remote TEID-U: 6354992 GTPU Tunnel Remote IP Address: 10.0.0.1 GTPU Tunnel Local IP Address: 10.0.0.1 5G-QFI: 1 IPv6 Framed Interface Id: 0:7fff:ffff:eaa0 IPv4 Input Filter Name: RG-LWAC-V4-INPUT-FILTER-01-demux0.3221230587-in IPv4 Output Filter Name: RG-LWAC-V4-OUTPUT-FILTER-01-demux0.3221230587-out Access Line Attributes: Agent Circuit ID: aci1 Agent Remote ID: ari1 Dynamic configuration: junos-cos-guaranteed-rate: 1000000 junos-cos-guaranteed-rate-burst: 250000 junos-cos-scheduler: GOLD junos-cos-scheduler-shaping-rate: 200000000 junos-cos-scheduler-tx: 200000000 junos-cos-scheduler-map: DATA_VOICE_VIDEO_SMAP_UID1468 junos-cos-shaping-rate: 200000000 junos-cos-shaping-rate-burst: 50000 junos-cos-traffic-control-profile: TRAFFIC_CONTROL_PROFILE junos-input-filter: RG-LWAC-V4-INPUT-FILTER-01 junos-input-ipv6-filter: RG-LWAC-V6-INPUT-FILTER-01 junos-output-filter: RG-LWAC-V4-OUTPUT-FILTER-01 junos-output-ipv6-filter: RG-LWAC-V6-OUTPUT-FILTER-01 Service Session ID: 5129 Service Session Name: SERVICE-PROFILE-BASIC-POLICER State: Active Family: inet Service session type: Service-Profile IPv4 Input Filter Name: CAP-POLICER-demux0.3221230587-in IPv4 Output Filter Name: CAP-POLICER-demux0.3221230587-out Service Activation time: 2022-04-26 09:24:57 PDT Dynamic configuration: bandwidth-limit: 200k burst-size-limit: 75k
发布信息
在 Junos OS 9.3 版中引入的命令。
client-type
、 、 mac-address
subscriber-state
和 extensive
Junos OS 10.2 版中引入的选项。
count
选项与 Junos OS 10.2 版中引入的其他选项一起使用。
Junos OS 12.2 版中引入的选项 aci-interface-set-name
和 agent-circuit-identifier
功能。
Junos OS 12.3 版中引入的 physical-interface
和 user-name
选项。
在 vci
Junos OS 12.3R3 版中引入的选项, vpi
并在以后的 12.3Rx 版本中受支持。
Junos OS 13.2 版及更高版本中支持的选项 vci
和 vpi
。(在 Junos OS 13.1 版中不受支持。
MX 系列路由器上的 Junos OS 15.1R3 版支持增强的订阅者管理。
accounting-statistics
MX 系列路由器上的 Junos OS 15.1R3 和 17.4R1 版本中添加了选项。
aggregation-interface-set-name
在 MX 系列路由器上的 Junos OS 版本 18.4R1 中添加了选项。
sub-system
在 Junos OS 22.3R1 版中添加。