遥测
nv show interface <interface-id> telemetry
显示指定接口的直方图配置设置和操作数据。
命令语法
语法 | 描述 |
---|---|
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.7.0 中引入
示例
cumulus@switch:~$ nv show interface swp1 telemetry
nv show interface <interface-id> telemetry bw-gauge
显示指定接口的带宽计量器设置。
命令语法
语法 | 描述 |
---|---|
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.7.0 中引入
示例
cumulus@switch:~$ nv show interface swp1 telemetry bw-gauge
operational applied
------ ----------- -------
enable on on
nv show interface <interface-id> telemetry histogram
显示指定接口的直方图详细信息。
命令语法
语法 | 描述 |
---|---|
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.7.0 中引入
示例
cumulus@switch:~$ nv show interface swp1 telemetry histogram
nv show interface <interface-id> telemetry histogram ingress-buffer
显示为指定接口收集的入口队列深度直方图样本。
命令语法
语法 | 描述 |
---|---|
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.7.0 中引入
示例
cumulus@switch:~$ nv show interface swp1 telemetry histogram ingress-buffer
nv show interface <interface-id> telemetry histogram ingress-buffer priority-group
显示为指定接口配置的所有优先级组在配置的时间间隔收集的入口队列深度直方图样本。
命令语法
语法 | 描述 |
---|---|
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.7.0 中引入
示例
cumulus@switch:~$ nv show interface swp1 telemetry histogram ingress-buffer priority group
nv show interface <interface-id> telemetry histogram ingress-buffer priority-group <pg-id>
显示为指定优先级组和接口在配置的时间间隔收集的入口队列深度直方图样本。
命令语法
语法 | 描述 |
---|---|
<interface-id> | 接口名称。 |
<pg-id> | 优先级组 ID。 |
版本历史
在 Cumulus Linux 5.7.0 中引入
示例
cumulus@switch:~$ nv show interface swp1 telemetry histogram ingress-buffer priority-group 0
Time 0-863 864:2303 2304:3743 3744:5183 5184:6623 6624:8063 8064:9503 9. 504:10943 10944:12383
12384:*
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
08:56:19 978065 0 0 0 0 0 0 0 0
08:56:20 978532 0 0 0 0 0 0 0 0
nv show interface <interface-id> telemetry histogram ingress-buffer priority-group <pg-id> threshold
显示为入口队列深度直方图样本配置的时间间隔。
命令语法
语法 | 描述 |
---|---|
<interface-id> | 接口名称。 |
<pg-id> | 优先级组 ID。 |
版本历史
在 Cumulus Linux 5.7.0 中引入
示例
cumulus@switch:~$ nv show interface swp1 telemetry histogram ingress-buffer priority-group 0 threshold
nv show interface <interface-id> telemetry histogram ingress-buffer priority-group <pg-id> snapshot
显示为入口队列深度直方图样本收集的快照。
命令语法
语法 | 描述 |
---|---|
<interface-id> | 接口名称。 |
<pg-id> | 优先级组 ID。 |
版本历史
在 Cumulus Linux 5.7.0 中引入
示例
cumulus@switch:~$ nv show interface swp1 telemetry histogram ingress-buffer priority-group 0 snapshot
Sl.No Date-Time Bin-0 Bin-1 Bin-2 Bin-3 Bin-4 Bin-5 Bin-6 Bin-7 Bin-8 Bin-9
----- ------------------- ------ ------- ------- ------- ------- ------- ------- -------- -------- ---------
0 - (<864) (<2304) (<3744) (<5184) (<6624) (<8064) (<9504) (<10944) (<12384) (>=12384)
1 2023-12-13 11:02:44 980318 0 0 0 0 0 0 0 0 0
2 2023-12-13 11:02:43 980318 0 0 0 0 0 0 0 0 0
3 2023-12-13 11:02:42 980318 0 0 0 0 0 0 0 0 0
4 2023-12-13 11:02:41 980318 0 0 0 0 0 0 0 0 0
5 2023-12-13 11:02:40 980488 0 0 0 0 0 0 0 0 0
6 2023-12-13 11:02:39 980149 0 0 0 0 0 0 0 0 0
7 2023-12-13 11:02:38 979809 0 0 0 0 0 0 0 0 0
8 2023-12-13 11:02:37 980488 0 0 0 0 0 0 0 0 0
9 2023-12-13 11:02:36 980318 0 0 0 0 0 0 0 0 0
nv show interface <interface-id> telemetry histogram egress-buffer
显示为指定接口在配置的时间间隔收集的出口队列深度直方图样本。
命令语法
语法 | 描述 |
---|---|
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.7.0 中引入
示例
cumulus@switch:~$ nv show interface swp1 telemetry histogram egress-buffer
nv show interface <interface-id> telemetry histogram egress-buffer traffic-class
显示为指定接口配置的所有流量类别在配置的时间间隔收集的入口队列深度直方图样本。
命令语法
语法 | 描述 |
---|---|
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.7.0 中引入
示例
cumulus@switch:~$ nv show interface swp1 telemetry histogram egress-buffer traffic class
nv show interface <interface-id> telemetry histogram egress-buffer traffic-class <tc-id>
显示为指定流量类别和接口在配置的时间间隔收集的出口队列深度直方图样本。
命令语法
语法 | 描述 |
---|---|
<interface-id> | 接口名称。 |
<tc-id> | 流量类别 ID。 |
版本历史
在 Cumulus Linux 5.7.0 中引入
示例
cumulus@switch:~$ nv show interface swp1 telemetry histogram egress-buffer traffic class 4
nv show interface <interface-id> telemetry histogram egress-buffer traffic-class <tc-id> threshold
显示为出口队列深度直方图样本配置的时间间隔。
命令语法
语法 | 描述 |
---|---|
<interface-id> | 接口名称。 |
<tc-id> | 流量类别 ID。 |
版本历史
在 Cumulus Linux 5.7.0 中引入
示例
cumulus@switch:~$ nv show interface swp1 telemetry histogram egress-buffer traffic class 4 threshold
nv show interface <interface-id> telemetry histogram egress-buffer traffic-class <tc-id> snapshot
显示为出口队列深度直方图样本收集的快照。
命令语法
语法 | 描述 |
---|---|
<interface-id> | 接口名称。 |
<tc-id> | 流量类别 ID。 |
版本历史
在 Cumulus Linux 5.7.0 中引入
示例
cumulus@switch:~$ nv show interface swp1 telemetry histogram egress-buffer traffic class 4 snapshot
nv show interface <interface-id> telemetry histogram counter
显示为指定接口在配置的时间间隔收集的计数器直方图样本。
命令语法
语法 | 描述 |
---|---|
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.7.0 中引入
示例
cumulus@switch:~$ nv show interface swp1 telemetry histogram counter
nv show interface <interface-id> telemetry histogram counter counter-type
显示为指定接口的所有计数器类型在配置的时间间隔收集的计数器直方图样本。
命令语法
语法 | 描述 |
---|---|
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.7.0 中引入
示例
cumulus@switch:~$ nv show interface swp1 telemetry histogram counter counter-type
nv show interface <interface-id> telemetry histogram counter counter-type <counter-type-id>
显示为指定接口的指定计数器类型在配置的时间间隔收集的计数器直方图样本。
命令语法
语法 | 描述 |
---|---|
<interface-id> | 接口名称。 |
<counter-type-id> | 计数器类型 ID。 |
版本历史
在 Cumulus Linux 5.7.0 中引入
示例
cumulus@switch:~$ nv show interface swp1 telemetry histogram counter counter-type rx-packet
nv show interface <interface-id> telemetry histogram counter counter-type <counter-type-id> threshold
显示为指定计数器类型的计数器直方图样本配置的时间间隔。
命令语法
语法 | 描述 |
---|---|
<interface-id> | 接口名称。 |
<counter-type-id> | 计数器类型 ID。 |
版本历史
在 Cumulus Linux 5.7.0 中引入
示例
cumulus@switch:~$ nv show interface swp1 telemetry histogram counter counter-type rx-packet threshold
nv show interface <interface-id> telemetry histogram counter counter-type <counter-type-id> snapshot
显示为指定计数器类型的计数器直方图样本收集的快照。
命令语法
语法 | 描述 |
---|---|
<interface-id> | 接口名称。 |
<counter-type-id> | 计数器类型 ID。 |
版本历史
在 Cumulus Linux 5.7.0 中引入
示例
cumulus@switch:~$ nv show interface swp1 telemetry histogram counter counter-type rx-packet snapshot
nv show interface <interface-id> telemetry histogram latency
显示接口的延迟直方图详细信息。
命令语法
语法 | 描述 |
---|---|
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.9.0 中引入
示例
cumulus@switch:~$ nv show interface swp1 telemetry histogram latency
nv show interface <interface-id> telemetry histogram latency traffic-class
显示为指定接口的所有流量类别收集的延迟直方图样本。
命令语法
语法 | 描述 |
---|---|
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.9.0 中引入
示例
cumulus@switch:~$ nv show interface swp1 telemetry histogram latency traffic-class
nv show interface <interface-id> telemetry histogram latency traffic-class <tc-id>
显示为指定接口上的指定流量类别收集的延迟直方图样本。
命令语法
语法 | 描述 |
---|---|
<interface-id> | 接口名称。 |
tc-id | 流量类别 ID。 |
版本历史
在 Cumulus Linux 5.9.0 中引入
示例
cumulus@switch:~$ nv show interface swp1 telemetry histogram latency traffic-class 2
nv show interface <interface-id> telemetry histogram latency traffic-class <tc-id> threshold
显示为指定接口上的指定流量类别的延迟直方图样本配置的时间间隔。
命令语法
语法 | 描述 |
---|---|
<interface-id> | 接口名称。 |
tc-id | 流量类别 ID。 |
版本历史
在 Cumulus Linux 5.9.0 中引入
示例
cumulus@switch:~$ nv show interface swp1 telemetry histogram latency traffic-class 2 threshold
nv show interface <interface-id> telemetry histogram latency traffic-class <tc-id> snapshot
显示为指定接口上的指定流量类别的延迟直方图样本收集的快照。
命令语法
语法 | 描述 |
---|---|
<interface-id> | 接口名称。 |
tc-id | 流量类别 ID。 |
版本历史
在 Cumulus Linux 5.9.0 中引入
示例
cumulus@switch:~$ nv show interface swp1 telemetry histogram latency traffic-class 2 snapshot
nv show system telemetry buffer-stats
显示遥测缓冲区统计信息配置设置。
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry buffer-stats
operational applied
--------------- ----------- -------
sample-interval 1
export
state enabled
nv show system telemetry buffer-stats export
显示是否启用缓冲区统计信息的收集和导出。
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry buffer-stats export
operational applied
----- ----------- -------
state enabled
nv show system telemetry bw-gauge
显示所有接口的带宽计量器摘要。
在 Cumulus Linux 5.9 及更早版本中,此命令为 nv show service telemetry bw-gauge
。
版本历史
在 Cumulus Linux 5.7.0 中引入
示例
cumulus@switch:~$ nv show system telemetry bw-gauge
nv show system telemetry bw-gauge interface
显示所有启用带宽计量器的接口的带宽摘要。
在 Cumulus Linux 5.9 及更早版本中,此命令为 nv show service telemetry bw-gauge interface
。
版本历史
在 Cumulus Linux 5.7.0 中引入
示例
cumulus@switch:~$ nv show system telemetry bw-gauge interface
Interface Tx (Mbps) Rx (Mbps)
--------- --------- ---------
swp1 4 4
nv show system telemetry export
显示交换机上的遥测导出配置。
- Cumulus Linux 仅在 Cumulus Linux 5.10.0 及更高版本中支持在配备 Spectrum-4 ASIC 的交换机上进行开放遥测导出。
- 开放遥测导出在 Cumulus Linux 5.10.0 中是一项 Beta 功能。
版本历史
在 Cumulus Linux 5.10.0 中引入
示例
cumulus@switch:~$ nv show system telemetry export
applied pending
------------------ -------- --------
vrf default default
otlp
state disabled disabled
grpc
insecure disabled disabled
port 8443 8443
[destination]
nv show system telemetry export otlp gRPC
显示交换机上的 OTLP gRPC 导出配置。
- Cumulus Linux 仅在 Cumulus Linux 5.10.0 及更高版本中支持在配备 Spectrum-4 ASIC 的交换机上进行开放遥测导出。
- 开放遥测导出在 Cumulus Linux 5.10.0 中是一项 Beta 功能。
版本历史
在 Cumulus Linux 5.10.0 中引入
示例
cumulus@switch:~$ nv show system telemetry export otlp gRPC
applied
-------- --------
insecure disabled
port 8443
nv show system telemetry export otlp gRPC destination
显示交换机上的 OTLP gRPC 目标配置。
- Cumulus Linux 仅在 Cumulus Linux 5.10.0 及更高版本中支持在配备 Spectrum-4 ASIC 的交换机上进行开放遥测导出。
- 开放遥测导出在 Cumulus Linux 5.10.0 中是一项 Beta 功能。
版本历史
在 Cumulus Linux 5.10.0 中引入
示例
cumulus@switch:~$ nv show system telemetry export otlp gRPC destination
nv show system telemetry export otlp gRPC destination <destination>
显示交换机上的特定 OTLP gRPC 目标配置。
- Cumulus Linux 仅在 Cumulus Linux 5.10.0 及更高版本中支持在配备 Spectrum-4 ASIC 的交换机上进行开放遥测导出。
- 开放遥测导出在 Cumulus Linux 5.10.0 中是一项 Beta 功能。
版本历史
在 Cumulus Linux 5.10.0 中引入
示例
cumulus@switch:~$ nv show system telemetry export otlp gRPC destination 10.1.1.100
applied pending
---- ------- -------
port 4317
nv show system telemetry health
显示遥测健康信息。
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry health
operational
--------------------------- -----------
service-status
nv-telemtry-service active
platform-stats-service active
histogram-export-service active
sdk-stats-service active
routing-telemtry-service inactive
internal-metrics
process
cpu-seconds 3020
memory-rss-kilobytes 182812672
runtime-heap-alloc-bytes 28617960
runtime-total-alloc-bytes 915541979208
runtime-total-sys-memory-bytes 151368752
uptime-seconds 65313
[receivers] otlp/global
[receivers] prometheus/global
processors
[memory-limiter] memory_limiter/1
[batch] batch/1
[exporters] otlp/global
Export Destination Status
=======================
Destination Connectivity Export Counter Drop Counter
----------- ------------ -------------- ------------
11.0.10.2:4317 Pass 51534586 7087
nv show system telemetry health internal-metrics
显示所有遥测健康内部指标。
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry health internal-metrics
operational
------------------------ -----------
process
cpu-seconds 029
memory-rss-kilobytes 182812672
runtime-heap-alloc-bytes 28617960
runtime-total-alloc-bytes 915541979208
runtime-total-sys-memory-bytes 151368752
uptime-seconds 65313
[receivers] otlp/global
[receivers] prometheus/global
processors
[memory-limiter] memory_limiter/1
[batch] batch/1
[exporters] otlp/global
nv show system telemetry health internal-metrics process
显示有关遥测进程的健康信息。
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry health internal-metrics process
operational
------------------------ -----------
cpu-seconds 029
memory-rss-kilobytes 182812672
runtime-heap-alloc-bytes 28617960
runtime-total-alloc-bytes 915541979208
runtime-total-sys-memory-bytes 151368752
uptime-seconds 65313
nv show system telemetry health internal-metrics receivers
显示有关遥测接收器的健康指标。
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry health internal-metrics receivers
Receivers Accepted Metric Points Refused Metric Points
--------- ---------------------- ---------------------
otlp/global 4967144 0
prometheus/global 46989135 0
nv show system telemetry health internal-metrics processors
显示有关遥测处理器的健康指标。
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry health internal-metrics processors
Memory-limiter
==============
memory_limiter/1
Accepted Metric Points: 25002370
Dropped Metric Points: 0
Inserted Metric Points: 0
Refused Metric Points: 0
Batch Processor
===============
batch/1
Batch Send Size Bucket 10: 828620
Batch Send Size Bucket 25: 828620
Batch Send Size Bucket 50: 828620
Batch Send Size Bucket 75: 828620
Batch Send Size Bucket 100: 828620
nv show system telemetry health internal-metrics exporters
显示有关遥测导出器的健康指标。
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry health internal-metrics exporters
Exporters Enqueue Failed Metric Points Queue Capacity Queue Size Send Failed Metric Points Sent Metric Points
--------- ---------------------------- -------------- ---------- ------------------------- ------------------
otlp/global 0 1000 0 7087 52000844
nv show system telemetry hft
显示高频遥测配置。
版本历史
在 Cumulus Linux 5.10.0 中引入
示例
cumulus@switch:~$ nv show system telemetry hft
profile
==========
Profile traffic-class counter sample-interval
-------- ------------- ------------ ---------------
profile2 0 rx-byte 1000
1 tx-byte
2
3
4
5
6
7
8
9
standard 3 rx-byte 5000
tc-occupancy
tx-byte
...
nv show system telemetry hft profile
显示在交换机上配置的高频遥测配置文件。
版本历史
在 Cumulus Linux 5.10.0 中引入
示例
cumulus@switch:~$ nv show system telemetry hft profile
Profile traffic-class counter sample-interval
-------- ------------- ------------ ---------------
profile2 0 rx-byte 1000
1 tx-byte
2
3
4
5
6
7
8
9
standard 3 rx-byte 5000
tc-occupancy
tx-byte
nv show system telemetry hft profile <profile-id>
显示特定配置文件的配置设置
命令语法
语法 | 描述 |
---|---|
<profile-id> | 配置文件的名称。高频遥测使用配置文件进行数据收集。配置文件是一组配置。Cumulus Linux 提供了一个名为 standard 的默认配置文件。您最多可以创建四个新配置文件(除默认配置文件外,还有四个配置文件)。 |
版本历史
在 Cumulus Linux 5.10.0 中引入
示例
cumulus@switch:~$ nv show system telemetry hft profile profile2
operational applied
--------------- ----------- -------
sample-interval 1000 1000
[traffic-class] 0 0
[traffic-class] 1 1
[traffic-class] 2 2
[traffic-class] 3 3
[traffic-class] 4 4
[traffic-class] 5 5
[traffic-class] 6 6
[traffic-class] 7 7
[traffic-class] 8 8
[traffic-class] 9 9
[counter] rx-byte rx-byte
[counter] tx-byte tx-byte
nv show system telemetry hft target
显示配置的高频遥测目标。
版本历史
在 Cumulus Linux 5.10.0 中引入
示例
cumulus@switch:~$ nv show system telemetry hft target
applied
-------
local
nv show system telemetry hft job
显示所有数据收集作业的信息,例如开始时间、持续时间、状态以及收集数据的端口。
版本历史
在 Cumulus Linux 5.10.0 中引入
示例
cumulus@switch:~$ nv show system telemetry hft job
Job Id Start Time Duration(s) Profile Ports Status
--------- -------------- ------------ --------- ------- ---------
1 10-05-2024 09:00:00 20 standard all complete
2 12-05-2024 09:00:00 20 standard all complete
3 15-05-2024 09:00:00 20 standard all complete
4 16-05-2024 09:00:00 20 standard all complete
5 17-05-2024 09:00:00 20 standard all complete
6 19-05-2024 09:00:00 20 standard all complete
7 19-05-2024 12:00:00 20 standard all running
8 20-05-2024 09:00:00 20 standard all pending
nv show system telemetry hft job <job-id>
显示有关特定高频遥测数据收集作业的信息。
命令语法
语法 | 描述 |
---|---|
<job-id> | 高频遥测数据收集作业 ID。 |
版本历史
在 Cumulus Linux 5.10.0 中引入
示例
cumulus@switch:~$ nv show system telemetry hft job 1
operational
--------------------- -----------------
start-time 01-01-2024 12:00:00
duration 20
traffic-class 3
counter tx-byte,rx-byte,tc-occupancy
sample-interval 5000
ports swp1-swp64
status pending
target scp://abc@server1:/hft-data
nv show system telemetry histogram
显示遥测直方图配置设置和操作数据。
在 Cumulus Linux 5.9 及更早版本中,此命令为 nv show service telemetry histogram
。
版本历史
在 Cumulus Linux 5.7.0 中引入
示例
cumulus@switch:~$ nv show system telemetry histogram
nv show system telemetry histogram ingress-buffer
显示入口队列长度直方图配置设置和操作数据。
在 Cumulus Linux 5.9 及更早版本中,此命令为 nv show service telemetry histogram ingress-buffer
。
版本历史
在 Cumulus Linux 5.7.0 中引入
示例
cumulus@switch:~$ nv show system telemetry histogram ingress-buffer
nv show system telemetry histogram egress-buffer
显示出口队列长度直方图配置设置和操作数据。
在 Cumulus Linux 5.9 及更早版本中,此命令为 nv show service telemetry histogram egress-buffer
。
版本历史
在 Cumulus Linux 5.7.0 中引入
示例
cumulus@switch:~$ nv show system telemetry histogram egress-buffer
nv show system telemetry histogram counter
显示计数器直方图配置设置和操作数据。
在 Cumulus Linux 5.9 及更早版本中,此命令为 nv show service telemetry histogram counter
。
版本历史
在 Cumulus Linux 5.7.0 中引入
示例
cumulus@switch:~$ nv show system telemetry histogram counter
nv show system telemetry histogram interface
显示启用直方图的接口列表。
在 Cumulus Linux 5.9 及更早版本中,此命令为 nv show service telemetry histogram interface
。
版本历史
在 Cumulus Linux 5.7.0 中引入
示例
cumulus@switch:~$ nv show system telemetry histogram interface
Interface ingress-buffer egress-buffer counter
---------------------------------------------------------------------------------------
swp1 0,1,2 - tx-byte,rx-byte
swp2 - 0,1,8 tx-byte,tx-byte
nv show system telemetry histogram latency
显示延迟直方图配置和操作数据。
在 Cumulus Linux 5.9 及更早版本中,此命令为 nv show service telemetry histogram latency
。
版本历史
在 Cumulus Linux 5.9.0 中引入
示例
cumulus@switch:~$ nv show system telemetry histogram latency
nv show system telemetry interface-stats
显示遥测接口统计信息配置。
版本历史
在 Cumulus Linux 5.10.0 中引入
示例
cumulus@switch:~$ nv show system telemetry interface-stats
applied pending
--------------- -------- --------
sample-interval 1 1
export
state enabled enabled
nv show system telemetry interface-stats class
显示接口统计信息类别配置设置。
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry interface-stats class
operational applied
------- ----------- --------
phy
state disabled
nv show system telemetry interface-stats class phy
显示是否启用接口 PHY 统计信息导出。
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry interface-stats class phy
operational applied
----- ----------- --------
state disabled
nv show system telemetry interface-stats egress-buffer
显示遥测接口统计信息出口缓冲区配置。
版本历史
在 Cumulus Linux 5.10.0 中引入
示例
cumulus@switch:~$ nv show system telemetry interface-stats egress-buffer
nv show system telemetry interface-stats export
显示是否启用或禁用接口统计信息导出。
版本历史
在 Cumulus Linux 5.10.0 中引入
示例
cumulus@switch:~$ nv show system telemetry interface-stats export
applied pending
----- -------- --------
state enabled enabled
nv show system telemetry interface-stats ingress-buffer
显示遥测接口统计信息入口缓冲区配置。
版本历史
在 Cumulus Linux 5.10.0 中引入
示例
cumulus@switch:~$ nv show system telemetry interface-stats ingress-buffer
nv show system telemetry router
显示启用了哪些遥测路由器统计信息。
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry router
applied
--------------- --------
bgp
export
state enabled
rib
export
state enabled
export
state enabled
nv show system telemetry router export
显示是否启用了开放遥测路由服务。
要导出任何路由指标,您必须首先启用开放遥测路由服务。
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry router export
applied
----- --------
state disabled
nv show system telemetry router bgp
显示所有 VRF 的 BGP 对等体状态统计信息配置设置。
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry router bgp
applied
------- --------
export
state disabled
nv show system telemetry router bgp export
显示是否启用所有 VRF 的 BGP 对等体状态统计信息的收集和导出。
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry router bgp export
applied
----- --------
state disabled
nv show system telemetry router rib
显示所有 VRF 的路由表统计信息配置设置。
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry router rib
applied
--------------- -------
export
state enabled
nv show system telemetry router rib export
显示是否启用所有 VRF 的路由表统计信息的收集和导出。
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry router rib export
applied
----- --------
state enabled
nv show system telemetry router vrf <vrf-id> bgp
显示特定 VRF 中 BGP 对等体状态统计信息配置设置。
命令语法
语法 | 描述 |
---|---|
<vrf-id> | VRF 名称。 |
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry router vrf RED bgp
applied
------- -------
export
state enabled
[peer] swp1
nv show system telemetry router vrf <vrf-id> bgp export
显示是否启用特定 VRF 中 BGP 对等体状态统计信息的收集和导出。
命令语法
语法 | 描述 |
---|---|
<vrf-id> | VRF 名称。 |
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry router vrf RED bgp export
applied
----- -------
state enabled
nv show system telemetry router vrf <vrf-id> bgp peer <neighbor-id> export
显示是否启用 VRF 中特定对等体的路由统计信息的收集和导出。
命令语法
语法 | 描述 |
---|---|
<vrf-id> | VRF 名称。 |
<neighbor-id> | BGP 邻居 ID。 |
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry router vrf RED bgp peer swp1 export
applied
----- -------
state enabled
nv show system telemetry router vrf <vrf-id> rib
显示特定 VRF 的路由表统计信息配置设置。
命令语法
语法 | 描述 |
---|---|
<vrf-id> | VRF 名称。 |
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry router vrf RED rib
applied
------- -------
export
state enabled
nv show system telemetry router vrf <vrf-id> rib export
显示是否启用特定 VRF 的路由表统计信息的收集和导出。
命令语法
语法 | 描述 |
---|---|
<vrf-id> | VRF 名称。 |
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry router vrf RED rib export
applied
----- -------
state enabled
nv show system telemetry snapshot-file
显示直方图快照文件配置和操作数据。
在 Cumulus Linux 5.9 及更早版本中,此命令为 nv show service telemetry snapshot-file
。
版本历史
在 Cumulus Linux 5.7.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot-file
operational applied
----- ----------- --------------------------------
name /var/run/cumulus/histogram_stats
count 64
nv show system telemetry snapshot port-group <port-group-id> threshold
显示指定端口组的阈值配置。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组名称。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group packet-all-pg threshold
No Data
nv show system telemetry snapshot port-group <port-group-id> threshold <threshold-stats-id>
显示端口组的特定类型阈值统计信息的配置信息。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<threshold-stats-id> | 阈值统计信息的类型;packet-congestion-drops 或 packet-error-drops 。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group packet-all-pg threshold packet-error-drops
No Data
nv show system telemetry snapshot port-group <port-group-id> threshold <threshold-stats-id> action
显示端口组阈值操作配置。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<threshold-stats-id> | 阈值统计信息的类型;packet-congestion-drops 或 packet-error-drops 。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group packet-all-pg threshold packet-error-drops action
No Data
nv show system telemetry snapshot port-group <port-group-id> threshold <threshold-stats-id> action log
显示端口组阈值日志操作配置。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<threshold-stats-id> | 阈值统计信息的类型;packet-congestion-drops 或 packet-error-drops 。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group packet-all-pg threshold packet-error-drops action log
No Data
nv show system telemetry snapshot port-group <port-group-id> thresholdaction collect
显示端口组阈值收集操作配置。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<threshold-stats-id> | 阈值统计信息的类型;packet-congestion-drops 或 packet-error-drops 。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group packet-all-pg threshold packet-error-drops action collect
nv show system telemetry snapshot port-group <port-group-id> stats-type
显示不同类型的统计信息的端口组配置。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group packet-all-pg stats-type
No Data
nv show system telemetry snapshot port-group <port-group-id> stats buffer
显示端口组缓冲区信息。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group packet-all-pg stats buffer
nv show system telemetry snapshot port-group <port-group-id> stats buffer pool
显示端口组缓冲池信息。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group packet-all-pg stats buffer pool
nv show system telemetry snapshot port-group <port-group-id> stats buffer pool <buffer-pool-id>
显示端口组的特定缓冲池信息。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<buffer-pool-id> | 缓冲池 ID。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group packet-all-pg stats buffer pool 2
nv show system telemetry snapshot port-group <port-group-id> stats interface
显示端口组接口快照。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group packet-all-pg stats interface
nv show system telemetry snapshot port-group <port-group-id> stats interface <interface-id>
显示特定接口的端口组快照。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group packet-all-pg stats interface swp1
nv show system telemetry snapshot port-group <port-group-id> stats interface <interface-id> packet
显示端口组的接口数据包信息。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group packet-all-pg stats interface swp1 packet
nv show system telemetry snapshot port-group <port-group-id> stats interface <interface-id> packet good
显示指定接口上发送和接收的良好数据包的快照。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group nv show system telemetry snapshot port-group packet-all-pg stats interface swp1 packet good
nv show system telemetry snapshot port-group <port-group-id> stats interface <interface-id> packet good tx
显示指定接口上发送的良好数据包的快照。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group all-packet-pg stats interface swp1 packet good tx
Id Date-Time Packet Byte Mcast Bcast Mac Ctrl Pause Mac Ctrl
----- ------------------- ------------ ------------- --------- ---------- ------------ ---------------
1 2023-12-13 11:02:44 2 268 0 0 0 0
2 2023-12-13 11:02:43 2 268 0 0 0 0
3 2023-12-13 11:02:42 2 268 0 0 0 0
nv show system telemetry snapshot port-group <port-group-id> stats interface <interface-id> packet good rx
显示指定接口上接收的良好数据包的快照。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group all-packet-pg stats interface swp1 packet good rx
nv show system telemetry snapshot port-group <port-group-id> stats interface <interface-id> packet discard
显示指定接口上丢弃的数据包的快照。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group all-packet-pg stats interface swp1 packet discard
nv show system telemetry snapshot port-group <port-group-id> stats interface <interface-id> packet discard tx
显示指定接口上发送的丢弃数据包的快照。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group all-packet-pg stats interface swp1 packet discard tx
nv show system telemetry snapshot port-group <port-group-id> stats interface <interface-id> packet discard rx
显示指定接口上接收的丢弃数据包的快照。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group all-packet-pg stats interface swp1 packet discard rx
Id Date-Time General Policy Vlan Tag Type Opcode Buffer Runt Other
----- ------------------- --------- ----------- ------- ---------- ------- ------- ------- --------
1 2023-12-13 11:02:44 2 0 0 0 0 0 0 0
2 2023-12-13 11:02:43 2 0 0 0 0 0 0 0
3 2023-12-13 11:02:42 2 0 0 0 0 0 0 0
nv show system telemetry snapshot port-group <port-group-id> stats interface <interface-id> packet discard general
显示指定接口上常规丢弃数据包的快照。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group all-packet-pg stats interface swp1 packet discard general
nv show system telemetry snapshot port-group <port-group-id> stats interface <interface-id> packet all
显示指定接口上所有数据包的快照。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group all-packet-pg stats interface swp1 packet all
nv show system telemetry snapshot port-group <port-group-id> stats interface <interface-id> packet all tx
显示指定接口上所有发送的数据包的快照。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group all-packet-pg stats interface swp1 packet all tx
nv show system telemetry snapshot port-group <port-group-id> stats interface <interface-id> packet all rx
显示指定接口上所有接收的数据包的快照。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group all-packet-pg stats interface swp1 packet all rx
nv show system telemetry snapshot port-group <port-group-id> stats interface <interface-id> packet tc
显示指定接口上的流量类别数据包的快照。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group all-packet-pg stats interface swp1 packet tc
nv show system telemetry snapshot port-group <port-group-id> stats interface <interface-id> packet tc <tc-id>
显示指定接口上特定流量类别数据包的快照。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<interface-id> | 接口名称。 |
<tc-id> | 流量类别 ID。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group all-packet-pg stats interface swp1 packet tc 1
nv show system telemetry snapshot port-group <port-group-id> stats interface <interface-id> packet tc <tc-id> tx
显示指定接口上特定流量类别发送的数据包的快照。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<interface-id> | 接口名称。 |
<tc-id> | 流量类别 ID。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group all-packet-pg stats interface swp1 packet tc 1 tx
nv show system telemetry snapshot port-group <port-group-id> stats interface <interface-id> packet pg
显示指定接口上的优先级组数据包的快照。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group all-packet-pg stats interface swp1 packet pg
nv show system telemetry snapshot port-group <port-group-id> stats interface <interface-id> packet pg <pg-id>
显示指定接口上特定优先级组数据包的快照。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<interface-id> | 接口名称。 |
<pg-id> | 优先级组 ID。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group all-packet-pg stats interface swp1 packet pg 1
nv show system telemetry snapshot port-group <port-group-id> stats interface <interface-id> packet pg <pg-id> tx
显示指定接口上发送的优先级组数据包的快照。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<interface-id> | 接口名称。 |
<pg-id> | 优先级组 ID。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group all-packet-pg stats interface swp1 packet pg 1 tx
nv show system telemetry snapshot port-group <port-group-id> stats interface <interface-id> packet pg <pg-id> rx
显示指定接口上接收的优先级组数据包的快照。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<interface-id> | 接口名称。 |
<pg-id> | 优先级组 ID。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group all-packet-pg stats interface swp1 packet pg 1 tc
nv show system telemetry snapshot port-group <port-group-id> stats interface <interface-id> buffer
显示接口缓冲区信息。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group all-packet-pg stats interface swp1 buffer
nv show system telemetry snapshot port-group <port-group-id> stats interface <interface-id> buffer tc
显示接口出口缓冲区信息。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group all-packet-pg stats interface swp1 buffer tc
nv show system telemetry snapshot port-group <port-group-id> stats interface <interface-id> buffer tc <tc-id>
显示特定接口出口缓冲区信息。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<interface-id> | 接口名称。 |
<tc-id> | 流量类别 ID。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group all-packet-pg stats interface swp1 buffer tc 1
nv show system telemetry snapshot port-group <port-group-id> stats interface <interface-id> buffer pg
显示接口入口缓冲区信息。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group all-packet-pg stats interface swp1 buffer pg
nv show system telemetry snapshot port-group <port-group-id> stats interface <interface-id> buffer pg <pg-id>
显示特定接口入口缓冲区信息。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<interface-id> | 接口名称。 |
<pg-id> | 优先级组名称。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group all-packet-pg stats interface swp1 buffer pg 0
Id Date-Time Current Value Watermark
----- ------------------- ------------ -------------
1 2023-12-13 11:02:44 0 0
2 2023-12-13 11:02:43 0 0
3 2023-12-13 11:02:42 0 0
nv show system telemetry snapshot port-group <port-group-id> stats interface <interface-id> buffer ingress-port
显示端口组快照接口入口端口缓冲区配置。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<interface-id> | 接口名称。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group all-packet-pg stats interface swp1 buffer ingress-port
nv show system telemetry snapshot port-group <port-group-id> stats interface <interface-id> buffer ingress-port <buffer-pool-id>
显示端口组快照接口入口端口缓冲池配置。
命令语法
语法 | 描述 |
---|---|
<port-group-id> | 端口组 ID。 |
<interface-id> | 接口名称。 |
<buffer-pool-id> | 缓冲池 ID。 |
版本历史
在 Cumulus Linux 5.11.0 中引入
示例
cumulus@switch:~$ nv show system telemetry snapshot port-group all-packet-pg stats interface swp1 buffer ingress-port 2
nv show system telemetry stats-group
显示遥测统计信息组配置设置。
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry stats-group
Histogram Interface Stats Platform Stats ControlPlane Stats Buffer Stats Routing Stats
----------- --------- --------------- -------------- ------------------ ------------ -------------
STAT-GROUP1 disabled enabled disabled disabled disabled disabled
blah disabled disabled disabled disabled disabled disabled
nv show system telemetry stats-group <stats-group-id> interface-stats
显示接口统计信息导出的自定义统计信息组的配置。
命令语法
语法 | 描述 |
---|---|
<stats-group-id> | 统计信息组名称。 |
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry stats-group STAT-GROUP1 interface-stats
applied
--------------- --------
sample-interval 100
export
state enabled
class
phy
state disabled
nv show system telemetry stats-group <stats-group-id> interface-stats export
显示是否启用接口统计信息导出的自定义统计信息组。
命令语法
语法 | 描述 |
---|---|
<stats-group-id> | 统计信息组名称。 |
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry stats-group STAT-GROUP1 interface-stats export
applied
----- -------
state enabled
nv show system telemetry stats-group <stats-group-id> buffer-stats
显示缓冲区统计信息导出的自定义统计信息组的配置。
命令语法
语法 | 描述 |
---|---|
<stats-group-id> | 统计信息组名称。 |
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry stats-group STAT-GROUP1 buffer-stats
applied
--------------- --------
sample-interval 1
export
state disabled
nv show system telemetry stats-group <stats-group-id> buffer-stats export
显示是否启用缓冲区统计信息导出的自定义统计信息组。
命令语法
语法 | 描述 |
---|---|
<stats-group-id> | 统计信息组名称。 |
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry stats-group STAT-GROUP1 buffer-stats export
applied
----- -------
state enabled
nv show system telemetry stats-group <stats-group-id> histogram
显示直方图统计信息导出的自定义统计信息组的配置。
命令语法
语法 | 描述 |
---|---|
<stats-group-id> | 统计信息组名称。 |
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry stats-group STAT-GROUP1 histogram
applied
------------------ --------
ingress-buffer
bin-min-boundary 960
histogram-size 12288
sample-interval 1024
egress-buffer
bin-min-boundary 960
histogram-size 12288
sample-interval 1024
counter
bin-min-boundary 100000
histogram-size 10000000
sample-interval 1024
latency
bin-min-boundary 320
histogram-size 5440
export
state disabled
nv show system telemetry stats-group <stats-group-id> histogram export
显示是否启用直方图统计信息导出的自定义统计信息组。
命令语法
语法 | 描述 |
---|---|
<stats-group-id> | 统计信息组名称。 |
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry stats-group STAT-GROUP1 histogram export
applied
----- -------
state enabled
nv show system telemetry stats-group <stats-group-id> router
显示路由器统计信息导出的自定义统计信息组的配置。
命令语法
语法 | 描述 |
---|---|
<stats-group-id> | 统计信息组名称。 |
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@leaf01:mgmt:~$ nv show system telemetry stats-group STAT-GROUP1 router
applied
--------------- --------
bgp
export
state disabled
rib
export
state disabled
export
state disabled
sample-interval 30
nv show system telemetry stats-group <stats-group-id> router export
显示是否启用路由器统计信息导出的自定义统计信息组。
命令语法
语法 | 描述 |
---|---|
<stats-group-id> | 统计信息组名称。 |
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry stats-group STAT-GROUP1 router export
applied
----- -------
state enabled
nv show system telemetry stats-group <stats-group-id> control-plane-stats
显示控制平面统计信息导出的自定义统计信息组的配置。
命令语法
语法 | 描述 |
---|---|
<stats-group-id> | 统计信息组名称。 |
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@leaf01:mgmt:~$ nv show system telemetry stats-group STAT-GROUP1 control-plane-stats
applied
--------------- --------
sample-interval 1
export
state disabled
nv show system telemetry stats-group <stats-group-id> control-plane-stats export
显示是否启用控制平面统计信息导出的自定义统计信息组。
命令语法
语法 | 描述 |
---|---|
<stats-group-id> | 统计信息组名称。 |
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry stats-group STAT-GROUP1 control-plane-stats export
applied
----- -------
state enabled
nv show system telemetry stats-group <stats-group-id> platform-stats
显示平台统计信息导出的自定义统计信息组的配置。
命令语法
语法 | 描述 |
---|---|
<stats-group-id> | 统计信息组名称。 |
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@leaf01:mgmt:~$ nv show system telemetry stats-group STAT-GROUP1 platform-stats
applied
-------------------- --------
class
cpu
state enabled
disk
state enabled
file-system
state enabled
memory
state enabled
environment-sensor
state enabled
export
state disabled
sample-interval 60
nv show system telemetry stats-group <stats-group-id> platform-stats export
显示是否启用平台统计信息导出的自定义统计信息组。
命令语法
语法 | 描述 |
---|---|
<stats-group-id> | 统计信息组名称。 |
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@switch:~$ nv show system telemetry stats-group STAT-GROUP1 platform-stats export
applied
----- -------
state enabled
nv show system telemetry stats-group <stats-group-id> platform-stats class
显示每个类别的平台统计信息导出的自定义统计信息组的配置。
命令语法
语法 | 描述 |
---|---|
<stats-group-id> | 统计信息组名称。 |
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@leaf01:mgmt:~$ nv show system telemetry stats-group STAT-GROUP1 platform-stats class
applied pending
------------------ ------- -------
cpu
state enabled enabled
disk
state enabled enabled
file-system
state enabled enabled
memory
state enabled enabled
environment-sensor
state enabled enabled
nv show system telemetry stats-group <stats-group-id> platform-stats class cpu
显示是否启用 CPU 平台统计信息导出的自定义统计信息组。
命令语法
语法 | 描述 |
---|---|
<stats-group-id> | 统计信息组名称。 |
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@leaf01:mgmt:~$ nv show system telemetry stats-group STAT-GROUP1 platform-stats class cpu
applied
----- -------
state enabled
nv show system telemetry stats-group <stats-group-id> platform-stats class disk
显示是否启用磁盘平台统计信息导出的自定义统计信息组。
命令语法
语法 | 描述 |
---|---|
<stats-group-id> | 统计信息组名称。 |
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@leaf01:mgmt:~$ nv show system telemetry stats-group STAT-GROUP1 platform-stats class disk
applied
----- -------
state enabled
nv show system telemetry stats-group <stats-group-id> platform-stats class file-system
显示是否启用文件系统平台统计信息导出的自定义统计信息组。
命令语法
语法 | 描述 |
---|---|
<stats-group-id> | 统计信息组名称。 |
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@leaf01:mgmt:~$ nv show system telemetry stats-group STAT-GROUP1 platform-stats class file-system
applied
----- -------
state enabled
nv show system telemetry stats-group <stats-group-id> platform-stats class environment-sensor
显示是否启用环境传感器平台统计信息导出的自定义统计信息组。
命令语法
语法 | 描述 |
---|---|
<stats-group-id> | 统计信息组名称。 |
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@leaf01:mgmt:~$ nv show system telemetry stats-group STAT-GROUP1 platform-stats class environment-sensor
applied
----- -------
state enabled
nv show system telemetry stats-group <stats-group-id> platform-stats class memory
显示是否启用内存平台统计信息导出的自定义统计信息组。
命令语法
语法 | 描述 |
---|---|
<stats-group-id> | 统计信息组名称。 |
版本历史
在 Cumulus Linux 5.12.0 中引入
示例
cumulus@leaf01:mgmt:~$ nv show system telemetry stats-group STAT-GROUP1 platform-stats class memory
applied
----- -------
state enabled