show security ipsec tunnel-distribution
语法
show security ipsec tunnel-distribution <brief | summary | summary-cpuload> <srg-id number>
说明
显示每个线程中锚定的 IPsec VPN 隧道数。根据隧道会话安装期间的负载,为 IPsec 隧道会话分配一个锚点线程。创建新的隧道会话时,会选择负载最少的线程来锚定新隧道。删除隧道时,将从控制平面中移除锚点映射。
不同服务处理单元 (SPU) 或同等级别的隧道分布基于隧道数量,而不是基于每个隧道中的吞吐量。在 SPU 故障期间,在 SPU 中锚定的隧道不会传输到其他 SPU 或等效隧道。
分布配置文件显示任何已分配的 IPSec 分布配置文件,而无需为 VPN 对象分配任何分布配置文件。此选项卡显示 default_profiile
,否则将显示关联的配置文件。
选项
none | 显示有关所有活动隧道的线程信息。 |
brief |
(可选)显示有关所有活动隧道的线程信息。(默认) |
fpc |
FPC 插槽编号 (0.5)。 |
pic |
PIC 插槽编号 (0.3)。 |
summary |
(可选)显示锚定到每个线程的隧道数。 |
summary-cpuload |
(可选)显示每个 FPC 和 PIC 上的负载。您可以使用此选项在重新分配隧道之前或之后检查每个 FPC 和 PIC 上的负载。请参阅show security ipsec 隧道分布 summary-cpuload。 |
srg-id |
(可选)显示与多节点高可用性设置中特定服务冗余组 (SRG) 相关的信息。 |
必需的权限级别
视图
输出字段
表 1 列出了命令的 show security ipsec tunnel-distribution
输出字段。输出字段按其显示大致顺序列出。
字段名称 |
字段说明 |
输出级别 |
---|---|---|
隧道 ID |
VPN 隧道标识符。 |
|
线程 ID |
线程标识符。 |
所有级别 |
隧道数量 |
锚定到该线程的隧道数。 |
|
CPU:1m |
FPC 或 PIC 最后 1 分钟的 CPU 平均负载。 |
|
CPU:1h |
FPC 或 PIC 最近 1 小时的 CPU 平均负载。 |
|
CPU:1d |
FPC 或 PIC 最近 1 天的 CPU 平均负载。 |
|
示例输出
- 显示安全 ipsec 隧道分布
- show security ipsec 隧道分布摘要
- 显示安全 ipsec 隧道分布 fpc 0 pic 0
- 显示安全 ipsec 隧道分布 fpc 0 pic 1
- 显示安全 ipsec 隧道分布摘要 fpc 0 pic 0
- 显示安全 ipsec 隧道分布摘要 fpc 0 pic 1
- show security ipsec 隧道分布 summary-cpuload
- 显示安全 ipsec 隧道分布 srg-id
显示安全 ipsec 隧道分布
user@host> show security ipsec tunnel-distribution Tunnel-ID FPC PIC Thread-ID ------------------------------------------------------------------ 500006 0 1 4 500012 0 1 8 500009 0 1 6 500002 0 1 1 500005 0 1 3 500001 0 0 15 500008 0 1 5 500010 0 0 18 500004 0 0 16 500003 0 1 2 500011 0 1 7 500007 0 0 17 Tunnel-ID FPC PIC Thread-ID Distribution-profile ------------------------------------------------------------------ 500755 0 1 1 spc-3 500756 2 0 0 spc-2 500758 0 1 1 default_profile
show security ipsec 隧道分布摘要
user@host> show security ipsec tunnel-distribution summary Number of Tunnels FPC PIC Thread-ID ------------------------------------------------------------------ 1 0 0 15 1 0 0 16 1 0 0 17 1 0 0 18 1 0 1 1 1 0 1 2 1 0 1 3 1 0 1 4 1 0 1 5 1 0 1 6 1 0 1 7 1 0 1 8
显示安全 ipsec 隧道分布 fpc 0 pic 0
user@host> show security ipsec tunnel-distribution fpc 0 pic 0 Tunnel-ID FPC PIC Thread-ID ------------------------------------------------------------------ 500001 0 0 15 500010 0 0 18 500004 0 0 16 500007 0 0 17
显示安全 ipsec 隧道分布 fpc 0 pic 1
user@host> show security ipsec tunnel-distribution fpc 0 pic 1 Tunnel-ID FPC PIC Thread-ID ------------------------------------------------------------------ 500006 0 1 4 500012 0 1 8 500009 0 1 6 500002 0 1 1 500005 0 1 3 500008 0 1 5 500003 0 1 2 500011 0 1 7
显示安全 ipsec 隧道分布摘要 fpc 0 pic 0
user@host> show security ipsec tunnel-distribution summary fpc 0 pic 0 Number of Tunnels FPC PIC Thread-ID ------------------------------------------------------------------ 1 0 0 15 1 0 0 16 1 0 0 17 1 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 24 0 0 0 25 0 0 0 26 0 0 0 27
显示安全 ipsec 隧道分布摘要 fpc 0 pic 1
user@host> show security ipsec tunnel-distribution summary fpc 0 pic 1 Number of Tunnels FPC PIC Thread-ID ------------------------------------------------------------------ 1 0 1 1 1 0 1 2 1 0 1 3 1 0 1 4 1 0 1 5 1 0 1 6 1 0 1 7 1 0 1 8 0 0 1 9 0 0 1 10 0 0 1 11 0 0 1 12 0 0 1 13 0 0 1 15 0 0 1 16 0 0 1 17 0 0 1 18 0 0 1 19 0 0 1 20 0 0 1 21 0 0 1 22 0 0 1 23 0 0 1 24 0 0 1 25 0 0 1 26 0 0 1 27
show security ipsec 隧道分布 summary-cpuload
此命令的输出与 show security ipsec tunnel-distribution summary
显示相同的输出,但包括每个 FPC 和 PIC 的所有线程的负载平均数(最后 1 分钟、1 小时和 1 天)。
user@host> show security ipsec tunnel-distribution summary-cpuload node0: ----------------------------------------------------------------------------------------------------------- Number of Tunnels FPC PIC Thread-ID CPU:1m CPU:1h CPU:1d ----------------------------------------------------------------------------------------------------------- 1 0 0 15 0 0 0 1 0 0 16 0 0 0
显示安全 ipsec 隧道分布 srg-id
user@host> show security ipsec tunnel-distribution srg-id 1 Tunnel-ID FPC PIC Thread-ID Distribution Profile ------------------------------------------------------------------ 17277221 0 0 1 default-profile
发布信息
在 Junos OS 17.4R1 版中引入的命令。
summary-cpuload Junos OS 20.4R1 版中引入的选项。
srg-id Junos OS 22.4R1 版中引入的选项。