show security ipsec tunnel-distribution
Syntax
show security ipsec tunnel-distribution <brief | summary | summary-cpuload>
Description
显示每个线程中锚定 IPsec VPN 隧道的数量。IPsec 隧道会话根据隧道会话安装期间的负载分配一个锚点线程。创建新隧道会话时,将选择负载最小的线程来锚定新隧道。删除隧道后,锚点映射将从控制平面移除。
跨不同服务处理单元 (SPU) 或等效物的隧道分布基于隧道数量,而不是每个隧道的吞吐量。SPU 故障期间,SPU 中锚定的隧道不会传输到不同的 SPU 或等效物。
分配配置文件显示任何分配的 IPSec 分配配置文件,而没有任何分配配置文件分配给 vpn 对象。此选项卡显示 default_profiile
,其他相关配置文件将显示。
Options
无 | 显示有关所有活动隧道的线程信息。 |
brief |
(可选)显示有关所有活动隧道的线程信息。(默认) |
fpc |
FPC 插槽编号 (0.5)。 |
pic |
PIC 插槽编号 (0.3)。 |
summary |
(可选)显示锚定到每个线程的隧道数。 |
summary-cpuload |
(可选)显示每个 FPC 和 PIC 上的负载。重新分配隧道之前或之后,您可以使用此选项检查每个 FPC 和 PIC 上的负载。请参阅 show security ipsec tunnel-distribution summary-cpuload。 |
Required Privilege Level
视图
Output Fields
表 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 负载平均值。 |
|
Sample Output
- show security ipsec tunnel-distribution
- show security ipsec tunnel-distribution summary
- show security ipsec tunnel-distribution fpc 0 pic 0
- show security ipsec tunnel-distribution fpc 0 pic 1
- show security ipsec tunnel-distribution summary fpc 0 pic 0
- show security ipsec tunnel-distribution summary fpc 0 pic 1
- show security ipsec tunnel-distribution summary-cpuload
show security ipsec tunnel-distribution
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 tunnel-distribution summary
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
show security ipsec tunnel-distribution 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
show security ipsec tunnel-distribution 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
show security ipsec tunnel-distribution summary 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
show security ipsec tunnel-distribution summary 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 tunnel-distribution 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
Release Information
在 Junos OS 17.4R1 版中引入的命令。
Junos OS 版本 20.4R1 中引入的 summary-cpuload 选项。