Skip to content

Commit d2dcf94

Browse files
committed
Merge branch '5.17-features' into stage
2 parents 9acc261 + 6a31cda commit d2dcf94

4 files changed

Lines changed: 661 additions & 33 deletions

File tree

content/cumulus-linux-517/Monitoring-and-Troubleshooting/Open-Telemetry-Export.md

Lines changed: 253 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ To show buffer statistics configuration, run the `nv show system telemetry buffe
8181

8282
### Control Plane Statistics
8383

84-
When you enable open telemetry for control plane statistics, the switch exports additional counters for [control plane packets](#control-plane-statistic-format):
84+
When you enable open telemetry for control plane statistics, the switch exports all counters for [control plane packets](#control-plane-statistic-format):
8585

8686
```
8787
cumulus@switch:~$ nv set system telemetry control-plane-stats export state enabled
@@ -95,7 +95,138 @@ cumulus@switch:~$ nv set system telemetry control-plane-stats sample-interval 10
9595
cumulus@switch:~$ nv config apply
9696
```
9797

98-
To show control plane statistics configuration, run the `nv show system telemetry control-plane-stats` command.
98+
You can enable these additional control plane statistics:
99+
- All ingress packets.
100+
- Ingress IPv4 packets.
101+
- Ingress IPv6 packets.
102+
- All egress packets.
103+
- Egress IPv4 packets.
104+
- Egress IPv6 packets.
105+
106+
To enable all ingress packets:
107+
108+
```
109+
cumulus@switch:~$ nv set system telemetry control-plane-stats ingress export state enabled
110+
```
111+
112+
To enable all ingress IPv4 packets:
113+
114+
```
115+
cumulus@switch:~$ nv set system telemetry control-plane-stats ingress ipv4 export state enabled
116+
```
117+
118+
To enable all ingress IPv6 packets:
119+
120+
```
121+
cumulus@switch:~$ nv set system telemetry control-plane-stats ingress ipv6 export state enabled
122+
```
123+
124+
To enable all egress packets:
125+
126+
```
127+
cumulus@switch:~$ nv set system telemetry control-plane-stats egress export state enabled
128+
```
129+
130+
To enable all egress IPv4 packets:
131+
132+
```
133+
cumulus@switch:~$ nv set system telemetry control-plane-stats egress ipv4 export state enabled
134+
```
135+
136+
To enable all egress IPv6 packets:
137+
138+
```
139+
cumulus@switch:~$ nv set system telemetry control-plane-stats egress ipv6 export state enabled
140+
```
141+
142+
To show control plane statistics, run the `nv show system telemetry control-plane-stats` command.
143+
144+
```
145+
cumulus@switch:~$ nv show system control-plane software-statistics
146+
operational
147+
--------------------------------- -----------
148+
ingress
149+
ipv4
150+
udp
151+
rcv-buf-errors 0
152+
no-ports 0
153+
in-errors 0
154+
in-datagrams 4103
155+
tcp
156+
in-segs 1224998
157+
in-errs 0
158+
ipext
159+
in-truncated-pkts 0
160+
in-no-routes 0
161+
in-no-ect-pkts 0
162+
in-mcast-pkts 0
163+
in-mcast-octets 0
164+
in-ect1-pkts 0
165+
in-ect0-pkts 0
166+
in-ce-pkts 0
167+
in-bcast-pkts 0
168+
ip
169+
reasm-reqds 0
170+
reasm-oks 0
171+
reasm-fails 0
172+
in-unknown-protos 0
173+
in-receives 0
174+
in-hdr-errors 0
175+
in-discards 0
176+
in-delivers 0
177+
in-addr-errors 0
178+
forw-datagrams 0
179+
icmp
180+
in-time-excds 0
181+
in-redirects 0
182+
in-msgs 0
183+
in-errors 0
184+
in-echos 0
185+
in-echo-reps 0
186+
in-dest-unreachs 0
187+
ipv6
188+
udp6
189+
rcv-buf-errors 0
190+
no-ports 0
191+
in-errors 0
192+
...
193+
```
194+
195+
To show all control plane ingress statistics:
196+
197+
```
198+
cumulus@switch:~$ nv show system control-plane software-statistics ingress
199+
```
200+
201+
To show all control plane ingress IPv4 statistics:
202+
203+
```
204+
cumulus@switch:~$ nv show system control-plane software-statistics ingress ipv4
205+
```
206+
207+
To show all control plane ingress IPv6 statistics:
208+
209+
```
210+
cumulus@switch:~$ nv show system control-plane software-statistics ingress ipv6
211+
```
212+
213+
To show all control plane egress statistics:
214+
215+
```
216+
cumulus@switch:~$ nv show system control-plane software-statistics egress
217+
```
218+
219+
To show all control plane egress IPv4 statistics:
220+
221+
```
222+
cumulus@switch:~$ nv show system control-plane software-statistics egress ipv4
223+
```
224+
225+
To show all control plane egress IPv6 statistics:
226+
227+
```
228+
cumulus@switch:~$ nv show system control-plane software-statistics egress ipv6
229+
```
99230

100231
### 802.1X Statistics
101232

@@ -1183,6 +1314,126 @@ When you enable control plane statistic telemetry, the switch exports the follow
11831314
| `node_netstat_Ip6_InReceives` | Control plane input IPv6 packets. |
11841315
| `node_netstat_Ip6_InAddrErrors` | Control plane input IPv6 errors. |
11851316
| `node_netstat_Ip6_InDelivers` | Control plane output IPv6 packets. |
1317+
| `node_netstat_Ip_InReceives` | *|
1318+
| `node_netstat_Ip_InAddrErrors` | *|
1319+
| `node_netstat_Ip_InDelivers` | *|
1320+
| `node_netstat_Ip_InDiscards` | *|
1321+
| `node_netstat_Ip_InHdrErrors` | *|
1322+
| `node_netstat_Ip_InUnknownProtos` | *|
1323+
| `node_netstat_Ip_ForwDatagrams` | *|
1324+
| `node_netstat_Ip_ReasmOKs` | *|
1325+
| `node_netstat_Ip_ReasmFails` | *|
1326+
| `node_netstat_Ip_ReasmReqds` | *|
1327+
| `node_netstat_IpExt_InNoRoutes` | *|
1328+
| `node_netstat_IpExt_InOctets` | *|
1329+
| `node_netstat_IpExt_InMcastPkts` | *|
1330+
| `node_netstat_IpExt_InMcastOctets` | *|
1331+
| `node_netstat_IpExt_InBcastPkts` | *|
1332+
| `node_netstat_IpExt_InTruncatedPkts` | *|
1333+
| `node_netstat_Ip_OutRequests` | *|
1334+
| `node_netstat_Ip_OutDiscards` | *|
1335+
| `node_netstat_Ip_OutNoRoutes` | *|
1336+
| `node_netstat_Ip_FragOKs` | *|
1337+
| `node_netstat_Ip_FragFails` | *|
1338+
| `node_netstat_Ip_FragCreates` | *|
1339+
| `node_netstat_IpExt_OutOctets` | *|
1340+
| `node_netstat_IpExt_OutMcastPkts` | *|
1341+
| `node_netstat_IpExt_OutMcastOctets` | *|
1342+
| `node_netstat_IpExt_OutBcastPkts` | *|
1343+
| `node_netstat_Icmp_InMsgs` | *|
1344+
| `node_netstat_Icmp_InErrors` | *|
1345+
| `node_netstat_Icmp_InDestUnreachs` | *|
1346+
| `node_netstat_Icmp_InTimeExcds` | *|
1347+
| `node_netstat_Icmp_InEchos` | *|
1348+
| `node_netstat_Icmp_InEchoReps` | *|
1349+
| `node_netstat_Icmp_OutMsgs` | *|
1350+
| `node_netstat_Icmp_OutErrors` | *|
1351+
| `node_netstat_Icmp_OutDestUnreachs` | *|
1352+
| `node_netstat_Icmp_OutTimeExcds` | *|
1353+
| `node_netstat_Icmp_OutEchos` | *|
1354+
| `node_netstat_Icmp_OutEchoReps` | *|
1355+
| `node_netstat_Tcp_InSegs` | *|
1356+
| `node_netstat_Tcp_InErrs` | *|
1357+
| `node_netstat_Tcp_OutSegs` | *|
1358+
| `node_netstat_Tcp_RetransSegs` | *|
1359+
| `node_netstat_Tcp_ActiveOpens` | *|
1360+
| `node_netstat_Tcp_PassiveOpens` | *|
1361+
| `node_netstat_Tcp_AttemptFails` | *|
1362+
| `node_netstat_Tcp_EstabResets` | *|
1363+
| `node_netstat_Tcp_CurrEstab` | *|
1364+
| `node_netstat_Tcp_OutRsts` | *|
1365+
| `node_netstat_TcpExt_ListenDrops` | *|
1366+
| `node_netstat_TcpExt_ListenOverflows` | *|
1367+
| `node_netstat_TcpExt_TCPTimeouts` | *|
1368+
| `node_netstat_TcpExt_TCPSynRetrans` | *|
1369+
| `node_netstat_Udp_InDatagrams` | *|
1370+
| `node_netstat_Udp_InErrors` | *|
1371+
| `node_netstat_Udp_NoPorts` | *|
1372+
| `node_netstat_Udp_RcvbufErrors` | *|
1373+
| `node_netstat_Udp_OutDatagrams` | *|
1374+
| `node_netstat_Udp_SndbufErrors` | *|
1375+
| `node_netstat_Ip6_InReceives` | *|
1376+
| `node_netstat_Ip6_InAddrErrors` | *|
1377+
| `node_netstat_Ip6_InDelivers` | *|
1378+
| `node_netstat_Ip6_InDiscards` | *|
1379+
| `node_netstat_Ip6_InHdrErrors` | *|
1380+
| `node_netstat_Ip6_InUnknownProtos` | *|
1381+
| `node_netstat_Ip6_InNoRoutes` | *|
1382+
| `node_netstat_Ip6_InOctets` | *|
1383+
| `node_netstat_Ip6_InMcastPkts` | *|
1384+
| `node_netstat_Ip6_InMcastOctets` | *|
1385+
| `node_netstat_Ip6_InTruncatedPkts` | *|
1386+
| `node_netstat_Ip6_OutRequests` | *|
1387+
| `node_netstat_Ip6_OutDiscards` | *|
1388+
| `node_netstat_Ip6_OutNoRoutes` | *|
1389+
| `node_netstat_Ip6_OutForwDatagrams` | *|
1390+
| `node_netstat_Ip6_FragOKs` | *|
1391+
| `node_netstat_Ip6_FragFails` | *|
1392+
| `node_netstat_Ip6_FragCreates` | *|
1393+
| `node_netstat_Ip6_OutOctets` | *|
1394+
| `node_netstat_Ip6_OutMcastPkts` | *|
1395+
| `node_netstat_Ip6_OutMcastOctets` | *|
1396+
| `node_netstat_Ip6_ReasmOKs` | *|
1397+
| `node_netstat_Ip6_ReasmFails` | *|
1398+
| `node_netstat_Ip6_ReasmReqds` | *|
1399+
| `node_netstat_Icmp6_InMsgs` | *|
1400+
| `node_netstat_Icmp6_InErrors` | *|
1401+
| `node_netstat_Icmp6_InDestUnreachs` | *|
1402+
| `node_netstat_Icmp6_InTimeExcds` | *|
1403+
| `node_netstat_Icmp6_InEchos` | *|
1404+
| `node_netstat_Icmp6_InEchoReplies` | *|
1405+
| `node_netstat_Icmp6_OutMsgs` | *|
1406+
| `node_netstat_Icmp6_OutErrors` | *|
1407+
| `node_netstat_Icmp6_OutDestUnreachs` | *|
1408+
| `node_netstat_Icmp6_OutTimeExcds` | *|
1409+
| `node_netstat_Icmp6_OutEchos` | *|
1410+
| `node_netstat_Icmp6_OutEchoReplies` | *|
1411+
| `node_netstat_Udp6_InDatagrams` | *|
1412+
| `node_netstat_Udp6_InErrors` | *|
1413+
| `node_netstat_Udp6_NoPorts` | *|
1414+
| `node_netstat_Udp6_RcvbufErrors` | *|
1415+
| `node_netstat_Udp6_OutDatagrams` | *|
1416+
| `node_netstat_Udp6_SndbufErrors` | *|
1417+
| `node_netstat_Icmp6_InNeighborAdvertisements` | *|
1418+
| `node_netstat_Icmp6_InNeighborSolicits` | *|
1419+
| `node_netstat_Icmp6_InRedirects` | *|
1420+
| `node_netstat_Icmp6_InRouterAdvertisements` | *|
1421+
| `node_netstat_Icmp6_InRouterSolicits` | *|
1422+
| `node_netstat_Icmp6_OutNeighborAdvertisements` | *|
1423+
| `node_netstat_Icmp6_OutNeighborSolicits` | *|
1424+
| `node_netstat_Icmp6_OutRedirects` | *|
1425+
| `node_netstat_Icmp6_OutRouterAdvertisements` | *|
1426+
| `node_netstat_Icmp6_OutRouterSolicits` | *|
1427+
| `node_netstat_Icmp_InRedirects` | *|
1428+
| `node_netstat_Icmp_OutRedirects` | *|
1429+
| `node_netstat_Ip6_InCEPkts` | *|
1430+
| `node_netstat_Ip6_InECT0Pkts` | *|
1431+
| `node_netstat_Ip6_InECT1Pkts` | *|
1432+
| `node_netstat_Ip6_InNoECTPkts` | *|
1433+
| `node_netstat_IpExt_InCEPkts` | *|
1434+
| `node_netstat_IpExt_InECT0Pkts` | *|
1435+
| `node_netstat_IpExt_InECT1Pkts` | *|
1436+
| `node_netstat_IpExt_InNoECTPkts` | *|
11861437
11871438
{{< expand "Example JSON data for nvswitch_control_plane_trap_rx_drop:" >}}
11881439
```

0 commit comments

Comments
 (0)